mirror of
https://github.com/js0ny/dotfiles.git
synced 2025-12-21 08:43:00 +00:00
refractor
This commit is contained in:
parent
fbe299a28c
commit
4842ca3540
23 changed files with 92 additions and 70 deletions
|
|
@ -21,50 +21,58 @@
|
|||
];
|
||||
|
||||
casks = [
|
||||
"visual-studio-code"
|
||||
"kitty"
|
||||
"vivaldi"
|
||||
"neovide"
|
||||
"clash-verge-rev"
|
||||
# Productivity
|
||||
"obsidian"
|
||||
"alacritty"
|
||||
"alt-tab"
|
||||
"apparency"
|
||||
"betterdisplay"
|
||||
"raycast"
|
||||
"TickTick"
|
||||
|
||||
# Networking
|
||||
"wireshark-app"
|
||||
"clash-verge-rev"
|
||||
|
||||
# Editor
|
||||
"visual-studio-code"
|
||||
|
||||
# Browsers
|
||||
"firefox"
|
||||
|
||||
# Terminal Emulator
|
||||
"ghostty"
|
||||
"kitty"
|
||||
|
||||
# Fonts
|
||||
"font-maple-mono-nf-cn"
|
||||
|
||||
# Misc
|
||||
"telegram-desktop"
|
||||
"cherry-studio" # LLM Client
|
||||
"steam"
|
||||
"discord"
|
||||
"dotnet-sdk"
|
||||
"iina"
|
||||
"iterm2"
|
||||
"karabiner-elements"
|
||||
"keka"
|
||||
"orbstack" # Docker runtime
|
||||
|
||||
# System Enhancement
|
||||
"alt-tab" # Turn cmd-tab to windows behaviour
|
||||
"karabiner-elements" # Keymapping
|
||||
"localsend"
|
||||
"ltspice"
|
||||
"orbstack"
|
||||
"squirrel" # Input Method
|
||||
"rustdesk" # Remote Desktop
|
||||
"iina" # MPV Frontend
|
||||
# TODO: I think karabiner is the superset
|
||||
"scroll-reverser" # Natural scrolling for trackpad only
|
||||
"sioyek" # Keyboard-driven PDF Reader
|
||||
"skim" # PDF Reader
|
||||
"keka" # GUI Unarchiver
|
||||
"betterdisplay"
|
||||
|
||||
# Quicklook addons
|
||||
"apparency"
|
||||
"qlcolorcode"
|
||||
# "qlimagesize" discontinued.
|
||||
"qlmarkdown"
|
||||
"qlstephen"
|
||||
"qlvideo"
|
||||
"qspace-pro"
|
||||
"quicklook-json"
|
||||
"quicklookase"
|
||||
"raycast"
|
||||
"rider"
|
||||
"rustdesk"
|
||||
"scroll-reverser"
|
||||
"sioyek"
|
||||
"skim"
|
||||
"squirrel"
|
||||
"steam"
|
||||
"telegram-desktop"
|
||||
"Filen"
|
||||
"TickTick"
|
||||
"cherry-studio"
|
||||
"firefox"
|
||||
"wireshark-app"
|
||||
"LibreWolf"
|
||||
"brave-browser"
|
||||
"font-maple-mono-nf-cn"
|
||||
];
|
||||
};
|
||||
}
|
||||
|
|
|
|||
|
|
@ -15,4 +15,5 @@
|
|||
enable = true;
|
||||
enable32Bit = true;
|
||||
};
|
||||
services.ollama.acceleration = "cuda";
|
||||
}
|
||||
|
|
|
|||
|
|
@ -54,6 +54,7 @@
|
|||
lutris
|
||||
vivaldi
|
||||
rustdesk
|
||||
kdePackages.krdc
|
||||
|
||||
# Email
|
||||
protonmail-bridge
|
||||
|
|
|
|||
5
nixcfgs/users/js0ny/programs/ollama.nix
Normal file
5
nixcfgs/users/js0ny/programs/ollama.nix
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
{...}: {
|
||||
services.ollama = {
|
||||
enable = true;
|
||||
};
|
||||
}
|
||||
|
|
@ -16,6 +16,7 @@ in {
|
|||
enableCompletion = true;
|
||||
dotDir = "${config.xdg.configHome}/zsh";
|
||||
shellAliases = aliases;
|
||||
defaultKeymap = "emacs";
|
||||
syntaxHighlighting = {
|
||||
enable = true;
|
||||
patterns = {
|
||||
|
|
@ -29,18 +30,18 @@ in {
|
|||
];
|
||||
};
|
||||
initContent = ''
|
||||
# Emacs Hybrid
|
||||
bindkey '^A' beginning-of-line
|
||||
bindkey '^E' end-of-line
|
||||
bindkey '^F' forward-char
|
||||
bindkey '^B' backward-char
|
||||
bindkey '^P' up-line-or-history
|
||||
bindkey '^N' down-line-or-history
|
||||
# bindkey '^R' history-incremental-search-backward # Use fzf
|
||||
bindkey '^K' kill-line
|
||||
|
||||
bindkey -M viins '^?' backward-delete-char
|
||||
bindkey -M viins '^H' backward-kill-word
|
||||
# # Emacs Hybrid
|
||||
# bindkey '^A' beginning-of-line
|
||||
# bindkey '^E' end-of-line
|
||||
# bindkey '^F' forward-char
|
||||
# bindkey '^B' backward-char
|
||||
# bindkey '^P' up-line-or-history
|
||||
# bindkey '^N' down-line-or-history
|
||||
# # bindkey '^R' history-incremental-search-backward # Use fzf
|
||||
# bindkey '^K' kill-line
|
||||
#
|
||||
# bindkey -M viins '^?' backward-delete-char
|
||||
# bindkey -M viins '^H' backward-kill-word
|
||||
source ${pkgs.zsh-fzf-tab}/share/fzf-tab/fzf-tab.plugin.zsh
|
||||
'';
|
||||
};
|
||||
|
|
|
|||
|
|
@ -32,7 +32,7 @@
|
|||
./programs/fzf.nix
|
||||
./programs/libreoffice.nix
|
||||
./programs/nvim.nix
|
||||
|
||||
./programs/ollama.nix
|
||||
|
||||
# Desktop Linux
|
||||
./programs/plasma.nix
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue