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" |
Samuel Shuert | 47acf95 | 2024-06-28 18:43:04 -0400 | [diff] [blame] | 11 | "plugdev" |
Skyler Grey | a0da6b2 | 2024-02-11 22:53:41 +0000 | [diff] [blame] | 12 | ]; |
Samuel Shuert | 700d8f2 | 2024-02-21 20:08:43 +0000 | [diff] [blame] | 13 | 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 Grey | a0da6b2 | 2024-02-11 22:53:41 +0000 | [diff] [blame] | 18 | }; |
| 19 | |
Samuel Shuert | bd7578f | 2024-02-20 20:57:45 +0000 | [diff] [blame] | 20 | users.users.coded = { |
| 21 | isNormalUser = true; |
Samuel Shuert | dab963e | 2024-03-23 19:54:28 -0400 | [diff] [blame] | 22 | extraGroups = [ |
| 23 | "wheel" |
| 24 | "input" |
Samuel Shuert | 47acf95 | 2024-06-28 18:43:04 -0400 | [diff] [blame] | 25 | "plugdev" |
| 26 | "dialout" |
Samuel Shuert | dab963e | 2024-03-23 19:54:28 -0400 | [diff] [blame] | 27 | ]; |
Samuel Shuert | 700d8f2 | 2024-02-21 20:08:43 +0000 | [diff] [blame] | 28 | openssh.authorizedKeys.keys = [ |
Samuel Shuert | 29febe3 | 2024-02-23 18:21:01 +0000 | [diff] [blame] | 29 | "sk-ssh-ed25519@openssh.com AAAAGnNrLXNzaC1lZDI1NTE5QG9wZW5zc2guY29tAAAAILrwKN4dJQ0BiLmjsA/66QHhu06+JyokWtHkLcjhWU79AAAABHNzaDo= coded-yk5c-resident" |
Samuel Shuert | 1e5471c | 2024-06-28 18:41:49 -0400 | [diff] [blame] | 30 | "sk-ssh-ed25519@openssh.com AAAAGnNrLXNzaC1lZDI1NTE5QG9wZW5zc2guY29tAAAAIOMSUqXuH1bQZJc9rLV0H7/UY0c2BlkzAKWkwrXFWbQ7AAAABHNzaDo= coded@5CNano" |
Samuel Shuert | 700d8f2 | 2024-02-21 20:08:43 +0000 | [diff] [blame] | 31 | ]; |
Samuel Shuert | bd7578f | 2024-02-20 20:57:45 +0000 | [diff] [blame] | 32 | }; |
| 33 | |
PineaFan | f1cdd35 | 2024-04-20 20:47:03 +0100 | [diff] [blame] | 34 | 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 Grey | 69a999e | 2024-05-23 00:09:10 +0000 | [diff] [blame] | 44 | # TODO: can we determine these from what home-manager says our users are using? |
| 45 | security.pam.services.swaylock = { }; |
Skyler Grey | 4e23089 | 2024-02-13 22:58:46 +0000 | [diff] [blame] | 46 | security.pam.services.waylock = { }; |
Skyler Grey | 69a999e | 2024-05-23 00:09:10 +0000 | [diff] [blame] | 47 | security.pam.services.gtklock = { }; |
Skyler Grey | a0da6b2 | 2024-02-11 22:53:41 +0000 | [diff] [blame] | 48 | } |