NixOS Is The Power User Distro (Now With An Easy Installer!)

Поделиться
HTML-код
  • Опубликовано: 4 фев 2025
  • NixOS recently had a new release, and it's a big one! Now, NixOS comes with an easy-to-use graphical installer (calamares). This could be a real game changer because the traditional NixOS installation is a barrier to entry for novice NixOS users. So I'm going to try out the new NixOS calamares installer and see if it works!
    REFERENCED:
    ► nixos.org/
    WANT TO SUPPORT THE CHANNEL?
    💰 Patreon: / distrotube
    💳 Paypal: www.youtube.co...
    🛍️ Amazon: amzn.to/2RotFFi
    👕 Teespring: teespring.com/...
    DONATE CRYPTO:
    💰 Bitcoin: 1Mp6ebz5bNcjNFW7XWHVht36SkiLoxPKoX
    🐶 Dogecoin: D5fpRD1JRoBFPDXSBocRTp8W9uKzfwLFAu
    📕 LBC: bMfA2c3zmcLxPCpyPcrykLvMhZ7A5mQuhJ
    DT ON THE WEB:
    🕸️ Website: distrotube.com/
    📁 GitLab: gitlab.com/dwt1
    🗨️ Mastodon: fosstodon.org/...
    👫 Reddit: / distrotube
    📽️ LBRY/Odysee: odysee.com/@Di...
    FREE AND OPEN SOURCE SOFTWARE THAT I USE:
    🌐 Brave Browser - brave.com/dis872
    📽️ Open Broadcaster Software: obsproject.com/
    🎬 Kdenlive: kdenlive.org
    🎨 GIMP: www.gimp.org/
    💻 VirtualBox: www.virtualbox...
    🗒️ Doom Emacs: github.com/hli...
    Your support is very much appreciated. Thanks, guys!

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

  • @Nathan_Nino
    @Nathan_Nino 2 года назад +533

    There was a checkbox saying "Require strong password" in the installer

    • @DistroTube
      @DistroTube  2 года назад +148

      NICE! My one complaint about the installer has already been solved! :D
      A better UI design might place that checkbox ABOVE the entry fields rather than below it. Because obviously, I hadn't read down that far to see the warning when I get to the password entry. But....depending on how much work would be involved to make that change, it might not be worth it.

    • @neotwenty-nineBzH
      @neotwenty-nineBzH 2 года назад +21

      @@DistroTube there's an option in calamares build to not have this "strong password" option.
      The developers can or not use the config

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

      brain dead moment

    • @lqlarry
      @lqlarry 2 года назад +9

      You can always change your password to the strong and complicated password of your choice.

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

      @bigmike obama it is, a bug in arch install leaked it once

  • @davidak_de
    @davidak_de 2 года назад +290

    I use NixOS btw! (and i was involved in the creation of the GUI Installer)
    Thanks for covering it!

    • @seanpaul7069
      @seanpaul7069 2 года назад +9

      Great job to you and the Team.
      Do you have link to resource for beginners? I’m using Arch but interested in trying out Nix and learn more.
      Thanks

    • @suya1671
      @suya1671 2 года назад +5

      @@seanpaul7069 just like arch, the nixOS wiki is amazing

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

      @Fsociety never seen the gentoo wiki. But considering what gentoo is it’s probably good

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

      NixOS basically is another Arch Linux...

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

      @@alphabeta4028 how is that. can you explain?
      I know many NixOS users used Arch before, but i think they are very different.

  • @angeldude101
    @angeldude101 2 года назад +148

    I love that NixOS is getting a graphical installer to make it more approachable. The only thing I'd change to it is to show snippets of Nix code at each step that updates as you change the fields to show what the options will look like once its installed. Just installing the system without showing any of the configuration I don't feel helps people actually get into NixOS as well as they could. Users are going to need to touch the configuration file eventually, so use the installer to people them a taste of it in a safe environment where they can manipulate a more familiar interface to see how it effects the code under the hood. Giving the option to also modify the config file directly could also be a nice bonus, but would be harder to get right.

    • @jorge42343
      @jorge42343 2 года назад +5

      That's a fantastic idea

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

      Yes, but let's be real. If you're installing NixOS, you know what you're doing. This is not a beginner friendly distro, and I doubt people outside the IT bubble would be able to understand what this OS can do. Worst case they'll try to use it like Ubuntu.

    • @angeldude101
      @angeldude101 Год назад +3

      @@victorhf9804 With NixOS the complexity isn't (supposed to be) from knowing the right commands to use from the text prompt. It's how you wish to configure the system. Having a graphical installer is perfectly fine, but it should make sure to introduce them to the configuration language and how various changes they'd want to make map to the text file.

    • @yash1152
      @yash1152 8 месяцев назад

      this... super important.
      sharex screen recording s/w on windows live shows the change in ffmpeg cli options right as the user is changing things in GUI.
      it adds a separate checkbox above that command preview text widget to toggle specifying flags manually.

    • @genossinwaabooz4373
      @genossinwaabooz4373 5 месяцев назад

      ​@@victorhf9804 Well I am one of those who do exist. Aware of why I want/need better than Ubuntu, and not in any IT bubbles. Barely grasping halfway through NixOS explainers, but willing to do my homework.
      It's tough. But whatever.

  • @mels4413
    @mels4413 2 года назад +54

    Hey DT, just wanted to let you know that your videos were what pushed me over the edge to switch to Linux. It's been 3 weeks on Manjaro and I wouldn't switch back to Windows if you paid me. Thanks!

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

      Glad to hear you're enjoying it :D It can be rough to transition, as there's quite a few things that are very different, but if you stick to it, it'll pay back in spades.

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

      They pay me and I use it but thanks Microsoft for WSL, with out it I would go crazy or go job hunting!

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

      It''s been several months for me on Linux Mint, beside having to use some Windows exclusive software for university there haven't been any problems, I got around those as well.

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

      DT does a disservice by promoting distros based on first looks. His experience doesn't represent the majority of people that actually used a distro. Manjaro horrible. - Just do a search like "what's wrong with manjaro".

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

      @@madthumbs1564 Manjaro is perfectly fine for your average user, especially a newbie. There is no distro that caters to everyone's preferences.

  • @pyrotek45
    @pyrotek45 2 года назад +50

    just letting you know, after doing a nixos-rebuild , you dont have to reboot for your stuff to get installed(it just helps make sure some services gets started correctly.)

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

      Yep if you use switch, it’ll load everything up immediately, if you use reboot, it’ll only apply on reboot

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

      @@huantian i think it's boot to make the generation available on next boot but not this one there's also build which just builds the gen which you could apply later or test test only applies to the current boot without adding itself to the bootloader

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

      sometimes you do tho. for example when you change display-manager, it won't immediately restart the service for obvious reasons

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

      @@marusdod3685 can´t you just log out in that case but why would you even care about the display manager it´s not exactly an important system component you´ll only see it when logged out if you"re logged out you probably just booted into the system anyway

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

      @@genericgamer1319 how else am I supposed to see the changes when I hop to another desktop environemnt

  • @radhakrishnathalla6046
    @radhakrishnathalla6046 2 года назад +24

    I think, they should probably add a menu to select various apps to install in the calamares installer and also save the configuration option to install same stuff in either different computers or reinstalling purposes.

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

    Thanks DT, you just turned me on to my next 'for fun' bare metal distro I haven't done in awhile. Looks like a cool installation ‼️👍

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

    Thanks for this!!! This video finally got me off my butt and helped to motivate me to install NixOS on one of my older desktop machines. I've been using Nix in Ubuntu for a while now, and I've been looking for an opportunity to deepen my understanding of it all. The graphical installer really helps for someone who's just trying to do this for the first time. I got stuck with some errors that I couldn't understand, until I figured out that UEFI didn't work with NixOS on that machine. When I used "Classic BIOS" instead, installation worked like a charm!

  • @bozingo
    @bozingo 2 года назад +10

    great video, everyone has already said the password thing in the installer but I'm just here to say you don't have to reboot when you change your config! you switch to the new configuration immediately without rebooting. you could immediately go to the terminal and type emacs and run emacs. the issue (and one of my only two issues with nixos) is that the .desktop file entries don't immediately appear in graphical menus for desktop environments until you log out and back in. and even just recaching the .desktop files doesn't do it because they all exist at different paths in the nix store and those paths only get updated when you log back into your DE (my only other issue with nixos is that whenever your DE gets updated it gets restarted without warning). edit: desktop files seem to be getting recached nowadays?? i hadnt noticed when this changed but the first complaint is no longer a thing!!
    really glad to see nixos getting more user friendly. I've long said that nixos has the potential to be the most user friendly linux distro and the best distro for noobs and experienced people alike when nix-gui is finished -- it's an ongoing project to write a graphical tool to configure nix, which, i mean, think about it. it would make it so your entire system could be configured from a single consistent and simple graphical tool without editing any files. a new user could get (most of) the power of an experienced user without having to touch an rc file ever, exclusively using drop-downs and checkboxes and text boxes. meanwhile the system just doesn't break. nixos has a LOT of potential to become very broadly popular and im excited.

  • @sunderkeenin
    @sunderkeenin 2 года назад +41

    Declarative system configuration is the future.

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

    NixOS is really a different beast. It is THE distribution for power users. I am quite happy with it. But I have to agree there is a steep learning curve but once you are past it, it is better than any other, in my experience.

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

      It limits you inside the Nix ecosystem, but Nix is just so powerful it doesn't matter, it even becones a good thing.

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

      Not sure about that myself. Easier for power users who have'nt wrote custom scripts that can already do all that stuff anyways. Good package manager though.

    • @alst4817
      @alst4817 3 месяца назад

      @@krozarequnless you literally wrote NixOS, no you can’t do everything with a few scripts 😂

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

    Am I going to compliment this fan boy's video? Yes I am. Great job. Fascinating diestro and we'll presented on your part, DT

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

    Great video, DT! I never heard about Nix before and this made me consider trying it out!

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

    Thanks for sharing this. This is one of the few I haven't tested yet. So far it's really interesting. Installing a version right now :)

  • @0netom
    @0netom 2 года назад +2

    thank you for spreading the word on NixOS, DT!
    u should have given a try to Kate, since it was pre-installed. I'd been curious to see its sudo integration and in general how much has it improved, when I last saw it 2 decades ago :)
    I was even surprised by nano having syntax highlighting :)
    also, if you show nix-env -i, that's a good gateway for ppl who are used to the mutation-based approach

  • @Ski4974
    @Ski4974 2 года назад +39

    You don't need to reboot after nixos rebuild switch, it automatically switches you into the new config

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

      i wonder how many ppl don't know this, i had no clue lol

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

      thanks i was just wondering about this

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

      This is true for everything except for the kernel, at least from what I can tell. It doesn't seem to switch the kernel.

    • @cebruthius
      @cebruthius 2 месяца назад

      To an extent. You'd still have to reboot to activate a new kernel.

  • @Joris-KarlHuysmans
    @Joris-KarlHuysmans 5 месяцев назад

    NixOS is single-handedly the smartest approach to any OS I've ever experienced. It gives you a rolling-based possibility while removing the "broke computer before meeting due to update" kind of stuff. This thing is nuts.

  • @Little-bird-told-me
    @Little-bird-told-me 2 года назад +3

    Nixos is a good learning OS, cause it allows the user to play with the config. This is really cool almost like an app where you play with the preference.
    Kudos to the team for getting calamaris

  • @glowingone1774
    @glowingone1774 2 года назад +13

    10:58
    i do not think spacing matters for syntax. but its much easier to read with consistent spaces
    12:56
    You do not have to reboot for most things
    installing software will work in the same boot
    But sometimes the application menus will not update with the new applications
    so i kill lxqt-panel and restart the panel
    there are also other switches on nixos-rebuild
    nixos if you want to really use it, you really need to read the manual for because you will just get upset when your normal programs built for a FHS linux will fail to run
    Just be understanding that nixos does not use FHS (there are tools to emulate it)

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

      yep
      its a list basically
      so ig it does not matter if its a newline or intend

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

      What does FHS in FHS linux means ?

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

      ​@@Winnetou17 Filesystem Hierarchy Standard, i.e the proper standard where all the config files(placed in usr), libs(placed in usr/lib), binaries(/bin) , etc are stored in their respective directories
      wherease nixos follows a different structure where all packages are stored in nix store under their own sub root...something like that

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

      @@drishalballaney Got it, thanks!

  • @Light-.-Yagami
    @Light-.-Yagami 2 года назад +9

    Favourite linux content based youtuber👍

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

    I love Nix. So happy to see it getting love lately

  • @mrcrazyadd2
    @mrcrazyadd2 2 года назад +5

    12:55. Most changes don't actually require a reboot. Applications and services should be ready when the rebuild is done

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

    2 minutes into the video, and NixOS sounds very nice. This is my first time hearing of it.

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

      It is!

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

      You should also hear of something called GNU Guix, just saying.

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

      @@haidermirza192 guix is nix but better

  • @mnezon1314
    @mnezon1314 2 года назад +5

    A "dictionary check" scans a list of most used passwords, a password dictionary, that hackers use to brute force a password. Its called a "dictionary attack".

    • @Bonez0r
      @Bonez0r 5 месяцев назад

      A brute force attack literally tries every possible combination of characters until it finds the correct password. A dictionary attack is not that, it's a very limited set of possibilities that is sometimes successful, but not always, and doesn't take a lot of time to complete (either successfully or unsuccessfully). A brute force attack always finds the solution if you let it run long enough.

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

    Nick did a really good job with this OS

  • @myhandlehasbeenmishandled
    @myhandlehasbeenmishandled 2 года назад +13

    You convinced me that anything Arch is the only way to live. This video feels like treason.

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

      NixOS is a step past Arch. Arch teaches you the fundamentals. NixOS makes you productive. Lets you easily recover the system, isolate your projects, packages. Automatically collects junk. Syncs many hosts. There are so many good reasons to use NixOS. Specially for PU.

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

      Arch is still a much better choice for desktop use

    • @josemaria_landa
      @josemaria_landa 2 года назад +5

      @@lambdanil I’ve been using nix OS for 3 years on my main desktop. Prior to that I used arch for 2 years. Nix OS is far superior to arch For desktop use IMO

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

      @@SuperHeroINTJ does it have good wiki/documentation and community support?

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

      ​@@rizkyadiyanto7922 the community support is great with the discord being open at all times for support and questions
      the docs are good-ish but since the community isn't large and there's so much that can/should be done with nix that I often find myself running into walls where the docs are too outdated or what I'm doing is too fringe for there to be anything on it, tdlr they're usable but don't compare to how thorough arch's are

  • @s0laret012
    @s0laret012 2 года назад +10

    I have recently tried linux again (from windows), because of some friends on my coding discord server mentioning nixos.
    And i have to say, at least if u understand a bit of programming, writing the configuration and all that kind of makes a difference for me.
    I have had problems with killing my Bootloader, even now i still sometimes kill my bootloader, yet with nixos it's like no issue what-so-ever, since my configuration is already in one single space.
    Literally the only reason i tried linux again, and i think i couldn't be happier with any other distribution.

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

      @Benign Dunno. Grub just dies on me after updates / upgrades from time to time..

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

      @Benign no.

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

    Oh my god, this makes it SO much easier to re-install compared to Arch! With Arch I constantly needed to write-down all the apps I want to keep in a text file on my phone, and retype paragraphs worth of apps every time I'd re-install Arch on a different machine.
    This is convincing me to try NixOS whenever I get the chance.

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

    man, been using arch lately because of it's archinstall command, so practical. I wish there was something like that for gentoo. also need to edit my configuration.nix, some months ago i installed NixOS on my laptop, enjoyed it, very nice distro.

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

    Nice video, unfortunately I don't have time to try these distros myself so your videos are a live saver

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

    6:37 LMAO, you know he is watching, he 'was' your biggest fan!

  • @greatestcait
    @greatestcait 2 года назад +14

    I've been wondering when you would dive into NixOS. Now I don't have to wonder any more!

    • @DistroTube
      @DistroTube  2 года назад +9

      I looked at NixOS in previous videos. Actually, the laptop you see in the background on many of my videos (my cmatrix server) runs NixOS.

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

      @@DistroTube cmatrix server

  • @rommeldizon1868
    @rommeldizon1868 9 месяцев назад

    This distro is awesome. It just took me a few minutes to setup samba share from a fresh install.

  • @tailsorange2872
    @tailsorange2872 2 года назад +5

    That one moment when DT really put in a "Strong and Complicated Password" :rofl:

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

    That rollback feature at the grub menu looks really interesting and useful.

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

    Love your DT content ... and you almost managed to talk me out of even trying NixOS given what seemed like your struggles with its nanny-state password enforcement (before reading posted comments here that suggest it's not really required after all with check box).
    But I have tried repeatedly to do a live install using a USB smart card (8 gig) created through Etcher (that has no problem performing in this capacity for EndeavourOS) yet fails to get past "Stage 1" installation with NixOS. Just gets stuck asking for me to do unclear steps in root manual mode without providing any useful info.
    So I'm giving up for now. Clearly I'm missing something. Not an expert in Linux, but certainly not a noob...
    I guess I'd be a lot more motivated if I actually had problems with Arch + i3 ( = awesome) but I have not suffered from any of these "breakages" that seem to plague others ... either lucky or perhaps it's all that clean living? ;-)

  • @selfaware7617
    @selfaware7617 2 года назад +10

    Tell me a grandma could even install windows. Grandma would probably forget her strong and complicated password.

  • @SparkTel76
    @SparkTel76 2 месяца назад

    I’ve been using nixos for about a month now on you know I eventually plan to switch over to a tiling window manager, but right now I’m trying to learn nix

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

    I would like to see a follow-up with home-manager. Nice video.

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

    Hey DT, besides reproducible builds and backup configurations, (both of which can be achieved using a custom made Arch install script and timeshift on btrfs [though not the same]) what are some other benefits of NixOS over something like Arch?

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

      Using guix, just not caring about dependencies. Guix and nix basically install software with all the dependencies it needs and remove them when you uninstall it.

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

      @@florianfelix8295 I think I can have a similar effect if I stick to using Flatpaks and Appimages... or even Snaps

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

      @@technomatic6285 but that’s only for apps and guix/nix are not containers. They are transparent systems that allow easy modification of packages.

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

    Just imagine uploading these configuration file onto multiple systems and creating identical systems in minutes

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

    I tend to buy second-hand computers so having a reproducible environment is really great, going to start playing around with nixOS soon. Thanks for the overview!

  • @nilnailscrew4784
    @nilnailscrew4784 2 года назад +33

    I honestly think that nixos is the endgame distro and that even at the peak of your Linux knowledge you should be on nixos
    nixos is easily the most innovative distro and really introduces a new paradigm to linux
    really the only reasons to not use nix are that you don't have the experience for it and that you REALLY hate systemd

    • @maxsievers8251
      @maxsievers8251 2 года назад +13

      The endgame distribution is GNU Guix - it doesn't use systemd.

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

      @@maxsievers8251 Gentoo doesn't use systemd as well as Void and the list goes on.

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

      @@olexp9017 I think Gentoo with their compile your own software and choose your own own init is truly the end game distro.

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

      @@flow5718 don’t see why uncomfortability is end game. Though I’d like guix to provide more init systems (not gonna happen), it also provides another kernel though… ;)

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

      @@florianfelix8295 I was thinking more like the ultimate distro that can be anything the user wants it to be. Gentoo and LFS fits the bill there.

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

    One thing I love about Nix the language is that white space indentation doesn't actually matter.

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

    Thanks again for another informative vid.

  • @ricardosteijn4693
    @ricardosteijn4693 2 года назад +14

    One strong argument you could make for NixOS is, if you had trouble installing it without the installer, you probably should skip it. It's quite different from other distro's and to get the most out of it you will need to learn the Nix language, how to use nix-shell, etc. Just a basic install is nice to get started but you can get stuck easily after that if you didn't read any of the documentation.

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

      The script based CLI installer is really nice and has never been a roadblock for me. Combined with the module system it makes the installation easier than, say, Arch, even the first time.
      IMO what Calamares is gonna do is make more people stop using Nix after installing it than before. Still a welcome change of course.

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

      Also all configs and stuff is in a different location so you can't use the glorious arch & Gentoo wikis

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

      @@spicynoodle7419 you kinda can, but you have to translate it in the langauge of the modules, ie. spend a lot of time reading nixpkgs source code.

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

      @@akkesm exactly, so an easy installer won't help at all.

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

      the arch linux installer is best installer i ever seen, you are right, NixOS requires lot of reading, but it is worth it.

  • @D.u.d.e.r
    @D.u.d.e.r Год назад

    I really like what NixOS is offering here with reproducibility and I strongly believe this crucial feature it has will be eventually adopted by the major Linux distros out there. I would also recommend NixOS folks to work on the GUI edit manager of the config file, which will help people to quickly and easily modify and edit their specific configuration with the option to go deeper into the command/syntax line.
    Thank u for making this vid!

    • @3lH4ck3rC0mf0r7
      @3lH4ck3rC0mf0r7 Год назад

      A GUI configuration creator for NixOS would probably look a lot like the Windows deployment manager used in enterprise to create unattended install config files. And I would love that.

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

    On paper it sounds like the best thing since sliced bread, but in practice it is really complicated and doesn't give me even the slightest clue to what is going on - or rather why it is failing to do stuff. Particularly after install it just drops me into a text login, and after login, it's a blinking cursor and that's it.

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

    Great Video DT. Loved it.

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

    NixOS is the Docker for desktop linux

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

    Did that say 2x 12-core threadripper at 8:20 ? Or am I seeing that wrong?

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

    Seems better than DT's experience with GNU Guix 😂

  • @cherubin7th
    @cherubin7th 2 года назад +5

    I have a lot of failed installs on NixOS, where some random stuff I don't understand is missing.

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

      You can ask for help in Discourse or Matrix or even Telegram.

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

      it also has active discord community, which is pretty responsive

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

    How about during the setup using the graphical interface it has list of applications to add to the install or remove from the install like in old windows setup. Maybe even an option to install from media some programs for offline installs. Maybe a search function for compatible repositories. The scripting for the install looks simple enough to use and would help for mass installs or restore drives. I would of loved this for my Mint XFCE with Twister UI.

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

    Seems very interesting! Are you able to copy the configurations.nix file into the usb drive that you boot from, so you can have the exact same software? Can you install packages in ways other than adding them to the config file?

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

      Nix does allow for reproduced systems in that way and home manager can do most of your dot files in the home directory. The nix package manager can be run similar to pacman or apt. Sudo nix -iA name-of-package. I love it for quick deployment. You can also use flatpak if need be.

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

      what a brilliant idea.

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

      One thing to keep in mind is that it does require some learning. It uses its own declarative language and its file structure is different from a standard Linux system. I chose to learn it because it is useful for my needs, but it is nice for redeployment.

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

      @@chrisheater4118 how fast could you be up and running on any computer (that allows booting from usb) with your preferred packages, desktop environment, etc?

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

      @@Anonymous4045 Not counting the internet, i would say around ~5 minutes using flakes.

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

    Imagine people uploading their config files and people could just copy paste that and install nixOS. I also think that's the future.

  •  2 года назад

    Thank you for another great video. I've been using nixos for few months when I saw nice introduction on this channel. It was great experience in the beginning, but I went back to Arch because of aur and some configurations that I just didn't know how to set without knowing nix. Nixos is very interesting distro but Arch is still my favorite.

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

    Nano did some basic syntax highlight while vim did not. That's some extra points for nano.

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

      For vim, it is just :syntax on, that's it. You can put that into the vimrc through nixos vim_configurable. I have yet to try out home-manager or flake so I put those things in system config.

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

    So hey DT, you mentioned NetworkManager is a good thing to use all the time (and I agree), and was playing around with DTOS on a vm. So two questions: 1) Got a recommended solution for DTOS? (or just whatever? Usually I go blueberry on this, but LinuxMint sounds like they're moving away from it) and 2) DTOS on NixOS when? (kidding.. kind of..)

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

    I am hoping you decide to switch from Arch to NixOS (not sure how DTOS would work under NixOS). I have been living in Nix for a couple of days now and it's slick but a tad bit confusing when it comes to home-manager and flakes. But still a strong contender to replace Arch.

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

      I take a glance at dtos and some of the stuff are not doable. Just think of this simple thing, how can you revert those changes? You can't easily. So for nixos, some of the options from dtos are available and you can look them up on nixpkg options. Think of that dtos script as a manual rather than a run and forget

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

    Glad you changed your mind about NixOS

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

    BTW, I use NixOS! I love nixos-hardware channel, makes it really easy to get sketchy hardware like GPD Pocket 3 to work without any issues.

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

    It’s what it always needed. Impressive!

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

    It would be nice to get as suckless as possible distro (like void) combined with a source based nature and high configurability (like gentoo) with a package manager similar to Nix and ability to run your own builds on a third party server using your very own config so you get an optimised build "for free".

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

      Bedrock

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

      You could use Nix package manager on Gentoo.

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

      @@bigpod Of course any distro can use the packages built from sources and even more - every package has been compiled from a source. But you know what I mean - the flexibility of Gentoo in this regard is unbeatable.

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

      @@folksurvival Sure, but I have doubts it can replace portage.

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

    Nix/nixpkgs/nixos as an idea is pretty good, the implementation and the project itself is at most an academic toy. The benefit is having an almost monolingual, somewhat testable codebase seems to be worth it. And it's easier to package and build stuff, compared to arch.

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

    a very interesting distro. I might have to give it a go. Thanks, DT!

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

    Great idea. Why not use a heterogeneous configuration manager like Terraform to deploy your OS?

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

    A little fast for my old man brain - but I'm going to give Nix another shot - in a VM of course. - But I sure wish they had a Wimpy User widget like Garuda / Endeavor have - where a user can pre- choose all the packages at install. Nevertheless - its an impressive ISO.

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

    motoko works upon nix, thats how u know a distro is truly supreme

  • @drishalballaney
    @drishalballaney 2 года назад +5

    tbh there are some reasons I dont really use nixos...for eg its not that easy to manually compile software for eg dwm
    you have to use stuff like overlays and all that to get dwm working
    then again if incase you mess up the dwm config and want to rebuild it again it becomes a PITA because patch command does not work really well with nix
    Same thing with say something like building a custom kernel
    Also the package downloads can become INSANELY large specially on unstable repos, for eg on NixOS package downloads went as much as 4gb after 3-4 days whenever the updates were pushed out
    Then again since it uses different ways to manage dependencies the base system can also take up a lot of space compared to some lightweight fully FHS distro (like Arch Linux)
    Meanwhile on Arch with the similar packages, updating weekly are atmax 1.5gb
    Also NixOS afaik has only 1 mirror...so which means if it goes down or the ISP decides to throttle it then rip downloads
    (but I still do use Nix Flakes+Home manager on my Arch system for managing my dotfiles)

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

      All the packages you get from nixpkg repo is already tested to work just fine. Overlay is to change things here and there, notably src. With locally compiled softwares, I make sure they compile first before specifying into the configuration (so nix-shell for that environment). One thing you can definitely do is to pin a dwm version rather than patching it. Not sure how nixos would screw up patch from your saying.
      Also, nixos is a source based distro, there is no mirror, only binary cache. If you get so so throttled then you can definitely compile those packages from your pc. Don't compile browser though.
      I have not worked on any custom kernel but I think there is a way to overlay that just fine.

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

      @@just__khang tbh throttling happens once in a ehile, speeds just suddenly drops once in a while when downloading but speedtest shows perfectly fine speeds of 100mbps

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

    Hi can't you do your uploads on rumble as well. Is it a lot of extra work?

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

    Haha loved that nix made dt change his usual strong and complicated password 😂😂😂

  • @3lH4ck3rC0mf0r7
    @3lH4ck3rC0mf0r7 Год назад

    I haven't tried NixOS yet, but I can't help but wonder if it has anything resembling a "configuration.nix.d" or "configuration workspaces" of some kind. That is, small, temporary overrides and additions you could layer onto the base config depending on the specific task you wanna do at the moment. This would be good to keep extra software and development packages you don't use frequently out of the system when you don't need them, while still being able to reenable those changes easily and on the spot when you need them, or being able to multiboot several mostly-identical configurations that only differ slightly for things like VFIO. This could allow to keep systems incredibly lean and bloat-free for most of their runtime.

    • @sachinchaudhary1310
      @sachinchaudhary1310 6 месяцев назад

      u can also install pkgs normally like on other distros, there is nix-shell which let's u use pkgs without installing them as long as u don't close your shell

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

    I thought a power user distro would make it as hard as possible to filter out noobs 🤣

  • @5wm562
    @5wm562 2 года назад +1

    Great for a strong server. Oddly enough what Longhorn was supposed to have been.

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

    im confused - so can you install stuff outside of the config, but the config is just for installing an OS all in 1 go with your core apps? cool stuff!

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

      Yes you can install stuff outside of your config. But it is better to install it in your config if you are committed to the stuff. Eg, you are using alsa utils, if you have alsa utils specified in the config file and also installed in your environment (not systemwide) then your pc will confuse of which one to use and you will encounter some edge case errors. If you are really into using a different alsa version then it is sort of possible but not practical.

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

      you can do more than just install an os in one go, you can config many of those apps too.
      I have almost all of my system configuration contained in one text file.
      everything from my entire sway config to the kernel modules I need to the custom css I use for Firefox can be installed in one command to another pc from my nixos config file

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

    Nice video!

  • @m4rt_
    @m4rt_ 2 года назад +5

    a lot of people can't install windows themselves (I know, since I've had to install windows for a lot of people)

  • @艾曦-e4g
    @艾曦-e4g 2 года назад

    Nix is so wonderful and I love neovim so much. I am just wandering install all my config in nix container and port it everywhere with zero configuration. But I cannot use the project env with a batch of python package install. How can I use the nvim in nix container as well as the env in host machine or other container? Do you have any suggestion?

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

    I'm using pure arch, but the thought of re-installing arch and opening up the wiki to get my configs back in order and updated is always such a daunting task. Just not enough time in the week. I don't want to go through the wiki anymore; just want to get stuff done. Using Calamares is nice, but the challenge is that what happens when Calamares doesn't have software that you need? Or say I want to switch to a DE vs WM, and then I need different packages, and have to remember where I put my list of software for that setup.
    I believe NixOS is the middle ground to really blend the best of both worlds. One config file to get a reproducible system, or maybe two or three config files total to get the different flavors of Linux that I want to work. It does sound amazing. I'm going to give this a spin in a VM as well!
    I believe arch should evolve to adopt this style of installation. Feed it one single, easy-to-use & read config file, and build the system entirely off of that.

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

      IMO it's impossible for Arch to imitate NixOS. What you don't see in the config file is the enourmous module system that makes it all work. And Home Manager for user configs, that's a separate thing. And flakes only add complexity.
      Oh and you don't normally use a single file, this video barely scrathes the surface. A typical NixOS dotfiles git repo is modularized, configures multiple machines and can configure multiple users.

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

      ​​@@akkesm or you can be completely insane like me and put it all in one 900 line file for increased portability and simplicity

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

      @@nilnailscrew4784 wtf

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

      @@nilnailscrew4784 HOW

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

      ​@@drishalballaney home manager and all my pure nixos stuff in my configuration.nix
      then via home manager i set up my wm config and my (incredibly simple) eww bar along with my firefox config
      i still want to declaratively define doom emacs, my cursor (not in nixpkgs) and my betterdiscord config but i can't figure out how

  • @ch4.hayabusa
    @ch4.hayabusa 2 года назад

    It comes with 5.15 LTS currently... yes the one with serious issues with Alder Lake processors. It seems easy to update to 6.0 however. and 6.1 LTS is coming possibly before February 2023

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

    Is there any terminal/command line installation method like ArchLinux for nixOS base installs?
    EDIT: Oh, I'm referring to a untar kinda install, I know nix has like a...Terminal install script of sorts?

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

      It is just one configuration file and internet connection.

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

      You do partition, copy one configuration file, run one command, run for your pc to compile (which is just some part because there are binary cache on nixos server)

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

      @@just__khang
      Oh they store the "tarball" on their server?
      Hope they release it somehow on other places in case they go down

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

      @@uuu12343 not exactly "tarball", moreso binary cache. Because nixos is reproducible, if your build signature matches whatever they have on their server, you could choose to download that binary instead of compiling, because it eventually is what you have so you don't need to use some computing power. You can choose to compile it on your own tho if you want to.

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

      @@just__khang
      I see
      That's interesting, gotta read more about it
      Feels like a rabbit hole as deep as Gentoo

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

    anybody else notice a slight thump (not loud) like DT is tapping his filter screen?

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

    Hey DT. I really want to give Nixos a try on my production machine to test hardware, printer, scanner,etc so I hope you show us how we can dual boot Nixos with archlinux.

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

      You could test it in the live environment of the Installer.

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

    nixos seems to me almost more like a more skid-esque version of gentoo

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

      It is more than gentoo because of the build signature shtick where you won't need to compile the same package (that other users might have) because the nixos server might already have that exact build for you.

    • @kexec.
      @kexec. 2 года назад

      I used Gentoo for years but I hated it so much for their ebuild syntax and chunky build system.

  • @yash1152
    @yash1152 8 месяцев назад

    14:31 why aint this syntax highlighted in vim, while it is in nano 10:13 ?

  • @user-bf1dc5mc2z
    @user-bf1dc5mc2z Год назад

    I chose " install alongside " and it keeps failing . obviously user error but I don't know what I'm doing wrong., ??

  • @denizkendirci
    @denizkendirci 2 года назад +14

    my grandma wouldn't install nixos, she is using arch btw.

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

    DT who did you watch on youtube about linux, back when you first started. GVDT

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

    So you need to reboot after every package installation?

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

    3 questions:
    Where is Nixos grabbing packages from?
    Can you specify stable vs nightly build for a package
    Can I tell it to grab a config file from a Git repo and put it in my home directory (e.g. .vimrc or .bashrc)?

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

      nixos is grabbing packages from the nix repos
      by installing the unstable repos you can then declare any packages you want to be installed from those repos, you can even have them at the same time as the versions from stable!
      and I'm pretty sure you can do the last one although in my experience it's easier just copy pasting it into the file itself and using the file create command to make the file

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

      > Where does Nix get its packages from
      Nix's package definitions are in the Nixpkgs repository. The Nix package definitions typically download + build from the source code of whatever project; but for some Nix packages, the Nix package will download a release binary. With Nix, building from source should result in the same behaviour as downloading a built Nix package from somewhere else. Nix does have servers which cache most of the Nixpkgs packages.
      > Can you specify stable vs nightly build for a package
      Nix is very expressive. You can do all sorts of things. However, the Nix community isn't (yet) large enough to have an LTS set of nixpkgs.
      > Can I tell it to grab a config file from a Git repo and put it in my home directory (e.g. .vimrc or .bashrc)?
      There's a relatively popular project called "Home Manager" which does this sort of thing. I use it just to symlink my dotfiles. I think it's more difficult than it's worth until you're familiar with Nix, unless you're just copy-pasting someone else's config.

  • @kexec.
    @kexec. 2 года назад

    Whether it has a graphical installer or not, I really can't recommend someone who doesn't have experience with some sort of programming. Installing is relatively easy compared with Gentoo. But using the NixOS as your daily driver needs a huge understanding of the Nix language. I had to read Nix Pills (huge Nix language documents) few times to fully understand Nix itself. I start using NixOS for months now, but I still don't have the confidence I had in Gentoo. Especially if you’re someone who uses suckless software, you’ll find huge pain while using NixOS.

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

    The only problem I have is that my configs get stuck in feature creep! 😅

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

    I've been trying to install it using virt-manager, but my virt-manager appears to not want to connect to the Internet at the moment. T_T

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

    4:28 ... there is a checkbox bellow it for requiring a strong password that is on by default

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

    This nixOS looks very appealing, but not sure if I'm ready to jump off fedora.

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

    Thank you DT

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

    Please make a video about how to install dwm on nixOS

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

    No need to use nano even for the first edit of the config file, since you can use vim from a nix-shell.

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

    You finally found an installer to have u behave yourself with the password ^_^