From 981060cf79e468da091b7bb359d19e514fa23ab1 Mon Sep 17 00:00:00 2001 From: Benedikt Peetz Date: Fri, 30 Oct 2026 14:26:34 +0100 Subject: treewide: Align files with the same files in the `nixos-server` repo This facilitates overlaying the two repos over each other. --- modules/default.nix | 23 +++++++---------------- 1 file changed, 7 insertions(+), 16 deletions(-) (limited to 'modules/default.nix') 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 -# 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 . -# 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; } -- cgit v1.3.1