diff --git a/curacao/desk/desk_mqtt.py b/curacao/desk/desk_mqtt.py index 7d836f4..44c4002 100755 --- a/curacao/desk/desk_mqtt.py +++ b/curacao/desk/desk_mqtt.py @@ -145,6 +145,9 @@ class Desk: delta_s = now - self.last_est if delta_s > self.MAX_EST_INTERVAL: + # Attempt at fixing the issue of + # the service not working after the night + self._initialize() self.log.warning( "Too long without getting a report, " "assuming the desk might be anywhere now." @@ -262,7 +265,7 @@ class Desk: if __name__ == "__main__": - logging.basicConfig(level=logging.INFO) + logging.basicConfig(level=logging.DEBUG) log = logging.getLogger(__name__) desk = Desk() diff --git a/hm/password/default.nix b/hm/password/default.nix index a5cc8de..4d2c63a 100644 --- a/hm/password/default.nix +++ b/hm/password/default.nix @@ -62,7 +62,7 @@ in description = "Path to the password store entry"; }; selector = lib.mkOption { - type = lib.types.str; + type = lib.types.nullOr lib.types.str; default = null; description = "If set, will parse the password metadata as YML and use selector (yq) instead of the password."; }; diff --git a/os/desktop/default.nix b/os/desktop/default.nix index 469f1c9..c873a55 100644 --- a/os/desktop/default.nix +++ b/os/desktop/default.nix @@ -23,7 +23,7 @@ actions.update-props = { "session.suspend-timeout-seconds" = 0; "dither.method" = "wannamaker3"; - "dither.noise" = 2; + "dither.noise" = 4; }; } ];