Files
nix-config/home.nix
2026-01-12 12:03:52 +01:00

49 lines
818 B
Nix

{ config, pkgs, username, ...}: {
home.username = username;
home.homeDirectory = "/home/${username}";
home.packages = with pkgs; [
];
programs.zsh = {
enable = true;
profileExtra = ''
if [ -z "$WAYLAND_DISPLAY" ] && [ "$XDG_VTNR" = 1 ]; then
exec hyprland
fi
'';
autocd = true;
};
programs.neovim = {
enable = true;
defaultEditor = true;
vimdiffAlias = true;
#TODO: nvim config. Maybe nixvim?
};
programs.fzf = {
enable = true;
enableZshIntegration = true;
};
programs.kitty = {
enable = true;
enableGitIntegration = true;
#TODO: kitty config
};
programs.git = {
enable = true;
settings.user = {
email = "weckyy702@gmail.com";
name = "Weckyy702";
};
#TODO: signing
};
#NOTE: MUST be kept up to date with nixpkgs!
home.stateVersion = "25.11";
}