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 --- machines/iso.nix | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'machines/iso.nix') 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 ]; -- cgit v1.2.3