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