mirror of
https://github.com/Gerg-L/nixos.git
synced 2025-12-10 08:53:56 -05:00
moved install iso from a package to a host
made funnier functions gave more modules disable options updated lint command
This commit is contained in:
parent
ccbc3cc2af
commit
c4e6bcb664
9 changed files with 132 additions and 120 deletions
|
|
@ -1,43 +0,0 @@
|
|||
{disko, ...}: {
|
||||
lib,
|
||||
modulesPath,
|
||||
pkgs,
|
||||
...
|
||||
}: {
|
||||
imports = [
|
||||
"${modulesPath}/profiles/minimal.nix"
|
||||
"${modulesPath}/installer/cd-dvd/installation-cd-base.nix"
|
||||
];
|
||||
|
||||
environment = {
|
||||
noXlibs = lib.mkOverride 500 false;
|
||||
defaultPackages = [];
|
||||
systemPackages = [
|
||||
pkgs.gitMinimal
|
||||
pkgs.neovim
|
||||
disko.packages.${pkgs.system}.default
|
||||
];
|
||||
variables = {
|
||||
EDITOR = "nvim";
|
||||
};
|
||||
};
|
||||
documentation = {
|
||||
man.enable = lib.mkOverride 500 false;
|
||||
doc.enable = lib.mkOverride 500 false;
|
||||
};
|
||||
|
||||
fonts.fontconfig.enable = lib.mkForce false;
|
||||
|
||||
isoImage = {
|
||||
edition = lib.mkForce "gerg-minimal";
|
||||
isoName = lib.mkForce "NixOS.iso";
|
||||
};
|
||||
nix = {
|
||||
settings = {
|
||||
experimental-features = ["nix-command" "flakes" "repl-flake"];
|
||||
auto-optimise-store = true;
|
||||
};
|
||||
};
|
||||
sound.enable = false;
|
||||
_file = ./default.nix;
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue