atticd setup
This commit is contained in:
parent
8c30f64db7
commit
978afd1209
@ -115,7 +115,7 @@
|
|||||||
enable = true;
|
enable = true;
|
||||||
enableProxy = true;
|
enableProxy = true;
|
||||||
};
|
};
|
||||||
nix-serve = {
|
atticd = {
|
||||||
enable = true;
|
enable = true;
|
||||||
enableProxy = true;
|
enableProxy = true;
|
||||||
};
|
};
|
||||||
|
|||||||
@ -10,11 +10,11 @@ in
|
|||||||
{
|
{
|
||||||
options.my.servers.atticd = setup.mkOptions "atticd" "cache" 2343;
|
options.my.servers.atticd = setup.mkOptions "atticd" "cache" 2343;
|
||||||
config = lib.mkIf cfg.enable {
|
config = lib.mkIf cfg.enable {
|
||||||
sops.secrets."private_cache_keys/attic".sopsFile = ../../secrets/keys.yaml;
|
sops.secrets."private_cache_keys/atticd".sopsFile = ../../secrets/keys.yaml;
|
||||||
services = {
|
services = {
|
||||||
atticd = {
|
atticd = {
|
||||||
enable = true;
|
enable = true;
|
||||||
environmentFile = config.sops.secrets."private_cache_keys/miniserver".path;
|
environmentFile = config.sops.secrets."private_cache_keys/atticd".path;
|
||||||
settings = {
|
settings = {
|
||||||
listen = "[::]:${toString cfg.port}";
|
listen = "[::]:${toString cfg.port}";
|
||||||
jwt = { };
|
jwt = { };
|
||||||
File diff suppressed because one or more lines are too long
Loading…
x
Reference in New Issue
Block a user