chore: nf-fmt-nix

This commit is contained in:
arcnmx 2024-05-13 15:13:58 -07:00
parent 7486517713
commit 9903866044
160 changed files with 4570 additions and 3019 deletions

View file

@ -20,13 +20,18 @@ in {
rev = "r${version}";
sha256 = "sha256-lVRTrEnwuyKETFL1C8bVqBfrDaYrbQIdmHN42CF8ZIw=";
};
sconsFlags = old.sconsFlags ++ [
"MONGO_VERSION=${version}"
];
sconsFlags =
old.sconsFlags
++ [
"MONGO_VERSION=${version}"
];
});
isUpdated = lib.versionAtLeast pkgs.mongodb-5_0.version mongodb-5_0_26.version;
message = "mongodb 5.0 updated in upstream nixpkgs, override no longer needed";
in if !isUpdated then mongodb-5_0_26 else lib.warn message pkgs.mongodb-5_0;
in
if !isUpdated
then mongodb-5_0_26
else lib.warn message pkgs.mongodb-5_0;
};
networking.firewall = mkIf cfg.enable {