added solaar and logitech support

This commit is contained in:
kenji
2025-07-08 22:39:11 -05:00
parent 4015222d6a
commit a534ad610f
5 changed files with 41 additions and 35 deletions
+1
View File
@@ -39,6 +39,7 @@
nixpkgs.config.allowUnfree = myConfig.general.allowUnfree;
hardware.logitech.wireless.enable = true;
hardware.graphics = {
enable = true;
enable32Bit = true;
+9 -7
View File
@@ -1,18 +1,20 @@
{
imports = [
imports =
[
../../packages/fonts/home.nix
../../packages/firefox/home.nix
../../packages/hyprland/home.nix
../../packages/hyprlock/home.nix
../../packages/hypridle/home.nix
../../packages/hyprsunset/home.nix
../../packages/rofi/home.nix
# ../../packages/quickshell/home.nix
../../packages/mangohud/home.nix
../../packages/matugen/home.nix
../../packages/rofi/home.nix
]
++ [
../../packages/solaar/home.nix
]
++ [
../../packages/mangohud/home.nix
];
}
+17
View File
@@ -0,0 +1,17 @@
{
config,
pkgs,
myConfig,
...
}: {
wayland.windowManager.hyprland.settings = {
exec-once = [
"[workspace 20 silent] kitty --single-instance --hold fastfetch"
"[workspace 20 silent] firefox"
"[workspace 1] kitty --single-instance --hold fastfetch"
"matugen image /home/${myConfig.essentials.Username}/Pictures/Wallpapers/ultrawide-nixos-default.png"
"hyprctl setcursor Bibata-Original-Classic 24"
"solaar -w hide"
];
};
}
-20
View File
@@ -16,29 +16,9 @@
"$mod" = "SUPER";
"$term" = "kitty --single-instance";
"$browser" = "firefox";
# "$bar" = "qs -c caelestia";
"$wsaction" = "fish -c ./scripts/wsaction.fish";
monitor = myConfig.nixos.Hyprland.monitors;
exec = [
"hyprctl dispatch submap global"
];
submap = [
"global"
];
exec-once = [
"[workspace 20 silent] kitty --single-insance --hold fastfetch"
"[workspace 20 silent] firefox"
"[workspace 1] kitty --single-instance --hold fastfetch"
# If $bar is uncommented here, make sure it's defined either here or in another imported file
# "$bar"
"matugen image /home/${myConfig.essentials.Username}/.config/nixos/assets/wallpapers/ultrawide-nixos-default.png"
"hyprctl setcursor Bibata-Original-Classic 24"
"solaar -w hide"
];
general = {
gaps_in = 2;
gaps_out = 5;
+6
View File
@@ -0,0 +1,6 @@
{pkgs, ...}: {
# home.packages = with pkgs; [
# solaar
# ];
services.solaar.enable = true;
}