From cf64ff7490682cdc4eaa99742e0f252f9e6d5336 Mon Sep 17 00:00:00 2001 From: Gabriel Arazas Date: Wed, 28 Feb 2024 18:46:09 +0800 Subject: [PATCH] flake-parts/setups/nixos: fix erroneous code --- modules/flake-parts/setups/nixos.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/flake-parts/setups/nixos.nix b/modules/flake-parts/setups/nixos.nix index c6299d80..f2e9a8d7 100644 --- a/modules/flake-parts/setups/nixos.nix +++ b/modules/flake-parts/setups/nixos.nix @@ -437,7 +437,7 @@ let )) # Then we include the Disko configuration (if there's any). - (lib.mkIf (config.diskoConfigs != [ ] ( + (lib.mkIf (config.diskoConfigs != [ ]) ( let diskoConfigs = builtins.map (name: import ../../../configs/disko/${name}) config.diskoConfigs; @@ -447,7 +447,7 @@ let [ inputs.disko.nixosModules.disko ] ++ (lib.lists.flatten diskoConfigs); }) - )) + ) # Setting up the typical configuration. (