refactor: fix nix formatting
This commit is contained in:
parent
e02d84533d
commit
4e2f60294a
6 changed files with 45 additions and 62 deletions
services
|
@ -20,7 +20,9 @@ in {
|
|||
};
|
||||
# easypi/ot-recorder-arm uses different store location
|
||||
# volumes = [ "/var/lib/owntracks/recorder/store:/store" ];
|
||||
volumes = [ "/var/lib/owntracks/recorder/store:/var/spool/owntracks/recorder/store" ];
|
||||
volumes = [
|
||||
"/var/lib/owntracks/recorder/store:/var/spool/owntracks/recorder/store"
|
||||
];
|
||||
extraOptions = [
|
||||
# TODO systemd doesn't substitute variables because it doesn't run in a shell
|
||||
# "-e OTR_PASS=\"$(cat /etc/nixos/secrets/mqtt/owntracks-plain)\""
|
||||
|
@ -36,9 +38,7 @@ in {
|
|||
SERVER_PORT = "8083";
|
||||
LISTEN_PORT = "8085";
|
||||
};
|
||||
volumes = [
|
||||
"${frontend-config}:/usr/share/nginx/html/config/config.js"
|
||||
];
|
||||
volumes = [ "${frontend-config}:/usr/share/nginx/html/config/config.js" ];
|
||||
extraOptions = [ "--network=host" ];
|
||||
};
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue