From f0356baff227b916387106f3b5028013b3ec32b9 Mon Sep 17 00:00:00 2001 From: Andreas Zweili Date: Sun, 16 Jan 2022 17:59:39 +0100 Subject: [PATCH] try again updates without passwords --- modules/common/default.nix | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/modules/common/default.nix b/modules/common/default.nix index 6d6cb22..946bcf6 100644 --- a/modules/common/default.nix +++ b/modules/common/default.nix @@ -101,6 +101,10 @@ in command = "${pkgs.nixos-rebuild}/bin/nixos-rebuild -j auto switch"; options = [ "NOPASSWD" ]; } + { + command = "/run/current-system/sw/bin/nixos-rebuild"; + options = [ "NOPASSWD" ]; + } ]; } ];