lol

Merge pull request #250810 from asonix/btrbk-fix-btrfs-path

nixos/btrbk: fix btrfs path for passwordless execution

authored by

asymmetric and committed by
GitHub
4a359e21 a2093035

+2 -2
+2 -2
nixos/modules/services/backup/btrbk.nix
··· 166 166 { command = "${pkgs.coreutils}/bin/mkdir"; options = [ "NOPASSWD" ]; } 167 167 { command = "${pkgs.coreutils}/bin/readlink"; options = [ "NOPASSWD" ]; } 168 168 # for ssh, they are not the same than the one hard coded in ${pkgs.btrbk} 169 - { command = "/run/current-system/bin/btrfs"; options = [ "NOPASSWD" ]; } 169 + { command = "/run/current-system/sw/bin/btrfs"; options = [ "NOPASSWD" ]; } 170 170 { command = "/run/current-system/sw/bin/mkdir"; options = [ "NOPASSWD" ]; } 171 171 { command = "/run/current-system/sw/bin/readlink"; options = [ "NOPASSWD" ]; } 172 172 ]; ··· 182 182 (doasCmdNoPass "${pkgs.coreutils}/bin/mkdir") 183 183 (doasCmdNoPass "${pkgs.coreutils}/bin/readlink") 184 184 # for ssh, they are not the same than the one hard coded in ${pkgs.btrbk} 185 - (doasCmdNoPass "/run/current-system/bin/btrfs") 185 + (doasCmdNoPass "/run/current-system/sw/bin/btrfs") 186 186 (doasCmdNoPass "/run/current-system/sw/bin/mkdir") 187 187 (doasCmdNoPass "/run/current-system/sw/bin/readlink") 188 188