aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--README.org7
-rw-r--r--flake.nix4
-rw-r--r--installer/iso.nix (renamed from live/iso.nix)0
3 files changed, 9 insertions, 2 deletions
diff --git a/README.org b/README.org
index f56ab87..d0e9a9e 100644
--- a/README.org
+++ b/README.org
@@ -158,3 +158,10 @@ Change my RSS feeds out in ~$HOME/org/website/config/elfeed.org~ with ones you w
*** Website
I update my website with the command ~usite~ (in the terminal). This will work by default if you
set your ~vars.nix~ correctly and you have access to the server you're sshing through with rsync.
+* Building the Installer
+To build the installer, run this command in the flake:
+#+begin_src bash
+ nix build .#nixosConfigurations.installer.config.system.build.isoImage
+#+end_src
+this will put the resultant ISO image in ~./results/iso/~. You can then flash it with ~dd~ or any
+other method.
diff --git a/flake.nix b/flake.nix
index 86f1463..a4e1a04 100644
--- a/flake.nix
+++ b/flake.nix
@@ -28,13 +28,13 @@
outputs = { nixpkgs, home-manager, nur, disko, lanzaboote, ... }@attrs: {
nixosConfigurations = {
- live = nixpkgs.lib.nixosSystem {
+ installer = nixpkgs.lib.nixosSystem {
system = "x86_64-linux";
modules = [
({pkgs, modulesPath, ...}: {
imports = [(modulesPath + "/installer/cd-dvd/installation-cd-minimal.nix")];
})
- ./live/iso.nix
+ ./installer/iso.nix
];
};
diff --git a/live/iso.nix b/installer/iso.nix
index e06f175..e06f175 100644
--- a/live/iso.nix
+++ b/installer/iso.nix