And why?

  • xoggy
    link
    fedilink
    arrow-up
    1
    ·
    2 months ago

    This is actually why I prefer using pijul. I don’t want to commit my secrets to a git repo and nix will refuse to build because I’m pulling in files that aren’t tracked. Simple solution is to not make the flake directory a git repo and it won’t complain. That’s my solution at least. I also prefer using git (and therefore pijul) via cli rather than as a text editor integration so my experience differs.

    • sudoer777@lemmy.ml
      link
      fedilink
      arrow-up
      2
      ·
      edit-2
      2 months ago

      I use git primarily via cli also, the text editor integration (with helix) highlights information such as what lines haven’t been committed and makes it easier to access other files in the repo, the fish integration tells me if there’s files that haven’t been committed or commits that haven’t been pushed without having to run git status

      • xoggy
        link
        fedilink
        arrow-up
        2
        ·
        2 months ago

        I do use helix but haven’t taken advantage of the git integration. Maybe I’m unaware of its power. For fish, I defined my own fish_prompt function with an indicator if there are uncommitted changes. It’s just running git status under the hood. I have a TODO in that function to run a pijul diff in the directory if git status returns nothing…