secrets: move lohr to agenix
This commit is contained in:
parent
3b99096af9
commit
dad068ed6b
6 changed files with 13 additions and 3 deletions
|
|
@ -44,9 +44,8 @@ in
|
|||
"ROCKET_PORT=${toString cfg.port}"
|
||||
"ROCKET_LOG_LEVEL=normal"
|
||||
"LOHR_HOME=${cfg.home}"
|
||||
# NOTE: secret cannot contain a '%', it's interpreted by systemd
|
||||
"'LOHR_SECRET=${secrets.lohr-shared-secret}'"
|
||||
];
|
||||
EnvironmentFile = config.age.secrets."lohr/shared-secret".path;
|
||||
ExecStart = "${lohrPkg}/bin/lohr";
|
||||
StateDirectory = "lohr";
|
||||
WorkingDirectory = "/var/lib/lohr";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue