blob: e914571cc42dad772bb0b47645c00b9147c2a74e (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
{ 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"
{
home-manager.users.${adminUser.name} = {
imports = [
{ home.stateVersion = "25.05"; }
];
};
}
];
boot.loader.grub.efiSupport = true;
boot.loader.grub.efiInstallAsRemovable = true;
boot.loader.grub.device = "nodev";
system.stateVersion = "25.05"; # Did you read the comment?
}
|