From aa05056e55dfa143b38776737802b7dfb8a2c0e4 Mon Sep 17 00:00:00 2001 From: Franck Cuny Date: Sun, 12 Oct 2025 15:45:01 -0700 Subject: initial setup for the framework destkop (named rivendell) --- machines/nixos/x86_64-linux/installer/default.nix | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 machines/nixos/x86_64-linux/installer/default.nix (limited to 'machines/nixos/x86_64-linux/installer/default.nix') diff --git a/machines/nixos/x86_64-linux/installer/default.nix b/machines/nixos/x86_64-linux/installer/default.nix new file mode 100644 index 0000000..e914571 --- /dev/null +++ b/machines/nixos/x86_64-linux/installer/default.nix @@ -0,0 +1,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? +} -- cgit v1.2.3