diff options
author | WORLDofPEACE <worldofpeace@protonmail.ch> | 2020-09-02 08:45:37 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-09-02 08:45:37 -0400 |
commit | 18348c7829ae93ebe436497ca7ad96cdb8d39935 (patch) | |
tree | 4bb9090ed91bc41e15001193a8cd3f4f806cdc93 /nixos/modules/system/boot | |
parent | 403414522acdafb3785af9ddbe883e23a7a8f5bb (diff) | |
parent | 3f8a3246f409513653a9e8739c69371af3e9f7b0 (diff) | |
download | nixpkgs-18348c7829ae93ebe436497ca7ad96cdb8d39935.tar nixpkgs-18348c7829ae93ebe436497ca7ad96cdb8d39935.tar.gz nixpkgs-18348c7829ae93ebe436497ca7ad96cdb8d39935.tar.bz2 nixpkgs-18348c7829ae93ebe436497ca7ad96cdb8d39935.tar.lz nixpkgs-18348c7829ae93ebe436497ca7ad96cdb8d39935.tar.xz nixpkgs-18348c7829ae93ebe436497ca7ad96cdb8d39935.tar.zst nixpkgs-18348c7829ae93ebe436497ca7ad96cdb8d39935.zip |
Merge pull request #96042 from rnhmjoj/loaOf
treewide: completely remove types.loaOf
Diffstat (limited to 'nixos/modules/system/boot')
-rw-r--r-- | nixos/modules/system/boot/luksroot.nix | 2 | ||||
-rw-r--r-- | nixos/modules/system/boot/stage-1.nix | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/nixos/modules/system/boot/luksroot.nix b/nixos/modules/system/boot/luksroot.nix index e6a53b03f88..88190e8200b 100644 --- a/nixos/modules/system/boot/luksroot.nix +++ b/nixos/modules/system/boot/luksroot.nix @@ -516,7 +516,7 @@ in <filename>/dev/mapper/<replaceable>name</replaceable></filename>. ''; - type = with types; loaOf (submodule ( + type = with types; attrsOf (submodule ( { name, ... }: { options = { name = mkOption { diff --git a/nixos/modules/system/boot/stage-1.nix b/nixos/modules/system/boot/stage-1.nix index 36af5de4c90..1b2f22a039c 100644 --- a/nixos/modules/system/boot/stage-1.nix +++ b/nixos/modules/system/boot/stage-1.nix @@ -558,7 +558,7 @@ in }; fileSystems = mkOption { - type = with lib.types; loaOf (submodule { + type = with lib.types; attrsOf (submodule { options.neededForBoot = mkOption { default = false; type = types.bool; |