commit | f1cdd35a7bd43b115e297831845adb0f8d0851b7 | [log] [tgz] |
---|---|---|
author | PineaFan <pineafan@clicks.codes> | Sat Apr 20 20:47:03 2024 +0100 |
committer | Samuel Shuert <coded@clicks.codes> | Sat Apr 20 22:55:15 2024 +0000 |
tree | e18a61c521832ef66b43402c7079347a56220e23 | |
parent | 42e4c6c85b277716f48aef8ee2440916f7f63b83 [diff] |
Create a user for Pinea on Saurosuchus Change-Id: I6494275dc6d7672947c74b5423e4aaf0a02efc9b Reviewed-on: https://git.clicks.codes/c/Chimera/NixFiles/+/638 Reviewed-by: Skyler Grey <minion@clicks.codes> Tested-by: Skyler Grey <minion@clicks.codes>
diff --git a/modules/nixos/shell/default.nix b/modules/nixos/shell/default.nix index 1dfcd3e..0f320a0 100644 --- a/modules/nixos/shell/default.nix +++ b/modules/nixos/shell/default.nix
@@ -4,4 +4,5 @@ users.users.minion.shell = pkgs.bashInteractive; users.users.coded.shell = pkgs.zsh; + users.users.pinea.shell = pkgs.zsh; }
diff --git a/modules/nixos/users/default.nix b/modules/nixos/users/default.nix index 564596d..4f8b70d 100644 --- a/modules/nixos/users/default.nix +++ b/modules/nixos/users/default.nix
@@ -27,5 +27,15 @@ ]; }; + users.users.pinea = { + isNormalUser = true; + extraGroups = [ + "wheel" + ]; + openssh.authorizedKeys.keys = [ + "sk-ssh-ed25519@openssh.com AAAAGnNrLXNzaC1lZDI1NTE5QG9wZW5zc2guY29tAAAAIFXa8ow7H8XpTrwYI+oSgLFfb6YNZanwv/QCKvEKiERSAAAABHNzaDo= pinea-yubikey" + ]; + }; + security.pam.services.waylock = { }; }