aboutsummaryrefslogtreecommitdiff
path: root/hosts/watermelon
diff options
context:
space:
mode:
Diffstat (limited to 'hosts/watermelon')
-rw-r--r--hosts/watermelon/configuration.nix19
1 files changed, 19 insertions, 0 deletions
diff --git a/hosts/watermelon/configuration.nix b/hosts/watermelon/configuration.nix
index 915cfc1..2185494 100644
--- a/hosts/watermelon/configuration.nix
+++ b/hosts/watermelon/configuration.nix
@@ -72,7 +72,26 @@
pulse.enable = true;
};
+ security.polkit.enable = true;
+
+ systemd = {
+ user.services.polkit-lxqt = {
+ description = "polkit-lxqt";
+ 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;
+ };
+ };
+ };
+
environment.systemPackages = with pkgs; [
+ lxqt.lxqt-policykit
gcc
git
grim