From 2dd4404738ecfcb42486eb4ab375bffeafda0726 Mon Sep 17 00:00:00 2001 From: Benedikt Peetz Date: Fri, 30 Oct 2026 15:24:08 +0100 Subject: {modules,treefmt}: Align last files with the server repository --- modules/default.nix | 4 +--- treefmt.nix | 10 +--------- 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 -# 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 . { treefmt-nix, pkgs, @@ -81,6 +72,7 @@ treefmt-nix.lib.evalModule pkgs ( global.excludes = [ "CHANGELOG.md" "NEWS.md" + "unflake.nix" ]; formatter = { clang-format = { -- cgit v1.3.1