I was WRONG! This is the BEST Package Manager.

แชร์
ฝัง
  • เผยแพร่เมื่อ 21 พ.ย. 2024

ความคิดเห็น • 317

  • @ChrisTitusTech
    @ChrisTitusTech  2 ปีที่แล้ว +120

    Website Guide for copy/paste: christitus.com/nix-package-manager/
    --------------------------------------
    Thanks Internet for its "nicks" not " N-I-X".
    I've since been using NIX in tandem with apt on a debian system and it is fantastic. No extra repositories and rock solid performance.

    • @jt_hopp
      @jt_hopp 2 ปีที่แล้ว +9

      A-P-T

    • @joshuacanter6843
      @joshuacanter6843 2 ปีที่แล้ว +2

      nala?

    • @esra_erimez
      @esra_erimez 2 ปีที่แล้ว

      @@jt_hopp 🤣

    • @Shinigami_Light_Yagami
      @Shinigami_Light_Yagami 2 ปีที่แล้ว +3

      I still love how informative nala's front-end is, and how universally supported apt is. I literally just change the word apt to nala when doing installs.

    • @Jakeu1701
      @Jakeu1701 2 ปีที่แล้ว +1

      @@joshuacanter6843 yup, I think he commented about setting up an alias a couple of episodes ago.

  • @joe7992
    @joe7992 2 ปีที่แล้ว +320

    Package manager hopping inbound

    • @markh.6687
      @markh.6687 2 ปีที่แล้ว +6

      I wonder how badly Debian Stable will break using a powerful package manager like this? I run MX Linux, and being based on stable they are still several versions behind on desktops, etc. Must prepare USB stick for testing....

    • @rishirajsaikia1323
      @rishirajsaikia1323 2 ปีที่แล้ว +15

      @@markh.6687 I heard that the nix package manager doesn't conflict with a distro's main package manager at all.

    • @markh.6687
      @markh.6687 2 ปีที่แล้ว +1

      @@rishirajsaikia1323 Thank you; I haven't had time to try it on a USB stick bootable (I FINALLY learned to stop messing with my daily-driver setup :) ).

    • @dundee248
      @dundee248 ปีที่แล้ว +7

      @@markh.6687 Not at all, nix's packages are not installed into the system itself at all - they actually live in their own directory-structure and are just PATH'ed.
      That ist of course only as long as you do not "Override" important system tools (e.g. by installing them from nix besides the original Version) and therefore make them basically shadow debian's versions.

    • @markh.6687
      @markh.6687 ปีที่แล้ว

      @@dundee248 Thank you; now hold my beer, I wanna try something....(Famous Last Words in Linux Series, Entry #1) 😆

  • @nilnailscrew4784
    @nilnailscrew4784 2 ปีที่แล้ว +161

    its nice to see nix and nixos gain more attention from the linux community in recent times, hopefully with more exposure the nix repos will get bigger and more well maintained, and documentation will improve.
    Nixos really is a gamechanger and has fixed many of the problems the community is dealing with right now (immutability and cross distro packaging)

    • @AndersHass
      @AndersHass 2 ปีที่แล้ว

      Any of the cross distro packaging that doesn't have immutability?

    • @nilnailscrew4784
      @nilnailscrew4784 2 ปีที่แล้ว +11

      @@AndersHass don't think so but I meant that nix was around before flatpak and snap
      and by immutability I was also referring to silverblue and steamos since their goals were to have immutable packages

    • @AndersHass
      @AndersHass 2 ปีที่แล้ว +1

      @@nilnailscrew4784 oh it is older than those

    • @CB-qz1mt
      @CB-qz1mt ปีที่แล้ว

      i wish nixos and vanilla os would make a baby js

    • @mgord9518
      @mgord9518 11 หลายเดือนก่อน +3

      I really wish Nix would've started taking off before Flatpak. It really seems to be a good solution to cross-distro packaging, it's just a bit complex.
      If Nix was a little more beginner-friendly and had half the corporate funding that Flatpak does I legitimately think it could've won

  • @vpxc
    @vpxc 2 ปีที่แล้ว +45

    Within the Nix community, a lot of attention goes toward 'advanced' uses of Nix, like storing and deploying the configuration of a fleet of NixOS machines in a 'GitOps'-y workflow, or writing your own custom packages for your own applications.
    It's really nice to see content that focuses on what cool stuff Nix can do for people even before they go all the way down the rabbithole!

    • @varungawande9321
      @varungawande9321 ปีที่แล้ว +2

      My understanding of what you're saying is basically something like a configuration file that is capable of reproducing packages and applications on new instances/PCs. I was able to find this stuff for NixOS, but not for Nix package manager. Is there something you could point me towards?

    • @yash1152
      @yash1152 3 หลายเดือนก่อน

      @@varungawande9321 configuring plain nixos seems easy, but dabbling into the nix-pkgs... holly molly, it feels yet another level of newthings.
      > _"I was able to find this stuff for NixOS, but not for Nix package manager."_

  • @brunoshure
    @brunoshure 2 ปีที่แล้ว +65

    "nix-env operations such as upgrades (-u) and uninstall (-e) never actually delete packages from the system. All they do (as shown above) is to create a new user environment that no longer contains symlinks to the “deleted” packages.
    Of course, since disk space is not infinite, unused packages should be removed at some point. You can do this by running the Nix garbage collector. It will remove from the Nix store any package not used (directly or indirectly) by any generation of any profile.
    Note however that as long as old generations reference a package, it will not be deleted. After all, we wouldn’t be able to do a rollback otherwise."
    This is what's written on the "Garbage Collection" section of the manual. Am I missing something? I don't think what's showed in this video is the proper way to manage applications via Nix.

    • @griof
      @griof 2 ปีที่แล้ว +6

      The reason upgrades an uninstall does not remove things is to have all the backups available. That's usefull if you break something and want to recover the previous system status. Of course, depending what you use the machine for, that can vary a lot. The workflow of installations, upgrades, garbage collection, etc... Depends on you. For a personal machine, you would probably have very few generations available and run garbage collection after updates, but for a production machine running a server that might be different. So, you aren't missing anything, it all depends on how you use nix

  • @nevoyu
    @nevoyu 2 ปีที่แล้ว +106

    Nix makes the AUR look tiny. It's fantastic! Also it's not N.I.X. It's literally called nix "nicks"

    • @markh.6687
      @markh.6687 2 ปีที่แล้ว +8

      "We're the Knights who say "Nix! We demand you bring us....a server!!" (Nix!)
      -- From Monty Python and the Holy Grail.

    • @nafg613
      @nafg613 2 ปีที่แล้ว +2

      Nick's package manager? ;)

    • @markh.6687
      @markh.6687 2 ปีที่แล้ว

      @@nafg613 Oh, you persistently silly person! :)

    • @linuxmobile
      @linuxmobile 2 ปีที่แล้ว +1

      Tiny? You need more than 83k from aur?

    • @markh.6687
      @markh.6687 2 ปีที่แล้ว

      @@linuxmobile Upload ALL the softwares!

  • @FengLengshun
    @FengLengshun ปีที่แล้ว +13

    I have joined the Nix train as well, with home-manager, and it IS great. It's not perfect, and it is far more complicated than it needs to be for casual use, but IMHO this is truly the perfect companion to flatpak, especially for CLI stuff. It makes more sense to use Nix over snaps in my opinion, and between Nix, flatpak, and distrobox, the amount of time I need to touch my host package manager can now be counted by hand. They legitimately made immutable a viable path for me.

  • @BREAKDRS
    @BREAKDRS 2 ปีที่แล้ว +8

    I have been using NixOS for 3 years now and will never look back. It now powers all my servers, laptops, raspberry pis at home and in my company.

  • @The-Other-Mario
    @The-Other-Mario 2 ปีที่แล้ว +26

    I always heard it pronounced "nicks" so I did a little digging and in the original paper it's stated that the name Nix is derived from the Dutch word niks, meaning nothing, it's not an abbreviation.

    • @markh.6687
      @markh.6687 2 ปีที่แล้ว +5

      See also German's "nichts", also meaning 'nothing'.

    • @HenryT
      @HenryT 7 หลายเดือนก่อน +2

      @@markh.6687 or the English word nix, haha.

  • @drishalballaney
    @drishalballaney 2 ปีที่แล้ว +34

    actuallt it is better to use home manager and flakes for an even more reproducable setup, and if you want to go all out you can take a look at nixos

    • @drishalballaney
      @drishalballaney 2 ปีที่แล้ว +5

      @@Khovh that's like asking, which is better apt or debian?

    • @ChristianConrad
      @ChristianConrad 2 ปีที่แล้ว

      But which _is_ better, @@drishalballaney -- a car, or tires?

    • @angeldude101
      @angeldude101 ปีที่แล้ว

      Actually it's closer to "which is better: a car, or a car factory." The car is NixOS; the car factory is Nix. NixOS is really just a single, absolutely large and absurdly customizable, package for Nix.

  • @MrDarkoiV
    @MrDarkoiV ปีที่แล้ว +9

    I installed Nix for my Steam Deck, as pacman was both pain(I used mainly Debian based distros before) and new StemOS updates would wipe everything anyway,
    and now my newest laptop will run NixOS. Nix is such a good package manager.

    • @clocked0
      @clocked0 ปีที่แล้ว

      Just be prepared to learn Haskell. I loved NixOS but a lot of things are dependent on Haskell
      However, it's one of the easiest Linux installations to do despite being so different from traditional distributions

    • @mgord9518
      @mgord9518 11 หลายเดือนก่อน

      ​@@clocked0What depends on Haskell?

    • @clocked0
      @clocked0 11 หลายเดือนก่อน

      @@mgord9518 Apparently not Nix! But the two languages are very similar, so still worth learning.

  • @con-f-use
    @con-f-use 6 หลายเดือนก่อน +2

    Nix is not a package manager, it's a build system and a great one at that. It can also handle a build artifact cache and remote building. It is NOT a package manager, because it doesn't do things that apt or homebrew or yum or what have you do. For example, it does not put systemd service files in any location. It does not copy config files. It does not do any setup in any way. It's important for new users to know, that they have to do that kind of setup themselves.

  • @hahalolha
    @hahalolha 2 ปีที่แล้ว +1

    I would love a full walkthrough of configuring/using Nix in video form. Nix looks pretty awesome!

  • @tjaytje
    @tjaytje 2 ปีที่แล้ว +36

    Just wait untill you findout about the power that NixOS offers :D

    • @drishalballaney
      @drishalballaney 2 ปีที่แล้ว +5

      This^
      NixOS is one of the best distributions I have used till now

    • @tjaytje
      @tjaytje 2 ปีที่แล้ว +2

      @@drishalballaney the only thing i wished to was that NixOS wasn't so dependent on systemd. Don't get me wrong there is nothing wrong with systemd but i would preffer init freedom as personally i preffer runit over systemd for a init system.

    • @rahilarious
      @rahilarious 2 ปีที่แล้ว +1

      Just wait untill you findout about the power that Gentoo offers :D

    • @angeldude101
      @angeldude101 ปีที่แล้ว

      @@rahilarious Does Gentoo let you specify all your customizations in source code and then apply them globally to all packages you install, except for a small handful that you decided to use the vanilla versions for? Did Gentoo check for if you actually customized a package and then downloads a binary version if it can prove that you didn't and only compile packages that your actually customized?
      Does Gentoo let two different packages depend on different versions of the same dependency?

  • @matthiasbenaets
    @matthiasbenaets 2 ปีที่แล้ว +4

    True enlightenment. Next step is NixOS

  • @peterjansen4826
    @peterjansen4826 2 ปีที่แล้ว +4

    Finally on Nix. Good! I still am on Arch but I do think that Nix is awwwesome and I woulnd't mind using it.

  • @Oilzilla
    @Oilzilla ปีที่แล้ว +1

    This is the Holy Grail of package management. Thank you!

  • @estebanmarin002
    @estebanmarin002 2 ปีที่แล้ว

    just tried it, now I am going into the rabbit whole now!! this blew my mind

  • @edbeckerich3737
    @edbeckerich3737 2 ปีที่แล้ว +10

    So will Nix package manager mean that you dont need Snaps, Flatpacks or Appimages anymore? That would be fantastic!

    • @fordonmekochgalenskaper5665
      @fordonmekochgalenskaper5665 2 ปีที่แล้ว +1

      I use none of them, works great, but I only use arch, and never should go for snap or appimage, can't understand why I should install same dependency several times? Love pacman and AUR and never have any problem with that

    • @NdxtremePro
      @NdxtremePro 2 ปีที่แล้ว

      Nix-shell provides some of that functionality. If all you are using those for is to get apps, then yeah. If you care about the security benefits of these options then look into the details. I haven't, so they may be comparable, but I don't know.

    • @lolololo-cx4dp
      @lolololo-cx4dp ปีที่แล้ว

      @@fordonmekochgalenskaper5665 your app never broke even once?

    • @fordonmekochgalenskaper5665
      @fordonmekochgalenskaper5665 ปีที่แล้ว

      @@lolololo-cx4dp no, my Arch install is 5 years old never been any issue, most applications I use in my work comes from AUR

    • @lolololo-cx4dp
      @lolololo-cx4dp ปีที่แล้ว +1

      @@fordonmekochgalenskaper5665 what do you do on your pc?. Also Flatpak still share dependencies bro. The main thing flatpak about is sandboxing, it aims a package that behave exactly the same on every distro, flatpak also very useful on something like steam deck when the system is immutable. Nix can also do this but AUR can't.

  • @dalefribble4390
    @dalefribble4390 2 ปีที่แล้ว +5

    Hi Chris,
    This was an interesting video! Can you say a bit more about your terminal (prompt, config etc) that we see in this video? The mod looks nice.
    Also can you say a bit more about the pros and cons of using two package managers in a linux system?

  • @maurolimaok
    @maurolimaok ปีที่แล้ว +2

    Really this incredible minimal interface terminal is BASH?
    Man I'm a newbie learning Linux and Terminal prior to coding.
    Do you have any tutorial about this configs? The readability is AMAZING!
    A big hug from Brazil!

  • @peterjansen4826
    @peterjansen4826 2 ปีที่แล้ว +3

    Chris, if you search a bit then you can find a scientific paper from the developer of NixOS, a Dutch computer scientists (Utrecht), about the package-manager. How deep are you willing to dive into the rabbit-hole?

  • @killertigergaming6762
    @killertigergaming6762 2 ปีที่แล้ว +1

    As a nix user im happy you finally looked at it

  • @markh.6687
    @markh.6687 2 ปีที่แล้ว +1

    Thanks, Chris! Nice to see you adopting 'new views that are true views' to paraphrase Abraham Lincoln.
    As for Debian being " a little behind"...they are WAY behind on Stable.

  • @Babalas
    @Babalas 2 ปีที่แล้ว

    It's stated in other comments but this only just scratches the benefits of nix. Flakes, nix-shell, integration with direnv, configuring your entire system (if running NixOS)

  • @raddinox2707
    @raddinox2707 2 ปีที่แล้ว +3

    Multiple repos for the one and only packagemanager apt is one of the biggest reasons I run Debian SID over Arch. I don't have to juggle both pacman and AUR stuff

    • @dylon4906
      @dylon4906 2 ปีที่แล้ว

      @pancake same with pamac

  • @Westtixy
    @Westtixy 2 ปีที่แล้ว +7

    So the next step is to give a shot at NixOS ;)

  • @ShinSoulTC
    @ShinSoulTC ปีที่แล้ว +1

    At the beginning I didn’t understand why NIX is easier than homebrew (mac user here ) but then I read the homebrew cask feature is only available for Mac OS. So that's the reason NIX still necessary

    • @retropaganda8442
      @retropaganda8442 11 หลายเดือนก่อน

      I don't thing mac users are necessary, but that's just my opinion.

  • @toromac9786
    @toromac9786 2 ปีที่แล้ว +2

    Ha, how interesting that you mentioned doing a do over of an awesomewm set up on Debian. Just been trying to do that on Debian testing myself.
    Got so far, but couldn't work out how to launch apps with a particular screen 😕

  • @KutAnimus
    @KutAnimus 2 ปีที่แล้ว +6

    IMO Guix would be much more suited for me. Not only am I then going to learn a package specification language (GNU Guile, based on Scheme), but also a language which is not a DSL (unlike Nixlang) and can thus be used for pretty much everything.

  • @Viking8888
    @Viking8888 2 ปีที่แล้ว +1

    Totally going to give this a try. Thanks Chris!

  • @pufferaway
    @pufferaway ปีที่แล้ว

    Great catch and recovery! Thank you for the info shared on NIX OS... very cool distro!

  • @oscs4556
    @oscs4556 2 ปีที่แล้ว +1

    Nixos is even more powerful. One configuration can rule all in Nixos.

  • @StaffyDoo
    @StaffyDoo ปีที่แล้ว

    Congratz! Time for you to discover now Home Manager :)

  • @dianaalyssa8726
    @dianaalyssa8726 2 ปีที่แล้ว

    Nice install code, I was able to install while listening so quickly.

  • @shatterstone3045
    @shatterstone3045 2 ปีที่แล้ว

    I just want to say that I can see TH-cam Dislikes and there are none in here! Really shows how amazing your videos are, Chris! Keep it up!

  • @ericpenrose3541
    @ericpenrose3541 ปีที่แล้ว +1

    If you can effectively put any package in a container and nix is cross platform .. this sounds really neat. I hope they get round to doing a gui version as many people like me like to minimise terminal use as it seem rather obscure

  • @patriot925
    @patriot925 3 หลายเดือนก่อน

    NixOS sounds like a stable Arch. If so, it's a rolling release dream distro! Too good to be true. 🤩

  • @accessiblelinuxgaming
    @accessiblelinuxgaming 2 ปีที่แล้ว

    do a kickflip titus with your OG toy machine deck in the background. I see you there. I see you.

  • @developerpranav
    @developerpranav 2 ปีที่แล้ว +2

    Damn!! Nix is so awesome, gonna try out on ubuntu and maybe even fedora. Thanks a ton Chris!

  • @teleblogr512
    @teleblogr512 2 ปีที่แล้ว +17

    Tomorrow, i was wrong again....😂😂

    • @randomprog115
      @randomprog115 2 ปีที่แล้ว +1

      ahaha

    • @indominous07
      @indominous07 2 ปีที่แล้ว +1

      Lmfao

    • @ChrisTitusTech
      @ChrisTitusTech  2 ปีที่แล้ว +16

      I was wrong! winget is the best package manager!... just kidding, I don't do drugs.

    • @indominous07
      @indominous07 2 ปีที่แล้ว

      @@ChrisTitusTech 😂

  • @solomontechspin
    @solomontechspin 2 ปีที่แล้ว

    I love Chris he has helped me. Customize windows & Linux alot

  • @rv-ollie
    @rv-ollie 2 ปีที่แล้ว +8

    Chris, have you touched on the security, or threat, imprecations of pulling software from all these different repos? Great videos, thanks.

    • @isnortpennies8819
      @isnortpennies8819 2 ปีที่แล้ว

      Using flakes with pure evaluation mode you're pulling from specific releases or commits. So not as bad as you'd think

  • @neipas09
    @neipas09 2 ปีที่แล้ว +26

    Linux users are like heroine addicts. Always chasing that dragon and never able to catch it.

    • @ChrisTitusTech
      @ChrisTitusTech  2 ปีที่แล้ว +4

      This is fair.

    • @valentinomelis8331
      @valentinomelis8331 2 ปีที่แล้ว +1

      And we want to ride that damn dragon.

    • @markh.6687
      @markh.6687 2 ปีที่แล้ว

      @@valentinomelis8331
      Not like I like f-female d-dragons or anything; I..I just agree with you.

    • @BeyondImaginationzz
      @BeyondImaginationzz 2 ปีที่แล้ว

      But NixOS is that dragon :p

  • @owlmostdead9492
    @owlmostdead9492 หลายเดือนก่อน

    “Keep true” has to be the most roundabout way of saying “pin”.

  • @JohnBrown-ss8bg
    @JohnBrown-ss8bg 2 ปีที่แล้ว

    Cheers bro. As always the best the best to refresh an old unix engineer

  • @orenjineko646
    @orenjineko646 2 ปีที่แล้ว

    2:15 yo + roo, 夜, yoru literally means "night" in Japanese.

  • @indrajitsarkar3169
    @indrajitsarkar3169 2 ปีที่แล้ว +2

    I'd love if you can do a full NIX OS installation video

  • @xperience-evolution
    @xperience-evolution 2 ปีที่แล้ว +3

    Can you make a video about NixOS?
    The Gnome version seems to be really lite on ram - half what Fedora is using on a cold boot.
    I am wondering why and would love to hear your opinion on the os and if it is good for day to day use

    • @rahilarious
      @rahilarious 2 ปีที่แล้ว +1

      maybe cause fedora packages are compiled with lto, pgo and -O3 which uses more RAM but gives faster performance

    • @xperience-evolution
      @xperience-evolution 2 ปีที่แล้ว

      @@rahilarious unfortunately I don't know about that stuff, but thank for the answer. I guess that could be a reason. But nearly 50% more ram on a cold boot.
      Fedora should be able to become more efficient on that side.

    • @xperience-evolution
      @xperience-evolution 2 ปีที่แล้ว

      ​@@jehovahnissi1961
      It is kinda weird. Of course I was testing in a vm (Gnome Boxes) and NixOS was running with 650mb ram while Fedora used around 1.3GB.
      But when I tested it on Hardware (live, not installed) both used around 1.05 while NixOS I think had a little bit of a higher average workload.
      I am now on Fedora and also had problems with the Nvidia gpu and the battery indicator is not working but there is a workaround and it seems to be a Kernel issue. It was not a great start and I am not sure if I am gonna stay on Fedora. The Battery consumption was also through the roof (1h50 while on Zorin I got around 7h). Now with the GPU fixed it is at least around 3 to 4 hours.

  • @maurolimaok
    @maurolimaok 2 ปีที่แล้ว

    That's the kind of video I really like! No ego, just fun and learning. And he read the comments. KKKK

  • @SebMcC2007
    @SebMcC2007 2 ปีที่แล้ว +1

    After seeing your vid Chris, I tried it on Fedora 36. Which kinda failed for me. But I had to do a reinstall anyway so I did a clean install and reinstalled NIX, per your explaining, and actually it works like a charm now. Thx for the heads up. Looking forward to your vid about the YORU environment.

    • @Dark_Lobster
      @Dark_Lobster 2 ปีที่แล้ว

      Did you get it to integrate with your system, i.e do it show in your application list etc?

    • @SebMcC2007
      @SebMcC2007 2 ปีที่แล้ว

      @@Dark_Lobster Well, it only works for the user you install it for. Getting for mutli user is a bit sketchy, and in my case would mean that I have to reinstall my entire system... I suppose depending on your distro, you can install mutli-user easier... but I didn't get prompt for multi-user...

    • @Dark_Lobster
      @Dark_Lobster 2 ปีที่แล้ว

      @@SebMcC2007 yeah, tried this on a new Fedora install, but no apps are showing in the apps list of my Gnome de. Have to run all via terminal....definately not integrating out of the box....

    • @SebMcC2007
      @SebMcC2007 2 ปีที่แล้ว +1

      @@Dark_Lobster did you run the 'ln -s /home/$USER/.nix-profile/share/applications/* /home/$USER/.local/share/applications/' as stated by Chris?

    • @Dark_Lobster
      @Dark_Lobster 2 ปีที่แล้ว

      @@SebMcC2007 Oh, I did not see that...thanks :) saved me some googling....

  • @RegErvin
    @RegErvin 2 ปีที่แล้ว

    Now that's cool! Installed before the video even finished ‼️💯😎

  • @milkibearmilkibear
    @milkibearmilkibear 2 ปีที่แล้ว +1

    Wow!!! Nix is the best, you saved me for yet another time, thank a lot Titus, keep up the great work!!! :)

  • @Revenant483
    @Revenant483 2 ปีที่แล้ว +1

    Thanks Chris!!! This is an awesome looking desktop environment would love to see this on Fedora KDE Plasma.

    • @Golgafrincham
      @Golgafrincham ปีที่แล้ว +1

      I tried it and it unfortunately doesn't work to well. The apps start via command line, but you don't get a .desktop (I.e. no entry in any menus) and if you use "Pin to Task Manager", the icon doesn't show. It is probably fixable somehow...

    • @Revenant483
      @Revenant483 ปีที่แล้ว

      @@Golgafrincham Good to know!

  • @frankmichaelbecker116
    @frankmichaelbecker116 2 ปีที่แล้ว

    Which distro are you running on your Studio PC? Setup looks really clean, I NEED IT!!! 😂

    • @Dark_Lobster
      @Dark_Lobster 2 ปีที่แล้ว

      Debian sid with bspwm and Nala apt wrapper.

  • @meta_ai
    @meta_ai 2 ปีที่แล้ว

    what desktop environment are you using Chris, it looks fantastic

    • @scientiac
      @scientiac 2 ปีที่แล้ว

      as far as i know it's fedora server edition with bspwm

    • @meta_ai
      @meta_ai 2 ปีที่แล้ว

      @@scientiac thanks man

  • @TJWolf
    @TJWolf 2 ปีที่แล้ว

    That's awesome Chris Titus Tech. Do you have your configs of Linux your using now.

  • @nateb1804
    @nateb1804 2 ปีที่แล้ว +3

    I like this, however some of the critical packages I add (such as Brave browser) are kind of out-of-date in Nix. For instance, the most recent version of Brave today is 1.42.97 however the latest version with Nix is 1.38.115 which is seriously out-of-date. This is a real security issue. So even though I like the idea of not pulling in additional third party deb repos, I think Nix is not a solution for me.

    • @JohnSmith-ky2qn
      @JohnSmith-ky2qn 2 ปีที่แล้ว +3

      It's 1.42.88 in unstable channel.

    • @danielphan.2003
      @danielphan.2003 2 ปีที่แล้ว +1

      @@JohnSmith-ky2qn Yep most up to date ones are in the unstable branch, and Brave is out of date because Nix uses the latest stable release to date, which is branch release-22.05, not the unstable one

    • @JohnSmith-ky2qn
      @JohnSmith-ky2qn 2 ปีที่แล้ว

      @@danielphan.2003 why not use unstable then? It is the default branch when installing nix

    • @linuxmobile
      @linuxmobile 2 ปีที่แล้ว

      AUR from arch got it!

  • @mehrdadshafighidezaki763
    @mehrdadshafighidezaki763 ปีที่แล้ว

    thanks! and i like your terminal environment, what is this and how can i customized like that?

  • @jeffsauer2198
    @jeffsauer2198 ปีที่แล้ว +2

    so, trying out nix as a replacement for brew on my apple silicon mac. installed a few apps like inkscape and vscode. Installation successful, but app icons do not show up in the launchpad screen, nor can I launch them via spotlight. Also, many apps are out of date... like Ultimaker Cura 3D. Latest release as of now, 5.3... nix only shows 4.13. If this is the "best" pkg manager, I must be doing something wrong.

  • @13thravenpurple94
    @13thravenpurple94 2 ปีที่แล้ว +1

    Great work 🎉🎉🎉 Thanks 💜💜💜

  • @WilsonMar1
    @WilsonMar1 5 หลายเดือนก่อน

    You go for different packages like young studs choose girlfriends - fresher, faster, fewer dependencies.

  • @adrianstephens56
    @adrianstephens56 ปีที่แล้ว

    Apologies if this is off-topic. I've just tried moving my desktop environment to nixos with the plasma desktop. I suspect nixos is not really aimed at desktop users. I've mostly got it working, and some elements of that were a lot easier than a conventional debian/ubuntu install. But there are some frustrating omissions.
    In particular, I like to use a GUI SVN client. I'm currently using kdesvn on debian/plasma. But kdesvn is not a package supported by Nixos, nor is it a flatpak. The only SVN GUI client that nixos knows about is rapidsvn. But rapidsvn crashes with errors about gnome-settings.
    So that highlights one of the issues, as a package manager, its list of packages is not exhaustive. For example, it should provide all the kde apps if it is going to provide the kde desktop. I'll look to building from source, but that is a backwards step, IMHO.

    • @r_firefly4292
      @r_firefly4292 ปีที่แล้ว +1

      Maybe consider submitting a packing request

  • @OscarFonsecaQ
    @OscarFonsecaQ 2 ปีที่แล้ว +1

    A bit offtopic, but how do you did the 'took' part to give you wasted time on every run?

  • @luis-madrigal
    @luis-madrigal ปีที่แล้ว

    Did you some how modify or aliased apt to use nala?
    I'm looking at timestamp 4:28 you typed "sudo apt update" and the output looks a lot like the out of nala. I've also watched your "Stop using APT" and that's how I know that the output looks like nala's output.
    I have this bad habit defaulting to "apt", regardless of what other package manager is available.
    Anyway, could you make a video showing us how to set up apt to use nala? Just like your "sudo apt update" at 4:28 and "sudo apt purge github-desktop". I'm looking forward to that video!!

  • @janflasher
    @janflasher 2 ปีที่แล้ว +1

    Can you try and review GNU Guix too? package manager that directly inspired by nix?

  • @luisortega8085
    @luisortega8085 2 ปีที่แล้ว +1

    nix on other OSs is nice, but you don't get gpu support on that kind of setup, only on nixOS. You can symlink a nix mesa installation to /run/opengl-driver but other stuff like intel-media-driver/vaapi drivers are messier to deal with

  • @walterpark8824
    @walterpark8824 2 ปีที่แล้ว

    Thanks. Will check it out.

  • @tailyfale
    @tailyfale 7 หลายเดือนก่อน +1

    about 20% of apps I install on LMDE via NIX are broken in different ways. They either have broken buttons (that just don't work) or eat too much cpu/ram. what am I doing wrong?

  • @1000wolfdogs93
    @1000wolfdogs93 2 ปีที่แล้ว

    Chris Titus Tech What OS are you using in this video? The bit where you showed freshfetch, lists your OS as "x86-64"; I don't know of any, by that name.

  • @seanpaul7069
    @seanpaul7069 2 ปีที่แล้ว +1

    Very insightful video. Thanks

  • @chrisstone2742
    @chrisstone2742 ปีที่แล้ว

    Chris, What are your thoughts on using nix as a package manager for a LFS based distro.

  • @nezu_cc
    @nezu_cc 2 ปีที่แล้ว +1

    so basically AUR for non arch users. Cool, but I'll stick with Arch... BTW

  • @Cha0sNicr0
    @Cha0sNicr0 ปีที่แล้ว

    Can we get a dive into the install-script? Usually when programs have you pipe a script to sh, it's an os-probe that gets you a traditional package for your OS. Here it gets a tarball with 4 interlinked scripts. I'm sure it's doing what it should, but it's a bit complex to follow what it's actually doing.

  • @simplehaskell4949
    @simplehaskell4949 2 ปีที่แล้ว

    To my understanding, pretty much any package that is available on other linux distros is available via nix

  • @jesse7631
    @jesse7631 2 ปีที่แล้ว

    Its true power. You use it's when you are contracting it is. Good video, though Chris!

  • @mrpcakes
    @mrpcakes 2 ปีที่แล้ว

    curious what your thoughts are on wiping utilities like dban and what some folks recommend like parted magic...

  • @slavvoslava4694
    @slavvoslava4694 2 ปีที่แล้ว +1

    Packages in Nix don't just work. The theory and fact are two different things. They have too many individuals responsible for too many packages. Some just aren't keeping up with upgrades, etc. Nope.

  • @anirbankopty9418
    @anirbankopty9418 ปีที่แล้ว

    I just installed nala in ubuntu after seeing a video of you for replacing apt, now I see this.

  • @leighhorton2806
    @leighhorton2806 2 ปีที่แล้ว

    Hello Chris one question do you install nix to remove Brew?

  • @kevinyu9934
    @kevinyu9934 ปีที่แล้ว

    very inspring, thanks for sharing!

  • @Sudoakado
    @Sudoakado 5 หลายเดือนก่อน

    Very cool!!! Using Nix package manager with Debian and Arch now thanks!

  • @SuperHeroINTJ
    @SuperHeroINTJ 2 ปีที่แล้ว +1

    I agree on Nix/OS being best.

  • @niksingh710
    @niksingh710 2 ปีที่แล้ว +1

    when reviewing nix os?

  • @srikantas2460
    @srikantas2460 2 ปีที่แล้ว

    Did you try out NixOS ? it sounds really cool, can you make a video about it ?

  • @braaitongs
    @braaitongs ปีที่แล้ว

    I am new to linux and still deciding what distro to use but since finding out about Nix, I think I will go with NixOs.

  • @arnoutengelen9832
    @arnoutengelen9832 2 ปีที่แล้ว +2

    Very nice video! I'm curious why you chose to show nix-env rather than nix-shell - I like how nix-shell allows me to have different shells with different sets of applications available, and haven't really found a strong need for nix-env

  • @lucasew
    @lucasew 2 ปีที่แล้ว

    have you used nix-shell yet? you don't have to install things globally, with that you can load some apps to your current terminal

  • @nivo6379
    @nivo6379 2 ปีที่แล้ว +1

    Nix uses an unintuitive syntax that is hard to understand and work with. I prefer Docker over Nix

  • @alx8439
    @alx8439 2 ปีที่แล้ว +2

    To me, nix is a kind of flatpak but using docker image layers instead of just putting files to separate directories. In both cases, whenever you're trying to "install" something small, they both bring all the dependencies with it, so the software you're "installing" won't be depending on packages of your OS. But there's a limit for this approach for sure. Most obvious is not even the disk space, gigabytes are cheap these days. It's integration to your desktop. Flatpak solves that with using portals. But how does that nix?
    And unfortunately nix is not ideal. I just tried to "install" retroarchFull and it failed (aarch64) somewhere in the middle while leaving a tonns of garbage behind it

    • @kintrix007
      @kintrix007 2 ปีที่แล้ว +1

      Tbh, Nix is not intended for graphical applications as much as for making enviroents, specifically development environments in my opinion

    • @alx8439
      @alx8439 2 ปีที่แล้ว

      @@kintrix007 yeah this is exactly how its creators are seeing it's purpose

    • @retropaganda8442
      @retropaganda8442 11 หลายเดือนก่อน

      No, nix doesn't duplicate dependencies for every app.
      If two apps depend on the same lib, it will be installed only once.
      If two apps depend on a different version of a lib, both versions will naturally be installed side by side.
      That's the crux of nix.

    • @alx8439
      @alx8439 11 หลายเดือนก่อน

      @@retropaganda8442 well flatpak and snap also do that, but in a bit broader sense - they do install shared runtimes

  • @iibrahimov
    @iibrahimov 2 ปีที่แล้ว +1

    What's weird to me is that NO ONE ever mentioned this powerful aspects of nix package manager when they coverd or reviewed NixOS on YT. Wich is to me is a shame on linux distros YT reviews.
    I thought it is a normal package manager with small packages number

    • @simplehaskell4949
      @simplehaskell4949 2 ปีที่แล้ว

      Which powerful aspects do you refer to?

    • @lolololo-cx4dp
      @lolololo-cx4dp ปีที่แล้ว

      @@simplehaskell4949 maybe the nix shell, nix config and nix env?

    • @simplehaskell4949
      @simplehaskell4949 ปีที่แล้ว

      @@lolololo-cx4dp thanks for the reply. That would make sense although I guess I was referring more to the underlying mechanics of nix: as for example nix-env and nix-shell work very similarly under the hood, in fact you don't even need nix-env at all since nix-shell will install whatever you need as you need it.
      There's also just a lot of customization you can do and also you can effectively guarantee that a version of your project will always work in all environments with nix installed.
      (tbh I'm just nix obsessed and hope for the comment section to have some good discussions and get the word out about how awesome nix is)

  • @pmarreck
    @pmarreck 2 ปีที่แล้ว +1

    Once you see what Nix offers, you can't unsee it and you'll want it installed on all your machines. It's a curse, lol

  • @AlemannoDigitale
    @AlemannoDigitale 2 ปีที่แล้ว

    Bro, you change your mind every 4 months 😂

  • @rrowan327
    @rrowan327 2 ปีที่แล้ว +1

    how would I remove nix from my Debian system? I have stopped the nix daemon with the systemctl command.

  • @TheLazyJAK
    @TheLazyJAK 2 ปีที่แล้ว +1

    Video on nix os soon?

  • @DLLDevStudio
    @DLLDevStudio 2 ปีที่แล้ว

    what distro (and terminal) does chris use here?

  • @TheSilmarallion
    @TheSilmarallion 2 ปีที่แล้ว

    Wicked wallpaper can you point where to get it please?

  • @familyshare3724
    @familyshare3724 2 ปีที่แล้ว +1

    Brew has the latest package versions that I need (like neovim) before nix.

  • @ETJAKEOC12
    @ETJAKEOC12 2 ปีที่แล้ว +1

    Hey Chris, just curious, what's your thoughts on Gentoo? Just got my first install up and running, and so far I'm enjoying it. Going through the learning curve, like always when switching to a new distribution, and installs are a bit painfully long 😂 But I picked my beast lol, and I feel like I'm noticing some subtle performance gains in places. Not sure if it's just a placebo since it's a new install or not lol, but seeing how Gentoo works makes me wonder if maybe one day SteamOS will be built using it. Would love to hear your thoughts about Gentoo and the possibility of making a full blown gaming dedicated OS from it, if you're interested in it.
    If not, peace and long life anyways 🖖 Stay well

    • @xade8381
      @xade8381 2 ปีที่แล้ว +1

      well, gentoo has no learning curve and the docs are also pretty gud.

    • @rishirajsaikia1323
      @rishirajsaikia1323 2 ปีที่แล้ว

      Did you compile the kernel or used genkernel ?

    • @xade8381
      @xade8381 2 ปีที่แล้ว

      @GeneralHub even On my i3 4500U it takes less than an hour for the kernel with everything I need.
      So, select only modules which are required.

    • @xade8381
      @xade8381 2 ปีที่แล้ว

      @GeneralHub Im on NixOS, nix can do anything portage can. Only one bad thing init=systemd. I was an dinit+nix user earlier later became NixOS user.

  • @TAELSDOLL
    @TAELSDOLL 2 ปีที่แล้ว

    apk #1 package manager, speed is out of this world