From 852ec5caee361f693a583c66d1b75a9d21f0461f Mon Sep 17 00:00:00 2001 From: sils Date: Wed, 6 Dec 2023 17:12:52 +0100 Subject: refactor(treewide): move security config out of hosts --- sys/security/default.nix | 2 ++ sys/security/pam/default.nix | 3 +++ sys/security/rtkit/default.nix | 3 +++ 3 files changed, 8 insertions(+) create mode 100644 sys/security/pam/default.nix create mode 100644 sys/security/rtkit/default.nix (limited to 'sys') diff --git a/sys/security/default.nix b/sys/security/default.nix index 83d89e5..4145d1d 100644 --- a/sys/security/default.nix +++ b/sys/security/default.nix @@ -1,5 +1,7 @@ {...}: { imports = [ + ./pam + ./rtkit ./sudo ]; } diff --git a/sys/security/pam/default.nix b/sys/security/pam/default.nix new file mode 100644 index 0000000..eef9213 --- /dev/null +++ b/sys/security/pam/default.nix @@ -0,0 +1,3 @@ +{...}: { + security.pam.services.swaylock = {}; +} diff --git a/sys/security/rtkit/default.nix b/sys/security/rtkit/default.nix new file mode 100644 index 0000000..3def781 --- /dev/null +++ b/sys/security/rtkit/default.nix @@ -0,0 +1,3 @@ +{...}: { + security.rtkit.enable = true; +} -- cgit 1.4.1