2024-01-02 18:27:47 -07:00
|
|
|
{ pkgs, ... }:
|
2024-01-10 15:14:08 -07:00
|
|
|
{
|
|
|
|
nix = {
|
2024-01-15 21:14:53 -07:00
|
|
|
package = pkgs.nixVersions.nix_2_19;
|
2022-08-25 12:21:35 -06:00
|
|
|
gc = {
|
|
|
|
automatic = true;
|
|
|
|
dates = "daily";
|
|
|
|
options = "--delete-older-than 10d";
|
|
|
|
};
|
|
|
|
|
|
|
|
extraOptions = ''
|
|
|
|
experimental-features = nix-command flakes
|
|
|
|
'';
|
2024-01-10 15:14:08 -07:00
|
|
|
settings.auto-optimise-store = true;
|
|
|
|
settings = {
|
|
|
|
sandbox = true;
|
|
|
|
trusted-users = [ "@wheel" ];
|
|
|
|
allowed-users = [ "root" "qbit" ];
|
|
|
|
};
|
2022-08-25 12:21:35 -06:00
|
|
|
};
|
2024-01-10 15:14:08 -07:00
|
|
|
}
|