diff options
| author | Franck Cuny <franck@fcuny.net> | 2025-12-30 19:02:53 -0800 |
|---|---|---|
| committer | Franck Cuny <franck@fcuny.net> | 2025-12-30 19:02:53 -0800 |
| commit | dacf64ca7fd6d6d2cf927c709a74cb7adc8e6236 (patch) | |
| tree | b57889c0d611f11bdecba29c7a777c6100ba92df /modules | |
| parent | include relevant programs in work profile (diff) | |
| download | infra-dacf64ca7fd6d6d2cf927c709a74cb7adc8e6236.tar.gz | |
add back some abstractions related to user management
Diffstat (limited to 'modules')
| -rw-r--r-- | modules/default-darwin.nix | 1 | ||||
| -rw-r--r-- | modules/default.nix | 1 | ||||
| -rw-r--r-- | modules/host-config.nix | 9 |
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 = { }; + }; + }; +} |
