flatpak.nix aktualisiert

This commit is contained in:
fnord 2025-05-07 04:03:08 +02:00
parent 3923207d50
commit cdc7714604

View file

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