Files
hdh20267-nix/user.nix

86 lines
1.9 KiB
Nix

{ inputs, ... }:
# ============================================================================
# User Configuration for hdh20267
# ============================================================================
# This file configures BOTH:
# 1. User account options (ugaif.users.hdh20267)
# 2. Home-manager configuration (home.*, programs.*, services.*)
{
config,
lib,
pkgs,
osConfig ? null,
...
}:
{
# ========== User Account Configuration ==========
ugaif.users.hdh20267 = {
description = "Hunter Halloran";
shell = pkgs.zsh;
hashedPassword = "!";
opensshKeys = [
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIBC7xzHxY2BfFUybMvG4wHSF9oEAGzRiLTFEndLvWV/X hdh20267@engr733847d.engr.uga.edu"
];
useZshTheme = true;
useNvimPlugins = true;
};
# ========== Home Manager Configuration ==========
# Packages
home.packages = with pkgs; [
htop
ripgrep
fd
bat
] ++ lib.optional (osConfig.ugaif.sw.type or null == "desktop") ghostty;
# ========== Programs ==========
# Git configuration
programs.git = {
enable = true;
userName = "Hunter Halloran";
userEmail = "hdh20267@uga.edu";
extraConfig = {
init.defaultBranch = "main";
};
};
# Zsh configuration
programs.zsh = {
enable = true;
# System theme is applied automatically if useZshTheme = true
};
programs.vscode = {
enable = true;
package = pkgs.vscode.fhs;
extensions = with pkgs.vscode-extensions; [
vscodevim.vim
jnoortheen.nix-ide
ms-vscode-remote.vscode-remote-extensionpack
ms-vscode-remote.remote-ssh
ms-python.python
ms-python.vscode-pylance
ms-python.debugpy
github.copilot
];
};
# ========== Shell Environment ==========
home.sessionVariables = {
EDITOR = "nvim";
};
# ========== XDG Configuration ==========
xdg.enable = true;
}