blob: c872ce9f3bd2d47cad1d5ebd8183a267eb5a2a9d [file] [log] [blame]
Samuel Shuert29febe32024-02-23 18:21:01 +00001{ config, ... }: {
2 users.users.coded.hashedPasswordFile = config.sops.secrets."systems/x86_64-linux/shorthair/users/passwords.sops.coded.json:coded".path;
3
4 sops.secrets."systems/x86_64-linux/shorthair/users/passwords.sops.coded.json:coded" = {
5 mode = "0400";
6 owner = config.users.users.root.name;
7 group = config.users.users.root.group;
8 sopsFile = ./passwords.sops.coded.json;
9 format = "json";
10 key = "coded";
11 neededForUsers = true;
12 };
13}