my NixOS and nix-darwin config
0
fork

Configure Feed

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

fish shell

+26 -53
+10 -49
modules/home/shells/fish/default.nix
··· 17 17 18 18 config = mkIf (cfg.enable) { 19 19 20 - home.packages = with pkgs; [ fish ]; 20 + home.packages = with pkgs; [ 21 + fish 22 + fd 23 + eza 24 + ]; 21 25 22 26 home.file.".config/fish/conf.d/nix-env.fish".source = ./nix-fix.fish; 23 27 ··· 53 57 "rm" = "rm -v"; 54 58 "rr" = "rm -rf"; 55 59 56 - "ld" = "eza -ld */ --no-quotes --time-style long-iso"; 57 - "lla" = "eza -lah --no-quotes --time-style long-iso"; 58 - "ll" = "eza -lh --no-quotes --time-style long-iso"; 59 - "llr" = "eza -lhr --no-quotes --time-style long-iso"; 60 - "lls" = "eza -lh -s size --no-quotes --time-style long-iso"; 61 - "llt" = "eza -lh -s time --no-quotes --time-style long-iso"; 62 - "lltr" = "eza -lhr -s time --no-quotes --time-style long-iso"; 63 - 64 - "ree" = "sudo nixos-rebuild switch --flake ~/dots/nixdots#zephryus && git push"; 65 - 66 60 "fcd" = 67 61 ''cd "$(find ~/coding/ ~/storage/ -type d -not \( -path "*/.git/*" -o -path "*/target/*" -o -path "*/.venv/*" -o -path "*/node_modules/*" -o -path "*/venv/*" -o -path "*/build/*" -o -path "*/.*/*" \) -print 2>/dev/null | fzf)" ''; 68 62 69 - "l" = "exa"; 70 - 71 - "lg" = "lazygit"; 72 63 }; 73 64 74 65 shellAbbrs = { 75 - # cargo abbreviations 66 + # # cargo abbreviations 76 67 cb = "cargo build"; 77 68 cc = "cargo check"; 78 69 cdo = "cargo doc --open"; 79 70 cr = "cargo run"; 80 71 81 - # git abbreviations 82 - gaa = "git add -A"; 83 - ga = "git add"; 84 - gbd = "git branch --delete"; 85 - gb = "git branch"; 86 - gc = "git commit"; 87 - gcm = "git commit -m"; 88 - gcob = "git checkout -b"; 89 - gco = "git checkout"; 90 - gd = "git diff"; 91 - gl = "git log"; 92 - gp = "git push"; 93 - gpom = "git push origin main"; 94 - gs = "git status"; 95 - gst = "git stash"; 96 - gstp = "git stash pop"; 97 - 72 + # jujutsu abbreviations 73 + jjn = "jj new"; 98 74 }; 99 75 100 76 functions = { 101 77 102 - # TODO: figure out how this is supposed to work, rn need to call it twice for it to 103 - # use argument 104 - mkcd = '' 105 - function mkcd --argument name 106 - mkdir -p $name 107 - cd $name 108 - end 109 - ''; 110 - # re = '' 111 - # set VERSION (math (readlink /nix/var/nix/profiles/system | grep -o "[0-9]*") + 1) 112 - # z ~/dots/nixdots 113 - # git add -A 114 - # git commit -m "Generation: $VERSION" 115 - # sudo nixos-rebuild switch --flake /home/suri/dots/nixdots#zephryus 116 - # git push 117 - # ''; 118 - 78 + # yazi function that takes me to different directory when I exit. 119 79 y = '' 120 80 set tmp (mktemp -t "yazi-cwd.XXXXXX") 121 81 yazi $argv --cwd-file="$tmp" ··· 129 89 130 90 ''; 131 91 92 + # easy way to continuously compile and open a typst file. 132 93 tz = '' 133 94 if test (count $argv) -eq 0 134 95 echo "Usage: tz <file.typ>"
+2 -1
modules/home/term/ghostty/ghostty/config
··· 7 7 8 8 # font-family = "TX-02 Medium" 9 9 font-family = "TX-02 Medium SemiCondensed" 10 + 10 11 # font-family = "TX-02 Bold" 11 12 font-family-bold = "TX-02 Bold SemiCondensed" 12 13 font-family-italic = "TX-02 Bold SemiCondensed Oblique" ··· 37 38 font-feature = "-liga" 38 39 font-feature = "-dlig" 39 40 40 - font-size = "15" 41 + font-size = "16" 41 42 # font-size = "12" 42 43 43 44
+1 -1
modules/home/tools/default.nix
··· 35 35 bun 36 36 nodejs 37 37 38 - opencode 38 + codex 39 39 40 40 ]; 41 41
+11 -1
modules/home/tools/helix/helix/languages.toml
··· 15 15 [language-server.texlab] 16 16 command = "texlab" 17 17 18 + 19 + 18 20 [language-server.texlab.config.texlab.build] 19 21 onSave = true 20 22 forwardSearchAfter = true ··· 40 42 41 43 [language-server.harper-ls.config.harper-ls.linters] 42 44 AvoidCurses = false 45 + 46 + [language-server.sourcekit-lsp] 47 + command = "sourcekit-lsp" 48 + args = ["--log-level", "info"] 43 49 44 50 # --- Languages --- 45 51 ··· 101 107 # auto-format = true 102 108 103 109 [[language]] 110 + name = "swift" 111 + # roots = ["Package.swift", "Package.resolved", "*.xcodeproj", "*.xcworkspace", "project.yml"] 112 + language-servers = ["sourcekit-lsp"] 113 + 114 + [[language]] 104 115 name = "jjdescription" 105 116 file-types = [{ glob = "*.jjdescription" }] 106 117 language-servers = ["harper-ls"] 107 - 108 118 109 119
+2 -1
users/suri/common.nix
··· 5 5 imports = [ ../../modules/home ]; 6 6 7 7 nyx.oh-my-posh.enable = true; 8 - nyx.zsh.enable = true; 8 + # nyx.zsh.enable = true; 9 + nyx.fish.enable = true; 9 10 nyx.zellij.enable = true; 10 11 nyx.helix.enable = true; 11 12