diff options
1 files changed, 16 insertions, 0 deletions
| -rw-r--r-- | services.nix | 16 |
diff --git a/services.nix b/services.nix index 270d662..e7f89cf 100644 --- a/services.nix +++ b/services.nix @@ -3,6 +3,22 @@ { virtualisation.libvirtd.enable = true; + systemd = { + user.services.lxqt-policykit = { + description = "lxqt-policykit runner"; + wantedBy = [ "graphical-session.target" ]; + wants = [ "graphical-session.target" ]; + after = [ "graphical-session.target" ]; + serviceConfig = { + Type = "simple"; + ExecStart = "${pkgs.lxqt.lxqt-policykit}/bin/lxqt-policykit-agent"; + Restart = "on-failure"; + RestartSec = 1; + TimeoutStopSec = 10; + }; + }; + }; + services = { upower.enable = true; tlp.enable = true; |
