finished iso generator

fixed stupid type causing vfat partition to not mount
This commit is contained in:
Gerg-L 2023-02-20 21:38:52 -05:00
parent db6bb1b7a6
commit 9d887fc79c
3 changed files with 57 additions and 10 deletions

37
flake.lock generated
View file

@ -193,6 +193,42 @@
"type": "github"
}
},
"nixlib": {
"locked": {
"lastModified": 1636849918,
"narHash": "sha256-nzUK6dPcTmNVrgTAC1EOybSMsrcx+QrVPyqRdyKLkjA=",
"owner": "nix-community",
"repo": "nixpkgs.lib",
"rev": "28a5b0557f14124608db68d3ee1f77e9329e9dd5",
"type": "github"
},
"original": {
"owner": "nix-community",
"repo": "nixpkgs.lib",
"type": "github"
}
},
"nixos-generators": {
"inputs": {
"nixlib": "nixlib",
"nixpkgs": [
"unstable"
]
},
"locked": {
"lastModified": 1676297861,
"narHash": "sha256-YECUmK34xzg0IERpnbCnaO6z6YgfecJlstMWX7dqOZ8=",
"owner": "nix-community",
"repo": "nixos-generators",
"rev": "1e0a05219f2a557d4622bc38f542abb360518795",
"type": "github"
},
"original": {
"owner": "nix-community",
"repo": "nixos-generators",
"type": "github"
}
},
"nixpkgs": {
"locked": {
"lastModified": 1670461440,
@ -269,6 +305,7 @@
"flake-utils": "flake-utils_2",
"master": "master",
"nix": "nix",
"nixos-generators": "nixos-generators",
"nvim-flake": "nvim-flake",
"spicetify-nix": "spicetify-nix",
"stable": "stable",

View file

@ -1,6 +1,7 @@
_: {
lib,
modulesPath,
pkgs,
...
}: {
imports = [
@ -8,14 +9,18 @@ _: {
"${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;
environment = {
noXlibs = lib.mkOverride 500 false;
defaultPackages = [];
systemPackages = with pkgs; [gitMinimal neovim];
variables = {
EDITOR = "nvim";
};
};
documentation = {
man.enable = lib.mkOverride 500 false;
doc.enable = lib.mkOverride 500 false;
};
fonts.fontconfig.enable = lib.mkForce false;
@ -24,5 +29,10 @@ _: {
isoName = lib.mkForce "NixOS.iso";
};
nix = {
settings = {
experimental-features = ["nix-command" "flakes" "repl-flake"];
auto-optimise-store = true;
};
};
}

View file

@ -118,7 +118,7 @@ inputs: {
options = ["X-mount.mkdir"];
};
fileSystems."/boot/efis/nvme-SHPP41-500GM_SSSB4N6719101A4N0E" = {
fileSystems."/boot/efis/nvme-SHPP41-500GM_SSB4N6719101A4N0E" = {
device = "/dev/disk/by-id/nvme-SHPP41-500GM_SSB4N6719101A4N0E-part2";
fsType = "vfat";
options = [