fix: otf.nix improper environmentfile mapping

This commit is contained in:
Jermeiah S 2025-06-14 13:01:18 -04:00
parent 57f4448826
commit 33bf0e24a8
No known key found for this signature in database

View file

@ -89,7 +89,7 @@ in
WorkingDirectory = cfg.dataDir;
ExecStart = "${cfg.package}/bin/otfd";
Restart = "on-failure";
EnvironmentFile = lib.mkIf (cfg.environment.file != null) cfg.environment.file;
EnvironmentFile = lib.mkIf (cfg.environmentFile != null) cfg.environmentFile;
};
};
};