mirror of
https://github.com/Gerg-L/nixos.git
synced 2025-12-10 00:43:56 -05:00
testing making my own iso installer
This commit is contained in:
parent
c9a3886cd5
commit
db6bb1b7a6
2 changed files with 43 additions and 1 deletions
28
iso/default.nix
Normal file
28
iso/default.nix
Normal file
|
|
@ -0,0 +1,28 @@
|
|||
_: {
|
||||
lib,
|
||||
modulesPath,
|
||||
...
|
||||
}: {
|
||||
imports = [
|
||||
"${toString modulesPath}/profiles/minimal.nix"
|
||||
"${toString modulesPath}/installer/cd-dvd/installation-cd-base.nix"
|
||||
];
|
||||
|
||||
# Causes a lot of uncached builds for a negligible decrease in size.
|
||||
environment.noXlibs = lib.mkOverride 500 false;
|
||||
|
||||
documentation.man.enable = lib.mkOverride 500 true;
|
||||
|
||||
# Although we don't really need HTML documentation in the minimal installer,
|
||||
# not including it may cause annoying cache misses in the case of the NixOS manual.
|
||||
documentation.doc.enable = lib.mkOverride 500 true;
|
||||
|
||||
fonts.fontconfig.enable = lib.mkForce false;
|
||||
|
||||
isoImage = {
|
||||
edition = lib.mkForce "gerg-minimal";
|
||||
|
||||
isoName = lib.mkForce "NixOS.iso";
|
||||
};
|
||||
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue