Beehaw
  • Communities
  • Create Post
  • search
    Search
  • Login
  • Sign Up
ruffsl ( ruffsl@programming.dev )  to Linux@programming.devEnglish · 19 days ago

Why I switched to NixOS (And why you should, too) - Márcio Sobel

blog.marciosobel.dev

external-link
message-square
6
link
fedilink
  • cross-posted to:
  • nix@programming.dev
10
external-link

Why I switched to NixOS (And why you should, too) - Márcio Sobel

blog.marciosobel.dev

ruffsl ( ruffsl@programming.dev )  to Linux@programming.devEnglish · 19 days ago
message-square
6
link
fedilink
  • cross-posted to:
  • nix@programming.dev
Why I switched to NixOS (And why you should, too)
blog.marciosobel.dev
external-link
Recently, I've switched to NixOS, making all my system declarative. In this post, I'll explain the pros, the cons, and if switching might be a good option for you.
alert-triangle
You must log in or # to comment.
  • illusionist ( illusionist@lemmy.zip ) 
    link
    fedilink
    arrow-up
    15
    ·
    19 days ago

    Why I switched to NixOS (And why you should, too)

    Now, I think NixOS is not a good option for you if you: just want things to work fast

  • myrmidex ( myrmidex@belgae.social ) 
    link
    fedilink
    arrow-up
    8
    ·
    19 days ago

    After half a year of using it as main driver, I’m still loving nixOS. My entire sway config is in a git repo now, along with the rest of my system config. So nice not having to scrounge around for all the different dotfiles to back up, just the flakes directory.

    Do I need to temporarily use a tool not installed? nix-shell to the rescue. Do I need a special shell with commands for the projects I’m currently working on? I just add a .nix file to the project and nix-shell comes to the rescue again. So elegant.

    • Telorand ( Telorand@reddthat.com ) 
      link
      fedilink
      arrow-up
      3
      ·
      19 days ago

      Can I ask about the last bit? Is it like having different dev environments or profiles, and you can just use them as needed?

      • stinky ( stinky@anarchist.nexus ) 
        link
        fedilink
        English
        arrow-up
        4
        ·
        19 days ago

        Intro: https://nixos-and-flakes.thiscute.world/development/intro

        Pre-configured shells: https://github.com/the-nix-way/dev-templates

        Pair with lorri and direnv.

      • balsoft ( balsoft@lemmy.ml ) 
        link
        fedilink
        arrow-up
        2
        ·
        18 days ago

        To also answer your question directly: yes, this was indeed one of two initial motivations for Nix!

        • Telorand ( Telorand@reddthat.com ) 
          link
          fedilink
          arrow-up
          1
          ·
          15 days ago

          Thanks for this! That’s kinda what it sounded like. I’m going to have to give this a try this weekend.

Linux@programming.dev

linux@programming.dev

Subscribe from Remote Instance

Create a post
You are not logged in. However you can subscribe from another Fediverse account, for example Lemmy or Mastodon. To do this, paste the following into the search field of your instance: !linux@programming.dev

A community for everything relating to the GNU/Linux operating system (except the memes!)

Also, check out:

  • !linux_memes@programming.dev
  • !linuxphones@lemmy.ca
  • our Matrix group chat
  • !reactos@programming.dev

Original icon base courtesy of lewing@isc.tamu.edu and The GIMP

Visibility: Public
globe

This community can be federated to other instances and be posted/commented in by their users.

  • 184 users / day
  • 737 users / week
  • 2.71K users / month
  • 6.34K users / 6 months
  • 117 local subscribers
  • 13.3K subscribers
  • 3.57K Posts
  • 17.6K Comments
  • Modlog
  • mods:
  • Ategon ( Ategon@programming.dev ) 
  • adr1an ( anzo@programming.dev ) 
  • dwraf_of_ignorance ( dwraf_of_ignorance@programming.dev ) 
  • BE: 0.19.15
  • Modlog
  • Legal
  • Instances
  • Docs
  • Code