summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBenedikt Peetz <benedikt.peetz@b-peetz.de>2026-10-30 15:24:08 +0100
committerBenedikt Peetz <benedikt.peetz@b-peetz.de>2026-10-30 15:24:08 +0100
commit2dd4404738ecfcb42486eb4ab375bffeafda0726 (patch)
treed497560ccf12e47b8dab89f35eb22de86ae9e079
parentnotes/deploy: Rename to avoid name conflict with server deploy (diff)
downloadnixos-config-2dd4404738ecfcb42486eb4ab375bffeafda0726.zip
{modules,treefmt}: Align last files with the server repository
-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 = {