blob: 537bc99ad2fda7425dbefa1f18226b57ece0b177 [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;
Skyler Grey9d539652024-06-30 23:44:06 +00005 users.users.coded.hashedPasswordFile =
6 config.sops.secrets."systems/x86_64-linux/greylag/users/passwords.sops.minion.json:coded".path;
Samuel Shuert29febe32024-02-23 18:21:01 +00007
8 sops.secrets."systems/x86_64-linux/greylag/users/passwords.sops.minion.json:minion" = {
9 mode = "0400";
10 owner = config.users.users.root.name;
11 group = config.users.users.root.group;
12 sopsFile = ./passwords.sops.minion.json;
13 format = "json";
14 key = "minion";
15 neededForUsers = true;
16 };
Skyler Grey9d539652024-06-30 23:44:06 +000017 sops.secrets."systems/x86_64-linux/greylag/users/passwords.sops.minion.json:coded" = {
18 mode = "0400";
19 owner = config.users.users.root.name;
20 group = config.users.users.root.group;
21 sopsFile = ./passwords.sops.minion.json;
22 format = "json";
23 key = "coded";
24 neededForUsers = true;
25 };
Samuel Shuert659b5642024-02-23 20:47:43 +000026}