flake: remove unnecessary list flattening

This commit is contained in:
Infinidoge 2024-01-30 16:22:44 -05:00
parent 07c2a4ac49
commit c2cbb67107
Signed by: Infinidoge
SSH key fingerprint: SHA256:oAMyvotlNFraMmZmr+p6AxnNfW/GioTs1pOn3V4tQ7A
3 changed files with 4 additions and 4 deletions

View file

@ -1,5 +1,5 @@
{ pkgs, lib, ... }: { { pkgs, lib, ... }: {
imports = lib.lists.flatten [ imports = [
./hardware-configuration.nix ./hardware-configuration.nix
./filesystems.nix ./filesystems.nix
]; ];

View file

@ -1,5 +1,5 @@
{ config, pkgs, lib, private, ... }: { { config, pkgs, lib, private, ... }: {
imports = lib.flatten [ imports = [
private.nixosModules.minecraft-servers private.nixosModules.minecraft-servers
private.nixosModules.nitter private.nixosModules.nitter
./hardware-configuration.nix ./hardware-configuration.nix

View file

@ -5,11 +5,11 @@ let
ifGraphical' = lib.optional config.info.graphical; ifGraphical' = lib.optional config.info.graphical;
in in
{ {
imports = flatten [ imports = [
]; ];
home = { config, main, ... }: { home = { config, main, ... }: {
imports = flatten [ imports = [
./config ./config
]; ];