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