Update flatpak-management.nix
This commit is contained in:
@@ -14,7 +14,7 @@ let
|
||||
installedFlatpaks=$(${pkgs.flatpak}/bin/flatpak list --app --columns=application)
|
||||
|
||||
# Users can decide what flatpaks they want to install so this is disabled
|
||||
Remove Flatpaks not in the desired list
|
||||
# Remove Flatpaks not in the desired list
|
||||
for installed in $installedFlatpaks; do
|
||||
if ! echo ${lib.concatStringsSep " " desiredFlatpaks} | grep -q "$installed"; then
|
||||
echo "Removing $installed because it's not in the desiredFlatpaks list."
|
||||
|
||||
Reference in New Issue
Block a user