use versionOlder to get errors in systemupdates
This commit is contained in:
parent
e78edef007
commit
c1c84aa5d2
2 changed files with 5 additions and 0 deletions
|
@ -1,5 +1,7 @@
|
||||||
{ config, lib, pkgs, ... }:
|
{ config, lib, pkgs, ... }:
|
||||||
|
|
||||||
|
assert lib.versionOlder lib.version "20.09";
|
||||||
|
|
||||||
with lib;
|
with lib;
|
||||||
|
|
||||||
let
|
let
|
||||||
|
|
|
@ -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 = {
|
||||||
|
|
Loading…
Reference in a new issue