add laptop graphics configurations
This commit is contained in:
parent
767f5612c7
commit
324e60a5f0
2 changed files with 21 additions and 0 deletions
|
@ -3,6 +3,7 @@
|
|||
{
|
||||
imports = [
|
||||
./hardware-configuration.nix
|
||||
./modules/graphics.nix
|
||||
../../modules/nixos/audio.nix
|
||||
../../modules/nixos/devenv.nix
|
||||
../../modules/nixos/gnome.nix
|
||||
|
|
20
hosts/laptop/modules/graphics.nix
Normal file
20
hosts/laptop/modules/graphics.nix
Normal file
|
@ -0,0 +1,20 @@
|
|||
{ pkgs, ... }:
|
||||
|
||||
{
|
||||
hardware.graphics = {
|
||||
enable = true;
|
||||
enable32Bit = true;
|
||||
};
|
||||
|
||||
hardware.graphics.extraPackages = with pkgs; [
|
||||
rocmPackages.clr.icd
|
||||
];
|
||||
hardware.opengl.extraPackages = with pkgs; [
|
||||
amdvlk
|
||||
];
|
||||
|
||||
# https://github.com/ilya-zlobintsev/LACT
|
||||
environment.systemPackages = with pkgs; [ lact ];
|
||||
systemd.packages = with pkgs; [ lact ];
|
||||
systemd.services.lactd.wantedBy = [ "multi-user.target" ];
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue