diff options
author | Janne Heß <janne@hess.ooo> | 2022-04-17 13:55:48 +0100 |
---|---|---|
committer | Janne Heß <janne@hess.ooo> | 2022-04-24 16:32:54 +0200 |
commit | acca69992cda719eb71f29f5c8eedf7892127e27 (patch) | |
tree | cb966274df02b7b899c8783760c83366cdf4aa5f /nixos/modules/tasks/filesystems | |
parent | 160fb93fdc4155d7e6304f366384ad8afb00db1e (diff) | |
download | nixlib-acca69992cda719eb71f29f5c8eedf7892127e27.tar nixlib-acca69992cda719eb71f29f5c8eedf7892127e27.tar.gz nixlib-acca69992cda719eb71f29f5c8eedf7892127e27.tar.bz2 nixlib-acca69992cda719eb71f29f5c8eedf7892127e27.tar.lz nixlib-acca69992cda719eb71f29f5c8eedf7892127e27.tar.xz nixlib-acca69992cda719eb71f29f5c8eedf7892127e27.tar.zst nixlib-acca69992cda719eb71f29f5c8eedf7892127e27.zip |
nixos/btrfs: Add systemd stage 1 support
Diffstat (limited to 'nixos/modules/tasks/filesystems')
-rw-r--r-- | nixos/modules/tasks/filesystems/btrfs.nix | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nixos/modules/tasks/filesystems/btrfs.nix b/nixos/modules/tasks/filesystems/btrfs.nix index 33736e2043ac..b7ebc37dd5cf 100644 --- a/nixos/modules/tasks/filesystems/btrfs.nix +++ b/nixos/modules/tasks/filesystems/btrfs.nix @@ -78,7 +78,7 @@ in $out/bin/btrfs --version ''; - boot.initrd.postDeviceCommands = mkIf inInitrd + boot.initrd.postDeviceCommands = mkIf (inInitrd && !config.boot.initrd.systemd.enable) '' btrfs device scan ''; |