blob: e49ddf98602f48805a849cce433f9c25bc329423 [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 Greyc09fc712024-03-04 18:53:41 +000010 "dialout"
Samuel Shuert47acf952024-06-28 18:43:04 -040011 "plugdev"
Skyler Greya0da6b22024-02-11 22:53:41 +000012 ];
Samuel Shuert700d8f22024-02-21 20:08:43 +000013 openssh.authorizedKeys.keys = [
14 "sk-ssh-ed25519@openssh.com AAAAGnNrLXNzaC1lZDI1NTE5QG9wZW5zc2guY29tAAAAIIteIdlZv52nUDxW2SUsoJ2NZi/w9j1NZwuHanQ/o/DuAAAAHnNzaDpjb2xsYWJvcmFfeXViaWtleV9yZXNpZGVudA== collabora_yubikey_resident"
15 "sk-ssh-ed25519@openssh.com AAAAGnNrLXNzaC1lZDI1NTE5QG9wZW5zc2guY29tAAAAIJRzQbQjXFpHKtt8lpNKmoNx57+EJ/z3wnKOn3/LjM6cAAAAFXNzaDppeXViaWtleV9yZXNpZGVudA== iyubikey_resident"
16 "sk-ssh-ed25519@openssh.com AAAAGnNrLXNzaC1lZDI1NTE5QG9wZW5zc2guY29tAAAAIOhzJ0p9bFRSURUjV05rrt5jCbxPXke7juNbEC9ZJXS/AAAAGXNzaDp0aW55X3l1YmlrZXlfcmVzaWRlbnQ= tiny_yubikey_resident"
17 ];
Skyler Greya0da6b22024-02-11 22:53:41 +000018 };
19
Samuel Shuertbd7578f2024-02-20 20:57:45 +000020 users.users.coded = {
21 isNormalUser = true;
Samuel Shuertdab963e2024-03-23 19:54:28 -040022 extraGroups = [
23 "wheel"
24 "input"
Samuel Shuert47acf952024-06-28 18:43:04 -040025 "plugdev"
26 "dialout"
Samuel Shuertdab963e2024-03-23 19:54:28 -040027 ];
Samuel Shuert700d8f22024-02-21 20:08:43 +000028 openssh.authorizedKeys.keys = [
Samuel Shuert61647a92024-06-29 14:17:21 -040029 "sk-ssh-ed25519@openssh.com AAAAGnNrLXNzaC1lZDI1NTE5QG9wZW5zc2guY29tAAAAILrwKN4dJQ0BiLmjsA/66QHhu06+JyokWtHkLcjhWU79AAAABHNzaDo= OnTheGo5cResident"
30 "sk-ssh-ed25519@openssh.com AAAAGnNrLXNzaC1lZDI1NTE5QG9wZW5zc2guY29tAAAAIOMSUqXuH1bQZJc9rLV0H7/UY0c2BlkzAKWkwrXFWbQ7AAAABHNzaDo= ShorthairNanoResident"
Samuel Shuert700d8f22024-02-21 20:08:43 +000031 ];
Samuel Shuertbd7578f2024-02-20 20:57:45 +000032 };
33
PineaFanf1cdd352024-04-20 20:47:03 +010034 users.users.pinea = {
35 isNormalUser = true;
36 extraGroups = [
37 "wheel"
38 ];
39 openssh.authorizedKeys.keys = [
40 "sk-ssh-ed25519@openssh.com AAAAGnNrLXNzaC1lZDI1NTE5QG9wZW5zc2guY29tAAAAIFXa8ow7H8XpTrwYI+oSgLFfb6YNZanwv/QCKvEKiERSAAAABHNzaDo= pinea-yubikey"
41 ];
42 };
43
Skyler Grey69a999e2024-05-23 00:09:10 +000044 # TODO: can we determine these from what home-manager says our users are using?
45 security.pam.services.swaylock = { };
Skyler Grey4e230892024-02-13 22:58:46 +000046 security.pam.services.waylock = { };
Skyler Grey69a999e2024-05-23 00:09:10 +000047 security.pam.services.gtklock = { };
Skyler Greya0da6b22024-02-11 22:53:41 +000048}