hosts/VEGAS: run soda container
This commit is contained in:
parent
5b01d00114
commit
bcf8a9ba96
1 changed files with 14 additions and 1 deletions
|
@ -1,4 +1,4 @@
|
||||||
{ aspect, config, inputs, lib, pkgs, tools, ... }:
|
{ aspect, config, hosts, inputs, lib, pkgs, tools, ... }:
|
||||||
|
|
||||||
{
|
{
|
||||||
imports =
|
imports =
|
||||||
|
@ -73,4 +73,17 @@
|
||||||
|
|
||||||
system.stateVersion = "21.05";
|
system.stateVersion = "21.05";
|
||||||
services.openssh.passwordAuthentication = false;
|
services.openssh.passwordAuthentication = false;
|
||||||
|
|
||||||
|
containers.soda = {
|
||||||
|
path = inputs.self.nixosConfigurations.soda.config.system.build.toplevel;
|
||||||
|
privateNetwork = true;
|
||||||
|
hostBridge = "vmdefault";
|
||||||
|
localAddress = "${hosts.soda.interfaces.primary.addr}/24";
|
||||||
|
autoStart = true;
|
||||||
|
bindMounts.sodaDir = {
|
||||||
|
hostPath = "/srv/storage/www/soda";
|
||||||
|
mountPoint = "/soda";
|
||||||
|
isReadOnly = false;
|
||||||
|
};
|
||||||
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue