mirror of
https://github.com/gensokyo-zone/infrastructure.git
synced 2026-02-09 12:29:19 -08:00
31 lines
832 B
Nix
31 lines
832 B
Nix
{ config, lib, pkgs, ... }:
|
|
|
|
{
|
|
home-manager.users.kat = {
|
|
programs.fish = {
|
|
enable = true;
|
|
interactiveShellInit = ''
|
|
${if (lib.elem "desktop" config.deploy.groups) then
|
|
"export SSH_AUTH_SOCK=(gpgconf --list-dirs agent-ssh-socket)"
|
|
else
|
|
""}
|
|
set -g fish_greeting ""
|
|
'';
|
|
shellAliases = { nixdirfmt = "fd --color=never .nix | xargs nixfmt"; };
|
|
plugins = [{
|
|
name = "bass";
|
|
src = pkgs.fetchFromGitHub {
|
|
owner = "edc";
|
|
repo = "bass";
|
|
rev = "d63054b24c2f63aaa3a08fb9ec9d0da4c70ab922";
|
|
sha256 = "0pwci5xxm8308nrb52s5nyxijk0svar8nqrdfvkk2y34z1cg319b";
|
|
};
|
|
}];
|
|
};
|
|
};
|
|
programs.direnv = {
|
|
enable = true;
|
|
enableFishIntegration = true;
|
|
enableNixDirenvIntegration = true;
|
|
};
|
|
}
|