Samuel Shuert | 29febe3 | 2024-02-23 18:21:01 +0000 | [diff] [blame] | 1 | { config, ... }: { |
| 2 | users.users.minion.hashedPasswordFile = config.sops.secrets."systems/x86_64-linux/greylag/users/passwords.sops.minion.json:minion".path; |
| 3 | |
| 4 | sops.secrets."systems/x86_64-linux/greylag/users/passwords.sops.minion.json:minion" = { |
| 5 | mode = "0400"; |
| 6 | owner = config.users.users.root.name; |
| 7 | group = config.users.users.root.group; |
| 8 | sopsFile = ./passwords.sops.minion.json; |
| 9 | format = "json"; |
| 10 | key = "minion"; |
| 11 | neededForUsers = true; |
| 12 | }; |
| 13 | } |