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
13
flatpak.nix
13
flatpak.nix
|
@ -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"
|
||||||
'';
|
];
|
||||||
};
|
|
||||||
}
|
}
|
Loading…
Add table
Add a link
Reference in a new issue