From f3b90e759faefc64119c1df572ad92c3303924f3 Mon Sep 17 00:00:00 2001 From: Nick Date: Sat, 1 Mar 2025 15:52:10 -0600 Subject: [PATCH] feat: added razer packages --- modules/home/default.nix | 21 ++++++++++--------- .../gui/apps/tools/polychromatic/default.nix | 11 ++++++++++ modules/nixos/hardware/razer/default.nix | 3 +++ 3 files changed, 25 insertions(+), 10 deletions(-) create mode 100755 modules/home/gui/apps/tools/polychromatic/default.nix create mode 100755 modules/nixos/hardware/razer/default.nix diff --git a/modules/home/default.nix b/modules/home/default.nix index b8e33e2..1da00fa 100755 --- a/modules/home/default.nix +++ b/modules/home/default.nix @@ -7,16 +7,16 @@ in flake.homeModules = let inherit (config.machines.devices) - callisto - jupiter - saturn - ganymede + charon + mars + venus + deimos ceres ; inherit (config.people) user0 user1 user2; in { - "${jupiter.name}-${user0}" = { + "${mars.name}-${user0}" = { imports = builtins.attrValues { inherit (modules) cli @@ -52,10 +52,11 @@ in hypr wayland theming + polychromatic ; }; }; - "${jupiter.name}-${user1}" = { + "${mars.name}-${user1}" = { imports = builtins.attrValues { inherit (modules) cli @@ -76,7 +77,7 @@ in ; }; }; - "${saturn.name}-${user2}" = { + "${venus.name}-${user2}" = { imports = builtins.attrValues { inherit (modules) cli @@ -106,7 +107,7 @@ in ; }; }; - "${ganymede.name}-${user0}" = { + "${deimos.name}-${user0}" = { imports = builtins.attrValues { inherit (modules) cli @@ -123,7 +124,7 @@ in ; }; }; - "${ganymede.name}-${user1}" = { + "${deimos.name}-${user1}" = { imports = builtins.attrValues { inherit (modules) cli @@ -144,7 +145,7 @@ in ; }; }; - "${callisto.name}-${user1}" = { + "${charon.name}-${user1}" = { imports = builtins.attrValues { inherit (modules) cli diff --git a/modules/home/gui/apps/tools/polychromatic/default.nix b/modules/home/gui/apps/tools/polychromatic/default.nix new file mode 100755 index 0000000..cf99617 --- /dev/null +++ b/modules/home/gui/apps/tools/polychromatic/default.nix @@ -0,0 +1,11 @@ +{ + pkgs, + ... +}: +{ + home.packages = builtins.attrValues { + inherit (pkgs) + polychromatic + ; + }; +} diff --git a/modules/nixos/hardware/razer/default.nix b/modules/nixos/hardware/razer/default.nix new file mode 100755 index 0000000..a41b567 --- /dev/null +++ b/modules/nixos/hardware/razer/default.nix @@ -0,0 +1,3 @@ +{ + hardware.openrazer.enable = true; +}