flake update and wezterm ssh config

This commit is contained in:
Salar Rahmanian 2023-04-08 16:32:46 -07:00
parent 985b139a3b
commit 22ce600524
3 changed files with 29 additions and 19 deletions

View file

@ -7,11 +7,11 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1673295039, "lastModified": 1680266963,
"narHash": "sha256-AsdYgE8/GPwcelGgrntlijMg4t3hLFJFCRF3tL5WVjA=", "narHash": "sha256-IW/lzbUCOcldLHWHjNSg1YoViDnZOmz0ZJL7EH9OkV8=",
"owner": "lnl7", "owner": "lnl7",
"repo": "nix-darwin", "repo": "nix-darwin",
"rev": "87b9d090ad39b25b2400029c64825fc2a8868943", "rev": "99d4187d11be86b49baa3a1aec0530004072374f",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -29,11 +29,11 @@
"utils": "utils" "utils": "utils"
}, },
"locked": { "locked": {
"lastModified": 1677104801, "lastModified": 1680667162,
"narHash": "sha256-2V5nKOYVFMYlseYdDKiEaww2xqcE0GtS1ax3SoUX99I=", "narHash": "sha256-2vgxK4j42y73S3XB2cThz1dSEyK9J9tfu4mhuEfAw68=",
"owner": "nix-community", "owner": "nix-community",
"repo": "home-manager", "repo": "home-manager",
"rev": "4295fdfa6b0005c32f2e1f0b732faf5810c1bc7f", "rev": "440faf5ae472657ef2d8cc7756d77b6ab0ace68d",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -44,11 +44,11 @@
}, },
"nixpkgs": { "nixpkgs": {
"locked": { "locked": {
"lastModified": 1677063315, "lastModified": 1680758185,
"narHash": "sha256-qiB4ajTeAOVnVSAwCNEEkoybrAlA+cpeiBxLobHndE8=", "narHash": "sha256-sCVWwfnk7zEX8Z+OItiH+pcSklrlsLZ4TJTtnxAYREw=",
"owner": "nixos", "owner": "nixos",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "988cc958c57ce4350ec248d2d53087777f9e1949", "rev": "0e19daa510e47a40e06257e205965f3b96ce0ac9",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -60,11 +60,11 @@
}, },
"nur": { "nur": {
"locked": { "locked": {
"lastModified": 1677204696, "lastModified": 1680925189,
"narHash": "sha256-AWCrT5BEl3Jgr9dhDj0Bj8VRdTYaCHXTnR/NVnyh/Cg=", "narHash": "sha256-fvUnUetVs+rd3UJUwbz7iJR4FOCKKacZ+jr62QHN7Rg=",
"owner": "nix-community", "owner": "nix-community",
"repo": "nur", "repo": "nur",
"rev": "2f0a94085df4764f360350d944a9124f79476f9c", "rev": "37873ea3385b62c9ab795fcd0aaa68863bd0c887",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -83,11 +83,11 @@
}, },
"utils": { "utils": {
"locked": { "locked": {
"lastModified": 1667395993, "lastModified": 1678901627,
"narHash": "sha256-nuEHfE/LcWyuSWnS8t12N1wc105Qtau+/OdUAjtQ0rA=", "narHash": "sha256-U02riOqrKKzwjsxc/400XnElV+UtPUQWpANPlyazjH0=",
"owner": "numtide", "owner": "numtide",
"repo": "flake-utils", "repo": "flake-utils",
"rev": "5aed5285a952e0b949eb3ba02c12fa4fcfef535f", "rev": "93a2b84fc4b70d9e089d029deacc3583435c2ed6",
"type": "github" "type": "github"
}, },
"original": { "original": {

View file

@ -42,7 +42,6 @@
gitAndTools.diff-so-fancy gitAndTools.diff-so-fancy
ghc ghc
ghcid ghcid
glow
gnupg gnupg
go go
graphviz graphviz
@ -51,12 +50,11 @@
luajit luajit
luajitPackages.luarocks luajitPackages.luarocks
luajitPackages.luasocket luajitPackages.luasocket
lorri
marksman marksman
maven maven
multimarkdown multimarkdown
mypy mypy
# ncdu ncdu
neofetch neofetch
neovim neovim
niv niv
@ -104,6 +102,10 @@
enable = true; enable = true;
}; };
programs.btop = {
enable = true;
};
programs.direnv = { programs.direnv = {
enable = true; enable = true;
nix-direnv.enable = true; nix-direnv.enable = true;
@ -272,7 +274,7 @@
shellAliases = { shellAliases = {
addsshmac="ssh-add ~/.ssh/id_ed25519 --apple-use-keychain --apple-load-keychain"; addsshmac="ssh-add ~/.ssh/id_ed25519 --apple-use-keychain --apple-load-keychain";
cat="bat"; cat="bat";
# du="ncdu --color dark -rr -x"; du="ncdu --color dark -rr -x";
fzfp="fzf --preview 'bat --style=numbers --color=always --line-range :500 {}'"; fzfp="fzf --preview 'bat --style=numbers --color=always --line-range :500 {}'";
ping="prettyping"; ping="prettyping";
".." = "cd .."; ".." = "cd ..";

View file

@ -16,6 +16,14 @@ return {
initial_rows = 80, initial_rows = 80,
leader = { key="b", mods="SUPER", timeout_milliseconds = 1000 }, leader = { key="b", mods="SUPER", timeout_milliseconds = 1000 },
default_prog = { "/Users/salar/.nix-profile/bin/fish" }, default_prog = { "/Users/salar/.nix-profile/bin/fish" },
ssh_domains = {
{
name = "hcloud1",
remote_address = "hcloud1.softinio.net",
username = "salar",
remote_wezterm_path = "/run/current-system/sw/bin/wezterm"
}
},
keys = { keys = {
{ key = "-", mods = "LEADER", action=wezterm.action{SplitVertical={domain="CurrentPaneDomain"}}}, { key = "-", mods = "LEADER", action=wezterm.action{SplitVertical={domain="CurrentPaneDomain"}}},
{ key = "'", mods = "LEADER", action=wezterm.action{SplitHorizontal={domain="CurrentPaneDomain"}}}, { key = "'", mods = "LEADER", action=wezterm.action{SplitHorizontal={domain="CurrentPaneDomain"}}},