flake: remove unnecessary list flattening
This commit is contained in:
parent
07c2a4ac49
commit
c2cbb67107
3 changed files with 4 additions and 4 deletions
|
@ -1,5 +1,5 @@
|
||||||
{ pkgs, lib, ... }: {
|
{ pkgs, lib, ... }: {
|
||||||
imports = lib.lists.flatten [
|
imports = [
|
||||||
./hardware-configuration.nix
|
./hardware-configuration.nix
|
||||||
./filesystems.nix
|
./filesystems.nix
|
||||||
];
|
];
|
||||||
|
|
|
@ -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
|
||||||
|
|
|
@ -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
|
||||||
];
|
];
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue