Тёмный

I Do Not Have Time For Linux! (NixOS Dependency Management) 

Andrew Giraffe
Подписаться 1,8 тыс.
Просмотров 7 тыс.
50% 1

I don't have time for Linux, and neither do you! In this video, I explain why NixOS is particularly clever with how it solves dependency management.
Github: github.com/agryphus
Monero: 84Pc2W3ZYBAgVpyBm8vdnU1Rv5xyZPGhS2u4kjszMdpWAnfmSXjAEHHLxK3um8dq58C7kFosvaagzQdxd8bCgmbLMNfkoxh

Наука

Опубликовано:

 

12 июл 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 91   
@robrob8936
@robrob8936 21 день назад
This is just a new fork of luke smith.
@reralt
@reralt 20 дней назад
He even has monero in the description lmao
@inversebrah
@inversebrah 20 дней назад
china has successfully achieved human cloning, gj china
@PeterKilian
@PeterKilian 20 дней назад
literally no one cares. creative inspiration has been a thing since the dawn of civilisation.
@uncleted9362
@uncleted9362 20 дней назад
@@PeterKilian So have jokes
@afonsorafael2728
@afonsorafael2728 16 дней назад
Waiting for the protestant political and religious views
@nicolascage4438
@nicolascage4438 20 дней назад
So we have Luke Smith, black Luke Smith (Mental Outlaw), and now there is ginger Luke Smith. This is getting out of hand.
@theoriginalneckbeard
@theoriginalneckbeard 18 дней назад
Mental Outlaw sometimes has pretty alien takes, though. For example: OpenBSD is mainly a server OS and one for h4xx0rs. I wouldn't say Mental Outlaw is part of the bunch.
@schizofren_ia
@schizofren_ia 18 дней назад
@@theoriginalneckbeard he just means it in the way of "doing something it was not intended to do" but i get you it's pretty misleading since it's not for pen testing
@Aoitori365
@Aoitori365 16 дней назад
so true
@filemot25
@filemot25 16 дней назад
Stop distro hopping!
@schizofren_ia
@schizofren_ia 16 дней назад
@@filemot25 I haven't distro hopped ever since I touched gentoo and LFS
@notuxnobux
@notuxnobux 21 день назад
When did luke smith move to (or visit) china?
@jetfaker6666
@jetfaker6666 4 дня назад
He learnt Chinese so it's not unthinkable
21 день назад
"I can select to be unstable" - My Ex
@rujn
@rujn 16 дней назад
If you have a working system and you understand it then that's good enough. NixOS is geared for users who need deal with disparate environments. Most users have one distribution that they deal with and know. The moment NixOS clicks is when you need repeatable portable build environments. I am a build engineer and NixOS is brilliant. I am enamored and I am switching all my machines to this. I was an Arch user before but having ONE declared configured system is the dream. I can pour all my efforts into my laptop and then have it on my desktop. If things go wrong I can rollback. It's the beautiful combination of stability and bleeding edge at the cost of disk space. I get the hype
@JulianGoddard
@JulianGoddard 21 день назад
Absolutely fantastic video! Loved the way you formatted it
@Jupiter__001_
@Jupiter__001_ 7 дней назад
I got into trouble on NixOS recently because my Nvidia drivers were mismatched from the ones Hyprland expected after I upgraded from 23.11 to 24.05 (version 550 instead of 555). The solution was to use flakes (technically optional, but it helped out with version management) and to enable the unstable and stable repos at the same time (I think I added the unstable pkgs as an overlay, so I simply put "unstable." instead of just "" as the entry in my pkgs list). With this, I was able to change the kernel packages version to unstable, which automatically made both the kernel and the Nvidia driver the most recent ones which worked well. This was surprisingly easy, but poorly documented, which is how I would categorise most of my experience with NixOS.
@myfavouritecolorisgreen
@myfavouritecolorisgreen 20 дней назад
we got forked luke smith visiting china before gta vi
@myfavouritecolorisgreen
@myfavouritecolorisgreen 20 дней назад
subbed
@LukasRotermund
@LukasRotermund День назад
Wow, great content! You've just gained a new follower. Keep up the good work! You're a great guy and your content is really likeable 🚀
@FishKungfu
@FishKungfu 19 дней назад
Another great video! Looking forward to your channel growing.
@ertwro
@ertwro 21 день назад
Can I withstand so much freedom? That’s the question.
@uhtexercises
@uhtexercises 21 день назад
Great content. Love your approach to Linux. Keep rocking
@jeanwill69
@jeanwill69 21 день назад
The only thing that prevents me switching to NixOS is that I use pcloud for my storage solution. Mandatory packages for my need on NixOS seems to be broken. NixOS still installed on my VM but can't going further without my cloud storage solution. I think NixOS as a great future but for now, I will continue my journey with Arch and BTRFS. The humidity is very high as well here in Montreal. Probably not as much as your China location . Best, Jean🥵
@AndrewGiraffe
@AndrewGiraffe 21 день назад
You can configure whatever file system you want for Nix if you go through the manual install. I, myself, also use BTRFS. I hope your packages get ported soon, I know the nix community moves fast so maybe the bugs will be ironed out sooner rather than later. Might even be worth pinging a maintainer of github about it. I'm also from Georgia so I thought I understood humidity, but Southeast Asia is a different beast.
@LukaKovacevic-jt5tm
@LukaKovacevic-jt5tm 16 дней назад
Guys, either I'm crazy or this is the same instance of Luke Smith. The exact same voice and the way he talks. The matrix is real!
@andrewcrook6444
@andrewcrook6444 11 дней назад
NixOS is a Linux distro, you can use the Nix package manager on many Linux distros and several platforms including macOS and WSL, but it’s only going to be as good as the channels don’t expect legacy software to be kept storage costs for the project can astronomical. If fact they have been struggling already.
@divine_paul
@divine_paul 21 день назад
do more nixos please ! thank you for the video. love to see how its configured.
@AndrewGiraffe
@AndrewGiraffe 21 день назад
That's the plan. Don't want to do too many at one time, but I think they're tons to cover with just nix alone.
@cqws4194
@cqws4194 8 дней назад
can u make video aboit why so many maintainers of nix os had to leave project?
@liesdamnlies3372
@liesdamnlies3372 18 дней назад
Mix just acknowledges that in such complex, interconnected systems changing the from one version to another of the “same thing” is NOT the same thing. The hash is different. It’s not the same. Nix stops pretending that it is.
@lisenhatson
@lisenhatson 20 дней назад
Great video! Though what do you think about GUIX?
@-Engineering01-
@-Engineering01- 16 дней назад
We, as a community, forked Luke Smith before he got archieved
@hlushman
@hlushman 19 дней назад
thanks for the content ginger version of Luke Smith
@robotequine
@robotequine 16 дней назад
he fell for the dependency hell meme. - arch btw
@Daniel-sj2mu
@Daniel-sj2mu 19 дней назад
NixOS goated
@arcstur
@arcstur 21 день назад
I literally switched from Arch to NixOS a couple hours ago!
@Jimson-wx8uq
@Jimson-wx8uq 11 дней назад
I would love a demo of your setup. Your window manager,terminal,etc I'm new to Linux and have no idea what I'm looking at
@jchantrell
@jchantrell 10 дней назад
it is hyprland + nvim (and emacs, kinda)
@All3me1
@All3me1 16 дней назад
A good route to increase kernel and init agnosticism in NixOS would be more integration in both directions with guix What if they could use each other package definitions or write your configuration in nix and scheme at the same time
@danny.mendoza
@danny.mendoza 17 дней назад
More than 2 years using Arch Linux and no major issues at all I would like to check nixos, but I would say that Arch still the prime Linux distro. Just my thoughts :) and yeah I think we have to many smiths agents lol
@uhtexercises
@uhtexercises 21 день назад
Running NixOs and Arch in parallel until I got everything running how I need it. Then will make the switch
@simquinoa2030
@simquinoa2030 19 дней назад
Did the same. Spent the hours trying to replicate my messy pop os setup in nix with a vm. Finally felt comfortable and fully switched. Been amazing so far! Nix is about front loading time to save time later. What a great investment!
@nobu1730
@nobu1730 9 дней назад
did i just found the luke smith successor
@thenameisluk
@thenameisluk 16 дней назад
if nix and gentoo had a child it would be cool definitely sth i would use can break ur system and go back + stuff is optimised for ur cpu
@rjawiygvozd
@rjawiygvozd 16 дней назад
actually nixos is already relatively close to gentoo since it's source based but has cached binaries, and you can actually change compile options for packages, for example I would enable libsecret support in git and it actually made git build from sources every time it updated. I'm not sure if you can enable some global optimizations and force rebuild every single thing but I wouldn't be surprised if you can
@AndrewGiraffe
@AndrewGiraffe 16 дней назад
I second what @rjawiygvozd says. Want to build applications with different compiler flags? No problem. As for making that a global setting, like globally turning bluetooth off, not too sure.
@eppi6328
@eppi6328 10 дней назад
there is guix os which is nix but everything is compiled from source and uses guile scheme instead of nix-lang. The objective is more about free software then optimizing for ur cpu and I never used gentoo so I don't know how it compares in that aspect to gentoo
@Jupiter__001_
@Jupiter__001_ 7 дней назад
The only thing Nix is missing for this is the user-experience of Gentoo, i.e. USE flags and the like.
@shinni7609
@shinni7609 16 дней назад
I never had problems with upgrading my packages on Arch Linux
@etcher6841
@etcher6841 16 дней назад
Apologies for assuming but this usually means you haven't used it long enough
@MichaelWilliams-lr4mb
@MichaelWilliams-lr4mb 16 дней назад
I was using NixOS for a while. But I found I needed something that was more FHS compliant, and the compatibility layers wouldn't do for me. Now I'm using Void Linux but I do have nix installed in it.
@dotmavriq
@dotmavriq 16 дней назад
Thank you, based ginger Luke Smith
@sto3359
@sto3359 15 дней назад
It kind of reminds of how brew manages packages.
@anaxayt1084
@anaxayt1084 20 дней назад
Can this OS mess up with env variables like CARGO_HOME, JAVA_HOME, XDG_CACHE_DIR or can i use them easily
@AndrewGiraffe
@AndrewGiraffe 20 дней назад
I have all three of these variables set in my zshenv and it works just fine. NixOS definitely adds a bunch of stuff to your PATH, but you're still free to set the rest of the environment and set application-specific variables like these. The biggest difference is that some config you'd expect to be in /usr/share/ or /etc/ might actually be somewhere hidden in the /nix/store/, so these applications would likely need to be configured by overriding their nix declaration (which isn't too hard once you learn how), but I've only very rarely had to do this. The rest of my config is safely in userland under ~/.config/ which is just like every other distro you've used.
@DimasPangestu-dx7hn
@DimasPangestu-dx7hn 20 дней назад
Welcome to the cave!
@Kasra513
@Kasra513 20 дней назад
Great content! which WM do you use?
@AndrewGiraffe
@AndrewGiraffe 20 дней назад
I use Hyprland. It's new-ish, but I've been pretty happy with it so far.
@Kasra513
@Kasra513 20 дней назад
@@AndrewGiraffe Cool. i haven't experienced using a WM without a DE yet and i'm thinking about giving Awesome a try. do you have any recommendations? i prefer using xorg and i don't mind learning a new language like Lua but i don't know if it actually worth the time. another option that i thought about is using i3 like others do because of the simplicity.
@AndrewGiraffe
@AndrewGiraffe 20 дней назад
@@Kasra513 Back when I was on Xorg I used DWM. That's perhaps the furthest in the direction of raw performance and usability, at the compromise of having to patch and not having niceties like animations and such. I've never used Awesome, iirc it's a fork of DWM, so it should have some of that same workflow. I know buddies that use it without complaint, so def give that a try if that sounds appealing
@RT-jp9me
@RT-jp9me 19 дней назад
What wallpaper are you using at the 9:25 mark?
@AndrewGiraffe
@AndrewGiraffe 19 дней назад
It is a painting by Thomas Cole called The Hunter's Return
@RT-jp9me
@RT-jp9me 19 дней назад
@@AndrewGiraffe Thanks! Great content. Hope to see more videos.
@framegrace1
@framegrace1 7 дней назад
I prefeer the root image/partition route like vanillaos etc... relying on symlinks seems too problematic. It's an old solution to containerization, there are new and better ways to do this. The new vanilla OS is amazing, but still in beta. Allows all the advantages of inmutable systems and personalization but using OCI image layers instead of links. A much cleaner and compatible way.
@Spiderfffun
@Spiderfffun 16 дней назад
The thing that's preventing me from going to nix is that, i just dont have the space. I'm not ready to throw away my old mint system. Currently I'm on arch, on a smaller SSD, having a lot of folders symlinked to my old home (because I'm afraid of newer config files messing up old ones if i have to boot into mint again.)
@AndrewGiraffe
@AndrewGiraffe 16 дней назад
I once heard that you should treat your dev environment like cattle, not like a pet, meaning it should be easily killed and replaced if need be. Maybe that sentiment doesn't hit as hard if you're not a developer, but I'd recommend trying to make your rice more portable/documented.
@mouseless0x
@mouseless0x 16 дней назад
bought a mac after using nixos for 6 months lmao, it is the shttest os in my whole life
@AndrewGiraffe
@AndrewGiraffe 16 дней назад
Sorry to hear MacOS was that bad for you
@mouseless0x
@mouseless0x 15 дней назад
@@AndrewGiraffe I meat nixos was the shttest os in my whole life, it was the catalyst that caused me to get a mac
@emilnordgard5228
@emilnordgard5228 16 дней назад
correction 100k+ packages in nixpkgs
@zeocamo
@zeocamo 15 дней назад
NixOS is missing a lot of the packages that i use from the AUR.... no it is not bigger then the Arch/AUR
@Jupiter__001_
@Jupiter__001_ 7 дней назад
Just because some things you use are missing does not make it smaller. There isn't a complete overlap between what packages they offer, and I think I remember reading that they both have about the same number of packages. It is possible that the number of Nix packages is inflated a bit by the number of Python, R and Haskell libraries on it though, since those can't or shouldn't be installed using the normal declarative method (pip and the like).
@MisterDevel
@MisterDevel 4 дня назад
Nix is also crazily ran. The blokes behind it are real pieces of nasty.
@thedeemon
@thedeemon 16 дней назад
No time for Linux, but I wonder how much time learning and tweaking and updating all those nix configs takes. Getting all the freshest precious things on an Arch-based distro takes a single command and a couple of minutes time. How does updating NixOS look like?
@AndrewGiraffe
@AndrewGiraffe 16 дней назад
`nixos-rebuild --upgrade switch` upgrades all my packages configuration on nix is declarative, so I only configure one thing once and never again. Hopping on a new machine is as simple as pulling down my config from a git server and building from that. I cannot say that I would be nearly as quick or efficient starting from a clean Arch install.
@tech-nomade
@tech-nomade 2 дня назад
03:26 - no time to acquire basic design skills neither... I bet you spend more time on your beard and hair than I do on fixing pacman issues.
@AndrewGiraffe
@AndrewGiraffe День назад
I certainly hope you work on your outer appearance too, between dealing with pacman :)
@tech-nomade
@tech-nomade День назад
enough time to take care of my appearance, design skills and pacman.
@andreujuanc
@andreujuanc 16 дней назад
Containers are not virtualized :/
@zombineutral
@zombineutral 11 часов назад
I don't have time for NixOS pushing a woke agenda
@aarholodian
@aarholodian 16 дней назад
I'm on Gentoo and I would say as far as dependency resolution, it works in a somewhat similar manner (using slotting), which, coupled with the fact that the gorillion packages that nixos boasts can be, shall we say, not of the best quality, among other, mostly development related issues, makes it not particularly worth it, considering I can simply spin up distrobox with nearly the same amount of difficulty (or probably even use nix or guix on gentoo, which I haven't tried), without sacrificing the overall stability of my system. You'd be right in saying Gentoo isn't quite a hands off experience, but neither is anything else when it comes to development. And I'd rather deal with Gentoo's issues, from my experience.
@AndrewGiraffe
@AndrewGiraffe 16 дней назад
I have a respect for gentoo, but I also might want to add that if the drawing factor for you us being able to use custom compile flags and use a generally source based distro, all nix package definitions pull from source and can be overridden to the same effect. I see your point though, I didn't mean to speak too ill about the traditional "Linux experience" so much as to show why nix, for better or for worse, seems to be a wholly different experience than what most are used to
Далее
NixOS: Everything Everywhere All At Once
15:10
Просмотров 281 тыс.
The Tragedy of systemd
47:18
Просмотров 1,1 млн
Clowns abuse children#Short #Officer Rabbit #angel
00:51
Cosmology in Crisis? Confronting the Hubble Tension
36:26
When Did Raspberry Pi become the villain?
21:54
Просмотров 1,4 млн
Rust Demystified 🪄 Simplifying The Toughest Parts
14:05
Gitlab DELETING Production Databases | Prime Reacts
17:27
How AI Stole the ✨ Sparkles ✨ Emoji
28:57
Просмотров 391 тыс.
The 5 Things That Taught Me The Most About Linux
18:41
RELEASED! FUTO Keyboard is out.
5:29
Просмотров 45 тыс.
Собери ПК и Получи 10,000₽
1:00
Просмотров 2,4 млн
Здесь упор в процессор
18:02
Просмотров 270 тыс.