feat: add system-features, remove allowed-uris

This commit is contained in:
Noa Aarts 2024-10-21 15:19:10 +02:00
parent bdb4d5c5cf
commit d7c32eafca
Signed by: noa
GPG key ID: 1850932741EFF672

View file

@ -2,7 +2,7 @@
nix = { nix = {
settings = { settings = {
# auto optimise every so often # auto optimise every so often
# auto-optimise-store = true; auto-optimise-store = true;
experimental-features = [ "nix-command" "flakes" ]; experimental-features = [ "nix-command" "flakes" ];
substituters = [ substituters = [
(lib.mkIf (config.networking.hostName != "nuOS") "https://cache.itepastra.nl") (lib.mkIf (config.networking.hostName != "nuOS") "https://cache.itepastra.nl")
@ -20,12 +20,12 @@
"nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=" "nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs="
"hydra.iohk.io:f/Ea+s+dFdN+3Y/G+FDgSq+a5NEWhJGzdjvKNGv0/EQ=" "hydra.iohk.io:f/Ea+s+dFdN+3Y/G+FDgSq+a5NEWhJGzdjvKNGv0/EQ="
]; ];
system-features = [ "kvm" "big-parallel" ];
allowed-uris = [ allowed-uris = [
"github:" "github:"
"gitlab:" "gitlab:"
"https://github.com/" "https://github.com/"
]; ];
}; };
optimise.automatic = true;
}; };
} }