summary refs log tree commit diff stats
path: root/sys
diff options
context:
space:
mode:
authorsils <sils@sils.li>2023-10-01 15:24:43 +0200
committersils <sils@sils.li>2023-10-01 15:24:43 +0200
commit53ab649bf5a86fa09c55256eb669ee771d75ceb0 (patch)
treea88437af63e435f179660db8025884335514a12e /sys
parentfeat(sys/services): import tlp (diff)
downloadnix-config-53ab649bf5a86fa09c55256eb669ee771d75ceb0.tar.gz
nix-config-53ab649bf5a86fa09c55256eb669ee771d75ceb0.zip
feat(sys/security): declare sudo as enabled
I'm aware that this is quite useless for now, but I'm planning to add
config in future.
Diffstat (limited to 'sys')
-rw-r--r--sys/security/default.nix5
-rw-r--r--sys/security/sudo/default.nix5
2 files changed, 10 insertions, 0 deletions
diff --git a/sys/security/default.nix b/sys/security/default.nix
new file mode 100644
index 0000000..83d89e5
--- /dev/null
+++ b/sys/security/default.nix
@@ -0,0 +1,5 @@
+{...}: {
+  imports = [
+    ./sudo
+  ];
+}
diff --git a/sys/security/sudo/default.nix b/sys/security/sudo/default.nix
new file mode 100644
index 0000000..7529d6f
--- /dev/null
+++ b/sys/security/sudo/default.nix
@@ -0,0 +1,5 @@
+{...}: {
+  security.sudo = {
+    enable = true;
+  };
+}