diff options
| author | Gregor Kleen <gkleen@yggdrasil.li> | 2026-09-22 17:55:32 +0200 |
|---|---|---|
| committer | Gregor Kleen <gkleen@yggdrasil.li> | 2026-09-22 17:55:32 +0200 |
| commit | 5b84ea500d2c5684b5428b6d74c39a7fc487853f (patch) | |
| tree | 28f03183b7c028494e963108ee21798c90049b10 /hosts/skadhi/hw.nix | |
| parent | 26cb50de504b32e343689bb3b176eecab3c0c134 (diff) | |
| download | nixos-5b84ea500d2c5684b5428b6d74c39a7fc487853f.tar nixos-5b84ea500d2c5684b5428b6d74c39a7fc487853f.tar.gz nixos-5b84ea500d2c5684b5428b6d74c39a7fc487853f.tar.bz2 nixos-5b84ea500d2c5684b5428b6d74c39a7fc487853f.tar.xz nixos-5b84ea500d2c5684b5428b6d74c39a7fc487853f.zip | |
...
Diffstat (limited to 'hosts/skadhi/hw.nix')
| -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"; |
