diff --git a/machines/homepc/hardware-configuration.nix b/machines/homepc/hardware-configuration.nix index 0fd0b60..48693ac 100755 --- a/machines/homepc/hardware-configuration.nix +++ b/machines/homepc/hardware-configuration.nix @@ -93,10 +93,10 @@ package = config.boot.kernelPackages.nvidiaPackages.stable; }; - nix.settings = { - substituters = [ "https://cache.nixos-cuda.org" ]; - trusted-public-keys = [ "cache.nixos-cuda.org:74DUi4Ye579gUqzH4ziL9IyiJBlDpMRn9MBN8oNan9M=" ]; - }; + # nix.settings = { + # substituters = [ "https://cache.nixos-cuda.org" ]; + # trusted-public-keys = [ "cache.nixos-cuda.org:74DUi4Ye579gUqzH4ziL9IyiJBlDpMRn9MBN8oNan9M=" ]; + # }; system.stateVersion = "24.11"; # No touchy } diff --git a/machines/latitude/configuration.nix b/machines/latitude/configuration.nix index 5c225b5..5e8de3e 100755 --- a/machines/latitude/configuration.nix +++ b/machines/latitude/configuration.nix @@ -6,6 +6,7 @@ config, lib, pkgs, + inputs, ... }: { @@ -87,9 +88,9 @@ # List packages installed in system profile. # You can use https://search.nixos.org/ to find more packages (and options). - #environment.systemPackages = with pkgs; [ - # cura-appimage # I want cura but not kicad so i dont pull in fabrication - # ]; + environment.systemPackages = [ + inputs.llm-agents.packages.${pkgs.stdenv.hostPlatform.system}.pi + ]; # Some programs need SUID wrappers, can be configured further or are # started in user sessions. diff --git a/modules/sway/default.nix b/modules/sway/default.nix index 4fa3209..d6d74c8 100644 --- a/modules/sway/default.nix +++ b/modules/sway/default.nix @@ -52,7 +52,6 @@ in pkgs.wmenu pkgs.wl-clipboard pkgs.mako - pkgs.kdePackages.spectacle pkgs.kdePackages.kate pkgs.kdePackages.filelight inputs.glide.packages.${pkgs.stdenv.hostPlatform.system}.default diff --git a/modules/sway/home.nix b/modules/sway/home.nix index a0a4e9f..c33b173 100644 --- a/modules/sway/home.nix +++ b/modules/sway/home.nix @@ -85,6 +85,7 @@ "Mod4+j" = "[class=\"Jami\"] scratchpad show, resize set 90 ppt 90 ppt, move position center"; + "Print" = "exec flameshot gui"; }; bars = [ { @@ -141,7 +142,7 @@ ]; }; extraConfig = '' - exec_always swaymsg output "*" bg ~/.background-image fill + exec_always swaymsg output "*" bg ~/.background-image fit ''; }; @@ -183,7 +184,7 @@ echo "Using socket: $SWAYSOCK" # 5. Execute swaymsg - ${pkgs.sway}/bin/swaymsg output "*" bg "$RANDOM_IMG" fill + ${pkgs.sway}/bin/swaymsg output "*" bg "$RANDOM_IMG" fit echo "Updated background to $RANDOM_IMG" else echo "Error: Could not find any sway socket in $XDG_RUNTIME_DIR" @@ -293,6 +294,21 @@ }; }; + services.flameshot = { + # Also installs/enables flameshot + enable = true; + settings = { + General = { + useGrimAdapter = true; + # Stops warnings for using Grim + disabledGrimWarning = true; + uiColor = "#00ff73"; + contrastUiColor = "#002f01"; + drawColor = "#ff0000"; + }; + }; + }; + # Install packages for better Qt support and kvantum themes home.packages = with pkgs; [ kdePackages.breeze