diff options
author | Gregor Kleen <gkleen@yggdrasil.li> | 2025-01-06 17:59:47 +0100 |
---|---|---|
committer | Gregor Kleen <gkleen@yggdrasil.li> | 2025-01-06 17:59:47 +0100 |
commit | 11bb10d1062470331f6d84b70097be91e97140d2 (patch) | |
tree | c9b1bf160e906f2e0030b790b61313b170fb60fd | |
parent | 493d4ea2cc87309d96c2ee6a4f2590171f934294 (diff) | |
download | nixos-11bb10d1062470331f6d84b70097be91e97140d2.tar nixos-11bb10d1062470331f6d84b70097be91e97140d2.tar.gz nixos-11bb10d1062470331f6d84b70097be91e97140d2.tar.bz2 nixos-11bb10d1062470331f6d84b70097be91e97140d2.tar.xz nixos-11bb10d1062470331f6d84b70097be91e97140d2.zip |
...
-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; |