mirror of
https://github.com/Gerg-L/nixos.git
synced 2025-12-10 17:03:56 -05:00
46 lines
965 B
Nix
46 lines
965 B
Nix
{
|
|
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";
|
|
}
|