mirror of
https://github.com/Death916/nixconfig.git
synced 2026-04-10 02:54:39 -07:00
fix
This commit is contained in:
parent
3dc8dfb5eb
commit
c262315a92
1 changed files with 7 additions and 6 deletions
|
|
@ -1,3 +1,4 @@
|
|||
# modules/vms/homeassistant-vm.nix
|
||||
{ config, lib, pkgs, ... }:
|
||||
|
||||
with lib;
|
||||
|
|
@ -6,6 +7,11 @@ let
|
|||
cfg = config.services.homeassistant-vm;
|
||||
in
|
||||
{
|
||||
imports = [
|
||||
./ha-deploy-script.nix
|
||||
./ha-control-script.nix
|
||||
];
|
||||
|
||||
options.services.homeassistant-vm = {
|
||||
enable = mkEnableOption "Home Assistant OS Virtual Machine";
|
||||
imagePath = mkOption {
|
||||
|
|
@ -30,11 +36,6 @@ in
|
|||
};
|
||||
};
|
||||
|
||||
config = mkIf cfg.enable {
|
||||
imports = [
|
||||
./ha-deploy-script.nix
|
||||
./ha-control-script.nix
|
||||
];
|
||||
};
|
||||
config = mkIf cfg.enable { };
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue