From dacf64ca7fd6d6d2cf927c709a74cb7adc8e6236 Mon Sep 17 00:00:00 2001 From: Franck Cuny Date: Tue, 30 Dec 2025 19:02:53 -0800 Subject: add back some abstractions related to user management --- modules/default-darwin.nix | 1 + modules/default.nix | 1 + modules/host-config.nix | 9 +++++++++ 3 files changed, 11 insertions(+) create mode 100644 modules/host-config.nix (limited to 'modules') 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 = { }; + }; + }; +} -- cgit v1.2.3