From 06466f10641e33d4a5cc195f838bd0f7547ec60b Mon Sep 17 00:00:00 2001 From: Alexander Wainwright Date: Sat, 14 Mar 2026 10:26:44 +1000 Subject: [PATCH 1/5] Update lock file --- flake.lock | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/flake.lock b/flake.lock index 0522ac9..360504f 100644 --- a/flake.lock +++ b/flake.lock @@ -92,11 +92,11 @@ }, "nixpkgs_2": { "locked": { - "lastModified": 1773222311, - "narHash": "sha256-BHoB/XpbqoZkVYZCfXJXfkR+GXFqwb/4zbWnOr2cRcU=", + "lastModified": 1773375660, + "narHash": "sha256-SEzUWw2Rf5Ki3bcM26nSKgbeoqi2uYy8IHVBqOKjX3w=", "owner": "NixOS", "repo": "nixpkgs", - "rev": "0590cd39f728e129122770c029970378a79d076a", + "rev": "3e20095fe3c6cbb1ddcef89b26969a69a1570776", "type": "github" }, "original": { From 67886930166c46d4ce7a9d28d2a0baa34ba88373 Mon Sep 17 00:00:00 2001 From: Alexander Wainwright Date: Mon, 30 Mar 2026 21:22:40 +1000 Subject: [PATCH 2/5] Add gpu drivers for count --- hosts/count/configuration.nix | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/hosts/count/configuration.nix b/hosts/count/configuration.nix index 6bb804f..856d2a4 100644 --- a/hosts/count/configuration.nix +++ b/hosts/count/configuration.nix @@ -24,6 +24,27 @@ # Use latest kernel. boot.kernelPackages = pkgs.linuxPackages_latest; +# Enable AMD GPU drivers + boot.initrd.kernelModules = [ "amdgpu" ]; + services.xserver.videoDrivers = [ "amdgpu" ]; + + # Enable ROCm support + hardware.graphics.enable = true; + hardware.amdgpu.opencl.enable = true; + + # Add the ROCm packages to your system + environment.systemPackages = with pkgs; [ + rocmPackages.rocminfo + rocmPackages.rocm-smi + ]; + + services.ollama = { + enable = true; + acceleration = "rocm"; + # Force the RX 6600 to use compatible ROCm kernels + rocmOverrideGfx = "10.3.0"; + }; + # Setup keyfile boot.initrd.secrets = { "/boot/crypto_keyfile.bin" = null; From 46a7c6728de63c888a5c114bf74a1f6935626763 Mon Sep 17 00:00:00 2001 From: Alexander Wainwright Date: Mon, 30 Mar 2026 21:24:33 +1000 Subject: [PATCH 3/5] Change signal launching Should hopefully make it work on sway. --- alex/personal.nix | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/alex/personal.nix b/alex/personal.nix index 529532a..5731615 100644 --- a/alex/personal.nix +++ b/alex/personal.nix @@ -26,7 +26,16 @@ in shotwell nextcloud-client bitwarden-desktop - signal-desktop + (symlinkJoin { + name = "signal-desktop-wrapped"; + paths = [ signal-desktop ]; + nativeBuildInputs = [ makeWrapper ]; + postBuild = '' + rm $out/bin/signal-desktop + makeWrapper ${signal-desktop}/bin/signal-desktop $out/bin/signal-desktop \ + --add-flags "--password-store=gnome-libsecret" + ''; + }) spotify gemini-cli From 7aa5fb22957f1bd16e3535f24a837dbba9de711f Mon Sep 17 00:00:00 2001 From: Alexander Wainwright Date: Mon, 30 Mar 2026 21:27:09 +1000 Subject: [PATCH 4/5] Add claude and and gemini from unstable --- alex/personal.nix | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/alex/personal.nix b/alex/personal.nix index 5731615..2ff953a 100644 --- a/alex/personal.nix +++ b/alex/personal.nix @@ -37,7 +37,8 @@ in ''; }) spotify - gemini-cli + unstable.gemini-cli + unstable.claude-code foliate From 4a12606f4e39eec0ce83a388711ce1f3b0543fe7 Mon Sep 17 00:00:00 2001 From: Alexander Wainwright Date: Mon, 30 Mar 2026 21:32:44 +1000 Subject: [PATCH 5/5] Save screenshots to file and add Print key binding Co-Authored-By: Claude Opus 4.5 --- alex/sway.nix | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/alex/sway.nix b/alex/sway.nix index c1f54ae..81b3759 100644 --- a/alex/sway.nix +++ b/alex/sway.nix @@ -166,7 +166,9 @@ in "${modifier}+Shift+l" = "exec swaylock -f"; - "${modifier}+Shift+s" = "exec grim -g \"$(slurp)\" - | wl-copy"; + "${modifier}+Shift+s" = "exec grim -g \"$(slurp)\" - | tee \"/home/alex/Pictures/Screenshots/$(date +'%Y%m%d_%Hh%Mm%Ss_grim.png')\" | wl-copy"; + + "Print" = "exec grim - | tee \"/home/alex/Pictures/Screenshots/$(date +'%Y%m%d_%Hh%Mm%Ss_grim.png')\" | wl-copy"; # Workspaces "--whole-window ${modifier}+button4" = "workspace prev";