flake-parts/setups/nixos: fix erroneous code

This commit is contained in:
Gabriel Arazas 2024-02-28 18:46:09 +08:00
parent 51f52dc3f9
commit cf64ff7490
No known key found for this signature in database
GPG Key ID: ADE0C41DAB221FCC

View File

@ -437,7 +437,7 @@ let
)) ))
# Then we include the Disko configuration (if there's any). # Then we include the Disko configuration (if there's any).
(lib.mkIf (config.diskoConfigs != [ ] ( (lib.mkIf (config.diskoConfigs != [ ]) (
let let
diskoConfigs = diskoConfigs =
builtins.map (name: import ../../../configs/disko/${name}) config.diskoConfigs; builtins.map (name: import ../../../configs/disko/${name}) config.diskoConfigs;
@ -447,7 +447,7 @@ let
[ inputs.disko.nixosModules.disko ] [ inputs.disko.nixosModules.disko ]
++ (lib.lists.flatten diskoConfigs); ++ (lib.lists.flatten diskoConfigs);
}) })
)) )
# Setting up the typical configuration. # Setting up the typical configuration.
( (