summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGregor Kleen <gkleen@yggdrasil.li>2026-09-22 18:04:02 +0200
committerGregor Kleen <gkleen@yggdrasil.li>2026-09-22 18:04:02 +0200
commit4f88d0fbe54cda93d618694822be76f962328fb4 (patch)
tree1f3f1463156c1fa41ff3d47dc27235e130e16f18
parent5b84ea500d2c5684b5428b6d74c39a7fc487853f (diff)
downloadnixos-4f88d0fbe54cda93d618694822be76f962328fb4.tar
nixos-4f88d0fbe54cda93d618694822be76f962328fb4.tar.gz
nixos-4f88d0fbe54cda93d618694822be76f962328fb4.tar.bz2
nixos-4f88d0fbe54cda93d618694822be76f962328fb4.tar.xz
nixos-4f88d0fbe54cda93d618694822be76f962328fb4.zip
...
-rw-r--r--hosts/skadhi/hw.nix5
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 = {