mirror of
https://github.com/foo-dogsquared/nixos-config.git
synced 2025-01-31 04:58:01 +00:00
flake-parts/setups/nixos: fix erroneous code
This commit is contained in:
parent
51f52dc3f9
commit
cf64ff7490
@ -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.
|
||||||
(
|
(
|
||||||
|
Loading…
Reference in New Issue
Block a user