mirror of
https://git.sr.ht/~magic_rb/cluster
synced 2024-11-25 09:36:14 +01:00
wip!!!
Signed-off-by: main <magic_rb@redalder.org>
This commit is contained in:
parent
89cda3a591
commit
0a0a6dc906
|
@ -58,15 +58,13 @@
|
|||
coreutils git ffmpeg bash runit
|
||||
];
|
||||
};
|
||||
};
|
||||
|
||||
init.services.home-assistant-prep = {
|
||||
shutdownOnExit = false;
|
||||
enabled = true;
|
||||
script = pkgs.writeShellScriptBin "home-assistant-prep"
|
||||
''
|
||||
mkdir -p /media/cctv_rec
|
||||
'';
|
||||
ensureSomething.create."media" = {
|
||||
type = "directory";
|
||||
modue = "755";
|
||||
owner = "home-assistant";
|
||||
dst = "/media";
|
||||
persistent = true;
|
||||
};
|
||||
};
|
||||
|
||||
services.home-assistant = {
|
||||
|
|
Loading…
Reference in a new issue