NixOS is my new daily driver after a hard start and many copy+pasta from Github Repos ^^

  • DRStamm@lemmy.world
    link
    fedilink
    arrow-up
    12
    ·
    7 days ago

    I’ve been searching for so long for a way to have my software and configs and project deps tracked in a way that doesn’t have me setting things up every time I switch to a new machine or–worse–opening an old project. I found some things that get me most off the way there like docker, rtx/mise, direnv, stow, or the package manager for whatever language I’m working in at a time. Still, nothing quite does what I need.

    I tried our NixOS and have it on three machines as well as Nix on WSL. It took a while for me to figure it out, especially moving to flakes and separating user config out to home-manager. But it was fun enough to try and fail and fail and fail then succeed that I kept going. I think it might be what I’m looking for. I was able to set up a new machine by just cloning a repo and any time I cd into a project on NixOS or a remote Linux server or even Windows with WSL, everything is just ready for me. Do wish it were fully POSIX compliant, though.

    I know this is from more of a developer perspective, but even for gaming and graphics I’ve never had an easier time getting Nvidia drivers set up.

    I promise I’m not shilling. I still have a lot to learn. I think I made it past the cliff on this meme but I might be surprised.

  • histic@lemmy.dbzer0.com
    link
    fedilink
    English
    arrow-up
    9
    ·
    7 days ago

    That’s exactly how nixos went for me you feel like you understand it and then went to go and look at old configs after awhile and was like what in the fuck and rewrote the whole thing but once you figure it out it’s pretty easy to keep learning

  • Dasnap@lemmy.world
    link
    fedilink
    arrow-up
    80
    arrow-down
    1
    ·
    8 days ago

    When I first started my job, a coworker set me up with a machine running NixOS. I gave it a year before I binned it for Ubuntu. I just… didn’t see the point? The troubleshooting wasted so much of my time for seemingly no benefit.

    • jaxiiruff@lemmy.zip
      link
      fedilink
      arrow-up
      42
      arrow-down
      3
      ·
      7 days ago

      The config file for managing basically the whole OS is amazing to begin with. Also the fact that the system is freshly rebuilt every update is neat too. And there is something where if a certain package requires a certain version of a library it will be installed alongside the current version just incase. Avoiding dependency hell.

      About troubleshooting, the official wiki for nixos got made this year so it finally will start to make sense to new users. I used to use arch because of their amazing wiki but now I use nixos since there is an active effort to make it easier.

      wiki.nixos.org

    • mrvictory1@lemmy.world
      link
      fedilink
      arrow-up
      0
      ·
      7 days ago

      I think the point apart from declaring the whole system is that Nix saves changes to config files, this eliminates the concept of .pacnew / .pacsave.

    • MonkeMischief@lemmy.today
      link
      fedilink
      arrow-up
      12
      ·
      7 days ago

      Yeah right now this graph says that on other OSs, your gaming skill steadily improves as you play.

      But by the time you’ve learned and set up NixOS, your gaming skills will be crazy powerful but you’ve plateued.

      …I guessssss it could make sense? XD

    • SirSamuel@lemmy.world
      link
      fedilink
      arrow-up
      13
      arrow-down
      2
      ·
      7 days ago

      The original comic was about the learning curve of various games. The black line represents Dwarf Fortress

      The original comic was very accurate

      • dev_null@lemmy.ml
        link
        fedilink
        arrow-up
        8
        ·
        7 days ago

        No, the black line is EVE Online. There could have been an edit replacing it with Dwarf Fortress, but the original is definitely about EVE Online.

      • Bosht@lemmy.world
        link
        fedilink
        English
        arrow-up
        7
        ·
        7 days ago

        I have Dwarf Fortress on my wishlist and while it’s cheap to pick up…yeah that looks like X4 levels of complexity but in 2d. Not sure if I’ll ever be ready for that, haha.

        • turmacar@lemmy.world
          link
          fedilink
          arrow-up
          1
          ·
          5 days ago

          As someone who loves it, It’s less a game and more a story generator. Until the company was hired to do the nicer graphics and interface for the Steam version it was a math PhD and his brother programming it as a work-in-progress complete fantasy world simulator. It still is but now it’s prettier. It feels very comfortable to call it the most complex game on Steam. Rimworld and Minecraft among others took direct inspiration from it, he’s been working on it awhile.

          Famous patch notes include fixing cats dying from alcohol poisoning because they walked through a puddle of beer before cleaning themselves, egg yolk and egg white having different fluid densities, and nerfing mer-people farming because that’s just disturbing.

        • SirSamuel@lemmy.world
          link
          fedilink
          arrow-up
          2
          arrow-down
          1
          ·
          edit-2
          7 days ago

          So if you’ve played Rimworld it’ll feel familiar. Much more complex but part of that complexity is because you can traverse the Z axis, and make multi-level fortresses. I don’t think Tarn has ever recoded to allow multi thread processing, so everything runs on a single CPU core (my info may be out of date). If that’s still the case At any rate, the end of every fortress (that doesn’t succumb to a mood spiral or a were-beast or an elf invasion or the circus or forgetting to pack an anvil or vampires or a cavern collapse) is fps death. Usually from cats. But remember, losing is fun!

            • SirSamuel@lemmy.world
              link
              fedilink
              arrow-up
              1
              ·
              edit-2
              7 days ago

              Amazing news and you love to hear it! I’m so happy Tarn and Zach get to benefit from their passion project. TBH i haven’t played since they introduced magic. I got distracted by other things. But I 100% bought it through steam as soon as it was released, just out of appreciation

    • Reucnalts@feddit.de
      link
      fedilink
      arrow-up
      8
      arrow-down
      1
      ·
      7 days ago

      Was thinking same. I always think windows is the easiest to get used from beginning, but that could be cause windows was the first operating system i was dealing with. Playing with the amiga 3000 could be the start, but there i was only 5

      • Ziglin@lemmy.world
        link
        fedilink
        arrow-up
        3
        ·
        7 days ago

        Windows XP wasn’t exactly intuitive to me and now only I know what my keybinds for Hyprland are so um maybe you’re right. Honestly switching to Ubuntu made things a lot easier for me than they were on windows because it was easier to change settings and similar just by using terminal commands rather than a weird gui or not at all.

        • Reucnalts@feddit.de
          link
          fedilink
          arrow-up
          2
          ·
          6 days ago

          Maybe it is the weird gui…as a kid i didnt question it and just get used to it so now it feels “natural”

  • Ozymandias1688@feddit.org
    link
    fedilink
    arrow-up
    18
    ·
    edit-2
    7 days ago

    Does this graph mean what it is supposed to mean for the joke to work? The black line means I learn much quicker with less time investment, i.e. it is easier than all the others.

      • Ozymandias1688@feddit.org
        link
        fedilink
        arrow-up
        7
        arrow-down
        4
        ·
        7 days ago

        That is a common misunderstanding of how learning curves work. A steep learning curve means your skill increases more rapidly with the invested time. That means the subject is easier or more intuitive.

      • Reucnalts@feddit.de
        link
        fedilink
        arrow-up
        4
        arrow-down
        2
        ·
        7 days ago

        You nearly had it. The black line starts higher at “gaining skill” so it requires more skill to start learning but after short time you are gaining much more skill in the same time.

  • StarlightDust@lemmy.blahaj.zone
    link
    fedilink
    arrow-up
    22
    arrow-down
    6
    ·
    7 days ago

    I don’t think I will ever feel comfortable learning NixOS since they accepted a sponsorship from Anduril until there was community backlash. Anduril performs violent border survailence for the US government and are responsible for a huge amount of death and suffering.

    • starman@programming.dev
      link
      fedilink
      English
      arrow-up
      5
      ·
      7 days ago

      I don’t like Anduril either, but what’s wrong with taking their money and using it for good purpose?

      • psivchaz@reddthat.com
        link
        fedilink
        arrow-up
        4
        ·
        7 days ago

        I’m with you in some cases. Who you take money from is not the same as who you give money or support to, necessarily. I think the worry in this case is that it’s a surveillance company.

  • WalnutLum@lemmy.ml
    link
    fedilink
    arrow-up
    15
    ·
    7 days ago

    I use guix cause having an entire OS centered around Scheme is cool and based.

    Wearing out the parentheses keys on my keyboard

  • MonkderDritte@feddit.de
    link
    fedilink
    arrow-up
    10
    ·
    edit-2
    7 days ago

    Yeah, no. Windows is the easy starter but the more you get experience, the more you fight the system.
    Or you go the Linux approach and set your tooling up from start via third-parties from Chocolatey/Scoop. Guess the red line represents this.

  • secret300@lemmy.sdf.org
    link
    fedilink
    arrow-up
    7
    ·
    7 days ago

    One day, one day soon I will install nixOS on my ThinkPad. Til then I will continue using silverblue like a pleb

  • muntedcrocodile@lemm.ee
    link
    fedilink
    English
    arrow-up
    7
    ·
    7 days ago

    Well i do need to do a quick ol distro hop cos currently on manjaro and well im not particularly happy with it. I like debian headless on mer server so might jump to sonthing based on that, this graph isnt making nix look like a good choice tho pls enlighten me to the benefits

    • linearchaos@lemmy.world
      link
      fedilink
      English
      arrow-up
      2
      ·
      7 days ago

      Nix is not place that you want to go just for the hell of it.

      If you want to be able to store your entire operating system config in a repo, and spread it to a bunch of other boxes, and have the ability to rollback to any point in your install history, it’s the bee’s knees.

      But to do that, you need to rely on there massive community repository of apps understand their language, and be ready to fight with most uncommon packages that you might want. You can’t just install or upgrade apps anymore. Upgrading channels to get app updates as much less likely to go smoothly.

      Overall for me, NixOS is a net positive but it’s not by that much. If I were going to go from scratch again I’d probably just go back to Debian. But, sunk cost fallacy I’m in it now and I need a good reason to get out of it.

    • lemmyvore@feddit.nl
      link
      fedilink
      English
      arrow-up
      6
      ·
      7 days ago

      If you don’t already know the benefits it’s unlikely it solves a problem you have.

      Even among its users many are using it because it’s cool rather than because they actually need it.

      It’s a declarative system, meaning you can describe how it should be setup (using a magic strings you have to look up online) and then it “sets up itself” according to the description.

      It’s normally something you’d use for mass and/or repetitive deployments.

      It’s usefulness for a single system is debatable, considering you can achieve very close to 100% of “reproducibility” anyway by copying /home and /etc and fetching a copy of the package list.

      Where the prescriptive approach is supposed to help is when you attempt to reproduce the system a long time later, after things like config files and packages have changed. But it doesn’t help with /home, it hasn’t been tested over long intervals, and in fact nobody guarantees long term compatibility for Nix state.

    • iarigby@lemmy.world
      link
      fedilink
      arrow-up
      6
      ·
      7 days ago

      manjaro was terrible when I used it (several years ago), imo it is fundamentally broken. I would suggest trying a smoother arch install. I always recommend endeavoros because I had an effortless experience with it.