aboutsummaryrefslogtreecommitdiff
path: root/machines/iso.nix
diff options
context:
space:
mode:
authorFranck Cuny <franck@fcuny.net>2025-12-14 13:08:07 -0800
committerFranck Cuny <franck@fcuny.net>2025-12-14 13:08:07 -0800
commit05fba25e608d3d44e0785f1ddb5ab30a95129131 (patch)
tree60a2a563002079282873afad59d296958f978fce /machines/iso.nix
parentuse `just` (again) instead of custom scripts (diff)
downloadinfra-05fba25e608d3d44e0785f1ddb5ab30a95129131.tar.gz
simplify path structures for machines
Diffstat (limited to 'machines/iso.nix')
-rw-r--r--machines/iso.nix24
1 files changed, 24 insertions, 0 deletions
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
+ ];
+ };
+}