many changes

This commit is contained in:
2024-02-16 22:24:54 +01:00
parent b4bf0ee486
commit 5ebcd0818b
22 changed files with 532 additions and 338 deletions

View File

@@ -1,13 +1,4 @@
{ config, pkgs, ... }: {
users.users.deconz = {
isSystemUser = true;
group = "omada";
home = "/var/lib/deconz";
createHome = true;
};
users.groups.omada = { };
# TODO: check if we can run docker service as other user than root
virtualisation = {
oci-containers.containers = {
deconz = {
@@ -23,7 +14,7 @@
};
extraOptions = [
"--network=server"
"--mac-address=1a:c4:04:6e:29:02"
"--ip=10.42.97.22"
"--device=/dev/ttyACM0"
"--hostname=deconz"
];