diff --git a/flake.nix b/flake.nix index b3b1e51..25bd15f 100644 --- a/flake.nix +++ b/flake.nix @@ -1,6 +1,17 @@ { description = "My system configuration"; + nixConfig = { + extra-substituters = [ + "https://cache.garnix.io" + "https://hyprland.cachix.org" + ]; + extra-trusted-public-keys = [ + "cache.garnix.io:CTFPyKSLcx5RMJKfLo5EEPUObbA78b0YQ2DTCJXqr9g=" + "hyprland.cachix.org-1:a7pgxzMz7+chwVL3/pzj6jIBMioiJM7ypFP8PwtkuGc=" + ]; + }; + inputs = { nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable"; diff --git a/nixos/modules/users/chest.nix b/nixos/modules/users/chest.nix index 6c353da..8603327 100644 --- a/nixos/modules/users/chest.nix +++ b/nixos/modules/users/chest.nix @@ -29,4 +29,6 @@ }; }; }; + + nix.settings.trusted-users = [ "chest" ]; } diff --git a/nixos/modules/users/sweetbread.nix b/nixos/modules/users/sweetbread.nix index 2710069..bf9e87e 100644 --- a/nixos/modules/users/sweetbread.nix +++ b/nixos/modules/users/sweetbread.nix @@ -29,4 +29,6 @@ }; }; }; + + nix.settings.trusted-users = [ "sweetbread" ]; }