feat: fix wrtagweb api key
Signed-off-by: Lander Van den Bulcke <landervandenbulcke@gmail.com>
This commit is contained in:
parent
491439e7fd
commit
82d1358e0a
3 changed files with 15 additions and 2 deletions
|
|
@ -29,6 +29,13 @@ in
|
|||
'';
|
||||
};
|
||||
|
||||
envFile = lib.mkOption {
|
||||
type = lib.types.path;
|
||||
description = ''
|
||||
File with environment variables for wrtagweb
|
||||
'';
|
||||
};
|
||||
|
||||
};
|
||||
};
|
||||
|
||||
|
|
@ -47,6 +54,7 @@ in
|
|||
serviceConfig = {
|
||||
User = "wrtagweb";
|
||||
ExecStart = "${pkgs.unstable.wrtag}/bin/wrtagweb -config-path ${settingsFormat.generate "wrtagweb" cfg.settings}";
|
||||
EnvironmentFile = cfg.envFile;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue