nix-config/hosts/desktops/rotterdam.nix

47 lines
964 B
Nix

{ specialArgs, inputs, config, pkgs, lib, ... }:
{
imports = [
# Host-common imports
../common
# Desktop-common imports
./common
# Host-specific imports
./rotterdam
];
networking.hostName = "rotterdam";
nix.nixPath = [ "nixos-config=${./rotterdam.nix}" ];
boot.kernelParams = [
"processor.max_cstate=1" # Fixes bug where ryzen cpus freeze when in highest C state
];
services.hardware.openrgb.enable = true;
environment.systemPackages = with pkgs; [
yuzu-ea
];
programs.corectrl.enable = true;
users.users.user.extraGroups = [
"corectrl"
];
environment.sessionVariables = rec {
KWIN_DRM_NO_AMS = "1"; # RDNA2 colour/gamma modesetting bug workaround for kwin wayland
};
network.firewall = {
allowedTCPPorts =[
27036 # Steam remote play
27037 # Steam remote play
];
allowedUDPPorts =[
27031 # Steam remote play
27036 # Steam remote play
];
};
}