nixos/users/nolan/default.nix

53 lines
1.4 KiB
Nix

{ pkgs, ... }:
{
users.users.nolan = {
description = "Nolan Darilek";
isNormalUser = true;
openssh.authorizedKeys.keys = [
"ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDPk6C4eOYzTZ8XOuUA2tErGnSTLS/l9kRDl9+5Ql+m7VtaH/KRFbu6x+C0QAIKOrRcQOjpGYUjL1aIn0HCcoEW2PSihDmOHC+W8cy8ucScy4fPI5KpFFqTZU336Fje+NS4n587gcoaa5LjKcr2KZy/ljgzl4eNSRIqy85khfH4puxsj7LwTIqsZoqDhtD/jSqaKP1C2wuYSsijLF85UnRcT9jErnL757yUv/4xb4Is+gB0zan9GiBXRca4lzb0mY8rmMXmKhc2lm/mu8ogZRdYX5R2JP1AukzYGSdOFs4iUauihgvakuou9AugD2CC+ygYIEbWkUjwKfT9nRN93Qi9 id_rsa"
];
extraGroups = [
"wheel"
"networkmanager"
"pipewire"
"pulse-access"
];
shell = pkgs.fish;
};
programs.fish.enable = true;
home-manager.users.nolan = {
home.stateVersion = "24.05";
programs = {
fish.enable = true;
direnv = {
enable = true;
nix-direnv.enable = true;
};
git = {
enable = true;
lfs.enable = true;
userName = "Nolan Darilek";
userEmail = "nolan@thewordnerd.info";
extraConfig = {
init = {
defaultBranch = "main";
};
pull = {
rebase = true;
};
};
};
};
home = {
shellAliases = {
"gc" = "git commit";
"gl" = "git log --abbrev-commit";
"gps" = "git push";
"gpl" = "git pull";
};
};
};
}