diff --git a/.forgejo/workflows/update-flake-lock.yml b/.forgejo/workflows/update-flake-lock.yml index 1d7f5c7b..4327a3b1 100644 --- a/.forgejo/workflows/update-flake-lock.yml +++ b/.forgejo/workflows/update-flake-lock.yml @@ -44,7 +44,12 @@ jobs: nix --extra-experimental-features "nix-command flakes" flake update echo "Git Diff:" git diff - - name: "Commit and Upload" + - name: "Nix Flake Check" + run: | + echo "Running Nix Flake Check" + cd /workspace/albert/nix + nix --extra-experimental-features "nix-command flakes" flake check + - if: success() run: | git commit -am "[ACTIONS] Flake Update (`date +%Y-%m-%d`)" git push diff --git a/nixos/common/desktops/plasma6/default.nix b/nixos/common/desktops/plasma6/default.nix index dc3875ad..9fc17856 100644 --- a/nixos/common/desktops/plasma6/default.nix +++ b/nixos/common/desktops/plasma6/default.nix @@ -52,9 +52,9 @@ systemctl --user start get-theme-times.service fi echo "Getting dates:" - SUNRISE=`cat /tmp/wttr.sunrise | date +%s` + SUNRISE=`date $(cat /tmp/wttr.sunset) +%s` echo "Sunrise: $SUNRISE" - SUNSET=`cat /tmp/wttr.sunset | date +%s` + SUNSET=`date $(cat /tmp/wttr.sunset) +%s` echo "Sunset: $SUNSET" CURRENT=`date +%s` echo "Current: $CURRENT"