GHOSCHT

  • 0 Posts
  • 10 Comments
Joined 1 year ago
cake
Cake day: June 6th, 2023



  • GHOSCHTtoLinux@lemmy.mlWhy aren't more people using NixPKGs?
    arrow-up
    3
    arrow-down
    0
    ·
    8 months ago
    edit-2
    8 months ago
    link
    fedilink

    Pretty much, yes. Although most of the guides install nix via curl. You can find the recommended installation procedure on the official nix website.

    What I’m right now also realizing is that i switched things up. nix-shell -p curl creates a shell with the curl command temporarily available. If you exit this shell it’s gone. I use this all the time if if i don’t want to pollute my system with programs I only use once. If you want to permanently install something you have to use nix-env -iA nixpkgs.curl. But don’t take my words for granted, since I have never tested this on a non-nixos machine.

    Note: You can also see how to install something by clicking on the package title in the nixpkgs repo.


  • GHOSCHTtoLinux@lemmy.mlWhy aren't more people using NixPKGs?
    arrow-up
    3
    arrow-down
    0
    ·
    8 months ago
    link
    fedilink

    Nixpkgs can be used without knowing anything about nix. You can install almost anything by just running e.g.:

    nix-shell -p cowsay
    

    The requirement for that is the nix package manager but that should be easy to install. But yeah getting into Nixos with flakes and all that stuff can be hard.