This commit is contained in:
alsaiduq-lab 2026-01-01 17:32:16 -07:00
parent 7a098f0027
commit a05422ff0d
8 changed files with 41 additions and 47 deletions

View file

@ -27,23 +27,18 @@
security.polkit.enable = true;
services.accounts-daemon.enable = true;
systemd.user.services.hyprpolkitagent = {
enable = true;
description = "hyprpolkitagent";
wantedBy = ["graphical-session.target"];
wants = ["graphical-session.target"];
after = ["graphical-session.target"];
serviceConfig = {
Type = "simple";
ExecStart = "${pkgs.hyprpolkitagent}/libexec/hyprpolkitagent";
Restart = "on-failure";
RestartSec = 1;
TimeoutStopSec = 10;
systemd.user.targets.graphical-session = {
unitConfig = {
RefuseManualStart = false;
StopWhenUnneeded = false;
};
wantedBy = ["default.target"];
};
environment.systemPackages = with pkgs; [
(writeShellScriptBin "hyprpolkitagent" ''
exec ${hyprpolkitagent}/libexec/hyprpolkitagent "$@"
'')
qt5.qtwayland
qt6.qtwayland
candy-icons
@ -57,7 +52,6 @@
wofi
hyprshot
hypridle
hyprpolkitagent
grim-hyprland
slurp
swappy

View file

@ -33,7 +33,6 @@
./modules/searxng.nix
./modules/nano.nix
./modules/qt.nix
./modules/udiskie.nix
./modules/appimage.nix
./modules/greeter.nix
./modules/go.nix