Simplifies the git_ family of functions to make fish_right_prompt more readable. git_prompt function is added, which prints the relevant git prompt information. The git_ family of functions is moved into the git_prompt function, and fish_right_prompt calls git_prompt Going forward I'm trying to have modules in charge of the data for other modules, so I moved the nnn alias call from fish to n, and added a handy "extraFunctions" config option to fish. Maintaining the fish module's control of the functions, but allowing others to add stuff in
74 lines
1.6 KiB
Nix
74 lines
1.6 KiB
Nix
{ config, pkgs, ... }:
|
|
|
|
{
|
|
home.username = "pan";
|
|
nixpkgs.config.allowUnfree = true;
|
|
home.stateVersion = "23.05";
|
|
|
|
hypr.enable = true;
|
|
ags.enable = true;
|
|
rofi.enable = true;
|
|
|
|
timer.enableHourly = true;
|
|
timer.enableQuarterly = true;
|
|
colors.enable = true;
|
|
manpages.enable = true;
|
|
trash.enable = true;
|
|
|
|
fish.enable = true;
|
|
kitty.enable = true;
|
|
kitty.font = "Cascadia Code";
|
|
git.enable = true;
|
|
git.username = "Julia Lange";
|
|
git.email = "public@julialange.org";
|
|
ssh.enable = true;
|
|
|
|
mpv.enable = true;
|
|
zathura.enable = true;
|
|
feh.enable = true;
|
|
|
|
neovim.enable = true;
|
|
neovim.languages = {
|
|
nix.enable = true;
|
|
c.enable = true;
|
|
};
|
|
neovim.plugins = {
|
|
comments.enable = true;
|
|
fugitive.enable = true;
|
|
lualine.enable = true;
|
|
luasnip.enable = true;
|
|
nvimcmp.enable = true;
|
|
telescope = {
|
|
enable = true;
|
|
fzf.enable = true;
|
|
};
|
|
treesitter.enable = true;
|
|
wiki.enable = true;
|
|
};
|
|
|
|
lf.enable = true;
|
|
lf.hiddenfiles = [
|
|
"${config.home.homeDirectory}/.librewolf"
|
|
"${config.home.homeDirectory}/.nix-defexpr"
|
|
"${config.home.homeDirectory}/.nix-profile"
|
|
"${config.home.homeDirectory}/.nv"
|
|
"${config.home.homeDirectory}/.pki"
|
|
"${config.home.homeDirectory}/.steam*"
|
|
"${config.home.homeDirectory}/.zshenv"
|
|
];
|
|
zoxide.enable = true;
|
|
|
|
gimp.enable = true;
|
|
|
|
beeper.enable = true;
|
|
discord.enable = true;
|
|
|
|
lutris.enable = true;
|
|
|
|
extraPkgs = with pkgs; [
|
|
# Applications
|
|
ani-cli # Easy anime player
|
|
lutgen # LUT generator
|
|
prismlauncher # Minecraft launcher
|
|
];
|
|
}
|