aboutsummaryrefslogtreecommitdiff
path: root/modules/common
diff options
context:
space:
mode:
authoraethrvmn <me@aethrvmn.gr>2025-11-29 09:54:03 +0000
committeraethrvmn <me@aethrvmn.gr>2025-11-29 09:54:03 +0000
commitb0d9558f970c3f52af34fcd12ae6c7f8a1d27ccb (patch)
treefb182805aa435347931727adc7bd3301028d5158 /modules/common
parentadded session command (diff)
moved to doas
Diffstat (limited to 'modules/common')
-rw-r--r--modules/common/default.nix3
-rw-r--r--modules/common/doas/default.nix5
-rw-r--r--modules/common/sudo/default.nix5
3 files changed, 12 insertions, 1 deletions
diff --git a/modules/common/default.nix b/modules/common/default.nix
index 030f467..b2c7196 100644
--- a/modules/common/default.nix
+++ b/modules/common/default.nix
@@ -3,6 +3,7 @@
imports =[
# names are self explanatory
./adguard
+ ./doas
./fonts
./gnupg
./i18n
@@ -10,8 +11,8 @@
./pipewire
./searx
./ssh
+ ./sudo
./users
- # ./xserver
];
nix = {
diff --git a/modules/common/doas/default.nix b/modules/common/doas/default.nix
new file mode 100644
index 0000000..6402880
--- /dev/null
+++ b/modules/common/doas/default.nix
@@ -0,0 +1,5 @@
+{
+ security.doas = {
+ enable = true;
+ };
+}
diff --git a/modules/common/sudo/default.nix b/modules/common/sudo/default.nix
new file mode 100644
index 0000000..8ad7bf9
--- /dev/null
+++ b/modules/common/sudo/default.nix
@@ -0,0 +1,5 @@
+{
+ security.sudo = {
+ enable = false;
+ };
+}
Directive (EU) 2019/790, Article 4(3); all rights regarding Text and Data Mining (TDM) are reserved.