diff options
Diffstat (limited to 'modules/sys/core/security.nix')
| -rw-r--r-- | modules/sys/core/security.nix | 27 |
1 files changed, 0 insertions, 27 deletions
diff --git a/modules/sys/core/security.nix b/modules/sys/core/security.nix deleted file mode 100644 index b2b7827..0000000 --- a/modules/sys/core/security.nix +++ /dev/null @@ -1,27 +0,0 @@ -{ config, lib, pkgs, ... }: -{ - options.szpont.security = { - enable = lib.mkEnableOption "core security services"; - }; - - config = lib.mkIf config.szpont.security.enable { - services.gnome.gnome-keyring.enable = true; - - security = { - polkit.enable = true; - rtkit.enable = true; - }; - - systemd.user.services.polkit-gnome-authentication-agent-1 = { - description = "gnome-polkit-authentication-agent-1"; - wantedBy = [ "graphical-session.target" ]; - serviceConfig = { - Type = "simple"; - ExecStart = "${pkgs.polkit_gnome}/libexec/polkit-gnome-authentication-agent-1"; - Restart = "on-failure"; - RestartSec = 1; - TimeoutStopSec = 10; - }; - }; - }; -} |
