summaryrefslogtreecommitdiff
path: root/modules/xnet/default.nix
diff options
context:
space:
mode:
authorKleidi Bujari <mail@4kb.net>2024-12-01 22:30:26 -0500
committerKleidi Bujari <mail@4kb.net>2024-12-01 22:30:26 -0500
commitf08f3812f40322b6098d75573413ed83f358871f (patch)
tree0f864c4695dab404e261e6bf179cfc1b04d6c7f5 /modules/xnet/default.nix
parent3ccc7e784a0ed5b19910ab856f6d9774a6f27956 (diff)
downloaddepot-f08f3812f40322b6098d75573413ed83f358871f.tar.gz
depot-f08f3812f40322b6098d75573413ed83f358871f.tar.bz2
depot-f08f3812f40322b6098d75573413ed83f358871f.zip
Cleanup xnet module and add baseline modules
With these changes, the xnet module is useable as a system builder. At this point, it is still undecided whether all configuration will be generalized into this module, rather than keeping mini-modules local to the machine they will run on.
Diffstat (limited to 'modules/xnet/default.nix')
-rw-r--r--modules/xnet/default.nix11
1 files changed, 9 insertions, 2 deletions
diff --git a/modules/xnet/default.nix b/modules/xnet/default.nix
index 87d17e7..6cb2e5e 100644
--- a/modules/xnet/default.nix
+++ b/modules/xnet/default.nix
@@ -4,11 +4,13 @@ let
in
{
imports = [
- ./disk
+ ./disk.nix
+ ./users.nix
+ ./nginx.nix
./net
./desktop
+ ./gitserver
# ./monitoring
- # ./users
];
i18n.defaultLocale = mkDefault "en_US.UTF-8";
@@ -29,4 +31,9 @@ in
doc.enable = mkDefault false;
info.enable = mkDefault false;
};
+
+ security.sudo = {
+ execWheelOnly = true;
+ extraConfig = "Defaults lecture = never";
+ };
}