use versionOlder to get errors in systemupdates

This commit is contained in:
Ingolf Wagner 2020-09-08 21:45:54 +02:00
parent e78edef007
commit c1c84aa5d2
No known key found for this signature in database
GPG key ID: 76BF5F1928B9618B
2 changed files with 5 additions and 0 deletions

View file

@ -1,5 +1,7 @@
{ config, lib, pkgs, ... }: { config, lib, pkgs, ... }:
assert lib.versionOlder lib.version "20.09";
with lib; with lib;
let let

View file

@ -1,5 +1,7 @@
{ config, lib, pkgs, ... }: { config, lib, pkgs, ... }:
assert lib.versionOlder lib.version "20.09";
with lib; with lib;
let let
@ -63,6 +65,7 @@ let
${cfg.guiAddress}/rest/system/restart ${cfg.guiAddress}/rest/system/restart
''; '';
in { in {
###### interface ###### interface
options = { options = {
test.services.syncthing = { test.services.syncthing = {