blob: 7d81bfb840d645c4d96909c227492288bb09018c [file] [log] [blame]
Skyler Grey4e230892024-02-13 22:58:46 +00001{ pkgs, ... }:
2{
Samuel Shuert29febe32024-02-23 18:21:01 +00003 users.mutableUsers = false;
4
Skyler Greya0da6b22024-02-11 22:53:41 +00005 users.users.minion = {
6 isNormalUser = true;
Samuel Shuert02ffd1e2024-02-13 21:37:15 -05007 extraGroups = [
8 "wheel"
9 "input"
Skyler Greya0da6b22024-02-11 22:53:41 +000010 ];
Samuel Shuert700d8f22024-02-21 20:08:43 +000011 openssh.authorizedKeys.keys = [
12 "sk-ssh-ed25519@openssh.com AAAAGnNrLXNzaC1lZDI1NTE5QG9wZW5zc2guY29tAAAAIIteIdlZv52nUDxW2SUsoJ2NZi/w9j1NZwuHanQ/o/DuAAAAHnNzaDpjb2xsYWJvcmFfeXViaWtleV9yZXNpZGVudA== collabora_yubikey_resident"
13 "sk-ssh-ed25519@openssh.com AAAAGnNrLXNzaC1lZDI1NTE5QG9wZW5zc2guY29tAAAAIJRzQbQjXFpHKtt8lpNKmoNx57+EJ/z3wnKOn3/LjM6cAAAAFXNzaDppeXViaWtleV9yZXNpZGVudA== iyubikey_resident"
14 "sk-ssh-ed25519@openssh.com AAAAGnNrLXNzaC1lZDI1NTE5QG9wZW5zc2guY29tAAAAIOhzJ0p9bFRSURUjV05rrt5jCbxPXke7juNbEC9ZJXS/AAAAGXNzaDp0aW55X3l1YmlrZXlfcmVzaWRlbnQ= tiny_yubikey_resident"
15 ];
Skyler Greya0da6b22024-02-11 22:53:41 +000016 };
17
Samuel Shuertbd7578f2024-02-20 20:57:45 +000018 users.users.coded = {
19 isNormalUser = true;
20 extraGroups = [
21 "wheel"
22 ];
Samuel Shuert700d8f22024-02-21 20:08:43 +000023 openssh.authorizedKeys.keys = [
Samuel Shuert29febe32024-02-23 18:21:01 +000024 "sk-ssh-ed25519@openssh.com AAAAGnNrLXNzaC1lZDI1NTE5QG9wZW5zc2guY29tAAAAILrwKN4dJQ0BiLmjsA/66QHhu06+JyokWtHkLcjhWU79AAAABHNzaDo= coded-yk5c-resident"
Samuel Shuert700d8f22024-02-21 20:08:43 +000025 ];
Samuel Shuertbd7578f2024-02-20 20:57:45 +000026 };
27
Skyler Grey4e230892024-02-13 22:58:46 +000028 security.pam.services.waylock = { };
Skyler Greya0da6b22024-02-11 22:53:41 +000029}