I believe I solved this problem before, but I can’t find the solution again. I have some Flatpaks installed on my NixOS system, but they aren’t showing up in the app menu. Does anyone know what might be causing this or how to fix it?

  • paperd@lemmy.zip
    link
    fedilink
    English
    arrow-up
    1
    ·
    8 hours ago

    Does the flatpak stuff show up in your path? Wha’ts yhour nix code for flatpaks looks like?

    • gortbrown@lemmy.sdf.orgOP
      link
      fedilink
      English
      arrow-up
      2
      ·
      edit-2
      8 hours ago

      I honestly just did nix-env -i flatpak then rebooted, so I’m not sure…

      Edit: Did it the configuration.nix way to make sure everything was in the path, and it works now. Thanks!

      • rutrum@lm.paradisus.day
        link
        fedilink
        English
        arrow-up
        2
        ·
        8 hours ago

        I use a declarative flatpak flake that lets me install flatpaks declaratively. You could use this as well, in case you want to manage the flatpaks in your configuration.

      • paperd@lemmy.zip
        link
        fedilink
        English
        arrow-up
        1
        ·
        7 hours ago

        nix-env should be avoided, it is bad. I wish it were not in the docs so much. If you need a package for a short time, use nix-shell or nix shell.

        Glad you got it working tho.