hotdog.r: convert to sync-container3
This commit is contained in:
parent
be875c52c5
commit
2fd19ed50d
@ -26,4 +26,8 @@
|
|||||||
|
|
||||||
boot.isContainer = true;
|
boot.isContainer = true;
|
||||||
networking.useDHCP = false;
|
networking.useDHCP = false;
|
||||||
|
krebs.sync-containers3.inContainer = {
|
||||||
|
enable = true;
|
||||||
|
pubkey = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIM20tYHHvwIgrJZzR35ATzH9AlTrM1enNKEQJ7IP6lBh";
|
||||||
|
};
|
||||||
}
|
}
|
||||||
|
9
krebs/2configs/hotdog-host.nix
Normal file
9
krebs/2configs/hotdog-host.nix
Normal file
@ -0,0 +1,9 @@
|
|||||||
|
{
|
||||||
|
krebs.sync-containers3.containers.hotdog = {
|
||||||
|
sshKey = "${toString <secrets>}/hotdog.sync.key";
|
||||||
|
};
|
||||||
|
containers.hotdog.bindMounts."/var/lib" = {
|
||||||
|
hostPath = "/var/lib/sync-containers3/hotdog/state";
|
||||||
|
isReadOnly = false;
|
||||||
|
};
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user