service/nix-binary-cache: create and use in main host
This commit is contained in:
parent
cae29c2484
commit
31994d38f6
2 changed files with 9 additions and 0 deletions
|
@ -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
|
||||
];
|
||||
}
|
8
nix-os/services/nix-binary-cache.nix
Normal file
8
nix-os/services/nix-binary-cache.nix
Normal file
|
@ -0,0 +1,8 @@
|
|||
{
|
||||
config = {
|
||||
services.nix-serve = {
|
||||
enable = true;
|
||||
secretKeyFile = "/var/cache-priv-key.pem";
|
||||
};
|
||||
};
|
||||
}
|
Loading…
Reference in a new issue