chore: remove nix settings from core/default.nix

This commit is contained in:
Benjamin Bädorf 2023-09-11 23:52:02 +02:00
parent 2a1db1baf7
commit d37aaa2622
No known key found for this signature in database
GPG key ID: 4406E80E13CD656C

View file

@ -91,32 +91,6 @@ in {
};
};
nix = {
# use nix-dram, a patched nix command, see: https://github.com/dramforever/nix-dram
package = inputs.nix-dram.packages.${pkgs.system}.nix-dram;
# 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"];
# 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
'';
};
# For rage encryption, all hosts need a ssh key pair
services.openssh = {
enable = true;