24 lines
769 B
Nix
24 lines
769 B
Nix
{ config, pkgs, secret, ... }:
|
|
|
|
{
|
|
imports = [
|
|
./hardware-configuration.nix
|
|
./jellyfin.nix
|
|
./traefik.nix
|
|
./firewall.nix
|
|
];
|
|
networking.hostName = "reine";
|
|
services.yggdrasil.settings.PrivateKey = secret.yggdrasil.PrivateKey;
|
|
services.yggdrasil.persistentKeys = false;
|
|
hardware.amdgpu.opencl.enable = true;
|
|
hardware.graphics.extraPackages = with pkgs; [ rocmPackages.clr.icd ];
|
|
systemd.tmpfiles.rules = [
|
|
"L+ /opt/rocm/hip - - - - ${pkgs.rocmPackages.clr}"
|
|
];
|
|
hardware.graphics.enable = true;
|
|
hardware.graphics.enable32Bit = true;
|
|
hardware.amdgpu.overdrive.enable = true;
|
|
hardware.amdgpu.overdrive.ppfeaturemask = "0xffffffff";
|
|
environment.systemPackages = with pkgs; [ clinfo mesa.opencl ];
|
|
system.stateVersion = "25.05";
|
|
}
|