Skyler Grey | bcb2cb7 | 2022-08-21 07:24:35 +0100 | [diff] [blame] | 1 | { |
| 2 | pkgs, |
| 3 | sops-nix, |
| 4 | ... |
| 5 | }: { |
| 6 | imports = [ |
| 7 | sops-nix.nixosModules.sops |
| 8 | ]; |
| 9 | |
Skyler Grey | 7dfe5c6 | 2022-08-20 21:41:30 +0100 | [diff] [blame] | 10 | config = { |
| 11 | environment.systemPackages = with pkgs; [ |
| 12 | sops |
| 13 | ]; |
Skyler Grey | df3eadb | 2022-08-26 06:42:12 +0100 | [diff] [blame] | 14 | sops = { |
| 15 | defaultSopsFile = ../secrets/secrets.json; |
| 16 | gnupg.sshKeyPaths = ["/nix/persist/etc/ssh/ssh_host_rsa_key"]; |
| 17 | age.sshKeyPaths = []; |
| 18 | }; |
Skyler Grey | 7dfe5c6 | 2022-08-20 21:41:30 +0100 | [diff] [blame] | 19 | }; |
Skyler Grey | c2bac5e | 2022-08-20 15:22:57 +0100 | [diff] [blame] | 20 | } |