this repo has no description
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

at 7f13d21e5156830a346c075866b7fcc0c74b735b 95 lines 2.0 kB view raw
1{ 2 config, 3 pkgs, 4 inputs, 5 ... 6}: { 7 home.packages = [ 8 pkgs.eza 9 ]; 10 11 programs.atuin = { 12 enable = true; 13 flags = ["--disable-up-arrow"]; 14 settings = { 15 style = "compact"; 16 inline_height = 15; 17 }; 18 }; 19 20 # Disable home-manager provided man binary as it breaks on macOS 21 programs.man.enable = false; 22 23 home.sessionVariables = { 24 PAGER = "${pkgs.less}/bin/less"; 25 MANPAGER = "nvim +Man!"; 26 LESS = "-SRFXi"; 27 ERL_FLAGS = "-kernel shell_history enabled"; 28 }; 29 30 programs.zsh.enable = true; 31 32 programs.fish = { 33 enable = true; 34 35 plugins = [ 36 { 37 name = "agnoster"; 38 src = inputs.agnoster; 39 } 40 ]; 41 42 shellAliases = { 43 git = "LC_CTYPE=UTF-8 LANG=C command git"; 44 g = "git"; 45 ls = "eza"; 46 }; 47 48 functions = { 49 p = '' 50 if test (count $argv) -gt 0 && test -f $argv[1] || not isatty 51 bat $argv 52 else 53 eza -Alh --git $argv 54 end 55 ''; 56 57 "=" = '' 58 numbat -e "$argv" 59 ''; 60 }; 61 62 loginShellInit = '' 63 fish_add_path --move --path /run/wrappers/bin /etc/profiles/per-user/$USER/bin /nix/var/nix/profiles/default/bin /run/current-system/sw/bin 64 fish_add_path $HOME/.local/bin 65 ''; 66 67 shellInit = '' 68 set -gx XDG_RUNTIME_DIR (getconf DARWIN_USER_TEMP_DIR) 69 set -gx MIX_XDG 1 70 71 set -g fish_greeting 72 73 ulimit -n 10480 74 ''; 75 76 interactiveShellInit = '' 77 # use fish in nix run and nix-shell 78 ${pkgs.any-nix-shell}/bin/any-nix-shell fish | source 79 80 set -g DEFAULT_USER ${config.home.username} 81 82 set -gx SSH_AUTH_SOCK ~/.local/share/1password/agent.sock 83 84 function e --wraps nvim --description 'Run $EDITOR' 85 set -l cmd (string split ' ' $EDITOR) 86 eval $cmd[1] $cmd[2..] $argv 87 end 88 89 source (${pkgs.lima}/bin/limactl completion fish | psub) 90 source $HOME/.op/plugins.sh 91 92 if which op > /dev/null; source (op completion fish | psub); end 93 ''; 94 }; 95}