nix-config/hosts/common/home.nix
2025-08-08 19:05:01 +02:00

68 lines
1.2 KiB
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.file = {
"wallpaper" = {
source = builtins.toPath ../../wallpapers;
recursive = true;
force = true;
};
};
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;
userName = "smayzy";
userEmail = "smayzy@smayzy.ovh";
extraConfig = {
core.editor = "vim";
core.autocrlf = "input";
credential.helper = "store";
pull.rebase = "true";
};
};
programs.firefox = {
enable = true;
policies = {
OverridePostfix = "no-gtk-theme";
};
};
stylix.autoEnable = false;
programs.zoxide.enable = true;
programs.home-manager.enable = true;
}