generate installer iso
This commit is contained in:
parent
6631b11382
commit
6ea6fbaa9c
3
Justfile
3
Justfile
@ -30,3 +30,6 @@ nonya:
|
|||||||
|
|
||||||
ai:
|
ai:
|
||||||
doas nixos-rebuild switch --flake ./#ai
|
doas nixos-rebuild switch --flake ./#ai
|
||||||
|
|
||||||
|
installer-iso:
|
||||||
|
nix shell nixpkgs#nixos-generators --command nixos-generate -f install-iso --flake ./#nixos
|
||||||
|
@ -20,5 +20,6 @@ in
|
|||||||
music = novaConfig (with mods; [ music ivand ]);
|
music = novaConfig (with mods; [ music ivand ]);
|
||||||
nonya = novaConfig (with mods; [ anon cryptocurrency ivand ]);
|
nonya = novaConfig (with mods; [ anon cryptocurrency ivand ]);
|
||||||
ai = novaConfig (with mods; [ ai ivand ]);
|
ai = novaConfig (with mods; [ ai ivand ]);
|
||||||
|
installer-iso = configWithModules { hardware = { }; modules = (with mods; [ grub base ]); };
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
@ -7,7 +7,7 @@ top@{ inputs, moduleWithSystem, ... }: {
|
|||||||
let
|
let
|
||||||
theme = pkgs.sleek-grub-theme.override { withBanner = "Hello Ivan"; withStyle = "bigSur"; };
|
theme = pkgs.sleek-grub-theme.override { withBanner = "Hello Ivan"; withStyle = "bigSur"; };
|
||||||
in
|
in
|
||||||
{ enable = true; useOSProber = true; efiSupport = true; device = "nodev"; theme = theme; splashImage = "${theme}/background.png"; };
|
{ enable = pkgs.lib.mkDefault true; useOSProber = true; efiSupport = true; device = "nodev"; theme = theme; splashImage = "${theme}/background.png"; };
|
||||||
efi = { canTouchEfiVariables = true; };
|
efi = { canTouchEfiVariables = true; };
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user