Compare commits
3 commits
ab36ee0f4c
...
a92c0d905e
Author | SHA1 | Date | |
---|---|---|---|
a92c0d905e | |||
6f95ac5bc3 | |||
0ddb939e61 |
3 changed files with 56 additions and 51 deletions
24
flake.lock
24
flake.lock
|
@ -7,11 +7,11 @@
|
|||
]
|
||||
},
|
||||
"locked": {
|
||||
"lastModified": 1725180166,
|
||||
"narHash": "sha256-fzssXuGR/mCeGbzM1ExaTqDz7QDGta3WA4jJsZyRruo=",
|
||||
"lastModified": 1725694918,
|
||||
"narHash": "sha256-+HsjshXpqNiJHLaJaK0JnIicJ/a1NquKcfn4YZ3ILgg=",
|
||||
"owner": "nix-community",
|
||||
"repo": "home-manager",
|
||||
"rev": "471e3eb0a114265bcd62d11d58ba8d3421ee68eb",
|
||||
"rev": "aaebdea769a5c10f1c6e50ebdf5924c1a13f0cda",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
|
@ -27,11 +27,11 @@
|
|||
]
|
||||
},
|
||||
"locked": {
|
||||
"lastModified": 1725189302,
|
||||
"narHash": "sha256-IhXok/kwQqtusPsoguQLCHA+h6gKvgdCrkhIaN+kByA=",
|
||||
"lastModified": 1725628909,
|
||||
"narHash": "sha256-xI0OSqPHcs/c/utJsU0Zvcp1VhejMI9mgwr68uHHlPs=",
|
||||
"owner": "LnL7",
|
||||
"repo": "nix-darwin",
|
||||
"rev": "7c4b53a7d9f3a3df902b3fddf2ae245ef20ebcda",
|
||||
"rev": "76559183801030451e200c90a1627c1d82bb4910",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
|
@ -42,11 +42,11 @@
|
|||
},
|
||||
"nixpkgs": {
|
||||
"locked": {
|
||||
"lastModified": 1725103162,
|
||||
"narHash": "sha256-Ym04C5+qovuQDYL/rKWSR+WESseQBbNAe5DsXNx5trY=",
|
||||
"lastModified": 1725634671,
|
||||
"narHash": "sha256-v3rIhsJBOMLR8e/RNWxr828tB+WywYIoajrZKFM+0Gg=",
|
||||
"owner": "nixos",
|
||||
"repo": "nixpkgs",
|
||||
"rev": "12228ff1752d7b7624a54e9c1af4b222b3c1073b",
|
||||
"rev": "574d1eac1c200690e27b8eb4e24887f8df7ac27c",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
|
@ -58,11 +58,11 @@
|
|||
},
|
||||
"nur": {
|
||||
"locked": {
|
||||
"lastModified": 1725346708,
|
||||
"narHash": "sha256-rhLiFjrLBA+3Dc9NVsa3v3XDGB/Tn780dAttcNY1f9k=",
|
||||
"lastModified": 1725727226,
|
||||
"narHash": "sha256-1OIoBxbdi0ubRSFZWntx1VmFxZP647RBobDzJ5fTdqE=",
|
||||
"owner": "nix-community",
|
||||
"repo": "nur",
|
||||
"rev": "079d47b2fe664a1e8b16eac5eb32726bcb2774d1",
|
||||
"rev": "22b3fd31d4b976ead0678ef88063b5b2b9dd7225",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
|
|
14
home.nix
14
home.nix
|
@ -33,6 +33,8 @@
|
|||
jdk21
|
||||
any-nix-shell
|
||||
aspell
|
||||
basedpyright
|
||||
bash-language-server
|
||||
cachix
|
||||
cmake
|
||||
coursier
|
||||
|
@ -51,9 +53,11 @@
|
|||
gnupg
|
||||
go
|
||||
graphviz
|
||||
jq-lsp
|
||||
luajit
|
||||
luajitPackages.luarocks
|
||||
luajitPackages.luasocket
|
||||
lua-language-server
|
||||
marksman
|
||||
maven
|
||||
metals
|
||||
|
@ -63,14 +67,11 @@
|
|||
neovim
|
||||
nil
|
||||
niv
|
||||
nixd
|
||||
nix-index
|
||||
nixfmt-rfc-style
|
||||
nix-prefetch-git
|
||||
nodejs
|
||||
nodePackages.bash-language-server
|
||||
nodePackages.typescript-language-server
|
||||
nodePackages.vscode-json-languageserver
|
||||
nodePackages.yaml-language-server
|
||||
ollama
|
||||
openssl
|
||||
pandoc
|
||||
|
@ -101,10 +102,13 @@
|
|||
tokei
|
||||
tree
|
||||
tree-sitter
|
||||
typescript
|
||||
typescript-language-server
|
||||
wget
|
||||
vscode-langservers-extracted
|
||||
xcodes
|
||||
xz
|
||||
yaml-language-server
|
||||
yq
|
||||
zoom-us
|
||||
];
|
||||
|
@ -287,6 +291,6 @@
|
|||
# Neovim Configuration
|
||||
xdg.configFile."nvim".source = builtins.fetchGit {
|
||||
url = "https://code.softinio.com/softinio/nvim-config";
|
||||
rev = "f59b6eedae27085f7430e6d4237f7d3041377d0e";
|
||||
rev = "754a8bb8a7161e9f04596081a166722d3ec4a408";
|
||||
};
|
||||
}
|
||||
|
|
|
@ -9,47 +9,47 @@ return {
|
|||
adjust_window_size_when_changing_font_size = false,
|
||||
check_for_updates = false,
|
||||
-- color_scheme = "Gruvbox Light";
|
||||
color_scheme = "tokyonight",
|
||||
font = wezterm.font("SF Mono"),
|
||||
color_scheme = 'tokyonight',
|
||||
font = wezterm.font 'SF Mono',
|
||||
font_size = 16,
|
||||
dpi = 144,
|
||||
scrollback_lines = 50000,
|
||||
initial_cols = 400,
|
||||
initial_rows = 80,
|
||||
leader = { key="b", mods="SUPER", timeout_milliseconds = 1000 },
|
||||
default_prog = { "/etc/profiles/per-user/salar/bin/fish" },
|
||||
leader = { key = 'b', mods = 'SUPER', timeout_milliseconds = 1000 },
|
||||
default_prog = { '/etc/profiles/per-user/salar/bin/fish' },
|
||||
ssh_domains = {
|
||||
{
|
||||
name = "hcloud1",
|
||||
remote_address = "hcloud1.softinio.net",
|
||||
username = "salar",
|
||||
remote_wezterm_path = "/run/current-system/sw/bin/wezterm"
|
||||
}
|
||||
name = 'hcloud1',
|
||||
remote_address = 'hcloud1.softinio.net',
|
||||
username = 'salar',
|
||||
remote_wezterm_path = '/run/current-system/sw/bin/wezterm',
|
||||
},
|
||||
},
|
||||
keys = {
|
||||
{ key = "-", mods = "LEADER", action=wezterm.action{SplitVertical={domain="CurrentPaneDomain"}}},
|
||||
{ key = "'", mods = "LEADER", action=wezterm.action{SplitHorizontal={domain="CurrentPaneDomain"}}},
|
||||
{ key = "k", mods = "SUPER", action=act.TogglePaneZoomState },
|
||||
{ key = "c", mods = "LEADER", action=wezterm.action{SpawnTab="CurrentPaneDomain"}},
|
||||
{ key = "h", mods = "LEADER", action=wezterm.action{ActivatePaneDirection="Left"}},
|
||||
{ key = "j", mods = "LEADER", action=wezterm.action{ActivatePaneDirection="Down"}},
|
||||
{ key = "k", mods = "LEADER", action=wezterm.action{ActivatePaneDirection="Up"}},
|
||||
{ key = "l", mods = "LEADER", action=wezterm.action{ActivatePaneDirection="Right"}},
|
||||
{ key = "H", mods = "LEADER|SHIFT", action=wezterm.action{AdjustPaneSize={"Left", 5}}},
|
||||
{ key = "J", mods = "LEADER|SHIFT", action=wezterm.action{AdjustPaneSize={"Down", 5}}},
|
||||
{ key = "K", mods = "LEADER|SHIFT", action=wezterm.action{AdjustPaneSize={"Up", 5}}},
|
||||
{ key = "L", mods = "LEADER|SHIFT", action=wezterm.action{AdjustPaneSize={"Right", 5}}},
|
||||
{ key = "1", mods = "LEADER", action=wezterm.action{ActivateTab=0}},
|
||||
{ key = "2", mods = "LEADER", action=wezterm.action{ActivateTab=1}},
|
||||
{ key = "3", mods = "LEADER", action=wezterm.action{ActivateTab=2}},
|
||||
{ key = "4", mods = "LEADER", action=wezterm.action{ActivateTab=3}},
|
||||
{ key = "5", mods = "LEADER", action=wezterm.action{ActivateTab=4}},
|
||||
{ key = "6", mods = "LEADER", action=wezterm.action{ActivateTab=5}},
|
||||
{ key = "7", mods = "LEADER", action=wezterm.action{ActivateTab=6}},
|
||||
{ key = "8", mods = "LEADER", action=wezterm.action{ActivateTab=7}},
|
||||
{ key = "9", mods = "LEADER", action=wezterm.action{ActivateTab=8}},
|
||||
{ key = "&", mods = "LEADER", action=wezterm.action{CloseCurrentTab={confirm=true}}},
|
||||
{ key = "x", mods = "LEADER", action=wezterm.action{CloseCurrentPane={confirm=true}}},
|
||||
{ key = '-', mods = 'LEADER', action = wezterm.action { SplitVertical = { domain = 'CurrentPaneDomain' } } },
|
||||
{ key = "'", mods = 'LEADER', action = wezterm.action { SplitHorizontal = { domain = 'CurrentPaneDomain' } } },
|
||||
{ key = 'k', mods = 'SUPER', action = act.TogglePaneZoomState },
|
||||
{ key = 'c', mods = 'LEADER', action = wezterm.action { SpawnTab = 'CurrentPaneDomain' } },
|
||||
{ key = 'h', mods = 'LEADER', action = wezterm.action { ActivatePaneDirection = 'Left' } },
|
||||
{ key = 'j', mods = 'LEADER', action = wezterm.action { ActivatePaneDirection = 'Down' } },
|
||||
{ key = 'k', mods = 'LEADER', action = wezterm.action { ActivatePaneDirection = 'Up' } },
|
||||
{ key = 'l', mods = 'LEADER', action = wezterm.action { ActivatePaneDirection = 'Right' } },
|
||||
{ key = 'H', mods = 'LEADER|SHIFT', action = wezterm.action { AdjustPaneSize = { 'Left', 5 } } },
|
||||
{ key = 'J', mods = 'LEADER|SHIFT', action = wezterm.action { AdjustPaneSize = { 'Down', 5 } } },
|
||||
{ key = 'K', mods = 'LEADER|SHIFT', action = wezterm.action { AdjustPaneSize = { 'Up', 5 } } },
|
||||
{ key = 'L', mods = 'LEADER|SHIFT', action = wezterm.action { AdjustPaneSize = { 'Right', 5 } } },
|
||||
{ key = '1', mods = 'LEADER', action = wezterm.action { ActivateTab = 0 } },
|
||||
{ key = '2', mods = 'LEADER', action = wezterm.action { ActivateTab = 1 } },
|
||||
{ key = '3', mods = 'LEADER', action = wezterm.action { ActivateTab = 2 } },
|
||||
{ key = '4', mods = 'LEADER', action = wezterm.action { ActivateTab = 3 } },
|
||||
{ key = '5', mods = 'LEADER', action = wezterm.action { ActivateTab = 4 } },
|
||||
{ key = '6', mods = 'LEADER', action = wezterm.action { ActivateTab = 5 } },
|
||||
{ key = '7', mods = 'LEADER', action = wezterm.action { ActivateTab = 6 } },
|
||||
{ key = '8', mods = 'LEADER', action = wezterm.action { ActivateTab = 7 } },
|
||||
{ key = '9', mods = 'LEADER', action = wezterm.action { ActivateTab = 8 } },
|
||||
{ key = '&', mods = 'LEADER', action = wezterm.action { CloseCurrentTab = { confirm = true } } },
|
||||
{ key = 'x', mods = 'LEADER', action = wezterm.action { CloseCurrentPane = { confirm = true } } },
|
||||
{ key = 'Enter', mods = 'ALT', action = act.ToggleFullScreen },
|
||||
{ key = 'c', mods = 'SUPER', action = act.CopyTo 'Clipboard' },
|
||||
{ key = 'v', mods = 'SUPER', action = act.PasteFrom 'Clipboard' },
|
||||
|
@ -65,6 +65,7 @@ return {
|
|||
},
|
||||
},
|
||||
{ key = 'Tab', mods = 'CTRL', action = wezterm.action.DisableDefaultAssignment },
|
||||
},
|
||||
-- temp fix
|
||||
front_end = 'WebGpu',
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue