From 791bc419b6dac7c70951981ef6b34cdf85828470 Mon Sep 17 00:00:00 2001 From: adikro Date: Sat, 20 Dec 2025 03:14:45 +0100 Subject: absolutely massive rewrite, made (almost) everything modular with changes to come --- modules/sys/core/security.nix | 27 --------------------------- 1 file changed, 27 deletions(-) delete mode 100644 modules/sys/core/security.nix (limited to 'modules/sys/core/security.nix') 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; - }; - }; - }; -} -- cgit v1.3