refactor
This commit is contained in:
parent
05f6c9cba2
commit
5b2ee8ad66
6 changed files with 244 additions and 135 deletions
29
nixos/hosts/thalassa/aoife/hardware.nix
Normal file
29
nixos/hosts/thalassa/aoife/hardware.nix
Normal file
|
@ -0,0 +1,29 @@
|
|||
{ pkgs, ... }: {
|
||||
hardware.enableAllFirmware = true;
|
||||
|
||||
hardware.bluetooth.enable = true;
|
||||
|
||||
services.hardware.bolt.enable = true;
|
||||
|
||||
# Vulkan
|
||||
hardware.opengl.driSupport = true;
|
||||
hardware.opengl.extraPackages = with pkgs; [
|
||||
amdvlk
|
||||
rocm-opencl-icd
|
||||
rocm-opencl-runtime
|
||||
];
|
||||
systemd.tmpfiles.rules =
|
||||
[ "L+ /opt/rocm/hip - - - - ${pkgs.hip}" ];
|
||||
|
||||
# SSD Trim
|
||||
services.fstrim.enable = true;
|
||||
|
||||
# Power Management
|
||||
services.upower.enable = true;
|
||||
services.thermald.enable = true;
|
||||
|
||||
powerManagement = {
|
||||
enable = true;
|
||||
powertop.enable = true;
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue