update treefmt settings

This commit is contained in:
Jörg Thalheim 2025-03-22 08:53:29 +01:00
parent 9f4d084e36
commit f752799688
4 changed files with 8 additions and 1 deletions

2
.envrc
View File

@ -1,3 +1,5 @@
# shellcheck shell=bash
use flake use flake
watch_file .envrc.private watch_file .envrc.private

View File

@ -1,2 +1,3 @@
# shellcheck shell=bash
# https://console.hetzner.cloud/projects/2643361/security/tokens # https://console.hetzner.cloud/projects/2643361/security/tokens
export HCLOUD_TOKEN='<your-hetzner-token>' export HCLOUD_TOKEN='<your-hetzner-token>'

View File

@ -1 +1,2 @@
# shellcheck shell=bash
use flake .#linkcheck use flake .#linkcheck

View File

@ -9,14 +9,17 @@
"*/nixos-vars.json" "*/nixos-vars.json"
"*/secrets.yaml" "*/secrets.yaml"
"*.lock" "*.lock"
"*.tfstate"
".gitignore" ".gitignore"
"modules/nixos-wiki/favicon.ico" "modules/nixos-wiki/favicon.ico"
"modules/nixos-wiki/nixos.png" "modules/nixos-wiki/nixos.png"
"modules/nixos-wiki/robots.txt" "modules/nixos-wiki/robots.txt"
"oauth-permissions.png" "oauth-permissions.png"
"targets/nixos-wiki.nixos.org/secrets/*" "targets/nixos-wiki.nixos.org/secrets/*"
"targets/admins/secrets/*"
"checks/linkcheck/allowed.links"
]; ];
programs.hclfmt.enable = true; programs.terraform.enable = true;
programs.nixfmt.enable = true; programs.nixfmt.enable = true;
programs.nixfmt.package = pkgs.nixfmt-rfc-style; programs.nixfmt.package = pkgs.nixfmt-rfc-style;
programs.deadnix.enable = true; programs.deadnix.enable = true;