thelinuxEXP,
@thelinuxEXP@mastodon.social avatar

Finally, I took a look at NixOS, and the Nix package manager! And while I was very skeptical at first, after a week of use, it’s clear that this is an insanely powerful distribution, that is now at the very top of my list to replace Fedora on my editing rig.

Let’s see why, how it works, and why it’s so good, even though it won’t be for everyone:

https://youtu.be/DMQWirkx5EY

@nixos_org

zstg,

@thelinuxEXP @nixos_org it was this video that got me back into NixOS, happy to say that I've gotten it to the level of my Arch setup

thelinuxEXP,
@thelinuxEXP@mastodon.social avatar
mmu_man,
@mmu_man@m.g3l.org avatar

@thelinuxEXP @nixos_org cool, never looked in details but I noted some similarities with how Haiku handles packages (readonly, atomic upgrades…)

rb,

@thelinuxEXP @nixos_org configuration.nix is pretty awesome.

kainoa,

@thelinuxEXP @nixos_org personally NixOS isn't for me, but glad you covered it! I know quite a few people who love it ❄️

AmyIsCoolz,

@thelinuxEXP @nixos_org Learning montage 😂

AngryAnt,
@AngryAnt@mastodon.gamedev.place avatar

@thelinuxEXP Turned out I already had the video! Nice work - good balance :)

Few notes:

  • Nixpkgs about the size of AUR: Sure, but nixpkgs is just the distro repo. Did you look at NUR? ;)
  • Missed opportunity of showing the party trick of ctrl-C’ing out in the middle of a rebuild or pulling the power :P
AngryAnt,
@AngryAnt@mastodon.gamedev.place avatar

@thelinuxEXP For your workstation build: Keep in mind that a channel is just a git tree / reference. That means it can be:

  • Any of the names channels.
  • Whatever happens to be on master.
  • Someone else’s clone of the repository.
  • An unmerged pull request.

And you can pull packages from different channels than your main one.

So if you need something sizzling hot off the press - just a few packages without messing with your overall package source, you can do that.

AngryAnt,
@AngryAnt@mastodon.gamedev.place avatar

@thelinuxEXP As an example, that packaging of steamback I mentioned the other day: It’s not done yet as I am waiting for my PRs on some dependencies to clear.

But I’ve been running it a couple of weeks off of my work in progress pull request which until everything is in place just has those dependencies directly embedded. At some point after all the PRs have been merged, I’ll drop that direct link and source it from the main channel like the other packages.

AngryAnt,
@AngryAnt@mastodon.gamedev.place avatar

@thelinuxEXP Oh yea there’s also the party trick of rigging the “command not found” handler to auto-install the nix package providing that binary.

So type “vlc” on the cli and if it’s not installed then it gets installed and launches.

thelinuxEXP,
@thelinuxEXP@mastodon.social avatar

@AngryAnt That’s pretty great!

thelinuxEXP,
@thelinuxEXP@mastodon.social avatar

@AngryAnt Hahaha yeah, I couldn’t cover everything! I should have tried that pulling the plug trick!

DominicusPurple,

@thelinuxEXP @nixos_org i am currently experimenting with the nix package manager (maybe nixos in the future but im happy with arch). its a little complicated to setup, once you get the hang of it there is no going back 😂. i wish to see a unified nix package (so no need for nix-env, nix-shell, etc) in the near future.

AngryAnt,
@AngryAnt@mastodon.gamedev.place avatar

@DominicusPurple @thelinuxEXP The unifying/general “nix” cli is there for that - it’s just still marked an experimental feature afaik :)

JoBlade,

@thelinuxEXP

@nixos_org

My raspberry pi runs NixOS to host my matrix instance with all my bridges and my own nextcloud instance. It is really amazing how easy it is to deploy back my configuration. And more, if I need to go back to a x86_64 server, I can without changing my configuration !

Anya_Adora,

@thelinuxEXP @nixos_org 😂​ That sick snap package burn @ 10:43

