diff --git a/.sops.yaml b/.sops.yaml new file mode 100644 index 00000000..8a9b32ca --- /dev/null +++ b/.sops.yaml @@ -0,0 +1,8 @@ +keys: + - &host_sakotop age1nhj5fz9cakgd6rrkwpjkndra6fd4rqxgfvcrap5g0anwxgmh4yqspvf22y + +creation_rules: + - path_regex: hosts/sakotop/secrets/[^/]+\.(yaml|json|env|ini)$ + key_groups: + - age: + - *host_sakotop diff --git a/.sops.yaml~ b/.sops.yaml~ new file mode 100644 index 00000000..e69de29b diff --git a/flake.nix b/flake.nix index 5e0abede..cd64f035 100644 --- a/flake.nix +++ b/flake.nix @@ -18,8 +18,10 @@ url = "github:nix-community/NixOS-WSL"; inputs.nixpkgs.follows = "nixpkgs"; }; - sops-nix.url = "github:Mic92/sops-nix"; - sops-nix.inputs.nixpkgs.follows = "nixpkgs"; + sops-nix = { + url = "github:Mic92/sops-nix"; + inputs.nixpkgs.follows = "nixpkgs"; + }; }; outputs = {