aboutsummaryrefslogtreecommitdiff
path: root/machines/iso.nix
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 /machines/iso.nix
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--machines/iso.nix7
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
];