You can easily add them by following the instructions on their site.

On immutable fedora it can be done via

curl -o - https://repository.mullvad.net/rpm/stable/mullvad.repo | sudo tee /etc/yum.repos.d/mullvad.repo

rpm-ostree uninstall mullvad-vpn --install mullvad-vpn

# after reboot, if not working
sudo systemctl start mullvad-daemon
    • NateNate60@lemmy.world
      link
      fedilink
      arrow-up
      9
      ·
      2 years ago

      Is Flatpak, from a technical standpoint, capable of running VPN applications?

      Providing .ovpn configuration files would be equally cross-distro, and in fact, would be cross-platform since almost every operating system supports importing OpenVPN configurations or supports a piece of software that does.

      • dauerstaender@feddit.de
        link
        fedilink
        arrow-up
        3
        ·
        2 years ago

        I can’t tell you how, because I don’t know the technical details either, but why shouldn’t it be? If given the right permissions it can access the same interfaces as any process.

        • NateNate60@lemmy.world
          link
          fedilink
          arrow-up
          4
          ·
          2 years ago

          I ask because to my knowledge, Flatpak applications don’t get access to the system interfaces that are needed to control VPN connections. There isn’t a portal for it to the best of my knowledge and the way that VPN connections are handled differ between distros.

    • Pantherina@feddit.deOP
      link
      fedilink
      arrow-up
      6
      arrow-down
      1
      ·
      2 years ago

      It is a bit hard to do, because they have systemd services, early boot blocking and all that. Not possible with Flatpak so they dont waste Time.

    • interceder270@lemmy.world
      link
      fedilink
      arrow-up
      2
      ·
      2 years ago

      Lol, I was just thinking ‘nice to see people still using native package managers.’

      Is Mullvad not available for your distro?

  • wyzim@lemmy.ml
    link
    fedilink
    arrow-up
    5
    arrow-down
    1
    ·
    2 years ago

    I’m assuming VPNs are not really suited to be run as flatpak apps because of system permissions? And it probably won’t work from inside Distrobox/Toolbox container either.

  • bizdelnick@lemmy.ml
    link
    fedilink
    arrow-up
    3
    ·
    2 years ago

    wget https://repository.mullvad.net/rpm/stable/mullvad.repo | sudo tee /etc/yum.repos.d/mullvad.repo

    This command won’t work.

    • Pantherina@feddit.deOP
      link
      fedilink
      arrow-up
      2
      ·
      2 years ago

      Better? I was not sure did it with cd and forgot the parameters for wget XD isnt it -O /path/to/destination/ ?

      • Baut auf. she/her@lemmy.blahaj.zone
        link
        fedilink
        arrow-up
        2
        ·
        edit-2
        2 years ago

        I think you can just replace wget with curl.
        Alternatively -O - I think.
        You can’t use the path directly because of permissions. And you shouldn’t run wget with root permissions.

        • Pantherina@feddit.deOP
          link
          fedilink
          arrow-up
          1
          ·
          edit-2
          2 years ago

          Yes thats why I did that and seperated it from the wget as I also think thats not the best idea

          Okay fixed it. Damn thats weird, I think I just used sudo wget X -O /path/ but not a good idea I guess.

      • Kazumara@feddit.de
        link
        fedilink
        arrow-up
        5
        ·
        edit-2
        2 years ago

        Because wget doesn’t use standard output for the downloaded file by default, instead it creates a file with the name in the url in the workingdir. If you want it to use standard output you need -O -