Flatpak: Difference between revisions
→nix-flatpak: feat: external documentation link |
→Per-User: move GUI |
||
Line 9: | Line 9: | ||
{{file|3=services.flatpak.enable = true;|name=/etc/nixos/configuration.nix|lang=nix}} | {{file|3=services.flatpak.enable = true;|name=/etc/nixos/configuration.nix|lang=nix}} | ||
=== Per-User === | === Per-User === | ||
If you'd rather make Flatpak available to a specific user, add <code>flatpak</code> to that user's packages | If you'd rather make Flatpak available to a specific user, add <code>flatpak</code> to that user's packages | ||
{{file|3=users.users."user" = { | {{file|3=users.users."user" = { | ||
packages = with pkgs; [ | packages = with pkgs; [ | ||
flatpak | flatpak | ||
]; | ]; | ||
};|name=/etc/nixos/configuration.nix|lang=nix}} | };|name=/etc/nixos/configuration.nix|lang=nix}} | ||
Line 57: | Line 56: | ||
$ flatpak install flathub com.github.tchx84.Flatseal | $ flatpak install flathub com.github.tchx84.Flatseal | ||
$ flatpak run com.github.tchx84.Flatseal</syntaxhighlight> | $ flatpak run com.github.tchx84.Flatseal</syntaxhighlight> | ||
==== Graphical User Interface ==== | |||
To install Flatpaks graphically, you can use [https://apps.gnome.org/en-GB/Software/ the GNOME Software Application] ([https://search.nixos.org/packages?channel=unstable&show=gnome-software&type=packages <code>gnome-software</code> in nixpkgs]) | |||
==== Configure Repositories Globally ==== | ==== Configure Repositories Globally ==== |