NixOS Stoat: Not so scary after all?

Поделиться
HTML-код
  • Опубликовано: 5 окт 2023
  • In this video we install a basic NixOS foundation for a workstation capable of creating and editing RUclips videos. It will be ready to build your favorite interfaces and applications right on top of it!
  • НаукаНаука

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

  • @islam-karam
    @islam-karam 7 месяцев назад +6

    I wasn't aware that there is such a good distro under the name NixOS, thank you a lot for always being my go-to source for information, you're the best!

  • @RonVichar
    @RonVichar 3 месяца назад +2

    I'm having fun with the way NixOS makes it easy to test out various Desktop Environments, and how clean it is without bloat or packages I don't need. It really makes you do some homework so it's great for learning and rolling back when mistakes are made

  • @sunriseleatherco.6587
    @sunriseleatherco.6587 3 месяца назад +2

    I've watched a LOT of linux channels over the years and finally I found one that is actually helpful. Great content!

  • @Mikesco3
    @Mikesco3 7 месяцев назад +3

    Thank you so much for doing this dive into NixOS.
    I'd love to see more about it, also if you could dive into explaining flakes.

  • @uno-tu9xx
    @uno-tu9xx 7 месяцев назад +5

    Great explanation into NixOS - thank you. Look forward to more instalments 👍

  • @leighhorton2806
    @leighhorton2806 7 месяцев назад +2

    Stephen excellent video. Setting up flatpak makes install of programs very easy.
    A good example VLC - through the software centre it did not install fully, stopped at 90%. Installed with flatpak no problems.
    Keep up the Nixos testing.

  • @agstar5837
    @agstar5837 7 месяцев назад +2

    You always make fantastic videos. Thanks for sharing your knowledge and giving us your time

  • @abobader
    @abobader 7 месяцев назад +1

    Thanks Stephen, nice to see you back again.

  • @mykola2173
    @mykola2173 7 месяцев назад +1

    Very interesting and perfectly explained. Thank you!

  • @jonathanchevallier7046
    @jonathanchevallier7046 3 месяца назад +1

    Thank you for this video.

  • @fabriziot1467
    @fabriziot1467 5 месяцев назад +2

    Hey buddy you make my day. Thank you so much for zram

  • @user-rm4jm1ex8r
    @user-rm4jm1ex8r 7 месяцев назад +4

    Can you make a video about kernel configuration under nixos please

  • @OraOraOra
    @OraOraOra 13 дней назад +1

    Great Video, as always!
    I was hoping for you special treatment for us SSD users, thats what I really like about your Videos, you always show us how to minimize wear. Is noatime activated by default? And do you define that in the config or in /etc/fstab? And enabeling something like zram, seems very easy in nix, thank you!

    • @stephenstechtalks5377
      @stephenstechtalks5377  10 дней назад +1

      My understanding is to add the noatime mount option in hardware-configuration.nix file:
      nixos.wiki/wiki/Filesystems
      Good luck, and thanks for watching!

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

    What is the benefit/difference of the zramswap over the calameres install of a swap? Never used zram

    • @stephenstechtalks5377
      @stephenstechtalks5377  4 месяца назад

      Swapping to compressed RAM is generally faster than to a disk partition swap for low memory devices. I generally use it because it reduces the number of writes to the SSD and can help make it last longer. :)

  • @LorenzoBettini
    @LorenzoBettini 7 месяцев назад +1

    Thanks for the great video (as usual)! However, I found the last part confusing: you revert to the previous generation (by the way, you could have done that by simply booting the previous generation, couldn't you?) and you have no flatpak command installed, but the installed flatpaks are still there in your disk, aren't they? I mean, it's different from a snapshot.

    • @stephenstechtalks5377
      @stephenstechtalks5377  7 месяцев назад +2

      Hey Lorenzo, my understanding is when you revert you simply change the default boot generation, so you are correct. The rollback in this video was just a simulation for what you can do if you actually had a broken configuration.
      Regarding flatpaks, yes I agree with all of your statements! The system flatpaks are still installed in /var/lib/flatpak/app, which you are free to delete as needed. Cheers!

  • @ArnoBlume1234
    @ArnoBlume1234 7 месяцев назад +2

    Many thx for this litle Tutorial.Golden how easy NixOS works. But..(what else :) ) ... the "generation" parts works okay so far, but what if to rename the Rebuild-Points in more logical Names like purebuilde, kvmbuild, flatdbuild and so on. maybe im wrong but istn it cleaner?

    • @stephenstechtalks5377
      @stephenstechtalks5377  7 месяцев назад +1

      Labeling generations would be very handy! if you haven't already, take a look at this little script:
      mynixos.com/nixpkgs/option/system.nixos.label

    • @ArnoBlume1234
      @ArnoBlume1234 7 месяцев назад

      @stephenstechtalks5377 . its dirty and hacky, but what about snipper or timeshift after base-installation? why not name the cat, if no one care about it exists??

  • @TangDynasty1983
    @TangDynasty1983 7 месяцев назад +1

    Thanks for the video. Does Gnome run on X11 by default or Wayland?

    • @stephenstechtalks5377
      @stephenstechtalks5377  7 месяцев назад +1

      It runs Wayland by default. Thanks for watching!

    • @TangDynasty1983
      @TangDynasty1983 7 месяцев назад +1

      @@stephenstechtalks5377 How does Gnome run on Wayland vs xorg? I'm debating between Gnome and KDE. Thanks again.

    • @stephenstechtalks5377
      @stephenstechtalks5377  7 месяцев назад +1

      @TangDynasty1983 I’ve found both Plasma and GNOME run on Wayland just fine :) so whichever suits your workflow best should be the ticket!

  • @asdfghyter
    @asdfghyter 7 месяцев назад +1

    why install those packages using flatpak instead of nix? do the nix versions not work as well? also, could you have set the flatpak remotes and list of flatpaks to install directly from the nixos config instead of doing it from the command line? I'm not saying it's wrong to do it from the command line, I'm just curious if the more declarative option is also available?

    • @stephenstechtalks5377
      @stephenstechtalks5377  7 месяцев назад +1

      This option is certainly available! Testing Flatpaks here just out of curiosity... Thanks for watching!

    • @asdfghyter
      @asdfghyter 7 месяцев назад

      @@stephenstechtalks5377 yeah, that makes sense! and there are certainly packages that are only available as flatpaks, so it's useful to try it out!

  • @lqlarry
    @lqlarry 7 месяцев назад +3

    Thanks! I would like to see a video about the NixOS Home Manager, if that is in your future.

  • @menzokruizinga
    @menzokruizinga 7 месяцев назад +4

    Might be a stupid question is nixos rolling

    • @bstar777777
      @bstar777777 7 месяцев назад +1

      indeed

    • @ten.7aku
      @ten.7aku 7 месяцев назад +6

      It can be if you want it to be. It has a stable branch and an unstable one. Despite the name(unstable) it was ant still is very stable for me, i'm on my 6th month with it and i had no problem.

    • @menzokruizinga
      @menzokruizinga 7 месяцев назад

      @@ten.7aku thanks for the info😉

    • @stephenstechtalks5377
      @stephenstechtalks5377  7 месяцев назад +5

      The stable branch has discrete releases such as 23.05 'Stoat' like in this video. As mentioned in this thread, you can also switch to the unstable branch! :)

    • @NabekenProG87
      @NabekenProG87 7 месяцев назад +5

      You can also pick and choose which channel you want to install a package from

  • @starlederer
    @starlederer 7 месяцев назад +1

    Don't want to come across as ungrateful for the video but I am pretty sure setting NixOS up was not the scary part, in fact it allows you to configure things that most people would not even attempt in other distros with a single config property. It is running into non-FHS "problems", proprietary software, binaries in scripting language packages (e.g. NPM) or setting up highly customized and specific development (or runtime) environments that is scary and makes you just want to run a Debian container sometimes

    • @stephenstechtalks5377
      @stephenstechtalks5377  7 месяцев назад

      Interesting concept and a bit of fun - thanks for watching! ;)