diff --git a/machines/mibook/configuration.nix b/machines/mibook/configuration.nix index c4d33e2..3ac1514 100644 --- a/machines/mibook/configuration.nix +++ b/machines/mibook/configuration.nix @@ -44,6 +44,14 @@ services.openssh.enable = true; + # KDE (PowerDevil) power settings: do nothing on lid close while on AC power. + # Shipped as a system-wide default; KConfig cascades so a user's own + # ~/.config/powerdevilrc will override this if present. + environment.etc."xdg/powerdevilrc".text = '' + [AC][SuspendAndShutdown] + LidAction=0 + ''; + system = { stateVersion = "23.05"; autoUpgrade.enable = true;