diff --git a/common.nix b/common.nix index 78b96db..0aa407b 100644 --- a/common.nix +++ b/common.nix @@ -19,12 +19,20 @@ users.mutableUsers = false; + services.nix-serve = { + enable = true; + openFirewall = true; + secretKeyFile = "/var/cache-priv-key.pem"; + }; + nix = { settings = { substituters = [ "https://cache.nixos.org" "https://nix-community.cachix.org" + #"http://192.168.88.251:5000" "http://192.168.88.252:5000" + #"http://192.168.88.253:5000" ]; trusted-public-keys = [ "cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=" diff --git a/init/chache.pem b/init/chache.pem new file mode 100644 index 0000000..d19be64 --- /dev/null +++ b/init/chache.pem @@ -0,0 +1 @@ +binarycache.example.com:jSyBgFtsYVCEyuoSAf9ItSesIMlyLxoefDuVTGMlgHp9s5mSOZi352nGVJluE01PRY4ACknVku8EF9CROwEyKw== diff --git a/systems/club-mate/default.nix b/systems/club-mate/default.nix index b40ebcb..86345a7 100644 --- a/systems/club-mate/default.nix +++ b/systems/club-mate/default.nix @@ -76,12 +76,6 @@ }; }; - services.nix-serve = { - enable = true; - openFirewall = true; - secretKeyFile = "/var/cache-priv-key.pem"; - }; - environment.systemPackages = with pkgs; [ grim # screenshot functionality slurp # screenshot functionality