summaryrefslogtreecommitdiffstats
path: root/modules
diff options
context:
space:
mode:
authorBenedikt Peetz <benedikt.peetz@b-peetz.de>2026-10-30 14:26:34 +0100
committerBenedikt Peetz <benedikt.peetz@b-peetz.de>2026-10-30 14:26:34 +0100
commit981060cf79e468da091b7bb359d19e514fa23ab1 (patch)
treeb900fec93ee6524e49c12f52c5003b128fbb10e6 /modules
parentnotes/deploy: Add a very basic version of a deploy guide (diff)
downloadnixos-config-981060cf79e468da091b7bb359d19e514fa23ab1.zip
treewide: Align files with the same files in the `nixos-server` repo
This facilitates overlaying the two repos over each other.
Diffstat (limited to 'modules')
-rw-r--r--modules/default.nix23
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;
}