67 lines
1.4 KiB
Nix
67 lines
1.4 KiB
Nix
{
|
|
config,
|
|
pkgs,
|
|
callPackage,
|
|
...
|
|
}: {
|
|
home.username = "gsimmer";
|
|
home.homeDirectory = "/tank/gsimmer";
|
|
|
|
nixpkgs.config.allowUnfree = true;
|
|
|
|
programs.bash.enable = false;
|
|
programs.fish = {
|
|
enable = true;
|
|
interactiveShellInit = ''
|
|
set fish_greeting
|
|
if test "$TERM" = "dumb"
|
|
function fish_prompt
|
|
echo "\$ "
|
|
end
|
|
|
|
function fish_right_prompt; end
|
|
function fish_greeting; end
|
|
function fish_title; end
|
|
end
|
|
'';
|
|
loginShellInit = ''
|
|
if test "$TERM" = "dumb"
|
|
function fish_prompt
|
|
echo "\$ "
|
|
end
|
|
|
|
function fish_right_prompt; end
|
|
function fish_greeting; end
|
|
function fish_title; end
|
|
end
|
|
'';
|
|
};
|
|
|
|
programs.direnv = {
|
|
enable = true;
|
|
nix-direnv.enable = true;
|
|
};
|
|
|
|
programs.eza = {
|
|
enable = true;
|
|
enableFishIntegration = true;
|
|
};
|
|
|
|
programs.bat = {
|
|
enable = true;
|
|
};
|
|
|
|
# This value determines the Home Manager release that your
|
|
# configuration is compatible with. This helps avoid breakage
|
|
# when a new Home Manager release introduces backwards
|
|
# incompatible changes.
|
|
#
|
|
# You can update Home Manager without changing this value. See
|
|
# the Home Manager release notes for a list of state version
|
|
# changes in each release.
|
|
home.stateVersion = "23.05";
|
|
|
|
# Let Home Manager install and manage itself.
|
|
programs.home-manager.enable = true;
|
|
}
|