Enable pipe-operators

This commit is contained in:
emily 2024-08-18 13:54:42 +02:00
parent d6bdadef61
commit 10c7e7cee8
Signed by: emily
GPG key ID: F6F4C66207FCF995

View file

@ -53,6 +53,7 @@ with lib; {
''; '';
users.motdFile = "/var/lib/deployment/motd"; users.motdFile = "/var/lib/deployment/motd";
nix.package = pkgs.nixVersions.latest;
nix.gc.automatic = true; nix.gc.automatic = true;
nix.gc.options = "--delete-older-than 7d"; nix.gc.options = "--delete-older-than 7d";
nix.optimise.automatic = true; nix.optimise.automatic = true;
@ -61,7 +62,7 @@ with lib; {
path = pkgs.path; path = pkgs.path;
}; };
nix.settings = { nix.settings = {
experimental-features = [ "nix-command" "flakes" ]; experimental-features = [ "nix-command" "flakes" "pipe-operators" ];
trusted-users = [ "root" "@wheel" ]; trusted-users = [ "root" "@wheel" ];
substituters = [ "https://cache.kyouma.net" ]; substituters = [ "https://cache.kyouma.net" ];
trusted-public-keys = [ "cache.kyouma.net:Frjwu4q1rnwE/MnSTmX9yx86GNA/z3p/oElGvucLiZg=" ]; trusted-public-keys = [ "cache.kyouma.net:Frjwu4q1rnwE/MnSTmX9yx86GNA/z3p/oElGvucLiZg=" ];