blob: 110aaad7597672f5b10fc0b784372ea6151f3b6a [file] [log] [blame]
PineaFan44e98082024-04-20 20:52:29 +01001{ 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}