niftion-patch-1 #5

Closed
niftion wants to merge 6 commits from niftion/dotfiles:niftion-patch-1 into master
Showing only changes of commit 9f429185d6 - Show all commits

View file

@ -4,13 +4,13 @@
imports = [ ../default.nix ]; imports = [ ../default.nix ];
nixpkgs.config.allowUnfreePredicate = pkg: nixpkgs.config.allowUnfreePredicate = pkg:
builtins.elem ( lib.getName pkg) [ builtins.elem ( lib.getName pkg) [
"cudatoolkit"
"nvidia-settings"
"nvidia-x11"
"osu-lazer" "osu-lazer"
"steam" "steam"
"steam-original" "steam-original"
"steam-run" "steam-run"
"nvidia-x11"
"nvidia-settings"
"cudatoolkit"
]; ];
programs = { programs = {
@ -23,6 +23,8 @@
}; };
}; };
security.pam.services.swaylock = {};
services = { services = {
avahi = { avahi = {
enable = config.stitchyconf.form == "pc"; enable = config.stitchyconf.form == "pc";
@ -32,23 +34,21 @@
blueman.enable = true; blueman.enable = true;
gnome.gnome-keyring.enable = true; gnome.gnome-keyring.enable = true;
pipewire = { pipewire = {
alsa.enable = true;
enable = true; enable = true;
pulse.enable = true; pulse.enable = true;
alsa.enable = true;
}; };
printing.enable = true; printing.enable = true;
usbmuxd.enable = true; usbmuxd.enable = true;
xserver.enable = true; xserver.enable = true;
}; };
security.pam.services.swaylock = {};
users.users.stitchynyan = { users.users.stitchynyan = {
isNormalUser = true;
shell = pkgs.zsh;
home = "/home/stitchynyan";
description = "Personal user"; description = "Personal user";
extraGroups = [ "wheel" "networkmanager" "kvm" "libvirtd" "audio" "dialout" ]; extraGroups = [ "wheel" "networkmanager" "kvm" "libvirtd" "audio" "dialout" ];
home = "/home/stitchynyan";
initialHashedPassword = "$y$j9T$rvySCWHYE4AO4A9J0Vf20.$x5hpBNsOWovQFtNfFUIt17OAH5MJFwFBGjxbaEIagJ3"; initialHashedPassword = "$y$j9T$rvySCWHYE4AO4A9J0Vf20.$x5hpBNsOWovQFtNfFUIt17OAH5MJFwFBGjxbaEIagJ3";
isNormalUser = true;
shell = pkgs.zsh;
}; };
} }