aboutsummaryrefslogtreecommitdiff
path: root/machines/nixos/x86_64-linux/iso.nix
blob: c2ecd7408c12aade3d572f0bc53efd67044adbe9 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
{ 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
  ];

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

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

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