hosts/data: only inherit certain settings
This commit is contained in:
parent
2a4d694625
commit
517c285c40
1 changed files with 13 additions and 1 deletions
|
@ -35,6 +35,18 @@
|
||||||
homeDirectory = lib.mkForce "/homes/${config.home.username}";
|
homeDirectory = lib.mkForce "/homes/${config.home.username}";
|
||||||
};
|
};
|
||||||
|
|
||||||
nix = { inherit (main.nix) settings; };
|
nix.settings = {
|
||||||
|
inherit (main.nix.settings)
|
||||||
|
auto-optimise-store
|
||||||
|
experimental-features
|
||||||
|
fallback
|
||||||
|
flake-registry
|
||||||
|
keep-derivations
|
||||||
|
keep-outputs
|
||||||
|
min-free
|
||||||
|
sandbox
|
||||||
|
use-xdg-base-directories
|
||||||
|
;
|
||||||
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue