blob: b002c6a340d4cd64a363d58c2c575ffcd076e3e8 [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"
Skyler Greya0da6b22024-02-11 22:53:41 +000011 ];
Samuel Shuert700d8f22024-02-21 20:08:43 +000012 openssh.authorizedKeys.keys = [
13 "sk-ssh-ed25519@openssh.com AAAAGnNrLXNzaC1lZDI1NTE5QG9wZW5zc2guY29tAAAAIIteIdlZv52nUDxW2SUsoJ2NZi/w9j1NZwuHanQ/o/DuAAAAHnNzaDpjb2xsYWJvcmFfeXViaWtleV9yZXNpZGVudA== collabora_yubikey_resident"
14 "sk-ssh-ed25519@openssh.com AAAAGnNrLXNzaC1lZDI1NTE5QG9wZW5zc2guY29tAAAAIJRzQbQjXFpHKtt8lpNKmoNx57+EJ/z3wnKOn3/LjM6cAAAAFXNzaDppeXViaWtleV9yZXNpZGVudA== iyubikey_resident"
15 "sk-ssh-ed25519@openssh.com AAAAGnNrLXNzaC1lZDI1NTE5QG9wZW5zc2guY29tAAAAIOhzJ0p9bFRSURUjV05rrt5jCbxPXke7juNbEC9ZJXS/AAAAGXNzaDp0aW55X3l1YmlrZXlfcmVzaWRlbnQ= tiny_yubikey_resident"
16 ];
Skyler Greya0da6b22024-02-11 22:53:41 +000017 };
18
Samuel Shuertbd7578f2024-02-20 20:57:45 +000019 users.users.coded = {
20 isNormalUser = true;
Samuel Shuertdab963e2024-03-23 19:54:28 -040021 extraGroups = [
22 "wheel"
23 "input"
24 ];
Samuel Shuert700d8f22024-02-21 20:08:43 +000025 openssh.authorizedKeys.keys = [
Samuel Shuert29febe32024-02-23 18:21:01 +000026 "sk-ssh-ed25519@openssh.com AAAAGnNrLXNzaC1lZDI1NTE5QG9wZW5zc2guY29tAAAAILrwKN4dJQ0BiLmjsA/66QHhu06+JyokWtHkLcjhWU79AAAABHNzaDo= coded-yk5c-resident"
Samuel Shuert1e5471c2024-06-28 18:41:49 -040027 "sk-ssh-ed25519@openssh.com AAAAGnNrLXNzaC1lZDI1NTE5QG9wZW5zc2guY29tAAAAIOMSUqXuH1bQZJc9rLV0H7/UY0c2BlkzAKWkwrXFWbQ7AAAABHNzaDo= coded@5CNano"
Samuel Shuert700d8f22024-02-21 20:08:43 +000028 ];
Samuel Shuertbd7578f2024-02-20 20:57:45 +000029 };
30
PineaFanf1cdd352024-04-20 20:47:03 +010031 users.users.pinea = {
32 isNormalUser = true;
33 extraGroups = [
34 "wheel"
35 ];
36 openssh.authorizedKeys.keys = [
37 "sk-ssh-ed25519@openssh.com AAAAGnNrLXNzaC1lZDI1NTE5QG9wZW5zc2guY29tAAAAIFXa8ow7H8XpTrwYI+oSgLFfb6YNZanwv/QCKvEKiERSAAAABHNzaDo= pinea-yubikey"
38 ];
39 };
40
Skyler Grey69a999e2024-05-23 00:09:10 +000041 # TODO: can we determine these from what home-manager says our users are using?
42 security.pam.services.swaylock = { };
Skyler Grey4e230892024-02-13 22:58:46 +000043 security.pam.services.waylock = { };
Skyler Grey69a999e2024-05-23 00:09:10 +000044 security.pam.services.gtklock = { };
Skyler Greya0da6b22024-02-11 22:53:41 +000045}