diff options
author | Ryan Lahfa <masterancpp@gmail.com> | 2024-02-25 18:05:29 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-02-25 18:05:29 +0100 |
commit | 077d41f9d849ee60c8b3b6b9e6bfce771f35bc17 (patch) | |
tree | c6d4faddbdbb0d320cd8d4014609a69ac0b72b78 /nixos/modules/system | |
parent | 178b53e11885ae98617faef543379446f7726adc (diff) | |
parent | 258b935d705be03e939b8205215202ad202073b3 (diff) |
Merge pull request #289856 from pennae/supfs-set
nixos/filesystems: make supportedFilesystems an attrset
Diffstat (limited to 'nixos/modules/system')
-rw-r--r-- | nixos/modules/system/boot/stage-1.nix | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/nixos/modules/system/boot/stage-1.nix b/nixos/modules/system/boot/stage-1.nix index 8f3f3612805f2..90a74c0ac5788 100644 --- a/nixos/modules/system/boot/stage-1.nix +++ b/nixos/modules/system/boot/stage-1.nix @@ -3,7 +3,7 @@ # the modules necessary to mount the root file system, then calls the # init in the root file system to start the second boot stage. -{ config, lib, utils, pkgs, ... }: +{ config, options, lib, utils, pkgs, ... }: with lib; @@ -636,10 +636,8 @@ in }; boot.initrd.supportedFilesystems = mkOption { - default = [ ]; - example = [ "btrfs" ]; - type = types.listOf types.str; - description = lib.mdDoc "Names of supported filesystem types in the initial ramdisk."; + default = { }; + inherit (options.boot.supportedFilesystems) example type description; }; boot.initrd.verbose = mkOption { |