diff --git a/modules/home/cli/ssh.nix b/modules/home/cli/ssh.nix index 629df8e..498e2fc 100644 --- a/modules/home/cli/ssh.nix +++ b/modules/home/cli/ssh.nix @@ -17,5 +17,6 @@ identityFile = "~/.ssh/gitea"; }; }; + addKeysToAgent = "yes"; }; } diff --git a/modules/system/hardware/amd.nix b/modules/system/hardware/amd.nix index a202f36..1284f06 100644 --- a/modules/system/hardware/amd.nix +++ b/modules/system/hardware/amd.nix @@ -3,10 +3,11 @@ { boot.initrd.kernelModules = [ "amdgpu" ]; + hardware.opengl.enable = true; hardware.opengl.driSupport32Bit = true; - hardware.opengl.extraPackages = with pkgs; [ amdvlk + mesa.drivers ]; hardware.opengl.extraPackages32 = with pkgs; [ diff --git a/modules/system/hardware/laptop.nix b/modules/system/hardware/laptop.nix index 85e401f..29d47ac 100644 --- a/modules/system/hardware/laptop.nix +++ b/modules/system/hardware/laptop.nix @@ -15,6 +15,10 @@ services.power-profiles-daemon.enable = true; + boot.extraModprobeConfig = '' + options snd_hda_intel power_save=0 + ''; + # powerManagement.powertop.enable = true; }