Skyler Grey | 4e23089 | 2024-02-13 22:58:46 +0000 | [diff] [blame] | 1 | { pkgs, ... }: |
| 2 | { |
Samuel Shuert | 29febe3 | 2024-02-23 18:21:01 +0000 | [diff] [blame] | 3 | users.mutableUsers = false; |
| 4 | |
Skyler Grey | a0da6b2 | 2024-02-11 22:53:41 +0000 | [diff] [blame] | 5 | users.users.minion = { |
| 6 | isNormalUser = true; |
Samuel Shuert | 02ffd1e | 2024-02-13 21:37:15 -0500 | [diff] [blame] | 7 | extraGroups = [ |
| 8 | "wheel" |
| 9 | "input" |
Skyler Grey | c09fc71 | 2024-03-04 18:53:41 +0000 | [diff] [blame] | 10 | "dialout" |
Skyler Grey | a0da6b2 | 2024-02-11 22:53:41 +0000 | [diff] [blame] | 11 | ]; |
Samuel Shuert | 700d8f2 | 2024-02-21 20:08:43 +0000 | [diff] [blame] | 12 | 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 Grey | a0da6b2 | 2024-02-11 22:53:41 +0000 | [diff] [blame] | 17 | }; |
| 18 | |
Samuel Shuert | bd7578f | 2024-02-20 20:57:45 +0000 | [diff] [blame] | 19 | users.users.coded = { |
| 20 | isNormalUser = true; |
Samuel Shuert | dab963e | 2024-03-23 19:54:28 -0400 | [diff] [blame] | 21 | extraGroups = [ |
| 22 | "wheel" |
| 23 | "input" |
| 24 | ]; |
Samuel Shuert | 700d8f2 | 2024-02-21 20:08:43 +0000 | [diff] [blame] | 25 | openssh.authorizedKeys.keys = [ |
Samuel Shuert | 29febe3 | 2024-02-23 18:21:01 +0000 | [diff] [blame] | 26 | "sk-ssh-ed25519@openssh.com AAAAGnNrLXNzaC1lZDI1NTE5QG9wZW5zc2guY29tAAAAILrwKN4dJQ0BiLmjsA/66QHhu06+JyokWtHkLcjhWU79AAAABHNzaDo= coded-yk5c-resident" |
Samuel Shuert | 700d8f2 | 2024-02-21 20:08:43 +0000 | [diff] [blame] | 27 | ]; |
Samuel Shuert | bd7578f | 2024-02-20 20:57:45 +0000 | [diff] [blame] | 28 | }; |
| 29 | |
PineaFan | f1cdd35 | 2024-04-20 20:47:03 +0100 | [diff] [blame] | 30 | users.users.pinea = { |
| 31 | isNormalUser = true; |
| 32 | extraGroups = [ |
| 33 | "wheel" |
| 34 | ]; |
| 35 | openssh.authorizedKeys.keys = [ |
| 36 | "sk-ssh-ed25519@openssh.com AAAAGnNrLXNzaC1lZDI1NTE5QG9wZW5zc2guY29tAAAAIFXa8ow7H8XpTrwYI+oSgLFfb6YNZanwv/QCKvEKiERSAAAABHNzaDo= pinea-yubikey" |
| 37 | ]; |
| 38 | }; |
| 39 | |
Skyler Grey | 69a999e | 2024-05-23 00:09:10 +0000 | [diff] [blame] | 40 | # TODO: can we determine these from what home-manager says our users are using? |
| 41 | security.pam.services.swaylock = { }; |
Skyler Grey | 4e23089 | 2024-02-13 22:58:46 +0000 | [diff] [blame] | 42 | security.pam.services.waylock = { }; |
Skyler Grey | 69a999e | 2024-05-23 00:09:10 +0000 | [diff] [blame] | 43 | security.pam.services.gtklock = { }; |
Skyler Grey | a0da6b2 | 2024-02-11 22:53:41 +0000 | [diff] [blame] | 44 | } |