18
you are viewing a single comment's thread
view the rest of the comments
[-] msage@programming.dev 7 points 3 years ago

So how useful it is in practice?

How do updates work?

Can it play Crysis?

[-] uthredii@programming.dev 1 points 3 years ago* (last edited 3 years ago)

So how useful it is in practice?

It's useful for quite a few things in practise:

  • You can be sure software that is packaged with nix will behave the same on different computers.
  • You can avoid dependency conflicts.
  • You can automate some things that would otherwise take multiple (mostly manual steps) on other systems.

This video shows off some of the cool things you can do with nix: https://youtube.com/watch?v=6Le0IbPRzOE&feature=share9

How do updates work?

You update a programming by specifying the latest version of a program in config and rebuilding.

You update the OS by pointing to the channel you want to use and rebuilding.

You can time travel back to a previous state if anything goes wrong.

Can it play Crysis?

I expect so, some people.do use nix for gaming.

[-] msage@programming.dev 2 points 3 years ago

Oh yeah, and how do you handle kernels?

[-] uthredii@programming.dev 7 points 3 years ago* (last edited 3 years ago)

You specify the kernal in the config and rebuild, reboot.

Here are the docs if you're interested: https://nixos.wiki/wiki/Linux_kernel

[-] msage@programming.dev 3 points 3 years ago

Sweet, thanks. If I can configure kernel and modules, that is good enough to start with.

How long does it take for you to rebuild?

[-] uthredii@programming.dev 3 points 3 years ago

Rebuilding after adding a single program doesn't take too long (depends on the program but often less than a minuet).

Rebuilding after upgrading the channel takes longer on my slow internet as many programs have version upgrades that need to be downloaded. I think it took 30-60mins last time. I imagine it would be faster with better internet.

load more comments (1 replies)
load more comments (5 replies)
load more comments (9 replies)
this post was submitted on 25 Jun 2023
18 points (95.0% liked)

Linux

15014 readers
803 users here now

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

Also, check out:

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

founded 3 years ago
MODERATORS