mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-07-14 06:00:33 +03:00
nixos/mjolnir: explicitly set --mjolnir-config
This commit is contained in:
parent
adede1eb03
commit
c256ecf7a3
1 changed files with 2 additions and 2 deletions
|
@ -30,7 +30,7 @@ let
|
||||||
|
|
||||||
# these config files will be merged one after the other to build the final config
|
# these config files will be merged one after the other to build the final config
|
||||||
configFiles = [
|
configFiles = [
|
||||||
"${pkgs.mjolnir}/share/mjolnir/config/default.yaml"
|
"${pkgs.mjolnir}/libexec/mjolnir/deps/mjolnir/config/default.yaml"
|
||||||
moduleConfigFile
|
moduleConfigFile
|
||||||
];
|
];
|
||||||
|
|
||||||
|
@ -200,7 +200,7 @@ in
|
||||||
wantedBy = [ "multi-user.target" ];
|
wantedBy = [ "multi-user.target" ];
|
||||||
|
|
||||||
serviceConfig = {
|
serviceConfig = {
|
||||||
ExecStart = ''${pkgs.mjolnir}/bin/mjolnir'';
|
ExecStart = ''${pkgs.mjolnir}/bin/mjolnir --mjolnir-config ./config/default.yaml'';
|
||||||
ExecStartPre = [ generateConfig ];
|
ExecStartPre = [ generateConfig ];
|
||||||
WorkingDirectory = cfg.dataPath;
|
WorkingDirectory = cfg.dataPath;
|
||||||
StateDirectory = "mjolnir";
|
StateDirectory = "mjolnir";
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue