diff options
Diffstat (limited to 'modules/default.nix')
| -rw-r--r-- | modules/default.nix | 23 |
1 files changed, 7 insertions, 16 deletions
diff --git a/modules/default.nix b/modules/default.nix index f83cf683..3146ecdf 100644 --- a/modules/default.nix +++ b/modules/default.nix @@ -1,21 +1,12 @@ -# nixos-config - My current NixOS configuration -# -# Copyright (C) 2025 Benedikt Peetz <benedikt.peetz@b-peetz.de> -# SPDX-License-Identifier: GPL-3.0-or-later -# -# This file is part of my nixos-config. -# -# You should have received a copy of the License along with this program. -# If not, see <https://www.gnu.org/licenses/gpl-3.0.txt>. -# NOTE: This file **must** not depend on `pkgs`. This is because `pkgs` is defined in a -# module imported by it, and thus would require infinite recursion. <2024-10-18> -{libraries, ...}: let - files = - builtins.attrValues - (libraries.extra.mkByName { +{extra_lib, ...}: let + vhack = builtins.attrValues ( + extra_lib.mkByName { baseDirectory = ./by-name; fileName = "module.nix"; - }); + } + ); + + files = vhack; in { imports = files; } |
