container thingies

This commit is contained in:
KoenDR06 2026-02-19 00:14:26 +01:00
parent 60cc8815e3
commit 240b1b4568
4 changed files with 13 additions and 1 deletions

View file

@ -38,6 +38,7 @@ in {
sqlitebrowser
typst
xclip
unityhub
uv
zed-editor

View file

@ -10,11 +10,15 @@ in {
./nginx.nix
./forgejo.nix
./vaultwarden.nix
./jellyfin.nix
];
options = {
horseman.containers = {
enable = mkEnableOption "Containers";
interface = mkOption {
type = types.str;
};
backupDir = mkOption {
type = types.str;
};
@ -26,7 +30,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;
};