aboutsummaryrefslogblamecommitdiff
path: root/machines/nixos/x86_64-linux/iso.nix
blob: 89acbf7245e18cdbfe78a0eb9b5e8dac43712b5d (plain) (tree)
1
2
3
4
5
6
7





                                                                                             
                                      





                                                







                                          

                                                            
{ 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
  ];

  boot.loader.grub.efiSupport = true;
  boot.loader.grub.efiInstallAsRemovable = true;
  boot.loader.grub.device = "nodev";

  home-manager = {
    users.${adminUser.name} = {
      imports = [
        ../../../home/profiles/minimal.nix
      ];
    };
  };

  system.stateVersion = "25.05"; # Did you read the comment?
}