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