Add Solaar support for Logitech Unifying Receiver across configurations
This commit is contained in:
parent
c942130d46
commit
0664180bfa
9 changed files with 30 additions and 0 deletions
|
@ -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";
|
||||
|
|
|
@ -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 [
|
||||
|
|
|
@ -40,6 +40,7 @@
|
|||
## Tools ##
|
||||
bitwarden-desktop
|
||||
inspector
|
||||
solaar
|
||||
|
||||
## Productivity ##
|
||||
gimp
|
||||
|
|
|
@ -34,6 +34,7 @@
|
|||
## Tools ##
|
||||
bitwarden-desktop
|
||||
inspector
|
||||
solaar
|
||||
|
||||
## Productivity ##
|
||||
gimp
|
||||
|
|
|
@ -37,6 +37,7 @@
|
|||
bitwarden-desktop
|
||||
inspector
|
||||
remmina
|
||||
solaar
|
||||
vial # KB setup
|
||||
|
||||
## Productivity ##
|
||||
|
|
18
hosts/global/common/solaar.nix
Normal file
18
hosts/global/common/solaar.nix
Normal 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
|
||||
];
|
||||
}
|
|
@ -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
|
||||
])
|
||||
];
|
||||
|
||||
|
|
|
@ -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
|
||||
])
|
||||
];
|
||||
|
||||
|
|
|
@ -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
|
||||
])
|
||||
];
|
||||
|
|
Loading…
Add table
Reference in a new issue