diff options
| -rw-r--r-- | hosts/skadhi/hw.nix | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/hosts/skadhi/hw.nix b/hosts/skadhi/hw.nix index 02054202..42d6a462 100644 --- a/hosts/skadhi/hw.nix +++ b/hosts/skadhi/hw.nix | |||
| @@ -56,8 +56,9 @@ | |||
| 56 | "--compress" "zstd:15" | 56 | "--compress" "zstd:15" |
| 57 | "--rootdir" (toString (pkgs.runCommand "rootdir" { | 57 | "--rootdir" (toString (pkgs.runCommand "rootdir" { |
| 58 | } '' | 58 | } '' |
| 59 | install -d ${lib.escapeShellArgs (map (p: "$out/${p}") subvols)} | 59 | mkdir $out |
| 60 | install -m 0700 -d ${lib.escapeShellArgs (map (p: "$out/${p}") restricted)} | 60 | install -d ${map (p: "$out/${p}") subvols} |
| 61 | install -m 0700 -d ${map (p: "$out/${p}") restricted} | ||
| 61 | '')) | 62 | '')) |
| 62 | ] ++ lib.concatMap (p: ["--subvol" p]) subvols; | 63 | ] ++ lib.concatMap (p: ["--subvol" p]) subvols; |
| 63 | subvolumes = { | 64 | subvolumes = { |