Clemdemort,

@thelinuxEXP @nixos_org

Alright I'm convinced, I'll put nixOS on my laptop next, the only thing that concerns me is printing which is either super simple or straight out impossible depending on the distro.

micahbp,

@thelinuxEXP @nixos_org Can't wait to watch this! Been curious and confused about the hype for a while!

ToneMilazzo,
@ToneMilazzo@mastodon.cloud avatar

@thelinuxEXP @nixos_org Being able to keep my laptop and my desktop environments in sync is interesting, but having multiple package versions installed at once is really drawing my attention. How are you storing/distributing your configuration.nix?

AngryAnt,
@AngryAnt@mastodon.gamedev.place avatar

@ToneMilazzo @thelinuxEXP A popular move is to use a git repository. Otherwise there’s a bunch of creative options - like you could keep them on a thumb drive for example.

dragonarchitect,
@dragonarchitect@rubber.social avatar

@thelinuxEXP @nixos_org Oh heck this actually looks NICE!! OwO

I definitely love the fact that it's possible, and TRIVIAL, to roll back if an update or configuration tweak breaks things, and that it's super easy to clone the environment.

It's like this distro was made for my use case! I want to have the same environment between my desktop PC and my travel laptop so I can just sync the laptop before a trip and go!

#Linux #OpenSource #NixOS

muffinjets,

@thelinuxEXP @nixos_org There's a big part of me that wants to have this distro to be my first Linux experience lmao

I know better, I'm actually still deciding between Zorin and Debian Bookworm

Some of the features you were describing are super appealing, even to my lack of experience

awalrus,

@thelinuxEXP I tried running NixOs for a couple months but after a lot of struggling decided to go back "home" to Arch and Fedora. I do think Nix has some really solid ideas though, it definitely seems like the future.

graves501,
@graves501@fosstodon.org avatar

@thelinuxEXP @nixos_org loved how you made fun of snaps in the video. great video as always!

TomAintAround,

@thelinuxEXP @nixos_org Ok I’m switching

cablespaghetti,

@thelinuxEXP 10k views in a couple of hours seems pretty good. 🙂

Great video! I’m getting mildly obsessed with it at the moment. I wonder why it’s suddenly wildly popular after being around for so long…

thelinuxEXP,
@thelinuxEXP@mastodon.social avatar

@cablespaghetti Definitely a good one, yeah! It’s at almost 20K views on YouTube studio (that’s before YouTube checks if all views are « legit » and not bot related), so I guess it’s performing in the top end of my usual stuff!

dracocide,

@thelinuxEXP @nixos_org To use Nix, you install through the Packman, but if you want it to be a permanent installation: you go to the config, where you can tell it to also download and install.

If Nix wasn't a completely standalone packman, I'd say it's one of the most pointless applications I've seen. Why would I install from it when I can just go to the config, tell it what I want, and it does it for me?

Cabbidachi,

@thelinuxEXP @nixos_org just read up on it
I find the concept very interesting
Might try it in the future lol

slembcke,
@slembcke@mastodon.gamedev.place avatar

@thelinuxEXP @nixos_org I can't believe you didn't make a "Nick's OS" joke. Hah!

thelinuxEXP,
@thelinuxEXP@mastodon.social avatar

@slembcke @nixos_org I almost did but couldn’t find a good way to slot it in 😅

bonaccolto90,
@bonaccolto90@fosstodon.org avatar

@thelinuxEXP @nixos_org you're gonna be the cause of my distro hopping addiction!

racsu,

@thelinuxEXP @nixos_org I was so confused about what just happened here....

Nice video 😅

thelinuxEXP,
@thelinuxEXP@mastodon.social avatar

@racsu @nixos_org Hahaha learning montage!

boilingsteam,
@boilingsteam@mastodon.cloud avatar

@thelinuxEXP @nixos_org now try GUIX for the real thing 😉

thelinuxEXP,
@thelinuxEXP@mastodon.social avatar

