Disable hibernate on rotterdam

This commit is contained in:
rotterdam 2023-02-14 11:26:53 -03:00
parent 6a705bff3e
commit f59a117ea1

View file

@ -12,13 +12,27 @@
networking.hostName = "rotterdam";
nix.nixPath = [ "nixos-config=${./rotterdam.nix}" ];
services.hardware.openrgb.enable = true;
programs.corectrl.enable = true;
systemd.targets.hibernate.enable = false; # disable non-functional hibernate
nix.nixPath = [
"nixos-config=${./rotterdam.nix}"
];
users.users.user.extraGroups = [
"corectrl"
];
boot.kernelParams = [
"processor.max_cstate=1" # Fixes bug where ryzen cpus freeze when in highest C state
];
services.hardware.openrgb.enable = true;
environment.sessionVariables = rec {
KWIN_DRM_NO_AMS = "1"; # RDNA2 colour/gamma modesetting bug workaround for kwin wayland
};
environment.systemPackages = with pkgs; [
cemu
@ -29,16 +43,6 @@
emulationstation-de
];
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
};
networking.firewall = {
allowedTCPPorts =[
27036 # Steam remote play