blob: 66e3f7300b795bafcb4df634dd2a49b4d1337ac3 [file] [log] [blame]
Samuel Shuert659b5642024-02-23 20:47:43 +00001{ config, ... }:
2{
3 users.users.minion.hashedPasswordFile =
4 config.sops.secrets."systems/x86_64-linux/greylag/users/passwords.sops.minion.json:minion".path;
Samuel Shuert29febe32024-02-23 18:21:01 +00005
6 sops.secrets."systems/x86_64-linux/greylag/users/passwords.sops.minion.json:minion" = {
7 mode = "0400";
8 owner = config.users.users.root.name;
9 group = config.users.users.root.group;
10 sopsFile = ./passwords.sops.minion.json;
11 format = "json";
12 key = "minion";
13 neededForUsers = true;
14 };
Samuel Shuert659b5642024-02-23 20:47:43 +000015}