22 lines
428 B
Nix
22 lines
428 B
Nix
{ pkgs, ... }:
|
|
{
|
|
nix = {
|
|
#package = pkgs.nixVersions.nix_2_17;
|
|
gc = {
|
|
automatic = true;
|
|
dates = "daily";
|
|
options = "--delete-older-than 10d";
|
|
};
|
|
|
|
extraOptions = ''
|
|
experimental-features = nix-command flakes
|
|
'';
|
|
settings.auto-optimise-store = true;
|
|
settings = {
|
|
sandbox = true;
|
|
trusted-users = [ "@wheel" ];
|
|
allowed-users = [ "root" "qbit" ];
|
|
};
|
|
};
|
|
}
|