added an ssh key for neo

This commit is contained in:
Henrik
2025-10-26 15:14:09 +01:00
parent 665bd1d1f4
commit 3cd6c1c941
5 changed files with 28 additions and 17 deletions

1
nix/users/keys/neo.pub Normal file
View File

@@ -0,0 +1 @@
ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIBtePfzkSorgiFNuol/pEYlR0HToDCy9fk8PPfZWMuf3 henrik@strange

View File

@@ -5,15 +5,18 @@
users.defaultUserShell = pkgs.zsh;
users.users.neo = {
isNormalUser = true;
description = "Matrix User 1";
description = "Neovim only user";
extraGroups = [ "networkmanager" "wheel" ];
shell = pkgs.zsh;
packages = with pkgs; [ ];
openssh.authorizedKeys.keyFiles = [
./keys/neo.pub
];
};
users.users.morpheus = {
isNormalUser = true;
description = "Matrix User 2";
description = "Insert joke here";
extraGroups = [ "networkmanager" "wheel" ];
shell = pkgs.zsh;
packages = with pkgs; [ ];
@@ -21,7 +24,7 @@
users.users.trinity = {
isNormalUser = true;
description = "Matrix User 3";
description = "Named after an atom bomb test";
extraGroups = [ "networkmanager" "wheel" ];
shell = pkgs.zsh;
packages = with pkgs; [ ];