updated flake.nix
This commit is contained in:
parent
64e53429eb
commit
202d02e715
1 changed files with 4 additions and 5 deletions
|
|
@ -44,14 +44,13 @@
|
||||||
|
|
||||||
nix = {
|
nix = {
|
||||||
settings = {
|
settings = {
|
||||||
## Use all cores during build
|
cores = 0;
|
||||||
cores = 4;
|
|
||||||
max-jobs = "auto";
|
max-jobs = "auto";
|
||||||
allow-dirty = false;
|
allow-dirty = false;
|
||||||
auto-optimise-store = true;
|
auto-optimise-store = true;
|
||||||
download-buffer-size = [ "268435456" ];
|
download-buffer-size = [ "268435456" ];
|
||||||
allowed-users = [ "@wheel" ];
|
allowed-users = [ "@wheel" ];
|
||||||
## Enable flakes uwu
|
## Enable flakes uwu,,, and some other junk idek
|
||||||
experimental-features =
|
experimental-features =
|
||||||
[ "pipe-operators" "recursive-nix" "nix-command" "flakes" ];
|
[ "pipe-operators" "recursive-nix" "nix-command" "flakes" ];
|
||||||
};
|
};
|
||||||
|
|
@ -62,8 +61,8 @@
|
||||||
## Ever day.
|
## Ever day.
|
||||||
dates = "daily";
|
dates = "daily";
|
||||||
## and clear junk older than x days
|
## and clear junk older than x days
|
||||||
options = "--delete-older-than 2d";
|
options = "--delete-older-than 7d";
|
||||||
## No clue what this does lol.
|
## https://mynixos.com/nixpkgs/option/nix.gc.persistent
|
||||||
#persistent = true;
|
#persistent = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue