diff options
-rw-r--r-- | README.org | 7 | ||||
-rw-r--r-- | flake.nix | 4 | ||||
-rw-r--r-- | installer/iso.nix (renamed from live/iso.nix) | 0 |
3 files changed, 9 insertions, 2 deletions
@@ -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. @@ -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 |