aboutsummaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
authorFranck Cuny <franck@fcuny.net>2025-12-30 19:02:53 -0800
committerFranck Cuny <franck@fcuny.net>2025-12-30 19:02:53 -0800
commitdacf64ca7fd6d6d2cf927c709a74cb7adc8e6236 (patch)
treeb57889c0d611f11bdecba29c7a777c6100ba92df /modules
parentinclude relevant programs in work profile (diff)
downloadinfra-dacf64ca7fd6d6d2cf927c709a74cb7adc8e6236.tar.gz
add back some abstractions related to user management
Diffstat (limited to '')
-rw-r--r--modules/default-darwin.nix1
-rw-r--r--modules/default.nix1
-rw-r--r--modules/host-config.nix9
3 files changed, 11 insertions, 0 deletions
diff --git a/modules/default-darwin.nix b/modules/default-darwin.nix
index 4b4daaa..d420292 100644
--- a/modules/default-darwin.nix
+++ b/modules/default-darwin.nix
@@ -2,5 +2,6 @@
{
imports = [
./ssh.nix
+ ./host-config.nix
];
}
diff --git a/modules/default.nix b/modules/default.nix
index 257c72e..041a388 100644
--- a/modules/default.nix
+++ b/modules/default.nix
@@ -3,5 +3,6 @@
imports = [
./remote-unlock.nix
./ssh.nix
+ ./host-config.nix
];
}
diff --git a/modules/host-config.nix b/modules/host-config.nix
new file mode 100644
index 0000000..5bb5e94
--- /dev/null
+++ b/modules/host-config.nix
@@ -0,0 +1,9 @@
+{ lib, ... }:
+{
+ options = {
+ adminUser = lib.mkOption {
+ type = lib.types.attrs;
+ default = { };
+ };
+ };
+}