From a884bd2911b04cb9db8b79b0e558b807b2fdd4e1 Mon Sep 17 00:00:00 2001 From: death916 Date: Mon, 16 Jun 2025 01:21:38 -0700 Subject: [PATCH] dufs path --- modules/vms/home-assistant.nix | 21 --------------------- nixos/homelab.nix | 2 +- 2 files changed, 1 insertion(+), 22 deletions(-) delete mode 100644 modules/vms/home-assistant.nix diff --git a/modules/vms/home-assistant.nix b/modules/vms/home-assistant.nix deleted file mode 100644 index ad95519..0000000 --- a/modules/vms/home-assistant.nix +++ /dev/null @@ -1,21 +0,0 @@ -# ./modules/vms/home-assistant.nix -{ config, lib, pkgs, ... }: - -with lib; - -{ - options.services.homeAssistantVM = { - enable = mkEnableOption "Home Assistant VM specific configurations"; - }; - config = mkIf config.services.homeAssistantVM.enable { - networking.firewall.allowedTCPPorts = [ - 8123 # Home Assistant Web UI default port - ]; - - environment.systemPackages = with pkgs; [ - wget # For downloading the Home Assistant OS image - xz # For decompressing the Home Assistant OS image - ]; - }; -} - diff --git a/nixos/homelab.nix b/nixos/homelab.nix index 874312c..1714823 100644 --- a/nixos/homelab.nix +++ b/nixos/homelab.nix @@ -220,7 +220,7 @@ dufs = { image = "sigoden/dufs:latest"; ports = [ "5000:5000" ]; - volumes = [ "/media/storage/media/books/ebook:/data" ]; # <-- Remember to change this path + volumes = [ "/media/storage/media/:/data" ]; # <-- Remember to change this path cmd = [ "/data" "-A"