home: Add openrazer back

This commit is contained in:
Natsu Kagami 2024-11-30 17:25:34 +01:00
parent 0e3cf36457
commit 07368dce7e
Signed by: nki
GPG key ID: 55A032EB38B49ADB
3 changed files with 12 additions and 32 deletions

View file

@ -5,6 +5,16 @@
{ lib, config, pkgs, ... }:
with lib;
let
openrazer = { pkgs, ... }: {
# Razer stuff
hardware.openrazer = {
enable = true;
users = [ "nki" ];
};
environment.systemPackages = with pkgs; [ polychromatic ];
};
in
{
imports =
[
@ -17,6 +27,7 @@ with lib;
# Other services
../modules/personal/u2f.nix
./peertube-runner.nix
openrazer
];
# Kernel
@ -181,5 +192,6 @@ with lib;
passwordFile = config.sops.secrets."scrobble/listenbrainz".path;
};
};
}