about summary refs log tree commit diff
path: root/nixos/modules/system
diff options
context:
space:
mode:
authorFlorian Klink <flokli@flokli.de>2024-02-20 14:12:58 +0700
committerGitHub <noreply@github.com>2024-02-20 14:12:58 +0700
commit8b025e80dce815ec69ac371339290cd70370ee3d (patch)
treec5c5e476c0b8f3413265b0ec9cf9cee9a367bc44 /nixos/modules/system
parent73e915563950dc682aa2f7a47b9abd138a660d06 (diff)
parent6634b86601bb9b2180643c6c59ca099e5bdcf34c (diff)
downloadnixlib-8b025e80dce815ec69ac371339290cd70370ee3d.tar
nixlib-8b025e80dce815ec69ac371339290cd70370ee3d.tar.gz
nixlib-8b025e80dce815ec69ac371339290cd70370ee3d.tar.bz2
nixlib-8b025e80dce815ec69ac371339290cd70370ee3d.tar.lz
nixlib-8b025e80dce815ec69ac371339290cd70370ee3d.tar.xz
nixlib-8b025e80dce815ec69ac371339290cd70370ee3d.tar.zst
nixlib-8b025e80dce815ec69ac371339290cd70370ee3d.zip
Merge pull request #288690 from maralorn/drop-unused-fs-binding
nixos: Drop unused variable in systemd/initrd.nix
Diffstat (limited to 'nixos/modules/system')
-rw-r--r--nixos/modules/system/boot/systemd/initrd.nix2
1 files changed, 0 insertions, 2 deletions
diff --git a/nixos/modules/system/boot/systemd/initrd.nix b/nixos/modules/system/boot/systemd/initrd.nix
index 9641921fc795..f83837fbc6d4 100644
--- a/nixos/modules/system/boot/systemd/initrd.nix
+++ b/nixos/modules/system/boot/systemd/initrd.nix
@@ -90,8 +90,6 @@ let
     inherit (cfg) packages package;
   };
 
-  fileSystems = filter utils.fsNeededForBoot config.system.build.fileSystems;
-
   kernel-name = config.boot.kernelPackages.kernel.name or "kernel";
   modulesTree = config.system.modulesTree.override { name = kernel-name + "-modules"; };
   firmware = config.hardware.firmware;