ssh configs

This commit is contained in:
Jeremy Janella
2026-10-23 19:01:00 -04:00
parent a0daf842c9
commit 939949f75a
9 changed files with 57 additions and 59 deletions
+2 -1
View File
@@ -398,13 +398,14 @@
claude-code claude-code
gdb gdb
tldr tldr
rust-analyzer
]; ];
}; };
# Use https://search.nixos.org/ to find more packages (and options). # Use https://search.nixos.org/ to find more packages (and options).
environment.systemPackages = with pkgs; [ environment.systemPackages = with pkgs; [
firefox firefox
neovim inputs.nixpkgs-unstable.legacyPackages.${pkgs.system}.neovim
wget wget
gnome-disk-utility gnome-disk-utility
dunst dunst
Generated
+3 -3
View File
@@ -39,11 +39,11 @@
}, },
"nixpkgs-unstable": { "nixpkgs-unstable": {
"locked": { "locked": {
"lastModified": 1787498568, "lastModified": 1792502884,
"narHash": "sha256-9i/VTdusq/+NM/tz+J1Re+ojkMB8MBf0QshnYfzHz30=", "narHash": "sha256-IoNisKcGbUjdd45qCqywGMCYmZ5EnkxezvLII0FWwNA=",
"owner": "nixos", "owner": "nixos",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "56c02bc00adcf003215cc4bd996d6efaf4cff188", "rev": "02c087f3fe673c9e317f206a627cb6b910336dbe",
"type": "github" "type": "github"
}, },
"original": { "original": {
+3 -1
View File
@@ -10,7 +10,6 @@
inputs.nixpkgs.follows = "nixpkgs"; inputs.nixpkgs.follows = "nixpkgs";
}; };
# Optional: Unstable branch for things like Ollama or Hyprland
nixpkgs-unstable.url = "github:nixos/nixpkgs/nixos-unstable"; nixpkgs-unstable.url = "github:nixos/nixpkgs/nixos-unstable";
}; };
@@ -26,6 +25,7 @@
nixpkgs.overlays = [ nixpkgs.overlays = [
(final: prev: { (final: prev: {
ollama = nixpkgs-unstable.legacyPackages.${prev.system}.ollama; ollama = nixpkgs-unstable.legacyPackages.${prev.system}.ollama;
neovim = nixpkgs-unstable.legacyPackages.${prev.system}.neovim;
}) })
]; ];
} }
@@ -42,6 +42,7 @@
nixpkgs.overlays = [ nixpkgs.overlays = [
(final: prev: { (final: prev: {
ollama = nixpkgs-unstable.legacyPackages.${prev.system}.ollama; ollama = nixpkgs-unstable.legacyPackages.${prev.system}.ollama;
neovim = nixpkgs-unstable.legacyPackages.${prev.system}.neovim;
}) })
]; ];
} }
@@ -58,6 +59,7 @@
nixpkgs.overlays = [ nixpkgs.overlays = [
(final: prev: { (final: prev: {
ollama = nixpkgs-unstable.legacyPackages.${prev.system}.ollama; ollama = nixpkgs-unstable.legacyPackages.${prev.system}.ollama;
neovim = nixpkgs-unstable.legacyPackages.${prev.system}.neovim;
}) })
]; ];
} }
+2
View File
@@ -17,6 +17,8 @@ vim.opt.rtp:prepend(lazypath)
require("lazy").setup({ require("lazy").setup({
spec = { spec = {
{ "LazyVim/LazyVim", import = "lazyvim.plugins" }, { "LazyVim/LazyVim", import = "lazyvim.plugins" },
{ import = "lazyvim.plugins.extras.lang.typst" },
{ import = "lazyvim.plugins.extras.lang.rust" },
{ import = "plugins" }, { import = "plugins" },
}, },
defaults = { defaults = {
+1
View File
@@ -1 +1,2 @@
nix flake update
sudo nixos-rebuild switch --flake .#$(hostname) sudo nixos-rebuild switch --flake .#$(hostname)
+2 -1
View File
@@ -12,11 +12,12 @@
ForwardX11Trusted yes ForwardX11Trusted yes
IdentityFile ~/.ssh/id_ed25519 IdentityFile ~/.ssh/id_ed25519
Host scinet Host teach
HostName teach.scinet.utoronto.ca HostName teach.scinet.utoronto.ca
User lcl_uotcscd60s2180 User lcl_uotcscd60s2180
ForwardX11 yes ForwardX11 yes
ForwardX11Trusted yes ForwardX11Trusted yes
SetEnv TERM=xterm-256color
IdentityFile ~/.ssh/id_ed25519 IdentityFile ~/.ssh/id_ed25519
Host node Host node
+3 -3
View File
@@ -1,11 +1,11 @@
{ {
"layer": "top", "layer": "top",
"position": "top", "position": "top",
"margin": "5 0", "margin": "0 0",
"modules-left" : ["group/left-hidden-top", "group/left"], "modules-left" : ["group/left"],
"modules-center" : ["clock"], "modules-center" : ["clock"],
"modules-right" : [ "group/right", "group/right-hidden-top"], "modules-right" : [ "group/right", "group/left-hidden-top", "group/right-hidden-top"],
"include": [ "~/.config/waybar/modules.jsonc" ] "include": [ "~/.config/waybar/modules.jsonc" ]
} }
+2 -12
View File
@@ -9,13 +9,8 @@
"group/left-hidden" : { "group/left-hidden" : {
"orientation": "horizontal", "orientation": "horizontal",
"drawer": {
"transition-duration": 500,
"transition-left-to-right": false,
"click-to-reveal": true
},
"modules" : [ "modules" : [
"custom/arrow-right", "battery", "cpu", "load" "battery", "cpu", "load"
] ]
}, },
@@ -33,13 +28,8 @@
"group/right-hidden" : { "group/right-hidden" : {
"orientation": "horizontal", "orientation": "horizontal",
"drawer": {
"transition-duration": 500,
"transition-left-to-right": true,
"click-to-reveal": true
},
"modules" : [ "modules" : [
"custom/arrow-left", "memory", "temperature" "memory", "temperature"
] ]
}, },
+6 -5
View File
@@ -12,9 +12,10 @@
#waybar { #waybar {
font-weight: 700; font-weight: 700;
background: transparent; background: #000000;
font-size: 14px; font-size: 14px;
color: @fg; color: @fg;
min-height: 0;
} }
/* global paddings */ /* global paddings */
@@ -63,9 +64,9 @@
#left-hidden-top, #left-hidden-top,
#clock { #clock {
padding: 0px 10px; padding: 0px 10px;
border-radius: 15px; border-radius: 0;
background: @module-bg; background: transparent;
border: 1px solid @border; border: none;
} }
#right-hidden-top, #right-hidden-top,
@@ -74,7 +75,7 @@
} }
#right, #left { #right, #left {
margin: 0 8px; margin: 0;
} }
#clock { #clock {