container thingies
This commit is contained in:
parent
60cc8815e3
commit
7475be6731
3 changed files with 6 additions and 1 deletions
|
|
@ -11,6 +11,7 @@ in {
|
|||
containers = {
|
||||
enable = true;
|
||||
backupDir = "/home/${username}/backups";
|
||||
interface = "enp2s0";
|
||||
|
||||
nginx.enable = true;
|
||||
vaultwarden.enable = true;
|
||||
|
|
|
|||
|
|
@ -38,6 +38,7 @@ in {
|
|||
sqlitebrowser
|
||||
typst
|
||||
xclip
|
||||
unityhub
|
||||
uv
|
||||
zed-editor
|
||||
|
||||
|
|
|
|||
|
|
@ -15,6 +15,9 @@ in {
|
|||
options = {
|
||||
horseman.containers = {
|
||||
enable = mkEnableOption "Containers";
|
||||
interface = mkOption {
|
||||
type = types.str;
|
||||
};
|
||||
backupDir = mkOption {
|
||||
type = types.str;
|
||||
};
|
||||
|
|
@ -26,7 +29,7 @@ in {
|
|||
enable = true;
|
||||
# Use "ve-*" when using nftables instead of iptables
|
||||
internalInterfaces = ["ve-+"];
|
||||
externalInterface = "enp2s0";
|
||||
externalInterface = cfg.interface;
|
||||
# Lazy IPv6 connectivity for the container
|
||||
enableIPv6 = true;
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue