NixOS Revisited

Поділитися
Вставка
  • Опубліковано 19 лип 2024
  • Time to update the config and reproduce my entire system.
    Chapters:
    00:00:00 - NixOS
    00:01:40 - Review Minimal Install
    00:07:49 - NixOS Packages
    00:16:32 - Monitor Issues
    00:33:44 - NixOS Install Begins
    00:42:25 - Changing Hardware UUIDs
    00:51:34 - Fixing Errors with config
    01:07:21 - Initial Boot
    01:10:21 - Floorp does NOT work
    01:15:05 - It just WORKS
    01:31:28 - Fixing Permissions
    01:37:20 - Using BBR Network Support
    01:51:54 - The End .
    ►► Digital Downloads ➜ christitus.com/downloads
    ►► Reddit ➜ / christitustech
    ►► Chris Titus Tech ➜ / @christitustech
    ►► Twitch ➜ / christitustech
    ►► UA-cam Early Access ➜ / @titustechtalk
  • Фільми й анімація

КОМЕНТАРІ • 62

  • @wiillou
    @wiillou 6 місяців тому +54

    You should regenerate the hardware configuration when you install your system because it can pick up some qwirks of the system, it says at the top that you should not edit this file.

    • @felixjohnson3874
      @felixjohnson3874 3 місяці тому

      How do you 'regenerate' it? I've been meaning to look into nix so that I could easily reinstall and update systems but do you seriously need to run through the installer to update the hardware config? Is there no way to define a partitioning schema or anything via nix directly?

    • @peridot-id8hw
      @peridot-id8hw 3 місяці тому

      @@felixjohnson3874
      If I understand your question correctly, you should run nixos-generate-config as root.
      nixos-generate-config picks up on your system's "current state" (system hardware, currently mounted filesystems, swap etc) and generates /etc/nixos/hardware-configuration.nix. It normally generates the main configuration.nix too but it doesn't overwrite an existing one if you have it.

    • @brainstormsurge154
      @brainstormsurge154 29 днів тому

      ​@@felixjohnson3874 Been looking into this as well. From looking at GitHub issues, tech forum and Reddit posts the answer is that that feature is not implemented and is being worked on. However, I'm pretty sure I did see some people come up with some hacky things to try but I'm not sure if anything worked.
      I'm curious if Guix, the other major declarative distro, has been able to solve this problem.

  • @LarsOksendal
    @LarsOksendal 6 місяців тому +8

    Chris, you are the king of git. You should make a flake right away. You can use the configuration.nix that you have created now, add Home-manager standalone or module (Module if you want a fully automated install script). You should also make hardware-configuration.nix use labels instead of uuid so that it stays the same every time you install. Keep it up! You'll love NixOS the more you use it!

  • @RobFisherUK
    @RobFisherUK 6 місяців тому +6

    One thing I find nice is that if you stick with it, all these things you are fixing: it will be the last time you have to figure out how to do that specific thing.
    All your changes are commits and if you see the same problem on some other computer you can apply the same change there.

  • @matthewstott3493
    @matthewstott3493 6 місяців тому +19

    Nix the package manager runs on Windows WSL2 w/systemd, macOS, and Linux. Nix plus direnv is simply magic for developers. Change directories into a project and direnv will load a Nix flake and spin up your projects environment including developer tools, libraries, older versions of things, etc. Nix Home Manager handles userland configuration.

    • @MagnusNemo-xc5nx
      @MagnusNemo-xc5nx 6 місяців тому

      devenv for the win

    • @salgadev
      @salgadev 6 місяців тому

      Is it really good for other languages? I use python and it's a pain and the ass to do anything with it and/or jupyter, the flakes for this don't work

    • @icecoldmichl285
      @icecoldmichl285 5 місяців тому

      @@salgadev i find it good for python because you have to worry about conflicting dependencies/python binaries across projects. Is also prevents needing to use pyenv and other tools that manage your python environment. I think most people using nix use poetry2nix package for interacting with pyproject.toml python projects but idk about other means, normally use just specify which packages and py version in flake.nix.

  • @MagnusNemo-xc5nx
    @MagnusNemo-xc5nx 6 місяців тому +9

    NixOS is the way. Never going back to normie Linux. Steep lurning curve but worth the time investment.

    • @Ebalosus
      @Ebalosus 6 місяців тому +2

      NGL I'd rather learn something like NixOS (or its Fedora or Guix equivalents) than Arch or Gentoo.

  • @macrichterj19
    @macrichterj19 6 місяців тому

    So entertaining to watch!

  • @bzmrgonz
    @bzmrgonz 6 місяців тому

    @chris min 1:53.... HEY MAAAA!!!! THE MEATLOAF!!!! THE MEATLOAF!!!! ~ wedding crasher!!!! :-D .. Believe it or not Chris, this makes a good post-intro video. I have only seen a few high level intros, promos, and show-n-tell style videos and I was able to follow you roughly. The trick is to concentrate on your delivery and the errors and corrections left in the video are refreshing and very.. very educational. I love the fact that you did not curate, prep, nor even "read the manuals". There is so much more learning in "feeling your way thru it" than following some recipe!!!

  • @Ultrajamz
    @Ultrajamz 6 місяців тому +3

    Wondering if I should use kasm or spool up nixos or ubuntu vm’s for using different browser VMs for different purposes, keep from being data mined and profiled so hard

  • @b3n.b5n
    @b3n.b5n 6 місяців тому +1

    lets gooooo, nix is so good

  • @thestreamreader
    @thestreamreader 6 місяців тому +3

    OgloTheNerd channel has good video on why he left Nix and what he created to somewhat mimic it.

  • @wiillou
    @wiillou 6 місяців тому +2

    question someone asked at the start about secure boot: lanzaboote is the way you get secure boot

  • @cxa24
    @cxa24 5 місяців тому

    Nick's OS RE-visited. All American terror

  • @neb_setabed
    @neb_setabed 6 місяців тому

    You sounded a lot like my uncle when you were yelling about your monitor haha

  • @carlonlamont511
    @carlonlamont511 6 місяців тому

    Would it be possible to use NixOs as a hypervisor to run VMs on some PCs and laptops? I am trying to get a package installation for schools with programming, CAD/CAM, and digital arts software. That can be remote managed and booted from a locked image after each power cycle. To allow for permissive use but clear any non standardized changes.

    • @ask_carbon
      @ask_carbon 5 місяців тому +1

      You can use it as a KVM hypervisor and manage VMs over ssh with vrish like any other distro.

  • @mannixmd
    @mannixmd 6 місяців тому +8

    I don't see the point of changing distros if you gonna end up with the same looks tbh but that doesn't change the fact that those streams are entertaining to watch :)

    • @LarsOksendal
      @LarsOksendal 6 місяців тому +12

      You don't switch distros because of theming or appearance, but distinctive functions and package handling. NIXOS is really something of its own and I hope Chris will take a deep dive with NixOS :)

  • @ivanmarkovic8885
    @ivanmarkovic8885 6 місяців тому

    I'm still using 2 pieces of 1080p/60Hz... They still work OK... so why change? (And I do like two of same kind so upgrade cost twice as much)

  • @davidluza6872
    @davidluza6872 3 місяці тому

    Hi, I've been trying nixOS for a while and I wanted to install hyprland but I couldn't find a working guide anywhere. The ones I tried broke my system, do you have any tips where I can learn to understand it? I am using gnome which I know. Thanks for your videos and your time, good luck with everything.

  • @Cenot4ph
    @Cenot4ph 3 місяці тому

    Nix is perfext for automated server configurations, management and versioning control.
    We do a ton of automation now with ansible that Nix could be doing instead

    • @transcendtient
      @transcendtient 2 місяці тому +1

      Yeah I see this as the use case. As a daily driver I hated it. It is not mature enough or easy enough to use right now.

  • @dawntwilight
    @dawntwilight 6 місяців тому +6

    Nix is the fuuture

    • @matthewstott3493
      @matthewstott3493 6 місяців тому +1

      Can't believe that Nix is 20 years old! I only recently discovered it...

  • @tartearer
    @tartearer 6 місяців тому

    No idea what your doing but that's ok just seeing someone do this learning through osmosis.

  • @RobinGrays
    @RobinGrays 6 місяців тому

    One Hour Later,,, Awesome,

  • @alphakamp
    @alphakamp 5 місяців тому

    as a dad, i love the end of the stream ahhaha

  • @RazoBeckett.
    @RazoBeckett. 6 місяців тому

    I will also try nixos some day i am also a guy who breaks they thinks. because i keep on tinkering around and damage it.

  • @azuredragongaming8161
    @azuredragongaming8161 6 місяців тому

    Do you need to reboot everything you rebuild nixos??

    • @lolololo-cx4dp
      @lolololo-cx4dp 6 місяців тому +3

      No

    • @XxZeldaxXXxLinkxX
      @XxZeldaxXXxLinkxX 6 місяців тому +3

      97% of the time no. Only need to reboot for things where you need to reboot on a regular distro anyways. Mainly for boot loader or kernel changes

  • @ElHua
    @ElHua 6 місяців тому

    I have four computers in my home, all of them are 1080p 60Hz.

  • @redhawk3385
    @redhawk3385 6 місяців тому +2

    The arch wiki is an amazing resource, and I strongly dislike arch itself.

  • @utherlightbringer3868
    @utherlightbringer3868 6 місяців тому

    He switched back to old keyboard?

    • @TitusTechTalk
      @TitusTechTalk  6 місяців тому +2

      nope, I'm officially an ortholinear hipster now.

  • @linuxchr
    @linuxchr 6 місяців тому

    I have an old 1080p 50

  • @adjbutler
    @adjbutler 6 місяців тому

    I use NixOS btw...

  • @mucklus
    @mucklus 6 місяців тому +2

    ...and then hundreds of aggressive noobs start storming r/nixos and spewing all the crap you put in their heads at others....When Dolstra imposed his 20-year experiment on the users, he did not take into account that the hardware-configuration.nix file must be identical for the system to be completely identical, because it is the basis for the configuration.nix file. By the way, the system is configured quite concisely and flexibly without using flakes/

  • @unclefester9113
    @unclefester9113 6 місяців тому

    You need to write an easy peasy.... Easy Install script..... I like Nix. I can manage to fiddle with my windows Registry. But. I seldom stray too far. If there was an easy to import basic Nix config script.
    I can get it installed easy enough. But eight seconds after I boot it up - I want to tweak it... or install a different browser - but thats where I get stuck.

  • @Subspace.T.Tripmine
    @Subspace.T.Tripmine 6 місяців тому +2

    nix-env -iA neofetch && neofetch

    • @b3n.b5n
      @b3n.b5n 6 місяців тому +2

      nix-shell -P neofetch --command neofetch

  • @GR3YS0RG4N1CS
    @GR3YS0RG4N1CS 6 місяців тому +1

    The China bashing is getting old.

  • @TorsionTestis
    @TorsionTestis 6 місяців тому +8

    Windows is so much better.

    • @ashawesome7234
      @ashawesome7234 6 місяців тому +28

      Beware, for you have summoned the mob to burn you as a heretic. XD

    • @genericgamer1319
      @genericgamer1319 6 місяців тому +24

      how is this relevant to the video? better at what
      being reproducible?
      if so how

    • @originzz
      @originzz 6 місяців тому +3

      Better at what though

    • @tactical7601
      @tactical7601 6 місяців тому +13

      ​@@originzz better at trolling. Just look at this guy's username, TorsionTestis? Yeah no, he clearly has a PhD on proprietary garbage OS' and can objectively prove why Winblows is far better than any other OS on earth

    • @Redyf
      @Redyf 6 місяців тому

      hahahaha@@tactical7601

  • @DevSSH_
    @DevSSH_ 6 місяців тому

    🥲i get 1mb/s at most