diff --git a/hosts/main.nix b/hosts/main.nix index e09af33..49a9b8f 100644 --- a/hosts/main.nix +++ b/hosts/main.nix @@ -20,5 +20,6 @@ ../nix-os/adb.nix ../nix-os/account.nix ../nix-os/xdg-default-apps.nix + ../nix-os/services/nix-binary-cache.nix ]; } \ No newline at end of file diff --git a/nix-os/services/nix-binary-cache.nix b/nix-os/services/nix-binary-cache.nix new file mode 100644 index 0000000..aaff003 --- /dev/null +++ b/nix-os/services/nix-binary-cache.nix @@ -0,0 +1,8 @@ +{ + config = { + services.nix-serve = { + enable = true; + secretKeyFile = "/var/cache-priv-key.pem"; + }; + }; +}