flatpak.nix aktualisiert

This commit is contained in:
fnord 2025-05-07 03:11:01 +02:00
parent 72e2205539
commit f5dd8ec5df

View file

@ -1,11 +1,10 @@
{config, libs, pkgs, ...}: {config, libs, pkgs, ...}:
{ {
services.flatpak.enable = true; services.flatpak.enable = true;
systemd.services.flatpak-repo = { services.flatpak.update.auto.enable = true;
wantedBy = ["multi-user.target"]; services.flatpak.uninstallUnmanaged = false;
path = [pkgs.flatpak]; # Add here the flatpaks you want to install
script = '' services.flatpak.packages = [
flatpak remote-add --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo "com.prusa3d.PrusaSlicer"
''; ];
};
} }