From 4c76c412da62c99f9699fbb01bf7c635e0d5353a Mon Sep 17 00:00:00 2001 From: Felix Buehler Date: Sun, 30 Jul 2023 12:51:21 +0200 Subject: [PATCH] flake: add yamllint --- flake.nix | 4 ++++ machines/.sops.yaml | 14 ++++++++------ 2 files changed, 12 insertions(+), 6 deletions(-) diff --git a/flake.nix b/flake.nix index 09076af..6c4c2ac 100644 --- a/flake.nix +++ b/flake.nix @@ -75,6 +75,10 @@ excludes = [ "secrets\\.yaml" ]; }; markdownlint.enable = true; + yamllint = { + enable = true; + excludes = [ "secrets\\.yaml" ]; + }; }; }; diff --git a/machines/.sops.yaml b/machines/.sops.yaml index b6391d9..cefc057 100644 --- a/machines/.sops.yaml +++ b/machines/.sops.yaml @@ -1,3 +1,5 @@ +--- + keys: - &admin_felix age1hf8m9upp00dr7qv2kmqdr50fpvd9ejzkfu8yknqnuda2aas2tvrs4l3u7m - &thinkman age1spt854cdscqs757a8kazth52rv4p9udh54suw9lpzlqg5savyapq2u0c03 @@ -7,15 +9,15 @@ creation_rules: - path_regex: thinkman/secrets.yaml$ key_groups: - age: - - *admin_felix - - *thinkman + - *admin_felix + - *thinkman - path_regex: newton/secrets.yaml$ key_groups: - age: - - *admin_felix - - *newton + - *admin_felix + - *newton - path_regex: serverle/secrets.yaml$ key_groups: - age: - - *admin_felix - - *serverle + - *admin_felix + - *serverle