diff --git a/machines/modules/malobeo/users.nix b/machines/modules/malobeo/users.nix index b159c5cd..c2c1448d 100644 --- a/machines/modules/malobeo/users.nix +++ b/machines/modules/malobeo/users.nix @@ -68,7 +68,11 @@ in users = [ "backup" ]; commands = [ { - command = "${pkgs.zfs}/bin/zfs"; + command = "/run/current-system/sw/bin/zfs"; + options = [ "NOPASSWD" ]; + } + { + command = "/run/current-system/sw/bin/zpool"; options = [ "NOPASSWD" ]; } ];