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