From a2a2813b6a47a800e0c19d059312a28c0d614f90 Mon Sep 17 00:00:00 2001
From: Fabian Hauser <fabian@fh2.ch>
Date: Mon, 3 Mar 2025 23:50:23 +0200
Subject: [PATCH] Enable more formatters

---
 .github/workflows/ci.yml                     | 5 -----
 flake.nix                                    | 3 +++
 nixos-configurations/ochsenchopf/facter.json | 2 +-
 nixos-configurations/speer/facter.json       | 2 +-
 renovate.json                                | 8 ++++++--
 setup.md                                     | 1 -
 6 files changed, 11 insertions(+), 10 deletions(-)

diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index 792edcd..e68b30c 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -1,12 +1,9 @@
 name: CI
-
 on:
   push:
-
 defaults:
   run:
     shell: nix develop --command bash -c "{0}"
-
 jobs:
   build:
     runs-on: nix
@@ -16,7 +13,6 @@ jobs:
         with:
           token: ${{ secrets.CI_TOKEN }}
           lfs: false
-
       - name: Setup Attic Cache
         env:
           CACHE_NAME: fabianhauser
@@ -26,6 +22,5 @@ jobs:
         run: |
           attic login "$CACHE_NAME" "$SERVER" "$ATTIC_AUTH_TOKEN"
           attic use "$CACHE_REPOSITORY"
-
       - name: Run Checks
         run: nix-fast-build --no-nom --max-jobs 1 --skip-cached --attic-cache fabianhauser:dotfiles
diff --git a/flake.nix b/flake.nix
index 00021fe..6e4c9f2 100644
--- a/flake.nix
+++ b/flake.nix
@@ -76,6 +76,9 @@
             programs = {
               nixfmt.enable = true;
               deadnix.enable = true;
+              jsonfmt.enable = true;
+              yamlfmt.enable = true;
+              mdformat.enable = true;
             };
             settings.global.excludes = [ "*.jpg" ];
           };
diff --git a/nixos-configurations/ochsenchopf/facter.json b/nixos-configurations/ochsenchopf/facter.json
index 25cb37b..22f7261 100644
--- a/nixos-configurations/ochsenchopf/facter.json
+++ b/nixos-configurations/ochsenchopf/facter.json
@@ -4427,4 +4427,4 @@
       }
     }
   }
-}
\ No newline at end of file
+}
diff --git a/nixos-configurations/speer/facter.json b/nixos-configurations/speer/facter.json
index 4efbd58..928ce41 100644
--- a/nixos-configurations/speer/facter.json
+++ b/nixos-configurations/speer/facter.json
@@ -7527,4 +7527,4 @@
       }
     }
   }
-}
\ No newline at end of file
+}
diff --git a/renovate.json b/renovate.json
index 36e40c3..a0f7d55 100644
--- a/renovate.json
+++ b/renovate.json
@@ -1,9 +1,13 @@
 {
   "$schema": "https://docs.renovatebot.com/renovate-schema.json",
-  "extends": ["config:recommended"],
+  "extends": [
+    "config:recommended"
+  ],
   "lockFileMaintenance": {
     "enabled": true,
-    "extends": ["schedule:weekly"],
+    "extends": [
+      "schedule:weekly"
+    ],
     "automerge": true
   },
   "cloneSubmodules": true,
diff --git a/setup.md b/setup.md
index 2ccb990..0c8dc14 100644
--- a/setup.md
+++ b/setup.md
@@ -1,4 +1,3 @@
 # Setup
 
-
 See https://github.com/nix-community/lanzaboote/blob/master/docs/QUICK_START.md for instructions on how to enroll lanzaboote secure boot.