nix-config/hosts/common/home.nix
smayzy 9b6de54e34
All checks were successful
nixos config pipeline / show-flake (push) Successful in 40s
nixos config pipeline / deploy (push) Successful in 34s
update git settings in hm to match upstream's new syntax
2025-11-22 17:20:08 +01:00

59 lines
1020 B
Nix

{ pkgs, ... }:
{
imports = [
../../modules/home-manager/default.nix
];
home.username = "smayzy";
home.homeDirectory = "/home/smayzy";
home.stateVersion = "25.05";
home.packages = with pkgs; [
sl
];
home.sessionVariables = {
EDITOR = "vim";
GTK_THEME = "Adwaita:dark";
MANPAGER = "nvim +Man!";
};
programs.zsh = {
enable = true;
enableCompletion = true;
autosuggestion.enable = true;
syntaxHighlighting.enable = true;
history.size = 100000;
shellAliases = {
grep = "grep --color=auto";
cp = "cp -r";
cd = "sl";
};
};
programs.git = {
enable = true;
settings = {
core = {
autocrlf = "input";
editor = "vim";
};
credential = {
helper = "store";
};
pull = {
rebase = "true";
};
user = {
email = "smayzy@smayzy.ovh";
name = "smayzy";
};
};
};
programs.zoxide.enable = true;
programs.home-manager.enable = true;
}