From 05fba25e608d3d44e0785f1ddb5ab30a95129131 Mon Sep 17 00:00:00 2001 From: Franck Cuny Date: Sun, 14 Dec 2025 13:08:07 -0800 Subject: simplify path structures for machines --- machines/iso.nix | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 machines/iso.nix (limited to 'machines/iso.nix') diff --git a/machines/iso.nix b/machines/iso.nix new file mode 100644 index 0000000..a636508 --- /dev/null +++ b/machines/iso.nix @@ -0,0 +1,24 @@ +{ 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? + + programs.fish.enable = true; + + home-manager.users.fcuny = { + imports = [ + ../home/profiles/minimal.nix + ]; + }; +} -- cgit v1.2.3