dufs path

This commit is contained in:
death916 2025-06-16 01:21:38 -07:00
parent 967315f7bd
commit a884bd2911
2 changed files with 1 additions and 22 deletions

View file

@ -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
];
};
}

View file

@ -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"