aboutsummaryrefslogtreecommitdiff
path: root/hosts/watermelon
diff options
context:
space:
mode:
authorFrankie B. <git@diskfloppy.me>2024-05-07 19:46:27 +0100
committerFrankie B. <git@diskfloppy.me>2024-05-07 19:47:03 +0100
commit980b77144636f15fa995592dc5db25625c004acc (patch)
tree4b5e315b214a073a056a6ec8e1fa3fe96044cd7d /hosts/watermelon
parenta558df302bb8f218c79167b21c637a50db092c6f (diff)
Fix fprintd
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