mirror of
https://github.com/Gerg-L/nixos.git
synced 2025-12-10 00:43:56 -05:00
finished iso generator
fixed stupid type causing vfat partition to not mount
This commit is contained in:
parent
db6bb1b7a6
commit
9d887fc79c
3 changed files with 57 additions and 10 deletions
37
flake.lock
generated
37
flake.lock
generated
|
|
@ -193,6 +193,42 @@
|
||||||
"type": "github"
|
"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": {
|
"nixpkgs": {
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1670461440,
|
"lastModified": 1670461440,
|
||||||
|
|
@ -269,6 +305,7 @@
|
||||||
"flake-utils": "flake-utils_2",
|
"flake-utils": "flake-utils_2",
|
||||||
"master": "master",
|
"master": "master",
|
||||||
"nix": "nix",
|
"nix": "nix",
|
||||||
|
"nixos-generators": "nixos-generators",
|
||||||
"nvim-flake": "nvim-flake",
|
"nvim-flake": "nvim-flake",
|
||||||
"spicetify-nix": "spicetify-nix",
|
"spicetify-nix": "spicetify-nix",
|
||||||
"stable": "stable",
|
"stable": "stable",
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,7 @@
|
||||||
_: {
|
_: {
|
||||||
lib,
|
lib,
|
||||||
modulesPath,
|
modulesPath,
|
||||||
|
pkgs,
|
||||||
...
|
...
|
||||||
}: {
|
}: {
|
||||||
imports = [
|
imports = [
|
||||||
|
|
@ -8,14 +9,18 @@ _: {
|
||||||
"${toString modulesPath}/installer/cd-dvd/installation-cd-base.nix"
|
"${toString modulesPath}/installer/cd-dvd/installation-cd-base.nix"
|
||||||
];
|
];
|
||||||
|
|
||||||
# Causes a lot of uncached builds for a negligible decrease in size.
|
environment = {
|
||||||
environment.noXlibs = lib.mkOverride 500 false;
|
noXlibs = lib.mkOverride 500 false;
|
||||||
|
defaultPackages = [];
|
||||||
documentation.man.enable = lib.mkOverride 500 true;
|
systemPackages = with pkgs; [gitMinimal neovim];
|
||||||
|
variables = {
|
||||||
# Although we don't really need HTML documentation in the minimal installer,
|
EDITOR = "nvim";
|
||||||
# not including it may cause annoying cache misses in the case of the NixOS manual.
|
};
|
||||||
documentation.doc.enable = lib.mkOverride 500 true;
|
};
|
||||||
|
documentation = {
|
||||||
|
man.enable = lib.mkOverride 500 false;
|
||||||
|
doc.enable = lib.mkOverride 500 false;
|
||||||
|
};
|
||||||
|
|
||||||
fonts.fontconfig.enable = lib.mkForce false;
|
fonts.fontconfig.enable = lib.mkForce false;
|
||||||
|
|
||||||
|
|
@ -24,5 +29,10 @@ _: {
|
||||||
|
|
||||||
isoName = lib.mkForce "NixOS.iso";
|
isoName = lib.mkForce "NixOS.iso";
|
||||||
};
|
};
|
||||||
|
nix = {
|
||||||
|
settings = {
|
||||||
|
experimental-features = ["nix-command" "flakes" "repl-flake"];
|
||||||
|
auto-optimise-store = true;
|
||||||
|
};
|
||||||
|
};
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -118,7 +118,7 @@ inputs: {
|
||||||
options = ["X-mount.mkdir"];
|
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";
|
device = "/dev/disk/by-id/nvme-SHPP41-500GM_SSB4N6719101A4N0E-part2";
|
||||||
fsType = "vfat";
|
fsType = "vfat";
|
||||||
options = [
|
options = [
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue