Add openrgb and openrazer to desktop
This commit is contained in:
parent
d19085b0a6
commit
cbc16e7f07
2 changed files with 11 additions and 0 deletions
7
nixos/common/services/openrazer.nix
Normal file
7
nixos/common/services/openrazer.nix
Normal file
|
@ -0,0 +1,7 @@
|
||||||
|
{ pkgs, username, ... }: {
|
||||||
|
hardware.openrazer = {
|
||||||
|
enable = true;
|
||||||
|
users = [ "${username}" ];
|
||||||
|
devicesOffOnScreensaver = true;
|
||||||
|
};
|
||||||
|
}
|
|
@ -3,6 +3,7 @@
|
||||||
./disks.nix
|
./disks.nix
|
||||||
../../common/modules/secureboot.nix
|
../../common/modules/secureboot.nix
|
||||||
../../common/modules/ssh-luks.nix
|
../../common/modules/ssh-luks.nix
|
||||||
|
../../common/services/openrazer.nix
|
||||||
];
|
];
|
||||||
# steam, nvidia-x11, etc
|
# steam, nvidia-x11, etc
|
||||||
nixpkgs.config.allowUnfree = true;
|
nixpkgs.config.allowUnfree = true;
|
||||||
|
@ -52,5 +53,8 @@
|
||||||
pkgs.wineWowPackages.stable
|
pkgs.wineWowPackages.stable
|
||||||
pkgs.winetricks
|
pkgs.winetricks
|
||||||
pkgs.wineWowPackages.waylandFull
|
pkgs.wineWowPackages.waylandFull
|
||||||
|
|
||||||
|
# RGB stuff
|
||||||
|
pkgs.openrgb-with-all-plugins
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue