From 5d0721716f19b1c412fd6c3f3b7d5f8ce71614af Mon Sep 17 00:00:00 2001 From: Andre Date: Tue, 4 Jun 2024 10:24:22 -0400 Subject: [PATCH] Configure Flatpak to update on nixos-rebuild --- flake.lock | 8 ++++---- modules/ui/flatpak.nix | 7 ++----- 2 files changed, 6 insertions(+), 9 deletions(-) diff --git a/flake.lock b/flake.lock index 5246152..71c94c8 100644 --- a/flake.lock +++ b/flake.lock @@ -150,11 +150,11 @@ ] }, "locked": { - "lastModified": 1717316182, - "narHash": "sha256-Xi0EpZcu39N0eW7apLjFfUOR9y80toyjYizez7J1wMI=", + "lastModified": 1717483170, + "narHash": "sha256-Xr/oYk3vmyv2a/nY8o/Wd0MdLsI5vaC38Kris7CWunM=", "owner": "nix-community", "repo": "home-manager", - "rev": "9b53a10f4c91892f5af87cf55d08fba59ca086af", + "rev": "2cacdd6a27477f1fa46b7026dd806de30f164d3b", "type": "github" }, "original": { @@ -251,7 +251,7 @@ "locked": { "lastModified": 1717092160, "narHash": "sha256-dype0zRMyP94Uo8YC1vWQ6lkvXLYMep6+Xo7AW4K9cs=", - "ref": "42ddf14d36d9fab1eb070f51fdf1991d1a21dde9", + "ref": "refs/heads/main", "rev": "42ddf14d36d9fab1eb070f51fdf1991d1a21dde9", "revCount": 42, "type": "git", diff --git a/modules/ui/flatpak.nix b/modules/ui/flatpak.nix index 3dac0cd..3bae906 100644 --- a/modules/ui/flatpak.nix +++ b/modules/ui/flatpak.nix @@ -24,11 +24,8 @@ with lib; # Manage all Flatpak packages and remotes uninstallUnmanaged = true; - # Enable daily automatic updates - update.auto = { - enable = true; - onCalendar = "daily"; - }; + # Enable automatic updates alongside nixos-rebuild + update.onActivation = true; # Add remote(s) remotes = [