all: let system.autoUpgrade.enable be set individidually
This commit is contained in:
parent
e3853f4998
commit
94d3f9ba16
@ -86,7 +86,7 @@
|
||||
, reform, gostart, xintray, tsvnstat, pots, po, tsRevProx, darwin
|
||||
, xin-secrets, talon, peerix, ... }@inputs:
|
||||
let
|
||||
xinlib = import ./lib;
|
||||
xinlib = import ./lib { inherit (unstable) lib; };
|
||||
supportedSystems = [ "x86_64-linux" ];
|
||||
#[ "x86_64-linux" "x86_64-darwin" "aarch64-linux" "aarch64-darwin" ];
|
||||
forAllSystems = unstable.lib.genAttrs supportedSystems;
|
||||
|
@ -1,3 +1,4 @@
|
||||
{ lib, ... }:
|
||||
let
|
||||
mkCronScript = name: src: ''
|
||||
. /etc/profile;
|
||||
@ -49,7 +50,7 @@ let
|
||||
let state = self.rev or "DIRTY";
|
||||
in {
|
||||
system.configurationRevision = state;
|
||||
system.autoUpgrade.enable = state != "DIRTY";
|
||||
system.autoUpgrade.enable = lib.mkDefault (state != "DIRTY");
|
||||
};
|
||||
|
||||
xinlib = {
|
||||
|
Loading…
Reference in New Issue
Block a user