When I tried to add aliases to my configuration.nix file with bash options I got syntax errors but typing them into a shell like local bash aliases, they persist over reboots and refreshes, can some one help me make sense of that & how do I configure the aliases in NixOs?

  • ThingsThatKillYou@lemmy.ml
    link
    fedilink
    English
    arrow-up
    1
    ·
    1 year ago

    That should work, unless there is something wrong with the values themselves, you can also check the bash profile files nix generates.

    Cant say much without seeing the code.

    • urpasswdistrash@lemmy.worldOP
      link
      fedilink
      English
      arrow-up
      1
      ·
      1 year ago

      Thanks for chiming in you were right about the values,the solution was my indentation and syntax errors I had to reread the docs and look up some other configs but I got it figured out