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`
|
# 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`
|
# 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 =
|
environment.etc."systemd/system-sleep/sleep-turn-tv-off-on.sh".source =
|
||||||
pkgs.writeShellScript "post-sleep-turn-tv-off.sh" ''
|
pkgs.writeShellScript "post-sleep-turn-tv-off.sh" ''
|
||||||
case $1/$2 in
|
case $1/$2 in
|
||||||
|
|||||||
@@ -60,6 +60,7 @@
|
|||||||
"rd.systemd.show_status=auto"
|
"rd.systemd.show_status=auto"
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
networking.firewall.allowedTCPPorts = [ 3389 ]; # Allow RDP
|
||||||
|
|
||||||
mainUser.layout = "de";
|
mainUser.layout = "de";
|
||||||
mainUser.variant = "";
|
mainUser.variant = "";
|
||||||
|
|||||||
@@ -13,7 +13,7 @@
|
|||||||
|
|
||||||
# Enable TLP (better than gnomes internal power manager)
|
# Enable TLP (better than gnomes internal power manager)
|
||||||
services.tlp = {
|
services.tlp = {
|
||||||
enable = true;
|
enable = false;
|
||||||
settings = {
|
settings = {
|
||||||
CPU_SCALING_GOVERNOR_ON_AC = "performance";
|
CPU_SCALING_GOVERNOR_ON_AC = "performance";
|
||||||
CPU_SCALING_GOVERNOR_ON_BAT = "powersave";
|
CPU_SCALING_GOVERNOR_ON_BAT = "powersave";
|
||||||
@@ -42,7 +42,7 @@
|
|||||||
|
|
||||||
# Disable GNOMEs power management
|
# Disable GNOMEs power management
|
||||||
# 5.5 idle with ff open
|
# 5.5 idle with ff open
|
||||||
services.power-profiles-daemon.enable = false;
|
services.power-profiles-daemon.enable = true;
|
||||||
|
|
||||||
# Enable powertop
|
# Enable powertop
|
||||||
#powerManagement.powertop.enable = true;
|
#powerManagement.powertop.enable = true;
|
||||||
|
|||||||
Reference in New Issue
Block a user