nixos/radicale: fix default version (#29743)

wip/yesman
Silvan Mosberger 7 years ago committed by Joachim F
parent f8078db863
commit a8c97ad23e
  1. 2
      nixos/modules/services/networking/radicale.nix
  2. 1
      nixos/tests/radicale.nix

@ -9,7 +9,7 @@ let
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 {
defaultPackage = if versionAtLeast config.system.stateVersion "17.09" then {
pkg = pkgs.radicale2;
text = "pkgs.radicale2";
} else {

@ -43,6 +43,7 @@ in
});
})
];
system.stateVersion = "17.03";
};
radicale1_export = lib.recursiveUpdate radicale1 {
services.radicale.extraArgs = [

Loading…
Cancel
Save