summary refs log tree commit diff stats
path: root/sys/security
diff options
context:
space:
mode:
Diffstat (limited to 'sys/security')
-rw-r--r--sys/security/default.nix2
-rw-r--r--sys/security/pam/default.nix3
-rw-r--r--sys/security/rtkit/default.nix3
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;
+}