commit 25bff13166e9de9916bfbb1e192fac35cacdff60
parent 2042a10f7c532c3bd1fe107620ddad8f8b9e67be
Author: Vincent Demeester <vincent@sbr.pm>
Date: Fri, 5 Jun 2020 15:39:14 +0200
profiles/nix-auto-update: update make target…
… and remove the path configuration.
Signed-off-by: Vincent Demeester <vincent@sbr.pm>
Diffstat:
1 file changed, 1 insertion(+), 3 deletions(-)
diff --git a/modules/profiles/nix-auto-update.nixos.nix b/modules/profiles/nix-auto-update.nixos.nix
@@ -47,11 +47,10 @@ in
inherit (config.environment.sessionVariables) NIX_PATH;
HOME = "/root";
};
- path = [ pkgs.gnutar pkgs.xz pkgs.git pkgs.gnumake config.nix.package.out pkgs.commonsCompress ];
script = ''
export PATH=/run/current-system/sw/bin
cd /etc/nixos/
- make update nixos-switch
+ make switch
'';
startAt = cfg.dates;
onFailure = [ "status-email-root@%n.service" ];
@@ -66,7 +65,6 @@ in
// {
inherit (config.environment.sessionVariables) NIX_PATH;
};
- path = [ pkgs.gnutar pkgs.xz pkgs.git ];
script = ''
export PATH=/run/current-system/sw/bin
cd /etc/nixos/