diff options
| author | adikro <adikro@disroot.org> | 2026-02-12 23:04:24 +0100 |
|---|---|---|
| committer | adikro <adikro@disroot.org> | 2026-02-12 23:04:24 +0100 |
| commit | 512483106110b5f9209bb03238d44b991fe15d22 (patch) | |
| tree | 94b53e9e610053d4584f00799843c901d10e0b19 /os/core/security.nix | |
| parent | 9868584ddabad45a9964ae9bf64d109963fd1e3d (diff) | |
thinkpad configuration finalization
Diffstat (limited to 'os/core/security.nix')
| -rw-r--r-- | os/core/security.nix | 34 |
1 files changed, 21 insertions, 13 deletions
diff --git a/os/core/security.nix b/os/core/security.nix index e8c541c..bc2c41c 100644 --- a/os/core/security.nix +++ b/os/core/security.nix @@ -1,4 +1,9 @@ -{ config, lib, pkgs, ... }: +{ + config, + lib, + pkgs, + ... +}: let cfg = config.os.core.security; in @@ -8,22 +13,25 @@ in services.gnome.gnome-keyring.enable = true; security = { - pam.services.swaylock = {}; + pam.services = { + swaylock = { }; + login.enableGnomeKeyring = true; + }; 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; - }; - }; + # 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; + # }; + # }; environment.systemPackages = with pkgs; [ veracrypt |
