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; |
Samuel Shuert | 29febe3 | 2024-02-23 18:21:01 +0000 | [diff] [blame] | 5 | |
| 6 | sops.secrets."systems/x86_64-linux/greylag/users/passwords.sops.minion.json:minion" = { |
| 7 | mode = "0400"; |
| 8 | owner = config.users.users.root.name; |
| 9 | group = config.users.users.root.group; |
| 10 | sopsFile = ./passwords.sops.minion.json; |
| 11 | format = "json"; |
| 12 | key = "minion"; |
| 13 | neededForUsers = true; |
| 14 | }; |
Samuel Shuert | 659b564 | 2024-02-23 20:47:43 +0000 | [diff] [blame] | 15 | } |