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 /machines/iso.nix | |
| parent | include relevant programs in work profile (diff) | |
| download | infra-dacf64ca7fd6d6d2cf927c709a74cb7adc8e6236.tar.gz | |
add back some abstractions related to user management
Diffstat (limited to 'machines/iso.nix')
| -rw-r--r-- | machines/iso.nix | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/machines/iso.nix b/machines/iso.nix index a636508..4d54054 100644 --- a/machines/iso.nix +++ b/machines/iso.nix @@ -1,11 +1,12 @@ -{ modulesPath, ... }: +{ adminUser, modulesPath, ... }: { # run `nix build .#nixosConfigurations.iso.config.system.build.isoImage` to build the image imports = [ "${modulesPath}/installer/cd-dvd/channel.nix" "${modulesPath}/installer/cd-dvd/installation-cd-minimal.nix" ../profiles/home-manager.nix - ../profiles/users/fcuny.nix + ../profiles/users/admin-user.nix + ../profiles/users/home-manager.nix ]; boot.loader.grub.efiSupport = true; @@ -16,7 +17,7 @@ programs.fish.enable = true; - home-manager.users.fcuny = { + home-manager.users.${adminUser.name} = { imports = [ ../home/profiles/minimal.nix ]; |
