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