chore: cleanup config, change kernel and nvidia drivers to it build properly again

This commit is contained in:
Christoph Hollizeck 2025-01-26 16:09:00 +01:00
parent 27d69ef5e9
commit 06c1065ee9
Signed by: Daholli
GPG key ID: 249300664F2AF2C7
5 changed files with 4 additions and 7 deletions

View file

@ -18,7 +18,7 @@ in
config = mkIf cfg.enable { config = mkIf cfg.enable {
environment.systemPackages = with pkgs; [ environment.systemPackages = with pkgs; [
vesktop discord
]; ];
}; };
} }

View file

@ -172,7 +172,7 @@ in
"systemctl --user start hyprpolkitagent" "systemctl --user start hyprpolkitagent"
"[workspace 2 silent] steam --disable-gpu-compositing" # nvidia pls let me have nice things "[workspace 2 silent] steam --disable-gpu-compositing" # nvidia pls let me have nice things
"[workspace 8 silent] vesktop" "[workspace 8 silent] discord"
"[workspace 9 silent] 1password" "[workspace 9 silent] 1password"
"[workspace 1 silent] zen" "[workspace 1 silent] zen"

View file

@ -17,7 +17,7 @@ in
config = mkIf cfg.enable { config = mkIf cfg.enable {
boot = { boot = {
kernelPackages = pkgs.linuxPackages_latest; kernelPackages = pkgs.linuxPackages_6_12;
loader = { loader = {
systemd-boot.enable = true; systemd-boot.enable = true;
efi.canTouchEfiVariables = true; efi.canTouchEfiVariables = true;

View file

@ -28,7 +28,7 @@ in
powerManagement.enable = true; powerManagement.enable = true;
open = false; open = false;
nvidiaSettings = true; nvidiaSettings = true;
package = config.boot.kernelPackages.nvidiaPackages.beta; # stable, beta package = config.boot.kernelPackages.nvidiaPackages.latest; # stable, beta
}; };
services.xserver.videoDrivers = [ "nvidia" ]; services.xserver.videoDrivers = [ "nvidia" ];

View file

@ -1,3 +0,0 @@
{ channels, ... }:
final: prev: { inherit (channels.nixpkgs-pyfa) pyfa; }