PineaFan | 44e9808 | 2024-04-20 20:52:29 +0100 | [diff] [blame] | 1 | { config, ... }: |
| 2 | { |
| 3 | users.users.pinea.hashedPasswordFile = |
| 4 | config.sops.secrets."systems/x86_64-linux/saurosuchus/users/passwords.sops.pinea.json:pinea".path; |
| 5 | |
| 6 | chimera.yubikey.pam.enable = true; |
| 7 | |
| 8 | sops.secrets."systems/x86_64-linux/saurosuchus/users/passwords.sops.pinea.json:pinea" = { |
| 9 | mode = "0400"; |
| 10 | owner = config.users.users.root.name; |
| 11 | group = config.users.users.root.group; |
| 12 | sopsFile = ./passwords.sops.pinea.json; |
| 13 | format = "json"; |
| 14 | key = "pinea"; |
| 15 | neededForUsers = true; |
| 16 | }; |
| 17 | } |