diff options
author | sils <sils@sils.li> | 2023-12-06 17:12:52 +0100 |
---|---|---|
committer | sils <sils@sils.li> | 2023-12-06 17:12:52 +0100 |
commit | 852ec5caee361f693a583c66d1b75a9d21f0461f (patch) | |
tree | 8edfaa83cb2cb35b7375c41111b03f9f9bca8419 /sys | |
parent | feat(treewide): move virtualisation out of hostconfig (diff) | |
download | nix-config-852ec5caee361f693a583c66d1b75a9d21f0461f.tar.gz nix-config-852ec5caee361f693a583c66d1b75a9d21f0461f.zip |
refactor(treewide): move security config out of hosts
Diffstat (limited to 'sys')
-rw-r--r-- | sys/security/default.nix | 2 | ||||
-rw-r--r-- | sys/security/pam/default.nix | 3 | ||||
-rw-r--r-- | sys/security/rtkit/default.nix | 3 |
3 files changed, 8 insertions, 0 deletions
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; +} |