try again updates without passwords

This commit is contained in:
Andreas Zweili 2022-01-16 17:59:39 +01:00
parent a0a444da66
commit f0356baff2
1 changed files with 4 additions and 0 deletions

View File

@ -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" ];
}
];
}
];