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