Fixed warning
This commit is contained in:
parent
c3fb88e4ce
commit
376b9e3199
|
@ -118,11 +118,12 @@ in
|
|||
};
|
||||
|
||||
config = mkIf cfg.enable {
|
||||
warnings = [
|
||||
mkIf
|
||||
(cfg.satnogs-api-token != "")
|
||||
"It is not recommended to use some form of secret management e.g. agenix to store your token."
|
||||
];
|
||||
warnings =
|
||||
if (cfg.satnogs-api-token != "") then
|
||||
[
|
||||
"It is not recommended to use some form of secret management e.g. agenix to store your token."
|
||||
]
|
||||
else [ ];
|
||||
|
||||
virtualisation.docker.enable = true;
|
||||
|
||||
|
|
Loading…
Reference in New Issue