nix: added LOGIOPS

This commit is contained in:
biscuit
2025-06-19 17:06:05 -05:00
parent b3c502fdf3
commit 50813851cb
4 changed files with 16 additions and 8 deletions
+4
View File
@@ -28,6 +28,10 @@
allowUnfree = true; # allows installation of commercial apps. allowUnfree = true; # allows installation of commercial apps.
touchpadSupport = false; touchpadSupport = false;
logitech-hardware = {
enable = false;
};
# Custom Applications # Custom Applications
linux-apps = { linux-apps = {
gamingDesktop = true; # adds steam gamingDesktop = true; # adds steam
+4
View File
@@ -31,6 +31,10 @@
allowUnfree = true; # allows installation of commercial apps. allowUnfree = true; # allows installation of commercial apps.
touchpadSupport = false; touchpadSupport = false;
logitech-hardware = {
enable = true;
};
# Custom Applications # Custom Applications
linux-apps = { linux-apps = {
gamingDesktop = true; # adds steam gamingDesktop = true; # adds steam
+3 -5
View File
@@ -10,17 +10,15 @@
"$mod" = "SUPER"; "$mod" = "SUPER";
"$term" = "kitty --single-instance"; "$term" = "kitty --single-instance";
"$browser" = "firefox"; "$browser" = "firefox";
"$bar" = "ags run";
monitor = hyprconf.monitor; monitor = hyprconf.monitor;
exec = [ exec-once = [
"$bar"
"[workspace 20 silent] kitty --single-insance --hold fastfetch" "[workspace 20 silent] kitty --single-insance --hold fastfetch"
"[workspace 20 silent] firefox" "[workspace 20 silent] firefox"
"[workspace 1] kitty --single-instance --hold fastfetch" "[workspace 1] kitty --single-instance --hold fastfetch"
# FIXME no abs! "pkill gjs & ags run"
"swww img /home/${username}/.config/nixos/assets/wallpapers/ascii-nixos.png" # "matugen image /home/${username}/.config/nixos/assets/wallpapers/ultrawide-nixos-default.png"
"hyprctl setcursor Bibata-Original-Classic 24" "hyprctl setcursor Bibata-Original-Classic 24"
]; ];
+5 -3
View File
@@ -4,6 +4,7 @@
timezone, timezone,
touchpadSupport, touchpadSupport,
inputs, inputs,
logitech-hardware,
... ...
}: { }: {
environment.systemPackages = with pkgs; environment.systemPackages = with pkgs;
@@ -32,17 +33,18 @@
tldr tldr
jq jq
solaar
] ]
++ [ ++ [
inputs.matugen.packages.${pkgs.system}.default inputs.matugen.packages.${pkgs.system}.default
]
++ lib.optionals (logitech-hardware.enable == true) [
logiops
]; ];
boot.loader.systemd-boot.enable = true; boot.loader.systemd-boot.enable = true;
boot.loader.efi.canTouchEfiVariables = true; boot.loader.efi.canTouchEfiVariables = true;
hardware = { hardware = {
logitech.wireless.enable = true; logitech.wireless.enable = logitech-hardware.enable;
bluetooth = { bluetooth = {
enable = true; enable = true;
powerOnBoot = true; powerOnBoot = true;