diff --git a/nixos-configurations/server/default.nix b/nixos-configurations/server/default.nix index d2ae0a1..2eae443 100644 --- a/nixos-configurations/server/default.nix +++ b/nixos-configurations/server/default.nix @@ -476,7 +476,7 @@ pkgs.postgresql_15 ]; script = '' - psql -d todos -c "UPDATE user_todo SET is_overdue = true WHERE due_date::date < CURRENT_DATE AND is_completed = false AND is_overdue = false" + psql -d todos -c "UPDATE user_todo SET is_overdue = true WHERE extract(epoch from CURRENT_DATE) > extract(epoch from due_date) AND is_completed = false AND is_overdue = false" ''; serviceConfig = { User = "postgres"; diff --git a/nixos-configurations/shared-desktop.nix b/nixos-configurations/shared-desktop.nix index c0daeff..32d921a 100644 --- a/nixos-configurations/shared-desktop.nix +++ b/nixos-configurations/shared-desktop.nix @@ -46,14 +46,6 @@ }; vscode = { enable = true; - package = (pkgs.vscode.override { isInsiders = true; }).overrideAttrs (oldAttrs: rec { - src = (builtins.fetchTarball { - url = "https://code.visualstudio.com/sha/download?build=insider&os=linux-x64"; - sha256 = "1pqdrkc29y9sxf0nkwrrvvw9va06s4b6s8vfdmfrawl8is3f9bfg"; - }); - version = "latest"; - buildInputs = oldAttrs.buildInputs ++ [ pkgs.krb5 ]; - }); extensions = with pkgs.vscode-extensions; [ svelte.svelte-vscode jnoortheen.nix-ide @@ -65,7 +57,7 @@ userSettings = { "nix.enableLanguageServer" = true; "nix.serverPath" = "nil"; - "window.titleBarStyle" = "custom"; + "window.titleBarStyle" = "native"; }; }; git = {