Add more complex user setup for eliribble

Includes fish functions and neovim via nix
This commit is contained in:
Eli Ribble 2025-07-16 13:37:35 -07:00
parent 0c8fea347a
commit c022445849
13 changed files with 153 additions and 20 deletions

5
users/default.nix Normal file
View file

@ -0,0 +1,5 @@
{
imports = [
./eliribble.nix
];
}

32
users/eliribble.nix Normal file
View file

@ -0,0 +1,32 @@
{ config, lib, pkgs, configFiles, ... }:
with lib;
{
home-manager.users.eliribble = { pkgs, ... }: {
imports = [ ../modules/home ];
myModules.home = {
fish = {
enable = true;
user = "eliribble";
};
#neovim = {
#enable = true;
#user = "eliribble";
#};
};
home.stateVersion = "25.05";
};
users.users.eliribble = {
extraGroups = [ "docker" "wheel" ];
isNormalUser = true;
initialHashedPassword = "$y$j9T$pXXR8iNU81XAghZWEXVrC/$Xp4nL6FrTAZ3DnJkcx.zi0q2SGk8KUz8YfejkAoWSE.";
openssh.authorizedKeys.keys = [
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIBvhtF6nRWlA6PVs71Eek7p0p2PxTd3P6ZEGFV2t75MB eliribble@nixos"
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIHL1SpT3KR8XeXtH19muncYVrKxWzWdWtJYNTwoJGTm3 eliribble@Elis-Mac-mini.local"
];
};
}