From f0611e647898312e3adf1b8f18429a7b2ea6ce5f Mon Sep 17 00:00:00 2001 From: Tyler Kelley Date: Thu, 8 Feb 2024 02:20:44 -0600 Subject: [PATCH] Added Logitech Device Support & testing wezterm out --- config/home/packages.nix | 4 +++- config/system/default.nix | 1 + config/system/logitech.nix | 7 +++++++ options.nix | 1 + 4 files changed, 12 insertions(+), 1 deletion(-) create mode 100644 config/system/logitech.nix diff --git a/config/home/packages.nix b/config/home/packages.nix index 7a1e006..8ee7a44 100644 --- a/config/home/packages.nix +++ b/config/home/packages.nix @@ -10,7 +10,7 @@ in { swaynotificationcenter rofi-wayland imv transmission-gtk mpv gimp obs-studio blender-hip godot_4 rustup audacity font-awesome spotify swayidle neovide pavucontrol - element-desktop swaylock + element-desktop swaylock wezterm (nerdfonts.override { fonts = [ "JetBrainsMono" ]; }) # Import Scripts (import ./../scripts/emopicker9000.nix { inherit pkgs; }) @@ -25,4 +25,6 @@ in { (import ./../scripts/rofi-launcher.nix { inherit pkgs; }) (import ./../scripts/screenshootin.nix { inherit pkgs; }) ]; + + programs.gh.enable = true; } diff --git a/config/system/default.nix b/config/system/default.nix index 5e6a50a..e23afdb 100644 --- a/config/system/default.nix +++ b/config/system/default.nix @@ -12,6 +12,7 @@ ./intel-amd.nix ./intel-gpu.nix ./intel-nvidia.nix + ./logitech.nix ./neovim.nix ./nfs.nix ./ntp.nix diff --git a/config/system/logitech.nix b/config/system/logitech.nix new file mode 100644 index 0000000..14157a9 --- /dev/null +++ b/config/system/logitech.nix @@ -0,0 +1,7 @@ +{ pkgs, config, lib, ... }: + +let inherit (import ../../options.nix) logitech; in +lib.mkIf (logitech == true) { + hardware.logitech.wireless.enable = true; + hardware.logitech.wireless.enableGraphical = true; +} diff --git a/options.nix b/options.nix index b4685ca..c714dce 100644 --- a/options.nix +++ b/options.nix @@ -38,5 +38,6 @@ in { flatpak = false; kdenlive = true; blender = true; + logitech = true; }