diff --git a/flake.nix b/flake.nix index c043f84..9ccd983 100644 --- a/flake.nix +++ b/flake.nix @@ -1,6 +1,11 @@ { description = "example flake idk"; + nixConfig = { + extra-substituters = ["https://cache.garnix.io"]; + extra-trusted-public-keys = ["cache.garnix.io:CTFPyKSLcx5RMJKfLo5EEPUObbA78b0YQ2DTCJXqr9g="]; + }; + inputs = { nixpkgs.url = "nixpkgs/nixos-unstable"; nixpkgs-stable.url = "nixpkgs/nixos-23.05"; diff --git a/systems/common.nix b/systems/common.nix index b6befe0..49f661e 100644 --- a/systems/common.nix +++ b/systems/common.nix @@ -40,6 +40,7 @@ settings = { auto-optimise-store = true; experimental-features = ["nix-command" "flakes"]; + trusted-users = ["root" "@wheel"]; }; };