flatpak.nix aktualisiert
Modified flatpak.nix for flake support
This commit is contained in:
parent
8a5c9775a2
commit
6a2a91e22a
1 changed files with 7 additions and 8 deletions
15
flatpak.nix
15
flatpak.nix
|
@ -1,11 +1,10 @@
|
|||
{config, libs, pkgs, ...}:
|
||||
{
|
||||
services.flatpak.enable = true;
|
||||
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
|
||||
'';
|
||||
};
|
||||
}
|
||||
services.flatpak.update.auto.enable = true;
|
||||
services.flatpak.uninstallUnmanaged = false;
|
||||
# Add here the flatpaks you want to install
|
||||
services.flatpak.packages = [
|
||||
"com.prusa3d.PrusaSlicer"
|
||||
];
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue