dotfiles/users/stitchynyan/default.nix

62 lines
1.3 KiB
Nix
Raw Normal View History

2024-02-01 20:25:35 -08:00
{ config, pkgs, lib, ... }:
{
imports = [ ../default.nix ];
2024-02-01 20:25:35 -08:00
nixpkgs.config.allowUnfreePredicate = pkg:
builtins.elem ( lib.getName pkg) [
2024-05-04 04:50:48 -07:00
"cudatoolkit"
"nvidia-settings"
"nvidia-x11"
2024-02-01 20:25:35 -08:00
"osu-lazer"
2024-02-25 20:52:05 -08:00
"steam"
"steam-original"
2024-02-29 16:07:01 -08:00
"steam-run"
2024-02-01 20:25:35 -08:00
];
programs = {
firefox.enable = true;
hyprland.enable = true;
openvpn3.enable = true;
steam = {
enable = true;
remotePlay.openFirewall = true;
};
};
2024-05-04 04:50:48 -07:00
security.pam.services.swaylock = {};
services = {
avahi = {
2024-04-19 14:09:00 -07:00
enable = config.stitchyconf.form == "pc";
nssmdns4 = true;
openFirewall = true;
};
blueman.enable = true;
gnome.gnome-keyring.enable = true;
pipewire = {
2024-05-04 04:50:48 -07:00
alsa.enable = true;
enable = true;
pulse.enable = true;
};
printing.enable = true;
usbmuxd.enable = true;
xserver.enable = true;
};
2024-02-01 20:25:35 -08:00
users.users.stitchynyan = {
description = "Personal user";
2024-07-13 00:52:09 -07:00
extraGroups = [ "audio" "dialout" "docker" "kvm" "libvirtd" "networkmanager" "wheel" ];
2024-05-04 04:50:48 -07:00
home = "/home/stitchynyan";
2024-02-01 20:25:35 -08:00
initialHashedPassword = "$y$j9T$rvySCWHYE4AO4A9J0Vf20.$x5hpBNsOWovQFtNfFUIt17OAH5MJFwFBGjxbaEIagJ3";
2024-05-04 04:50:48 -07:00
isNormalUser = true;
shell = pkgs.zsh;
2024-02-01 20:25:35 -08:00
};
2024-07-13 00:52:09 -07:00
i18n.inputMethod = {
enabled = "fcitx5";
fcitx5.addons = [
pkgs.fcitx5-mozc
];
};
2024-02-01 20:25:35 -08:00
}