mirror of
https://github.com/Death916/nixconfig.git
synced 2026-04-10 02:54:39 -07:00
dufs path
This commit is contained in:
parent
967315f7bd
commit
a884bd2911
2 changed files with 1 additions and 22 deletions
|
|
@ -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
|
|
||||||
];
|
|
||||||
};
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
@ -220,7 +220,7 @@
|
||||||
dufs = {
|
dufs = {
|
||||||
image = "sigoden/dufs:latest";
|
image = "sigoden/dufs:latest";
|
||||||
ports = [ "5000:5000" ];
|
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 = [
|
cmd = [
|
||||||
"/data"
|
"/data"
|
||||||
"-A"
|
"-A"
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue