fix(nix): use new configuration syntax
This commit is contained in:
parent
129531432f
commit
0da02d747a
@ -6,13 +6,15 @@
|
|||||||
# this is required until nix 2.4 is released
|
# this is required until nix 2.4 is released
|
||||||
package = pkgs.nixFlakes;
|
package = pkgs.nixFlakes;
|
||||||
|
|
||||||
settings.auto-optimise-store = true;
|
settings = {
|
||||||
|
auto-optimise-store = true;
|
||||||
|
trusted-users = ["root" "michael"];
|
||||||
|
};
|
||||||
gc = {
|
gc = {
|
||||||
automatic = true;
|
automatic = true;
|
||||||
dates = "weekly";
|
dates = "weekly";
|
||||||
options = "--delete-older-than 30d";
|
options = "--delete-older-than 30d";
|
||||||
};
|
};
|
||||||
trustedUsers = ["root" "michael"];
|
|
||||||
};
|
};
|
||||||
|
|
||||||
nixpkgs.config = {
|
nixpkgs.config = {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user