I don't know if i like this

This commit is contained in:
Gerg-L 2025-01-17 19:18:32 -05:00
parent c6a9144ffe
commit 1b62d16ddc
Signed by: gerg-l
SSH key fingerprint: SHA256:FPYDHIkvMocr4wdmZXpgpJjsb2Tw6rASs2ISPbOb0KI
63 changed files with 369 additions and 294 deletions

View file

@ -0,0 +1,46 @@
{
disko,
nixos-generators,
lib,
modulesPath,
pkgs,
}:
{
##Build wtih nix build .#nixosConfigurations.iso.config.formats.iso
local = {
hardware = {
gpuAcceleration.disable = true;
sound.disable = true;
};
bootConfig = {
disable = true;
};
};
imports = [
"${modulesPath}/installer/cd-dvd/installation-cd-minimal.nix"
nixos-generators.nixosModules.all-formats
];
documentation = {
enable = lib.mkForce false;
man.enable = lib.mkForce false;
doc.enable = lib.mkForce false;
info.enable = lib.mkForce false;
nixos.enable = lib.mkForce false;
};
installer.cloneConfig = lib.mkForce false;
environment.systemPackages = [
pkgs.neovim
disko.packages.default
];
isoImage = {
edition = lib.mkForce "gerg-minimal";
isoName = lib.mkForce "NixOS";
};
system.stateVersion = "24.11";
networking.hostName = "gerg-iso";
nixpkgs.hostPlatform = "x86_64-linux";
}