added solaar and logitech support
This commit is contained in:
@@ -39,6 +39,7 @@
|
|||||||
|
|
||||||
nixpkgs.config.allowUnfree = myConfig.general.allowUnfree;
|
nixpkgs.config.allowUnfree = myConfig.general.allowUnfree;
|
||||||
|
|
||||||
|
hardware.logitech.wireless.enable = true;
|
||||||
hardware.graphics = {
|
hardware.graphics = {
|
||||||
enable = true;
|
enable = true;
|
||||||
enable32Bit = true;
|
enable32Bit = true;
|
||||||
|
|||||||
+17
-15
@@ -1,18 +1,20 @@
|
|||||||
{
|
{
|
||||||
imports = [
|
imports =
|
||||||
../../packages/fonts/home.nix
|
[
|
||||||
|
../../packages/fonts/home.nix
|
||||||
|
../../packages/firefox/home.nix
|
||||||
|
|
||||||
../../packages/firefox/home.nix
|
../../packages/hyprland/home.nix
|
||||||
|
../../packages/hyprlock/home.nix
|
||||||
../../packages/hyprland/home.nix
|
../../packages/hypridle/home.nix
|
||||||
../../packages/hyprlock/home.nix
|
../../packages/hyprsunset/home.nix
|
||||||
../../packages/hypridle/home.nix
|
../../packages/matugen/home.nix
|
||||||
../../packages/hyprsunset/home.nix
|
../../packages/rofi/home.nix
|
||||||
../../packages/rofi/home.nix
|
]
|
||||||
# ../../packages/quickshell/home.nix
|
++ [
|
||||||
|
../../packages/solaar/home.nix
|
||||||
../../packages/mangohud/home.nix
|
]
|
||||||
|
++ [
|
||||||
../../packages/matugen/home.nix
|
../../packages/mangohud/home.nix
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -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"
|
||||||
|
];
|
||||||
|
};
|
||||||
|
}
|
||||||
|
|||||||
@@ -16,29 +16,9 @@
|
|||||||
"$mod" = "SUPER";
|
"$mod" = "SUPER";
|
||||||
"$term" = "kitty --single-instance";
|
"$term" = "kitty --single-instance";
|
||||||
"$browser" = "firefox";
|
"$browser" = "firefox";
|
||||||
# "$bar" = "qs -c caelestia";
|
|
||||||
"$wsaction" = "fish -c ./scripts/wsaction.fish";
|
"$wsaction" = "fish -c ./scripts/wsaction.fish";
|
||||||
|
|
||||||
monitor = myConfig.nixos.Hyprland.monitors;
|
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 = {
|
general = {
|
||||||
gaps_in = 2;
|
gaps_in = 2;
|
||||||
gaps_out = 5;
|
gaps_out = 5;
|
||||||
|
|||||||
@@ -0,0 +1,6 @@
|
|||||||
|
{pkgs, ...}: {
|
||||||
|
# home.packages = with pkgs; [
|
||||||
|
# solaar
|
||||||
|
# ];
|
||||||
|
services.solaar.enable = true;
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user