diff options
| Commit | cbc7c2429c25526c1d99c2da91a89ddf26bdd377 (patch) | |
|---|---|---|
| Author | 2023-09-24 10:44:35 +0300 | |
| Committer | 2023-09-24 10:44:35 +0300 | |
| Files | 939f63ea270e0212e64bf7182ac32af416b7ccef | |
| nix-cbc7c2429c25526c1d99c2da91a89ddf26bdd377.tar nix-cbc7c2429c25526c1d99c2da91a89ddf26bdd377.tar.gz nix-cbc7c2429c25526c1d99c2da91a89ddf26bdd377.zip | ||
| Parent | 9f462d112ffa2209e6275ff0cc636813cc31a716 (diff) | |
[services] Automatic systemd start of lxqt policykit
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; |
