summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--modules/default.nix4
-rw-r--r--treefmt.nix10
2 files changed, 2 insertions, 12 deletions
diff --git a/modules/default.nix b/modules/default.nix
index 3146ecdf..dd036143 100644
--- a/modules/default.nix
+++ b/modules/default.nix
@@ -1,12 +1,10 @@
{extra_lib, ...}: let
- vhack = builtins.attrValues (
+ files = builtins.attrValues (
extra_lib.mkByName {
baseDirectory = ./by-name;
fileName = "module.nix";
}
);
-
- files = vhack;
in {
imports = files;
}
diff --git a/treefmt.nix b/treefmt.nix
index 703a85e8..0991cdf9 100644
--- a/treefmt.nix
+++ b/treefmt.nix
@@ -1,12 +1,3 @@
-# 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>.
{
treefmt-nix,
pkgs,
@@ -81,6 +72,7 @@ treefmt-nix.lib.evalModule pkgs (
global.excludes = [
"CHANGELOG.md"
"NEWS.md"
+ "unflake.nix"
];
formatter = {
clang-format = {