{ pkgs, stateVersion, ... }:
{
home = {
username = "pim";
homeDirectory = "/home/pim";
stateVersion = stateVersion;
packages = with pkgs; [];
};
programs = {
home-manager.enable = true;
alacritty = {
enable = true;
settings = {
# Gruvbox theme (https://github.com/alacritty/alacritty-theme/blob/master/themes/gruvbox_dark.yaml)
colors = {
primary = {
background = "0x282828";
foreground = "0xebdbb2";
normal = {
black = "0x282828";
red = "0xcc241d";
green = "0x98971a";
yellow = "0xd79921";
blue = "0x458588";
magenta = "0xb16286";
cyan = "0x689d6a";
white = "0xa89984";
bright = {
black = "0x928374";
red = "0xfb4934";
green = "0xb8bb26";
yellow = "0xfabd2f";
blue = "0x83a598";
magenta = "0xd3869b";
cyan = "0x8ec07c";
white = "0xebdbb2";
firefox = {
profiles.default = {
id = 0;
isDefault = true;
"browser.aboutConfig.showWarning" = false;
extensions = with pkgs.nur.repos.rycee.firefox-addons; [
ublock-origin
clearurls
cookie-autodelete
istilldontcareaboutcookies
keepassxc-browser
redirector
ublacklist
umatrix
violentmonkey
boring-rss
];
bash = {
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 = {
enableBashIntegration = true;
nix-direnv.enable = true;
git = {
userName = "Pim Kunis";
userEmail = "pim@kunis.nl";
extraConfig.core.editor = "vim";
# Let home-manager manage the X session
xsession = {
}