mirror of
https://github.com/youwen5/nixos.git
synced 2024-11-24 17:53:51 -08:00
feat: add hyprlock powerDownCommand (non-functional)
This commit is contained in:
parent
131a70c7a9
commit
ad2255c80e
1 changed files with 3 additions and 1 deletions
|
@ -53,6 +53,8 @@
|
||||||
|
|
||||||
services.tlp.enable = true;
|
services.tlp.enable = true;
|
||||||
|
|
||||||
|
powerManagement.powerDownCommands = "pidof hyprlock || ${pkgs.hyprlock}/bin/hyprlock";
|
||||||
|
|
||||||
networking.hostName = "adrastea"; # Define your hostname.
|
networking.hostName = "adrastea"; # Define your hostname.
|
||||||
# networking.wireless.enable = true; # Enables wireless support via wpa_supplicant.
|
# networking.wireless.enable = true; # Enables wireless support via wpa_supplicant.
|
||||||
|
|
||||||
|
@ -105,8 +107,8 @@
|
||||||
modesetting.enable = true;
|
modesetting.enable = true;
|
||||||
powerManagement.enable = true;
|
powerManagement.enable = true;
|
||||||
powerManagement.finegrained = false;
|
powerManagement.finegrained = false;
|
||||||
open = false;
|
|
||||||
nvidiaSettings = true;
|
nvidiaSettings = true;
|
||||||
|
open = true;
|
||||||
prime = {
|
prime = {
|
||||||
amdgpuBusId = "PCI:4:0:0";
|
amdgpuBusId = "PCI:4:0:0";
|
||||||
nvidiaBusId = "PCI:1:0:0";
|
nvidiaBusId = "PCI:1:0:0";
|
||||||
|
|
Loading…
Reference in a new issue