summaryrefslogtreecommitdiff
path: root/nix/modules/home/zsh.nix
diff options
context:
space:
mode:
authorPreston Pan <ret2pop@nullring.xyz>2026-03-02 00:03:12 -0800
committerPreston Pan <ret2pop@nullring.xyz>2026-03-02 00:03:12 -0800
commit9484c4ec525c02caa8a65ecfe37ed24f1d4b321d (patch)
tree676712a1504939b37a69fbee9c235dc61917cd65 /nix/modules/home/zsh.nix
parenta05e0614c1bb75f77717a943dc4ac75a0cca4652 (diff)
Remove local nix directory to prepare for submodule
Diffstat (limited to 'nix/modules/home/zsh.nix')
-rw-r--r--nix/modules/home/zsh.nix47
1 files changed, 0 insertions, 47 deletions
diff --git a/nix/modules/home/zsh.nix b/nix/modules/home/zsh.nix
deleted file mode 100644
index 62dcbd5..0000000
--- a/nix/modules/home/zsh.nix
+++ /dev/null
@@ -1,47 +0,0 @@
-{ lib, config, pkgs, systemHostName, ... }:
-{
- programs.zsh = {
- enable = true;
- initContent = ''
- umask 0022
- export EXTRA_CCFLAGS="-I/usr/include"
- source ${pkgs.zsh-vi-mode}/share/zsh-vi-mode/zsh-vi-mode.plugin.zsh
- export QT_QPA_PLATFORM="wayland"
- export OLLAMA_MODEL="qwen3:14b"
- '';
-
- localVariables = {
- EDITOR = "emacsclient --create-frame --alternate-editor=vim";
- INPUT_METHOD = "fcitx";
- QT_IM_MODULE = "fcitx";
- GTK_IM_MODULE = "fcitx";
- XMODIFIERS = "@im=fcitx";
- XIM_SERVERS = "fcitx";
- WXSUPPRESS_SIZER_FLAGS_CHECK = "1";
- };
-
- shellAliases = {
- clone-secrets = "git clone ssh://\"$1\"/home/preston/secrets \"$HOME/secrets\"";
- get-channel-id = "yt-dlp --print \"%(channel_id)s\" --playlist-end 1 \"$1\"";
- se = "sops edit";
- f = "vim $(fzf)";
- e = "cd $(find . -type d -print | fzf)";
- c = "clear";
- g = "git";
- v = "vim";
- py = "python3";
- build-installer = "nix build $HOME/monorepo/nix#nixosConfigurations.installer.config.system.build.isoImage";
- rb = "sudo nixos-rebuild switch --flake $HOME/monorepo/nix#${systemHostName}";
- nfu = "cd ~/monorepo/nix && git add . && git commit -m \"new flake lock\" && nix flake update";
- usync = "rsync -azvP --chmod=\"Du=rwx,Dg=rx,Do=rx,Fu=rw,Fg=r,Fo=r\" ~/website_html/ root@${config.monorepo.vars.remoteHost}:/var/www/${config.monorepo.vars.internetName}-website/";
- usite
- = "cd ~/src/publish-org-roam-ui && bash local.sh && rm -rf ~/website_html/graph_view; cp -r ~/src/publish-org-roam-ui/out ~/website_html/graph_view && rsync -azvP --chmod=\"Du=rwx,Dg=rx,Do=rx,Fu=rw,Fg=r,Fo=r\" ~/website_html/ root@${config.monorepo.vars.remoteHost}:/var/www/${config.monorepo.vars.internetName}-website/";
- sai = "eval \"$(ssh-agent -s)\" && ssh-add ~/.ssh/id_ed25519 && ssh-add -l";
- };
- loginExtra = ''
- if [[ "$(tty)" = "/dev/tty1" ]]; then
- exec Hyprland
- fi
- '';
- };
-}