commit | c2bac5e9a40fc8a62f0daa84af2dc3836c9b42bb | [log] [tgz] |
---|---|---|
author | Skyler Grey <skyler3665@gmail.com> | Sat Aug 20 15:22:57 2022 +0100 |
committer | Skyler Grey <skyler3665@gmail.com> | Sat Aug 20 15:22:57 2022 +0100 |
tree | ee48a36588d580982bb87472d949e879d8e411a8 | |
parent | 252b48bb7c732b4767b51aedc0196a084cf919ed [diff] |
Add a secrets module with some default SOPS stuff
diff --git a/modules/secrets.nix b/modules/secrets.nix new file mode 100644 index 0000000..f891de7 --- /dev/null +++ b/modules/secrets.nix
@@ -0,0 +1,8 @@ +{ pkgs, ... }: { + config = { + environment.systemPackages = with pkgs; [ + sops + ]; + sops.defaultSopsFile = ../secrets/secrets.json; + }; +}