diff --git a/hosts/snowhawk/configuration.nix b/hosts/snowhawk/configuration.nix index 2c5216d..e4ed7ea 100644 --- a/hosts/snowhawk/configuration.nix +++ b/hosts/snowhawk/configuration.nix @@ -74,6 +74,18 @@ useGlobalPkgs = true; }; + services.flatpak.enable = true; + xdg.portal.enable = true; + xdg.portal.config.common.default = "*"; + xdg.portal.extraPortals = with pkgs; [ xdg-desktop-portal-gtk ]; + 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 + ''; + }; + environment.systemPackages = with pkgs; [ neovim curl