nix-config/users/tacocat/home.nix

62 lines
1.3 KiB
Nix

{pkgs, ...}: {
home = {
username = "tacocat";
homeDirectory = "/home/tacocat";
stateVersion = "23.11";
sessionVariables = {
EDITOR = "hx";
BAT_THEME = "ansi";
DOTNET_ROOT = "$HOME/.dotnet";
};
sessionPath = [
"$HOME/.local/bin"
"$HOME/.dotnet"
"$HOME/.cargo/bin"
];
shellAliases = {
ls = "eza";
la = "eza -la";
l = "eza -l";
cat = "bat";
please = "sudo !!";
gaa = "git add .";
gcm = "git commit -m";
gpom = "git push -u origin main";
};
packages = with pkgs; [
wineWowPackages.unstable
eza
bat
networkmanagerapplet
comic-mono
maple-mono
jetbrains-mono
(nerdfonts.override {fonts = ["FiraMono"]; } )
pandoc
jdk20
pdftk
git
(writeShellScriptBin "hs-way" ''
home-manager --flake $HOME/nix-config/#tacocat switch
GEN=$(home-manager generations | head -1 | awk '{print $NF}')
"$GEN/specialisation/wayland/activate"
'')
];
};
fonts.fontconfig.enable = true;
news.display = "silent";
imports = [
./programs
./shell
./helix
./emacs
./wayland
];
# Let Home Manager install and manage itself.
programs.home-manager.enable = true;
}