diff --git a/flake.nix b/flake.nix index 6eb9779..2983743 100644 --- a/flake.nix +++ b/flake.nix @@ -1,7 +1,7 @@ { description = "NixOS configuration for GPD Win Max"; - nixConfig = { + nixConfig = rec { auto-optimise-store = true; experimental-features = [ "nix-command" "flakes" ]; trusted-substituters = [ @@ -12,6 +12,7 @@ "https://nixos-cn.cachix.org" "https://cache.nixos.org/" ]; + substituters = trusted-substituters; trusted-users = [ "root"