To install Flatpak, set NixOS option services.flatpak.enable to true by putting the following into your /etc/nixos/configuration.nix:
services.flatpak.enable = true;Then, rebuild and switch to the new configuration with:
sudo nixos-rebuild switchFor more details see the NixOS documentation.
Flathub is de beste plek om Flatpak-apps te downloaden. Voer het volgende uit om het in te schakelen:
flatpak remote-add --if-not-exists flathub https://dl.flathub.org/repo/flathub.flatpakrepoStart uw systeem opnieuw op om de installatie te voltooien. Nu hoeft u alleen nog maar apps te installeren!