Hendrik Sokolowski
4190818304
* move core settings to x-os * add option to only install a lite core * rename x-os module to core * remove core profile from flake.nix
26 lines
697 B
Nix
26 lines
697 B
Nix
{ config, pkgs, lib, inputs, ... }:
|
|
|
|
{
|
|
nix = {
|
|
# Improve nix store disk usage
|
|
autoOptimiseStore = true;
|
|
gc.automatic = true;
|
|
optimise.automatic = true;
|
|
# Prevents impurities in builds
|
|
useSandbox = true;
|
|
# give root and @wheel special privileges with nix
|
|
trustedUsers = [ "root" "@wheel" ];
|
|
# This is just a representation of the nix default
|
|
systemFeatures = [ "nixos-test" "benchmark" "big-parallel" "kvm" ];
|
|
# Generally useful nix option defaults
|
|
extraOptions = ''
|
|
min-free = 536870912
|
|
keep-outputs = true
|
|
keep-derivations = true
|
|
fallback = true
|
|
# used by nix-dram
|
|
default-flake = flake:nixpkgs
|
|
'';
|
|
};
|
|
}
|