nixos/radicale: fix default version (#29743)

Changed files
+2 -1
nixos
modules
services
networking
tests
+1 -1
nixos/modules/services/networking/radicale.nix
···
confFile = pkgs.writeText "radicale.conf" cfg.config;
# This enables us to default to version 2 while still not breaking configurations of people with version 1
-
defaultPackage = if versionAtLeast "17.09" config.system.stateVersion then {
pkg = pkgs.radicale2;
text = "pkgs.radicale2";
} else {
···
confFile = pkgs.writeText "radicale.conf" cfg.config;
# This enables us to default to version 2 while still not breaking configurations of people with version 1
+
defaultPackage = if versionAtLeast config.system.stateVersion "17.09" then {
pkg = pkgs.radicale2;
text = "pkgs.radicale2";
} else {
+1
nixos/tests/radicale.nix
···
});
})
];
};
radicale1_export = lib.recursiveUpdate radicale1 {
services.radicale.extraArgs = [
···
});
})
];
+
system.stateVersion = "17.03";
};
radicale1_export = lib.recursiveUpdate radicale1 {
services.radicale.extraArgs = [