From dec8fe61ff62af115d4f48dab1d5b214a83c9a6f Mon Sep 17 00:00:00 2001 From: Gleb Khaykin Date: Wed, 27 Aug 2025 12:30:58 +0200 Subject: [PATCH 1/3] feat(asdf): bump uv --- users/shared/scripts/asdf.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/users/shared/scripts/asdf.sh b/users/shared/scripts/asdf.sh index 4e6fb92..f62f90c 100755 --- a/users/shared/scripts/asdf.sh +++ b/users/shared/scripts/asdf.sh @@ -11,7 +11,7 @@ install_plugin() { plugins=( "python 3.12.9" # programming language - "uv 0.6.6" # python package manager + "uv 0.8.13" # python package manager "rust 1.84.1" # programming language "golang 1.23.5" # programming language "terraform 1.12.1" # IaC provisioning From f5d24f176c5a008281423ba166bf09ab4bdee97e Mon Sep 17 00:00:00 2001 From: Gleb Khaykin Date: Thu, 28 Aug 2025 15:12:28 +0200 Subject: [PATCH 2/3] feat(ssh): add together domains --- users/shared/programs/ssh.nix | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/users/shared/programs/ssh.nix b/users/shared/programs/ssh.nix index 0770c41..2417288 100644 --- a/users/shared/programs/ssh.nix +++ b/users/shared/programs/ssh.nix @@ -1,6 +1,7 @@ { config, ... }: { programs.ssh = { enable = true; + enableDefaultConfig = false; matchBlocks = { "*.github.com" = { extraOptions = { @@ -9,21 +10,21 @@ }; identityFile = "${config.home.homeDirectory}/.ssh/id_ed25519"; }; - "*.vast.ai" = { identityFile = "${config.home.homeDirectory}/.ssh/vastai"; }; - "red" = { hostname = "64.247.196.50"; user = "shadeform"; identityFile = "${config.home.homeDirectory}/Desktop/projects/iclerk/gpu-access/shadeform_private_key.pem"; }; - "alabama alaska" = { user = "gkhaykin"; proxyCommand = "/opt/homebrew/bin/cloudflared access ssh --hostname %h-dc10.myna.ninja/ssh"; }; + "*.cloud.together.ai" = { + user = "gkhaykin"; + }; }; }; } From 1612400ccc81f64a923857e0a04066c5aa4665d5 Mon Sep 17 00:00:00 2001 From: Gleb Khaykin Date: Thu, 28 Aug 2025 15:17:13 +0200 Subject: [PATCH 3/3] build(makefile): add nix-update-flake target --- Makefile | 4 ++++ flake.lock | 24 ++++++++++++------------ 2 files changed, 16 insertions(+), 12 deletions(-) diff --git a/Makefile b/Makefile index be0b1a8..11a8b6a 100644 --- a/Makefile +++ b/Makefile @@ -28,6 +28,10 @@ nix-darwin-apply-%: ## Apply nix-darwin configuration @echo "Applying nix-darwin configuration for $*" @nix run nix-darwin -- switch --flake .#$* --show-trace +nix-update-flake: ## Update the flake.lock file + @nix flake update +.PHONY: nix-update-flake + nix-garbage-collect: ## Collect Nix garbage (remove unused packages) @nix-collect-garbage .PHONY: nix-garbage-collect diff --git a/flake.lock b/flake.lock index 6877371..451d4ac 100644 --- a/flake.lock +++ b/flake.lock @@ -24,11 +24,11 @@ ] }, "locked": { - "lastModified": 1756247014, - "narHash": "sha256-aqMKFVMK/xhv0eJ1006zSmrUaXFO09AkaU8FutDbaZs=", + "lastModified": 1756261190, + "narHash": "sha256-eiy0klFK5EVJLNilutR7grsZN/7Itj9DyD75eyOf83k=", "owner": "nix-community", "repo": "home-manager", - "rev": "2c4ef7d7172708f6247d2ed9b56f0341b9ce63e1", + "rev": "77f348da3176dc68b20a73dab94852a417daf361", "type": "github" }, "original": { @@ -56,11 +56,11 @@ "homebrew-cask": { "flake": false, "locked": { - "lastModified": 1756246851, - "narHash": "sha256-4tMHW5NABe9h5pAkwXXnG57T5E+qDPEvB4yP3KmE+Ho=", + "lastModified": 1756386406, + "narHash": "sha256-EEgSCHUxyyBq6Lmr7bhQ7ngv3MzNM2VQEMQXc7y3GGc=", "owner": "homebrew", "repo": "homebrew-cask", - "rev": "92d0a7fcc236c08ce46f6e4624f1f1b76ac61dcc", + "rev": "2072d31011279e8a84f899fa12034371442507fa", "type": "github" }, "original": { @@ -72,11 +72,11 @@ "homebrew-core": { "flake": false, "locked": { - "lastModified": 1756246822, - "narHash": "sha256-j/r5mZu6XtJ6aehfLfuRjspqvEr85QHWB0bbxn0ZmNA=", + "lastModified": 1756382267, + "narHash": "sha256-dnYQcLmDWYp3EuI0rWynElrNum51wNtNwU8H6j2pWWI=", "owner": "homebrew", "repo": "homebrew-core", - "rev": "e9f48432d8a60f6ec496684d04b09a0674f0c03e", + "rev": "59aa928e65c7861ee72bf32f4845ca955e50a6b5", "type": "github" }, "original": { @@ -125,11 +125,11 @@ }, "nixpkgs": { "locked": { - "lastModified": 1756159630, - "narHash": "sha256-ohMvsjtSVdT/bruXf5ClBh8ZYXRmD4krmjKrXhEvwMg=", + "lastModified": 1756288264, + "narHash": "sha256-Om8adB1lfkU7D33VpR+/haZ2gI5r3Q+ZbIPzE5sYnwE=", "owner": "NixOS", "repo": "nixpkgs", - "rev": "84c256e42600cb0fdf25763b48d28df2f25a0c8b", + "rev": "ddd1826f294a0ee5fdc198ab72c8306a0ea73aa9", "type": "github" }, "original": {