From ad2255c80e0ac81041b43949c2898118623c3022 Mon Sep 17 00:00:00 2001 From: Youwen Wu Date: Wed, 25 Sep 2024 10:12:08 -0700 Subject: [PATCH] feat: add hyprlock powerDownCommand (non-functional) --- hosts/adrastea/configuration.nix | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/hosts/adrastea/configuration.nix b/hosts/adrastea/configuration.nix index 543d463..a78e15d 100755 --- a/hosts/adrastea/configuration.nix +++ b/hosts/adrastea/configuration.nix @@ -53,6 +53,8 @@ services.tlp.enable = true; + powerManagement.powerDownCommands = "pidof hyprlock || ${pkgs.hyprlock}/bin/hyprlock"; + networking.hostName = "adrastea"; # Define your hostname. # networking.wireless.enable = true; # Enables wireless support via wpa_supplicant. @@ -105,8 +107,8 @@ modesetting.enable = true; powerManagement.enable = true; powerManagement.finegrained = false; - open = false; nvidiaSettings = true; + open = true; prime = { amdgpuBusId = "PCI:4:0:0"; nvidiaBusId = "PCI:1:0:0";