This commit is contained in:
iFargle 2023-08-27 19:50:23 +09:00
parent 0f1d8751c0
commit 06b95616e2
3 changed files with 4 additions and 6 deletions

View file

@ -262,8 +262,7 @@
swayidle -w \ swayidle -w \
timeout 60 'swaylock -f' \ timeout 60 'swaylock -f' \
timeout 90 'hyprctl dispatch dpms off' \ timeout 90 'hyprctl dispatch dpms off' \
timeout 300 'systemctl suspend' \ timeout 300 'systemctl suspend-then-hibernate' \
timeout 900 'systemctl hibernate' \
resume 'hyprctl dispatch dpms on' \ resume 'hyprctl dispatch dpms on' \
before-sleep 'swaylock -f' before-sleep 'swaylock -f'

View file

@ -15,9 +15,8 @@
specialArgs = { inherit inputs outputs desktop hostname username stateVersion gpu; }; specialArgs = { inherit inputs outputs desktop hostname username stateVersion gpu; };
modules = [ modules = [
../nixos ../nixos
inputs.sops-nix.nixosModules.sops # Handle secrets inputs.sops-nix.nixosModules.sops
inputs.lanzaboote.nixosModules.lanzaboote # SecureBoot Configuration inputs.lanzaboote.nixosModules.lanzaboote
inputs.nur.nixosModules.nur # NixOS User Repository
] ++ (inputs.nixpkgs.lib.optionals (installer != null) [ installer ]); ] ++ (inputs.nixpkgs.lib.optionals (installer != null) [ installer ]);
}; };

View file

@ -95,7 +95,7 @@
wlogout wlogout
ranger # TUI file manager ranger # TUI file manager
xdg-utils # Utilities for better X/Wayland integration xdg-utils # Utilities for better X/Wayland integration
inputs.nixpkgs-wayland.pkgs.wayprompt wayprompt
]; ];
# Enable sound with pipewire. # Enable sound with pipewire.