flatpak.nix aktualisiert

Modified flatpak.nix for flake support
This commit is contained in:
fnord 2025-05-07 19:39:48 +02:00
parent 8a5c9775a2
commit 6a2a91e22a

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"
''; ];
};
} }