From 980b77144636f15fa995592dc5db25625c004acc Mon Sep 17 00:00:00 2001 From: "Frankie B." Date: Tue, 7 May 2024 19:46:27 +0100 Subject: Fix fprintd --- hosts/watermelon/configuration.nix | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) (limited to 'hosts/watermelon/configuration.nix') 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 -- cgit v1.2.3-54-g00ecf