service/nix-binary-cache: create and use in main host

This commit is contained in:
Wroclaw 2024-05-19 13:27:41 +02:00
parent cae29c2484
commit 31994d38f6
2 changed files with 9 additions and 0 deletions

View file

@ -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
];
}

View file

@ -0,0 +1,8 @@
{
config = {
services.nix-serve = {
enable = true;
secretKeyFile = "/var/cache-priv-key.pem";
};
};
}