2023-10-20 23:41:27 +00:00
|
|
|
{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"
|
2023-10-20 23:41:27 +00:00
|
|
|
];
|
|
|
|
shellAliases = {
|
2023-10-29 06:45:13 +00:00
|
|
|
# cat = "bat";
|
|
|
|
# please = "sudo !!";
|
2023-10-20 23:41:27 +00:00
|
|
|
gaa = "git add .";
|
|
|
|
gcm = "git commit -m";
|
|
|
|
gpom = "git push -u origin main";
|
|
|
|
};
|
|
|
|
packages = with pkgs; [
|
|
|
|
wineWowPackages.unstable
|
|
|
|
comic-mono
|
|
|
|
maple-mono
|
2023-10-29 03:17:57 +00:00
|
|
|
jetbrains-mono
|
|
|
|
(nerdfonts.override {fonts = ["FiraMono"]; } )
|
2023-10-29 06:45:13 +00:00
|
|
|
gnupg
|
2023-10-20 23:41:27 +00:00
|
|
|
pandoc
|
|
|
|
jdk20
|
|
|
|
pdftk
|
2023-10-23 01:05:47 +00:00
|
|
|
git
|
2023-10-29 06:45:13 +00:00
|
|
|
git-crypt
|
2023-10-29 04:35:51 +00:00
|
|
|
(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"
|
2023-10-29 04:35:51 +00:00
|
|
|
'')
|
2023-10-20 23:41:27 +00:00
|
|
|
];
|
|
|
|
};
|
|
|
|
|
|
|
|
fonts.fontconfig.enable = true;
|
|
|
|
|
2023-10-29 03:17:57 +00:00
|
|
|
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
|
2023-10-29 03:17:57 +00:00
|
|
|
./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;
|
2023-10-20 23:41:27 +00:00
|
|
|
}
|