nix-config/users/tacocat/home.nix

59 lines
1.2 KiB
Nix
Raw Normal View History

{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"
2023-10-23 01:05:47 +00:00
"$HOME/.cargo/bin"
];
shellAliases = {
2023-10-29 06:45:13 +00:00
# cat = "bat";
# please = "sudo !!";
gaa = "git add .";
gcm = "git commit -m";
gpom = "git push -u origin main";
};
packages = with pkgs; [
wineWowPackages.unstable
comic-mono
maple-mono
jetbrains-mono
(nerdfonts.override {fonts = ["FiraMono"]; } )
2023-10-29 06:45:13 +00:00
gnupg
pandoc
jdk20
pdftk
2023-10-23 01:05:47 +00:00
git
2023-10-29 06:45:13 +00:00
git-crypt
(writeShellScriptBin "hs-way" ''
2023-10-29 06:45:13 +00:00
home-manager --flake $HOME/nix-config/#tacocat build
# GEN=$(home-manager generations | head -1 | awk '{print $NF}')
"$HOME/nix-config/result/specialisation/wayland/activate"
'')
];
};
fonts.fontconfig.enable = true;
news.display = "silent";
2023-10-21 00:49:53 +00:00
imports = [
./programs
2023-10-29 06:45:13 +00:00
./services
2023-10-21 00:49:53 +00:00
./shell
./helix
./emacs
./wayland
2023-10-21 00:49:53 +00:00
];
2023-10-23 01:05:47 +00:00
# Let Home Manager install and manage itself.
programs.home-manager.enable = true;
}