summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGregor Kleen <gkleen@yggdrasil.li>2026-09-22 17:55:32 +0200
committerGregor Kleen <gkleen@yggdrasil.li>2026-09-22 17:55:32 +0200
commit5b84ea500d2c5684b5428b6d74c39a7fc487853f (patch)
tree28f03183b7c028494e963108ee21798c90049b10
parent26cb50de504b32e343689bb3b176eecab3c0c134 (diff)
downloadnixos-5b84ea500d2c5684b5428b6d74c39a7fc487853f.tar
nixos-5b84ea500d2c5684b5428b6d74c39a7fc487853f.tar.gz
nixos-5b84ea500d2c5684b5428b6d74c39a7fc487853f.tar.bz2
nixos-5b84ea500d2c5684b5428b6d74c39a7fc487853f.tar.xz
nixos-5b84ea500d2c5684b5428b6d74c39a7fc487853f.zip
...
-rw-r--r--hosts/skadhi/hw.nix4
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";