diff --git a/nixos/systems/blowhole/nas.nix b/nixos/systems/blowhole/nas.nix index 41d6895..aafe86c 100644 --- a/nixos/systems/blowhole/nas.nix +++ b/nixos/systems/blowhole/nas.nix @@ -15,7 +15,7 @@ snapshot="$(date +restic%+4Y_%U_%u)" ${pkgs.zfs-relmount}/bin/zfs-relmount snapshot storfa/ds1/cartman "''${snapshot}" - mkdir /run/restic/cartman + mkdir -p /run/restic/cartman ${pkgs.zfs-relmount}/bin/zfs-relmount mount-snapshot storfa/ds1/cartman /run/restic/cartman "''${snapshot}" export RESTIC_PROGRESS_FPS=1