We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 42af336 commit 0882360Copy full SHA for 0882360
nix/metal/bitteProfile/default.nix
@@ -80,13 +80,15 @@ in {
80
modules =
81
defaultModules
82
++ lib.optional (opts ? withPatroni && opts.withPatroni == true) (patroni.nixosProfiles.client node_class)
83
- ++ lib.optional (node_class == "prod") ({...}: {
84
- services.nomad.client.host_volume.host-nix-mount = {
85
- path = "/nix";
86
- read_only = false;
87
- };
88
- })
89
- ++ lib.optional (node_class == "test") ./local-builder.nix;
+ ++ lib.optionals (node_class == "prod") [
+ ./local-builder.nix
+ ({...}: {
+ services.nomad.client.host_volume.host-nix-mount = {
+ path = "/nix";
+ read_only = false;
+ };
90
+ })
91
+ ];
92
}
93
extraConfig;
94
# -------------------------
0 commit comments