lots
This commit is contained in:
@@ -5,19 +5,10 @@
|
||||
type = lib.types.bool;
|
||||
default = false;
|
||||
};
|
||||
configvol = lib.options.mkOption {
|
||||
type = lib.types.str;
|
||||
default = "/ssd1/Home-Assistant/data:/config";
|
||||
};
|
||||
};
|
||||
|
||||
config = lib.mkIf config.sysconfig.virtualization.homeassistant.enable {
|
||||
|
||||
networking = {
|
||||
hosts."192.168.100.25" = [ "hass.local" ];
|
||||
|
||||
nat.internalInterfaces = [ "ve-home-assnHYM" ];
|
||||
};
|
||||
containers.home-assistant = {
|
||||
|
||||
autoStart = true;
|
||||
|
||||
Reference in New Issue
Block a user