82 lines
1.5 KiB
Nix
82 lines
1.5 KiB
Nix
{
|
|
pkgs,
|
|
inputs,
|
|
system,
|
|
...
|
|
}: {
|
|
home.packages = with pkgs; [
|
|
bat
|
|
fzf
|
|
fd
|
|
eza
|
|
btop
|
|
man-pages
|
|
inputs.floatc.packages.${system}.default
|
|
];
|
|
|
|
home.sessionVariables = {
|
|
PAGER = "bat -l man";
|
|
MANPAGER = "bat -l man";
|
|
};
|
|
|
|
programs.nushell = {
|
|
enable = true;
|
|
extraConfig = builtins.readFile ./config.nu;
|
|
|
|
settings.show_banner = false;
|
|
|
|
shellAliases = {
|
|
cat = "bat -p -P";
|
|
nix-shell = "nix-shell --run nu";
|
|
garbage = " sudo nix-collect-garbage --delete-old";
|
|
c = "clear";
|
|
};
|
|
};
|
|
|
|
programs.zellij = {
|
|
enable = true;
|
|
enableBashIntegration = false;
|
|
settings = {
|
|
on_force_close = "quit";
|
|
simplified_ui = true;
|
|
pane_frames = false;
|
|
default_layout = "compact";
|
|
show_startup_tips = false;
|
|
};
|
|
};
|
|
|
|
programs.starship = {
|
|
enable = true;
|
|
enableNushellIntergration = true;
|
|
enableTransience = true;
|
|
};
|
|
|
|
gtk.enable = true;
|
|
qt.enable = true;
|
|
|
|
programs = {
|
|
btop.enable = true;
|
|
bash.enable = true;
|
|
fzf.enable = true;
|
|
eza.enable = true;
|
|
|
|
direnv = {
|
|
enable = true;
|
|
silent = true;
|
|
nix-direnv .enable = true;
|
|
};
|
|
|
|
git = {
|
|
enable = true;
|
|
package = pkgs.gitFull;
|
|
settings = {
|
|
user.name = "Jiří Maxmilián Stříbrný";
|
|
user.email = "max.stribrny@gmail.com";
|
|
init.defaultBranch = "main";
|
|
push.autoSetupRemote = true;
|
|
github.user = "maxstrb";
|
|
credential.helper = "store";
|
|
};
|
|
};
|
|
};
|
|
}
|