dell
This commit is contained in:
@@ -24,6 +24,7 @@ in
|
||||
];
|
||||
# after suspend, do `cec-ctl -A | grep cec0 | wc -l`, if >0, do `cec-ctl --standby --to TV`
|
||||
# similar on wakeup, if present send `cec-ctl --user-control-pressed ui-cmd=power-on-function --to TV`
|
||||
# doesn't work on dell for some reason (KDE)
|
||||
environment.etc."systemd/system-sleep/sleep-turn-tv-off-on.sh".source =
|
||||
pkgs.writeShellScript "post-sleep-turn-tv-off.sh" ''
|
||||
case $1/$2 in
|
||||
|
||||
@@ -60,6 +60,7 @@
|
||||
"rd.systemd.show_status=auto"
|
||||
];
|
||||
};
|
||||
networking.firewall.allowedTCPPorts = [ 3389 ]; # Allow RDP
|
||||
|
||||
mainUser.layout = "de";
|
||||
mainUser.variant = "";
|
||||
|
||||
@@ -13,7 +13,7 @@
|
||||
|
||||
# Enable TLP (better than gnomes internal power manager)
|
||||
services.tlp = {
|
||||
enable = true;
|
||||
enable = false;
|
||||
settings = {
|
||||
CPU_SCALING_GOVERNOR_ON_AC = "performance";
|
||||
CPU_SCALING_GOVERNOR_ON_BAT = "powersave";
|
||||
@@ -42,7 +42,7 @@
|
||||
|
||||
# Disable GNOMEs power management
|
||||
# 5.5 idle with ff open
|
||||
services.power-profiles-daemon.enable = false;
|
||||
services.power-profiles-daemon.enable = true;
|
||||
|
||||
# Enable powertop
|
||||
#powerManagement.powertop.enable = true;
|
||||
|
||||
Reference in New Issue
Block a user