blob: 6b9b998ad1b296c3ea2a970fc8dbe78796c3f823 [file] [log] [blame]
Samuel Shuert29febe32024-02-23 18:21:01 +00001{ 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}