[WIP] feat: migrate containers to vmd102066
This commit is contained in:
parent
7cd97ca6d9
commit
76c64678ae
20 changed files with 346 additions and 99 deletions
|
@ -1,7 +1,7 @@
|
|||
{ hostAddress, localAddress, containerBackupCfg
|
||||
, sshPort ? containerBackupCfg.portInt }: {
|
||||
, sshPort ? containerBackupCfg.portInt, autoStart ? false }: {
|
||||
config = { config, pkgs, lib, ... }: {
|
||||
system.stateVersion = "21.11"; # Did you read the comment?
|
||||
system.stateVersion = "22.05"; # Did you read the comment?
|
||||
|
||||
imports = [ ../profiles/containers/configuration.nix ];
|
||||
|
||||
|
@ -50,7 +50,7 @@
|
|||
};
|
||||
};
|
||||
|
||||
autoStart = true;
|
||||
inherit autoStart;
|
||||
|
||||
bindMounts = {
|
||||
"/${containerBackupCfg.targetPath}" = {
|
||||
|
@ -59,6 +59,8 @@
|
|||
};
|
||||
};
|
||||
|
||||
extraFlags = [ "--resolv-conf=bind-host" ];
|
||||
|
||||
privateNetwork = true;
|
||||
forwardPorts = [{
|
||||
# ssh
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue