aboutsummaryrefslogblamecommitdiff
path: root/machines/iso.nix
blob: 4d5405432187221289f36380b4b93290d47364c7 (plain) (tree)
1
2
3
4
5
6
7
8
9
                                




                                                                                             
                                

                                      






                                                            
 

                              
                                          
               
                                  

      
 
{ 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/admin-user.nix
    ../profiles/users/home-manager.nix
  ];

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

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

  programs.fish.enable = true;

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