mirror of
https://github.com/Gerg-L/nixos.git
synced 2025-12-10 00:43:56 -05:00
I don't know if i like this
This commit is contained in:
parent
c6a9144ffe
commit
1b62d16ddc
63 changed files with 369 additions and 294 deletions
|
|
@ -1,46 +0,0 @@
|
|||
{
|
||||
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";
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue