From c1c84aa5d2f530e6f9b04bdf330df9cc417922fa Mon Sep 17 00:00:00 2001 From: Ingolf Wagner Date: Tue, 8 Sep 2020 21:45:54 +0200 Subject: [PATCH] use versionOlder to get errors in systemupdates --- modules/later/nextcloud.nix | 2 ++ modules/later/syncthing.nix | 3 +++ 2 files changed, 5 insertions(+) diff --git a/modules/later/nextcloud.nix b/modules/later/nextcloud.nix index 0c6bff2..b47e001 100644 --- a/modules/later/nextcloud.nix +++ b/modules/later/nextcloud.nix @@ -1,5 +1,7 @@ { config, lib, pkgs, ... }: +assert lib.versionOlder lib.version "20.09"; + with lib; let diff --git a/modules/later/syncthing.nix b/modules/later/syncthing.nix index ea7401f..aaa8a94 100644 --- a/modules/later/syncthing.nix +++ b/modules/later/syncthing.nix @@ -1,5 +1,7 @@ { config, lib, pkgs, ... }: +assert lib.versionOlder lib.version "20.09"; + with lib; let @@ -63,6 +65,7 @@ let ${cfg.guiAddress}/rest/system/restart ''; in { + ###### interface options = { test.services.syncthing = {