Add Solaar support for Logitech Unifying Receiver across configurations

This commit is contained in:
Chris Toph 2025-06-01 20:41:06 -04:00
parent c942130d46
commit 0664180bfa
9 changed files with 30 additions and 0 deletions

View file

@ -49,6 +49,11 @@
# inputs.nixpkgs.follows = "nixpkgs";
# };
solaar = {
url = "github:Svenum/Solaar-Flake";
inputs.nixpkgs.follows = "nixpkgs";
};
snapraid-aio = {
# url = "git+https://git.ryot.foo/toph/snapraid-aio.nix.git";
url = "git+https://git.ryot.foo/toph/snapraid-aio.nix.git";

View file

@ -131,6 +131,7 @@ with lib.hm.gvariant;
"quicksettings-audio-devices-renamer@marcinjahn.com"
"undecorate@sun.wxg@gmail.com"
"user-theme@gnome-shell-extensions.gcampax.github.com"
"solaar-extension@sidevesh"
"Vitals@CoreCoding.com"
];
favorite-apps = lib.mkDefault [

View file

@ -40,6 +40,7 @@
## Tools ##
bitwarden-desktop
inspector
solaar
## Productivity ##
gimp

View file

@ -34,6 +34,7 @@
## Tools ##
bitwarden-desktop
inspector
solaar
## Productivity ##
gimp

View file

@ -37,6 +37,7 @@
bitwarden-desktop
inspector
remmina
solaar
vial # KB setup
## Productivity ##

View file

@ -0,0 +1,18 @@
{ pkgs, inputs, ... }:
{
imports = [
inputs.solaar.nixosModules.default
];
services.solaar = {
enable = true; # Enable the service
package = pkgs.solaar; # The package to use
window = "hide"; # Show the window on startup (show, *hide*, only [window only])
batteryIcons = "symbolic"; # Which battery icons to use (*regular*, symbolic, solaar)
extraArgs = ""; # Extra arguments to pass to solaar on startup
};
environment.systemPackages = with pkgs; [
gnomeExtensions.solaar-extension
];
}

View file

@ -40,6 +40,7 @@ in
"hosts/global/common/gnome.nix"
"hosts/global/common/nvtop.nix" # GPU monitor (not available in home-manager)
"hosts/global/common/plymouth.nix" # fancy boot screen
"hosts/global/common/solaar.nix" # Logitech Unifying Receiver support
])
];

View file

@ -40,6 +40,7 @@ in
"hosts/global/common/gnome.nix"
"hosts/global/common/nvtop.nix" # GPU monitor (not available in home-manager)
"hosts/global/common/plymouth.nix" # fancy boot screen
"hosts/global/common/solaar.nix" # Logitech Unifying Receiver support
])
];

View file

@ -42,6 +42,7 @@ in
"hosts/global/common/libvirt.nix" # vm tools
"hosts/global/common/nvtop.nix" # GPU monitor (not available in home-manager)
"hosts/global/common/plymouth.nix" # fancy boot screen
"hosts/global/common/solaar.nix" # Logitech Unifying Receiver support
"hosts/global/common/vial.nix" # KB setup
])
];