You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

70 lines
1.8 KiB
Nix

{
config,
pkgs,
flakePath,
...
}: {
imports = [
./apps/wezterm.nix
# ./apps/zsh.nix
./apps/fonts.nix
./apps/git.nix
./apps/fish.nix
./apps/nvim.nix
./apps/k8s.nix
./apps/nap.nix
./apps/python.nix
./apps/go.nix
./apps/deno.nix
./apps/rust.nix
];
programs.home-manager.enable = true;
nix.package = pkgs.nix;
nix.settings = {
experimental-features = "nix-command flakes";
};
home.username = "hammy";
home.homeDirectory = "/home/hammy";
home.stateVersion = "23.05";
home.packages = with pkgs; [
wineWowPackages.stable
imagemagick
alejandra
fd
vivid
git-view
nur.repos.nekowinston.icat
whiskers
just
];
home.sessionVariables = {
TERMINAL = "wezterm-gui";
LIBVA_DRIVER_NAME = "iHD";
LS_COLORS = "$(vivid generate catppuccin-mocha)";
JAVA_HOME = "${config.home.homeDirectory}/.sdkman/candidates/java/current";
GRAALVM_HOME = "${config.home.homeDirectory}/.sdkman/candidates/java/22.3.r17-grl";
};
home.sessionPath = [
"${config.xdg.dataHome}/JetBrains/Toolbox/scripts"
"${config.xdg.dataHome}/scripts"
];
home.shellAliases = {
magit = "nvim '+Neogit kind=replace'";
cat = "bat";
mv = "mv -iv";
};
xdg.configFile."ideavim/ideavimrc".source = config.lib.file.mkOutOfStoreSymlink "${flakePath}/home/apps/ideavim/ideavimrc";
xdg.configFile = {
"Code/User/keybindings.json".source = config.lib.file.mkOutOfStoreSymlink "${flakePath}/home/apps/vscode/keybindings.json";
"Code/User/settings.json".source = config.lib.file.mkOutOfStoreSymlink "${flakePath}/home/apps/vscode/settings.json";
};
xdg.mime.enable = true;
# turn off if on nixos (you have bigger problems than that if you get to this point)
targets.genericLinux.enable = true;
}