Samuel Shuert | 659b564 | 2024-02-23 20:47:43 +0000 | [diff] [blame] | 1 | { config, ... }: |
| 2 | { |
| 3 | users.users.minion.hashedPasswordFile = |
| 4 | config.sops.secrets."systems/x86_64-linux/greylag/users/passwords.sops.minion.json:minion".path; |
Skyler Grey | 9d53965 | 2024-06-30 23:44:06 +0000 | [diff] [blame] | 5 | users.users.coded.hashedPasswordFile = |
| 6 | config.sops.secrets."systems/x86_64-linux/greylag/users/passwords.sops.minion.json:coded".path; |
Samuel Shuert | 29febe3 | 2024-02-23 18:21:01 +0000 | [diff] [blame] | 7 | |
| 8 | sops.secrets."systems/x86_64-linux/greylag/users/passwords.sops.minion.json:minion" = { |
| 9 | mode = "0400"; |
| 10 | owner = config.users.users.root.name; |
| 11 | group = config.users.users.root.group; |
| 12 | sopsFile = ./passwords.sops.minion.json; |
| 13 | format = "json"; |
| 14 | key = "minion"; |
| 15 | neededForUsers = true; |
| 16 | }; |
Skyler Grey | 9d53965 | 2024-06-30 23:44:06 +0000 | [diff] [blame] | 17 | sops.secrets."systems/x86_64-linux/greylag/users/passwords.sops.minion.json:coded" = { |
| 18 | mode = "0400"; |
| 19 | owner = config.users.users.root.name; |
| 20 | group = config.users.users.root.group; |
| 21 | sopsFile = ./passwords.sops.minion.json; |
| 22 | format = "json"; |
| 23 | key = "coded"; |
| 24 | neededForUsers = true; |
| 25 | }; |
Samuel Shuert | 659b564 | 2024-02-23 20:47:43 +0000 | [diff] [blame] | 26 | } |