From d202a3d0cb81ead1b48e1dbffe9c0803cb0dcc42 Mon Sep 17 00:00:00 2001 From: ahtlon Date: Sun, 16 Mar 2025 14:16:52 +0100 Subject: [PATCH] [user module] I love symlinks --- machines/modules/malobeo/users.nix | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) 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" ]; } ];