diff options
Diffstat (limited to 'hosts/skadhi')
| -rw-r--r-- | hosts/skadhi/hw.nix | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/hosts/skadhi/hw.nix b/hosts/skadhi/hw.nix index dd2af18d..02054202 100644 --- a/hosts/skadhi/hw.nix +++ b/hosts/skadhi/hw.nix | |||
| @@ -54,11 +54,11 @@ | |||
| 54 | in [ | 54 | in [ |
| 55 | "--csum" "blake2" | 55 | "--csum" "blake2" |
| 56 | "--compress" "zstd:15" | 56 | "--compress" "zstd:15" |
| 57 | "--rootdir" (pkgs.runCommand "rootdir" { | 57 | "--rootdir" (toString (pkgs.runCommand "rootdir" { |
| 58 | } '' | 58 | } '' |
| 59 | install -d ${lib.escapeShellArgs (map (p: "$out/${p}") subvols)} | 59 | install -d ${lib.escapeShellArgs (map (p: "$out/${p}") subvols)} |
| 60 | install -m 0700 -d ${lib.escapeShellArgs (map (p: "$out/${p}") restricted)} | 60 | install -m 0700 -d ${lib.escapeShellArgs (map (p: "$out/${p}") restricted)} |
| 61 | '') | 61 | '')) |
| 62 | ] ++ lib.concatMap (p: ["--subvol" p]) subvols; | 62 | ] ++ lib.concatMap (p: ["--subvol" p]) subvols; |
| 63 | subvolumes = { | 63 | subvolumes = { |
| 64 | "/persistent".mountpoint = "/persistent"; | 64 | "/persistent".mountpoint = "/persistent"; |
