Signed-off-by: main <magic_rb@redalder.org>
This commit is contained in:
main 2022-12-20 23:03:14 +01:00
parent 89cda3a591
commit 0a0a6dc906
No known key found for this signature in database
GPG key ID: 08D5287CC5DDCA0E

View file

@ -58,15 +58,13 @@
coreutils git ffmpeg bash runit
];
};
ensureSomething.create."media" = {
type = "directory";
modue = "755";
owner = "home-assistant";
dst = "/media";
persistent = true;
};
init.services.home-assistant-prep = {
shutdownOnExit = false;
enabled = true;
script = pkgs.writeShellScriptBin "home-assistant-prep"
''
mkdir -p /media/cctv_rec
'';
};
services.home-assistant = {