mirror of
https://github.com/oddlama/nix-config.git
synced 2025-10-11 07:10:39 +02:00
feat: prepare structure for microvm.nix
This commit is contained in:
parent
aa2a660c61
commit
66bea99eb6
13 changed files with 124 additions and 82 deletions
|
@ -10,7 +10,7 @@
|
|||
|
||||
../common/core
|
||||
../common/hardware/intel.nix
|
||||
../common/initrd-ssh.nix
|
||||
#../common/initrd-ssh.nix
|
||||
../common/efi.nix
|
||||
../common/zfs.nix
|
||||
|
||||
|
@ -22,22 +22,9 @@
|
|||
|
||||
boot.initrd.availableKernelModules = ["xhci_pci" "ahci" "nvme" "usbhid" "usb_storage" "sd_mod" "sdhci_pci"];
|
||||
|
||||
services.home-assistant = {
|
||||
enable = true;
|
||||
extraComponents = ["default_config" "met" "zha"];
|
||||
openFirewall = true;
|
||||
config = {
|
||||
default_config = {};
|
||||
met = {};
|
||||
};
|
||||
microvm.vms.agag = {
|
||||
flake = self;
|
||||
updateFlake = microvm;
|
||||
};
|
||||
#networking.firewall.allowedTCPPorts = [1883];
|
||||
#services.zigbee2mqtt.enable = true;
|
||||
#services.zigbee2mqtt.settings = {
|
||||
# homeassistant = config.services.home-assistant.enable;
|
||||
# permit_join = true;
|
||||
# serial = {
|
||||
# port = "/dev/serial/by-id/usb-Silicon_Labs_Sonoff_Zigbee_3.0_USB_Dongle_Plus_0001-if00-port0";
|
||||
# };
|
||||
#};
|
||||
autostart = ["guest"];
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue