diff options
Diffstat (limited to 'hosts/sif/hw.nix')
-rw-r--r-- | hosts/sif/hw.nix | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/hosts/sif/hw.nix b/hosts/sif/hw.nix index d80f959c..cf3a0322 100644 --- a/hosts/sif/hw.nix +++ b/hosts/sif/hw.nix | |||
@@ -21,9 +21,12 @@ | |||
21 | }; | 21 | }; |
22 | # system.etc.overlay.enable = false; | 22 | # system.etc.overlay.enable = false; |
23 | 23 | ||
24 | boot.initrd.systemd.contents."/etc/systemd/system/\\x2ebcachefs.mount.d/block_scan.conf".text = '' | 24 | boot.initrd.systemd.packages = { |
25 | Environment=BCACHEFS_BLOCK_SCAN=1 | 25 | (pkgs.writeTextDir "/etc/systemd/system/\\x2ebcachefs.mount.d/block_scan.conf" '' |
26 | ''; | 26 | [Mount] |
27 | Environment=BCACHEFS_BLOCK_SCAN=1 | ||
28 | '') | ||
29 | }; | ||
27 | 30 | ||
28 | # boot.initrd.supportedFilesystems.bcachefs = true; | 31 | # boot.initrd.supportedFilesystems.bcachefs = true; |
29 | # boot.initrd.systemd.units."dev-sif-nvm0:-dev-sif-nvm1.device".enable = false; | 32 | # boot.initrd.systemd.units."dev-sif-nvm0:-dev-sif-nvm1.device".enable = false; |