56 lines
1,015 B
Nix
56 lines
1,015 B
Nix
{ pkgs, stateVersion, ... }:
|
|
|
|
{
|
|
home = {
|
|
username = "pim";
|
|
homeDirectory = "/home/pim";
|
|
stateVersion = stateVersion;
|
|
};
|
|
|
|
programs = {
|
|
home-manager.enable = true;
|
|
alacritty.enable = true;
|
|
# ripgrep.enable = true;
|
|
|
|
firefox = {
|
|
enable = true;
|
|
profiles.default = {
|
|
id = 0;
|
|
isDefault = true;
|
|
};
|
|
};
|
|
|
|
bash = {
|
|
enable = true;
|
|
shellAliases = {
|
|
htop = "btop";
|
|
gp = "git push";
|
|
gco = "git checkout";
|
|
gd = "git diff";
|
|
gc = "git commit";
|
|
gpl = "git pull";
|
|
gb = "git branch";
|
|
ga = "git add";
|
|
gl = "git log";
|
|
};
|
|
};
|
|
|
|
direnv = {
|
|
enable = true;
|
|
enableBashIntegration = true;
|
|
nix-direnv.enable = true;
|
|
};
|
|
|
|
git = {
|
|
enable = true;
|
|
userName = "Pim Kunis";
|
|
userEmail = "pim@kunis.nl";
|
|
extraConfig.core.editor = "vim";
|
|
};
|
|
};
|
|
|
|
# Let home-manager manage the X session
|
|
xsession = {
|
|
enable = true;
|
|
};
|
|
}
|