diff --git a/modules/misc/tv-on-off.nix b/modules/misc/tv-on-off.nix index 81281f0..186dbd4 100644 --- a/modules/misc/tv-on-off.nix +++ b/modules/misc/tv-on-off.nix @@ -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 diff --git a/systems/dell/configuration.nix b/systems/dell/configuration.nix index 925c555..c3cf897 100644 --- a/systems/dell/configuration.nix +++ b/systems/dell/configuration.nix @@ -60,6 +60,7 @@ "rd.systemd.show_status=auto" ]; }; + networking.firewall.allowedTCPPorts = [ 3389 ]; # Allow RDP mainUser.layout = "de"; mainUser.variant = ""; diff --git a/systems/dell/modules/battery.nix b/systems/dell/modules/battery.nix index 8efe15c..143bcfb 100644 --- a/systems/dell/modules/battery.nix +++ b/systems/dell/modules/battery.nix @@ -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;