@boilingsteam @nixos_org Looks to be the same concept, I’ll check it out!

boilingsteam,
@boilingsteam@mastodon.cloud avatar
chfkch,
@chfkch@ruhr.social avatar

@boilingsteam
Except less packages i need are available on guix.
And the installation is a hassle if you have Intel WiFi etc.
@thelinuxEXP @nixos_org

thelinuxEXP,
@thelinuxEXP@mastodon.social avatar

@boilingsteam @nixos_org It looks interesting, but I’m worried about the kernel. I do need some proprietary software to work :/

I’ll take a look!

boilingsteam,
@boilingsteam@mastodon.cloud avatar

@thelinuxEXP @nixos_org It's not FOSS only, it gives you the freedom to also install proprietary packages.

thelinuxEXP,
@thelinuxEXP@mastodon.social avatar

@boilingsteam @nixos_org Ok, that’s good. Not that I wouldn’t prefer using a fully FOSS system but for now I can’t!

gnuntoo,

@thelinuxEXP @boilingsteam @nixos_org dang it I was going to mention guix

ivarwithoutbones,

@boilingsteam @thelinuxEXP I wonder, is there anything in particular you think guix executes better than nix? Based on the article you linked it seems like they operates in pretty much the same way, and the only highlighted difference is non-free packages on the official repositories. Please tell me if i missed something :)

attilasedon,
@attilasedon@fosstodon.org avatar

@boilingsteam @thelinuxEXP @nixos_org I really like what they are doing at guix, I was seriously considering it, but it has way less packages, than Nix, and I still game, and have machines which needs propriatery drivers. :/

darhma,

deleted_by_author

  • Loading...
  • thelinuxEXP,
    @thelinuxEXP@mastodon.social avatar

    @darhma @nixos_org Yeah that’s a huge draw for me, to ensure I always have a fully operation editing rig. As much as I love Fedora, I have had a few issues recently that lost me a few hours and I really can’t afford that

    darhma,

    deleted_by_author

  • Loading...
  • thelinuxEXP, (edited )
    @thelinuxEXP@mastodon.social avatar

    @darhma @nixos_org Yeah I almost included it but the video would have been way too long! Maybe I’ll do a more advanced video detailing flakes, home manager, nix shell and the like!

    nialov,

    @thelinuxEXP @darhma @nixos_org Ah yes, the hole manager 😬! So you never have to maintain your dongfiles separately again!

    thelinuxEXP,
    @thelinuxEXP@mastodon.social avatar

    @nialov @darhma @nixos_org Hahah damn it

    AngryAnt,
    @AngryAnt@mastodon.gamedev.place avatar

    @thelinuxEXP Glad you got to it - will catch up on the video soonish.

    A point of advice on the particulars of this thread: Personally I think a “nix advanced” video would be too unwieldy. Some of the articles I sent your way might hint at why.

    I think a stronger stance for audience and coverage is to start from use case / scenario rather than specific feature / general collection of assorted features.

    thelinuxEXP,
    @thelinuxEXP@mastodon.social avatar

    @AngryAnt Hmm you might be right, or this could turn into a full blown 1h video 😂

    AngryAnt,
    @AngryAnt@mastodon.gamedev.place avatar

    @thelinuxEXP Oh, just to pump excitement: Nix shells to test things out are great. Nix shells as shell script hash-bangs are quite excellent as well ;)

  • All
  • Subscribed
  • Moderated
  • Favorites
  • linux
  • DreamBathrooms
  • everett
  • osvaldo12
  • magazineikmin
  • thenastyranch
  • rosin
  • normalnudes
  • Youngstown
  • Durango
  • slotface
  • ngwrru68w68
  • kavyap
  • mdbf
  • InstantRegret
  • JUstTest
  • ethstaker
  • GTA5RPClips
  • tacticalgear
  • Leos
  • anitta
  • modclub
  • khanakhh
  • cubers
  • cisconetworking
  • provamag3
  • megavids
  • tester
  • lostlight
  • All magazines