home-manager/home.nix

60 lines
1.5 KiB
Nix
Raw Permalink Normal View History

2023-10-13 16:11:33 +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"
];
shellAliases = {
ls = "eza";
la = "eza -la";
l = "eza -l";
cat = "bat";
gaa = "git add .";
gcm = "git commit -m";
gpom = "git push -u origin main";
2023-10-13 16:11:33 +00:00
};
packages = with pkgs; [
wineWowPackages.unstable
eza
bat
2023-10-15 22:55:25 +00:00
comic-mono
2023-10-13 16:11:33 +00:00
];
};
2023-10-05 04:21:24 +00:00
2023-10-15 22:55:25 +00:00
fonts.fontconfig.enable = true;
2023-10-13 16:11:33 +00:00
# # You can also create simple shell scripts directly inside your
# # configuration. For example, this adds a command 'my-hello' to your
# # environment:
# (pkgs.writeShellScriptBin "my-hello" ''
# echo "Hello, ${config.home.username}!"
# '')
2023-10-08 18:42:42 +00:00
# ];
2023-10-05 04:21:24 +00:00
# Home Manager is pretty good at managing dotfiles. The primary way to manage
# plain files is through 'home.file'.
2023-10-08 18:42:42 +00:00
# home.file = {
2023-10-13 16:11:33 +00:00
# # Building this configuration will create a copy of 'dotfiles/screenrc' in
# # the Nix store. Activating the configuration will then make '~/.screenrc' a
# # symlink to the Nix store copy.
# ".screenrc".source = dotfiles/screenrc;
2023-10-05 04:21:24 +00:00
2023-10-13 16:11:33 +00:00
# # You can also set the file content immediately.
# ".gradle/gradle.properties".text = ''
# org.gradle.console=verbose
# org.gradle.daemon.idletimeout=3600000
# '';
2023-10-08 18:42:42 +00:00
# };
2023-10-05 04:21:24 +00:00
# Let Home Manager install and manage itself.
programs.home-manager.enable = true;
}