infra/nix/nas/home.nix

67 lines
1.4 KiB
Nix
Raw Normal View History

{
2024-02-05 13:13:44 +00:00
config,
pkgs,
callPackage,
...
}: {
home.username = "gsimmer";
2023-12-02 20:56:08 +00:00
home.homeDirectory = "/tank/gsimmer";
nixpkgs.config.allowUnfree = true;
programs.bash.enable = false;
programs.fish = {
enable = true;
interactiveShellInit = ''
2024-02-05 13:13:44 +00:00
set fish_greeting
if test "$TERM" = "dumb"
function fish_prompt
echo "\$ "
end
2024-02-05 13:13:44 +00:00
function fish_right_prompt; end
function fish_greeting; end
function fish_title; end
end
'';
loginShellInit = ''
2024-02-05 13:13:44 +00:00
if test "$TERM" = "dumb"
function fish_prompt
echo "\$ "
end
2024-02-05 13:13:44 +00:00
function fish_right_prompt; end
function fish_greeting; end
function fish_title; end
end
'';
};
2024-02-05 13:13:44 +00:00
programs.direnv = {
enable = true;
nix-direnv.enable = true;
};
2023-09-09 22:53:50 +01:00
programs.eza = {
enable = true;
2024-03-22 21:43:32 +00:00
enableFishIntegration = true;
};
programs.bat = {
enable = true;
};
2024-02-05 13:13:44 +00:00
# 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;
}