Initial Look at NixOS

Поделиться
HTML-код
  • Опубликовано: 1 дек 2024

Комментарии • 84

  • @CyberGizmo
    @CyberGizmo  2 года назад +35

    SO I have begun migrating over to NixOS from my Debian desktop, so far 1) have installed 22.05 which of course came out the day after this review :D. I have configured a static IP, configured for my local dns servers, set the dns search to default to my domain name, installed rsync, glusterfs, nfs client and a few packages, so far so good, I still need to harden it then see if I can implement ssh certificates (not keys) for use on the machines. Have not tested rsync yet, but will probably do so soon. Most of the time spent is just learning curve, and getting to know how NixOS does things. and Oh before I foget, NixOS now has a calamaries installed so no need to go to the command line :D

    • @ChrisMcDonough
      @ChrisMcDonough 2 года назад +3

      Your video inspired me to install 22.05 on a Thinkpad. After some googling and cursing, I have a working X server with Nvidia proprietary drivers and a ZFS encrypted root disk. It is fascinating to watch the installer resolve the wishes implied by the config file. :)

    • @ChrisMcDonough
      @ChrisMcDonough 2 года назад +2

      In the meantime, I found this setup tutorial useful, particularly if you want to version control your entire configuration ruclips.net/video/AGVXJ-TIv3Y/видео.html

    • @larrybeler9017
      @larrybeler9017 2 года назад

      ⁶5⁵⁵

  • @vlinkz3
    @vlinkz3 2 года назад +46

    NixOS GUI installer was added today as part of the 22.05 release ;)

    • @CyberGizmo
      @CyberGizmo  2 года назад +8

      Nice Victor will have to check it out

  • @errorsofmodernism9715
    @errorsofmodernism9715 2 года назад +60

    I love your adult education presentation style, I am really sick and tired of the juvenile approach of so many channels with 30 year olds trying to act like 13 year olds.

    • @csdevtauri
      @csdevtauri 2 года назад +2

      Yes, the way of explaining is quite frank and mature too, it feels good.

  • @donaldmickunas8552
    @donaldmickunas8552 2 года назад +2

    Fascinating. I’ll be interested in what you think as time goes on. Great video as usual.

  • @jonringer117
    @jonringer117 2 года назад +16

    Glad you took a step back and learned the "Nix" way to approach package management and system building.
    I think a lot of people stumble with Nix because they come at with a FHS+imperative mindset.

    • @CyberGizmo
      @CyberGizmo  2 года назад +4

      Me too it will take some time, but that's what it takes to learn something new that is worthwhile

  • @diegonayalazo
    @diegonayalazo 2 года назад +2

    My daily driver. Love it! Thanks DJ for your review!

  • @ppen9u1n
    @ppen9u1n 2 года назад +4

    I agree with @Errors on the nice presentation style, it reflects actually thinking about the "why", especially fit for "non-imperative" stuff.
    One addition regarding the "nix way": every time one is tempted to change settings (e.g. font size, default terminal, etc.) imperatively (e.g. by clicking around in the GUI), that adds "unmanaged state". To avoid this you can usually find a way to include such settings declaratively through the NIX module system, for user settings likely better to use "Home Manager", which comes with a lot of config modules. The idea/objective is to have most/all config state declaratively, so you can always instantly reproduce your "carefully crafted/ideal system".

  • @dezmondwhitney1208
    @dezmondwhitney1208 2 года назад +2

    A well explained and quite thorough reviews . Thanks D.J..

  • @norgeball3971
    @norgeball3971 2 года назад +2

    My first video that I watch on your channel, as I recently made the switch from Debian Testing over to NixOS. So far, I have to say: great job, thanks! 👍
    Also, nice way of presenting everything, some of the lecturers at my uni could learn a thing or two here 😄

  • @tonywise198
    @tonywise198 2 года назад +2

    This I HAVE to try, Thanks DJ.

  • @danielkrajnik3817
    @danielkrajnik3817 Год назад

    that's a really good overview

  • @motionthings
    @motionthings Год назад +1

    I'm a bit late to this. I find Nix and NixOS very interesting.
    You wanted an architecture overview.
    If you search for "Summer of Nix 2022 - Public Lecture Series" here on youtube, you will find a playlist.
    That playlist will give you a video on the architecture.

  • @Gotblade
    @Gotblade 2 года назад +2

    I can see why you would want to look under the hood on an end justifies the means system if that's what this is. I'm probably over simplifying how you described it but I see a lot that is attractive in what you showed! Thank you!!

    • @CyberGizmo
      @CyberGizmo  2 года назад +2

      Yes indeed, it has many facets and I think its worth a deeper look

    • @Gotblade
      @Gotblade 2 года назад +2

      @@CyberGizmo That new system, feel? I almost said smell ☺

  • @chillnacho
    @chillnacho Год назад

    Would love to see an update on this.

  • @ChrisMcDonough
    @ChrisMcDonough 2 года назад +4

    I'd be keen to see maybe how you create a hello world nix package in a follow-up video, if that's something that interests you.

    • @CyberGizmo
      @CyberGizmo  2 года назад +2

      I might just do that once I figure it all out

  • @paulwratt
    @paulwratt Год назад

    I would like to see an update on this, especially if you have moved to NixOS as a daily driver. There is a NixOS for RPi, not sure if it is uptodate, dont htink it was ever official. I see mention of Flakes in some other YT titles .. NOTE: the versioning reminded me of the Lite demonstration of Suse on RPi4

  • @pipi_delina
    @pipi_delina 2 года назад +2

    Nice review..

  • @davidprock904
    @davidprock904 2 года назад +1

    I have a current install of gentoo all in one single partition. Being that NixOS uses a different folder/file structure, Could it be installed beside gentoo in the same partition?

    • @CyberGizmo
      @CyberGizmo  2 года назад +1

      havent tried that, so not sure, maybe someone else here knows

    • @neonfuz_
      @neonfuz_ 2 года назад

      You can install the nix package manager on most distros (some play along better than others). You'll get the same packages available and some of the benefits, but to be able to manage system services etc you need full nixos.

  • @CraigOlson
    @CraigOlson Год назад

    it is soooooooo complicated, if you're used to traditional IX systems. you basically have to re-learn linux and how it works. i want to love this OS. and i see the benefits of it, but dang... its challenging. and this is someone who has run gentoo and arch comfortably.

  • @csdevtauri
    @csdevtauri 2 года назад

    Totally agree with you.

  • @nomoredarts8918
    @nomoredarts8918 2 года назад +1

    There is gui installer now, so I guess this system will be more popular and get attention it deserves

  • @jeffreyhendricks3428
    @jeffreyhendricks3428 2 года назад +1

    A perfectly made tutorial.

  • @unclefester9113
    @unclefester9113 Год назад

    In this talk ... you mentioned using "PARTED" to label the disk. The one thing I don't understand with different Linux Distros - is that some Distro's will name the /dev/(Drive) with the name of the Distro - while others only say /dev/sd"whatever" We all know there are dozens of Ubuntu verzions..... its hard to identify or remember what is placed where. (Stupid Me) I built a computer with six drives. I wish there were an easier way to manage this arrangement !!!

  • @michaelplaczek9385
    @michaelplaczek9385 Год назад +1

    I would use it if it had 3 things:
    1. Better documentation
    2. More popularity (This will come with support along the way)
    3. All the packages work (I had some font issue when i tried it and installed VMWare)

  • @neonfuz_
    @neonfuz_ 2 года назад +1

    The part where you talk about being stuck on 5.10 isn't accurate. You can easily set your kernel version declaratively with the boot.kernelPackages option. For example boot.kernelPackages = pkgs.linux_5_18; to use linux 5.18.
    And on the concerns around setting up weird drivers etc, nixos can handle proprietary drivers. The only thing is their package build infrastructure only does free software, so all proprietary software needs to be compiled locally (the source bits compiled against the blobs that is).
    That being said, nixos transparently builds packages or fetches from the package cache, and if a driver is unavailable, you can hack together a script to package it and add it to your config easily. I started doing this, and eventually contributed many packages to nixpkgs. The collection is huge, by some measures the biggest out there, and you can install nix (the package manage) on most distros and get consistent development environments!

    • @CyberGizmo
      @CyberGizmo  2 года назад

      I would not recommend the practice of just blindly switching out linux kernels, Linux is not released as a complete system and there are other considerations to keep in mind, like the impact those kernel changes will have to system libraries, dynamic libraries, base support packages, and yep even third party packages. Just switching out a kernel without paying attention to the rest of the details is not a practice I care to follow.

    • @neonfuz_
      @neonfuz_ 2 года назад

      @@CyberGizmo but this is supported in nixos, this is not just swapping the kernel file, Linux 5.18 is fully packaged on nixos stable. Everything which depends on the kernel reads this option. The only thing that may break is like you said third party packages. You can change the option, run nixos-rebuild, reboot and all of your modules etc have been rebuilt. And it doesn't switch over to using these modules until you reboot.

    • @neonfuz_
      @neonfuz_ 2 года назад

      This is something I actually like a lot about nixos, it's fairly easy to experiment with very major changes compared to other distros because it's very easy to roll back anything. The only thing I'd be wary of is maybe a newer kernel messing up my file system somehow.

  • @Tatar_Piano
    @Tatar_Piano 2 года назад

    why do you like gnome more than kde?

  • @chartf
    @chartf 2 года назад +1

    Guix is also grate distro :)

  • @celestialbeing4767
    @celestialbeing4767 2 года назад

    Reminds me of sublime text with the configuration. Not like vscode. Vim, Emacs is pretty much the same as config.

  • @pugnace9169
    @pugnace9169 2 года назад +1

    400 MB with gnome wtf Fedora is taking 1 full GB lol and even arch with Gnome install via the archinstall script

  • @rashie
    @rashie 2 года назад

    👍👍

  • @jeanrodrigues6249
    @jeanrodrigues6249 Год назад

    saved

  • @lale5767
    @lale5767 Год назад

    Hi DJ, I've found this lecture series:
    ruclips.net/p/PLt4-_lkyRrOMWyp5G-m_d1wtTcbBaOxZk
    Maybe they have some information about Nix OS's archeticture. I remember you asked about it.

  • @davidprock904
    @davidprock904 2 года назад +1

    44:34 did you just call yourself a loose nut?

  • @guilherme5094
    @guilherme5094 2 года назад

    👍

  • @SuperHeroINTJ
    @SuperHeroINTJ 2 года назад +1

    NixOS is great!

    • @CyberGizmo
      @CyberGizmo  2 года назад +2

      so far I'm liking it

    • @SuperHeroINTJ
      @SuperHeroINTJ 2 года назад +1

      @@CyberGizmo It only gets better! After one year of use you will see. The gains compounds.

  • @jeanrodrigues6249
    @jeanrodrigues6249 Год назад

    Declare

  • @sufurt782
    @sufurt782 2 года назад +6

    I've been using nixOS for a year. Once you get it running it's hard to complain about it, but don't expect any support whatsoever from the community. Also all of your 80,000+ packages are going to be 6 months out of date and often lack features that you want. Trying to update the packages yourself will most likely waste weeks of your time and accomplish nothing. Getting support from the chat rooms will result in people telling you to rtfs. Forums will result in no answer at all. Everytime i actually have to configure something on this God forsaken system I just accept that I going to be in a bad mood all day. Oh and fucking cron doesn't even fucking work reliably. You basically have all the problems you normally have with open source software, and add bullshit dynamically typed language taped together with bash scripts on top. It's like trying to pilot a plane with chopsticks.
    In conclusion, if you ever thought about using nixos. Don't. Just run away as fast as you can and don't look back until a decent book is written.

  • @Anonymous______________
    @Anonymous______________ 2 года назад +2

    It's like Gentoo but worse.

    • @kalanihokianga6788
      @kalanihokianga6788 2 года назад +6

      It's all opinion, I just switched over after a long stint on gentoo. Currently really enjoying it, however after trying it I wouldn't really compare them...

    • @riley3269
      @riley3269 2 года назад +2

      Dunno about that one

    • @akkesm
      @akkesm 2 года назад +7

      That's what someone who doesn't understand Nix would say. It's a completely different beast than Gentoo and really any other Linux distro.

    • @f1aziz
      @f1aziz 2 года назад

      Care to elaborate why?

    • @-..-_-..-
      @-..-_-..- 2 года назад +2

      i switched over last year after using gentoo for literally 11 years and it's 100% better

  • @lale5767
    @lale5767 Год назад

    There is also GoboLinux which years back aimed at solving the depency issue