Disable hibernate on rotterdam
This commit is contained in:
parent
6a705bff3e
commit
f59a117ea1
1 changed files with 16 additions and 12 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue