infra/nix/nas/home.nix
Gabriel Simmer dd3a96e222
All checks were successful
Lint / lint (push) Successful in 1m36s
Nix updates
open vulkan beta drivers for london, alertmanager, remove syncthing
overrides, setup forgejo signing
2023-09-19 23:59:44 +01:00

78 lines
1.7 KiB
Nix

{ config, pkgs, callPackage, ... }:
{
home.username = "gsimmer";
home.homeDirectory = "/Primary/gabriel";
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
atuin init fish | source
'';
loginShellInit = ''
if test "$TERM" = "dumb"
function fish_prompt
echo "\$ "
end
function fish_right_prompt; end
function fish_greeting; end
function fish_title; end
end
'';
plugins = [
{
name = "z";
src = pkgs.fetchFromGitHub {
owner = "jethrokuan";
repo = "z";
rev = "e0e1b9dfdba362f8ab1ae8c1afc7ccf62b89f7eb";
sha256 = "0dbnir6jbwjpjalz14snzd3cgdysgcs3raznsijd6savad3qhijc";
};
}
];
};
programs.direnv = {
enable = true;
nix-direnv.enable = true;
};
programs.eza = {
enable = true;
enableAliases = true;
};
programs.bat = {
enable = true;
};
home.packages = with pkgs; [ ];
# 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;
}