esp
This commit is contained in:
@@ -14,6 +14,10 @@ in
|
||||
autoStart = true;
|
||||
image = "ghcr.io/esphome/esphome:2026.2.4";
|
||||
ports = [ "6052:6052" ];
|
||||
devices = [
|
||||
"/dev/ttyUSB0"
|
||||
];
|
||||
privileged = true;
|
||||
volumes = [
|
||||
"/esphome:/config"
|
||||
# Persist the PlatformIO core dir (penv, packages, platforms) so the
|
||||
|
||||
@@ -114,7 +114,7 @@ let
|
||||
serviceConfig = {
|
||||
ExecStart = "${pkgs.${namespace}.nebula-ui}/bin/nebula-ui";
|
||||
User = name;
|
||||
Group = name;
|
||||
GlistenAddressroup = name;
|
||||
Restart = "on-failure";
|
||||
RestartSec = "5s";
|
||||
|
||||
|
||||
@@ -109,6 +109,7 @@ in
|
||||
hashedPasswordFile = resolvedPasswordFile;
|
||||
|
||||
extraGroups = [
|
||||
"dialout"
|
||||
"wheel"
|
||||
"keys"
|
||||
"networkmanager"
|
||||
|
||||
Reference in New Issue
Block a user