This repository has been archived on 2023-10-08. You can view files and clone it, but cannot push or open issues or pull requests.
nixos/home.nix
nixos 7be9d29a0b install keepassxc
move alacritty settings to separate file
2023-09-09 17:16:28 +02:00

79 lines
1.6 KiB
Nix

{ pkgs, stateVersion, ... }:
{
home = {
username = "pim";
homeDirectory = "/home/pim";
stateVersion = stateVersion;
packages = with pkgs; [
keepassxc
];
};
programs = {
home-manager.enable = true;
alacritty = {
enable = true;
settings = (import ./alacritty.nix);
};
firefox = {
enable = true;
profiles.default = {
id = 0;
isDefault = true;
settings = {
"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 = {
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;
};
# xdg.configFile."keepassxc/keepassxc.ini".text = pkgs.lib.generators.toINI {} (import ./keepassxc.nix);
}