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, ...}:
{
services.flatpak.enable = true;
services.flatpak.update.auto.enable = true;
services.flatpak.uninstallUnmanaged = false;
# Add here the flatpaks you want to install
services.flatpak.packages = [
"com.prusa3d.PrusaSlicer"
];
systemd.services.flatpak-repo = {
wantedBy = ["multi-user.target"];
path = [pkgs.flatpak];
script = ''
flatpak remote-add --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo
'';
};
}