From 3ead6d13d89b8e82bf6778212938e580398513e4 Mon Sep 17 00:00:00 2001 From: xeovalyte Date: Tue, 25 Jun 2024 10:31:41 +0200 Subject: [PATCH] Updated ssh configuratoin --- modules/home/cli/ssh.nix | 1 + modules/system/hardware/amd.nix | 3 ++- modules/system/hardware/laptop.nix | 4 ++++ 3 files changed, 7 insertions(+), 1 deletion(-) 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; }