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

  Рет қаралды 10,233

Andrew Giraffe

Andrew Giraffe

Күн бұрын

Пікірлер: 108
@robrob8936
@robrob8936 5 ай бұрын
This is just a new fork of luke smith.
@reralt
@reralt 5 ай бұрын
He even has monero in the description lmao
@inversebrah
@inversebrah 5 ай бұрын
china has successfully achieved human cloning, gj china
@PeterKilian
@PeterKilian 5 ай бұрын
literally no one cares. creative inspiration has been a thing since the dawn of civilisation.
@uncleted9362
@uncleted9362 5 ай бұрын
@@PeterKilian So have jokes
@afonsorafael2728
@afonsorafael2728 5 ай бұрын
Waiting for the protestant political and religious views
@nicolascage4438
@nicolascage4438 5 ай бұрын
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 5 ай бұрын
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 5 ай бұрын
@@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 5 ай бұрын
so true
@filemot25
@filemot25 5 ай бұрын
Stop distro hopping!
@schizofren_ia
@schizofren_ia 5 ай бұрын
@@filemot25 I haven't distro hopped ever since I touched gentoo and LFS
5 ай бұрын
"I can select to be unstable" - My Ex
@Jupiter__001_
@Jupiter__001_ 5 ай бұрын
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.
@notuxnobux
@notuxnobux 5 ай бұрын
When did luke smith move to (or visit) china?
@jetfaker6666
@jetfaker6666 5 ай бұрын
He learnt Chinese so it's not unthinkable
@cqws4194
@cqws4194 5 ай бұрын
can u make video aboit why so many maintainers of nix os had to leave project?
@rujn
@rujn 5 ай бұрын
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
@bigpod
@bigpod 4 ай бұрын
IDK imo containers do the build environment sutff better
@rujn
@rujn 4 ай бұрын
@@bigpoduntil the overhead outweighs the benefits. Docker is great when you have one distro to target. I have many. Apt/dnf/apk/pacman all just become overhead and repeated work. With nix I do it once and I get it everywhere. Also docker defaults as root user which is an issue on host systems. Mounting is doable but requires gymnastics in compose files. NixOS is not for everyone I agree. But the nix package manager is so good it's bananas.
@bigpod
@bigpod 4 ай бұрын
@@rujn wait what what are you on about, oci as a build environment is a thing you start a container and do all work in there for apt for dnf for apk for pacman, and guess what you are doing it in native tooling instead of the cluster duck that is Nix
@myfavouritecolorisgreen
@myfavouritecolorisgreen 5 ай бұрын
we got forked luke smith visiting china before gta vi
@myfavouritecolorisgreen
@myfavouritecolorisgreen 5 ай бұрын
subbed
@ertwro
@ertwro 5 ай бұрын
Can I withstand so much freedom? That’s the question.
@geno_purple
@geno_purple 5 ай бұрын
Absolutely fantastic video! Loved the way you formatted it
@liesdamnlies3372
@liesdamnlies3372 5 ай бұрын
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.
@divine_paul
@divine_paul 5 ай бұрын
do more nixos please ! thank you for the video. love to see how its configured.
@AndrewGiraffe
@AndrewGiraffe 5 ай бұрын
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.
@andrewcrook6444
@andrewcrook6444 5 ай бұрын
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.
@LukaKovacevic-jt5tm
@LukaKovacevic-jt5tm 5 ай бұрын
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!
@jeanwill69
@jeanwill69 5 ай бұрын
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 5 ай бұрын
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.
@lisenhatson
@lisenhatson 5 ай бұрын
Great video! Though what do you think about GUIX?
@-Engineering01-
@-Engineering01- 5 ай бұрын
We, as a community, forked Luke Smith before he got archieved
@LukasRotermund
@LukasRotermund 5 ай бұрын
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 5 ай бұрын
Another great video! Looking forward to your channel growing.
@Jimson-wx8uq
@Jimson-wx8uq 5 ай бұрын
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 5 ай бұрын
it is hyprland + nvim (and emacs, kinda)
@zeocamo
@zeocamo 5 ай бұрын
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_ 5 ай бұрын
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).
@uhtexercises
@uhtexercises 5 ай бұрын
Great content. Love your approach to Linux. Keep rocking
@alexstone691
@alexstone691 4 ай бұрын
Honestly i would probably use nixos if the config was more of an option feature than the main point, i do not want to learn a weird new functional language to configure my system, i may be a nerd but it is a time sink I like the way dependencies are managed but i may want imperative package manager experience
@uhtexercises
@uhtexercises 5 ай бұрын
Running NixOs and Arch in parallel until I got everything running how I need it. Then will make the switch
@simquinoa2030
@simquinoa2030 5 ай бұрын
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!
@thefunbuns1
@thefunbuns1 3 ай бұрын
What are you using for your FHS wrapper when you run fhs-run? Is this nix-alien or something else? I've been having problems with nix-ld and looking for alternatives to test
@AndrewGiraffe
@AndrewGiraffe 3 ай бұрын
It's a personal nix env script of mine. Basically the same as steam-run, but without the steam stuff. You can find it here: github.com/agryphus/nixrice/blob/master/nixos/.config/nixos/core.nix
@All3me1
@All3me1 5 ай бұрын
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
@MichaelWilliams-lr4mb
@MichaelWilliams-lr4mb 5 ай бұрын
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.
@thedeemon
@thedeemon 5 ай бұрын
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 5 ай бұрын
`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.
@Spiderfffun
@Spiderfffun 5 ай бұрын
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 5 ай бұрын
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.
@seyadeodin
@seyadeodin 4 ай бұрын
these intros are so fucking smooth holy f
@shinni7609
@shinni7609 5 ай бұрын
I never had problems with upgrading my packages on Arch Linux
@etcher6841
@etcher6841 5 ай бұрын
Apologies for assuming but this usually means you haven't used it long enough
@RT-jp9me
@RT-jp9me 5 ай бұрын
What wallpaper are you using at the 9:25 mark?
@AndrewGiraffe
@AndrewGiraffe 5 ай бұрын
It is a painting by Thomas Cole called The Hunter's Return
@RT-jp9me
@RT-jp9me 5 ай бұрын
@@AndrewGiraffe Thanks! Great content. Hope to see more videos.
@MisterDevel
@MisterDevel 5 ай бұрын
Nix is also crazily ran. The blokes behind it are real pieces of nasty.
@robotequine
@robotequine 5 ай бұрын
he fell for the dependency hell meme. - arch btw
@jshowao
@jshowao 5 ай бұрын
I find the dependency graphing highly attractive. I recently installed debian but I may switch to this. I never liked the concept of apps and containerized environements just for apps.
@emilnordgard5228
@emilnordgard5228 5 ай бұрын
correction 100k+ packages in nixpkgs
@arcstur
@arcstur 5 ай бұрын
I literally switched from Arch to NixOS a couple hours ago!
@anaxayt1084
@anaxayt1084 5 ай бұрын
Can this OS mess up with env variables like CARGO_HOME, JAVA_HOME, XDG_CACHE_DIR or can i use them easily
@AndrewGiraffe
@AndrewGiraffe 5 ай бұрын
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.
@danny.mendoza
@danny.mendoza 5 ай бұрын
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
@framegrace1
@framegrace1 5 ай бұрын
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.
@thenameisluk
@thenameisluk 5 ай бұрын
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 5 ай бұрын
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 5 ай бұрын
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 5 ай бұрын
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_ 5 ай бұрын
The only thing Nix is missing for this is the user-experience of Gentoo, i.e. USE flags and the like.
@RC-14
@RC-14 Ай бұрын
If I remember correctly there is a configuration option for that and if not I doubt that it can't be done on NixOS. Adding build flags to everything can be done by using an overlay for nixpkgs and wrapping the compiler in a script that adds the flags you want. For individual applications you can obviously do the same and simply change their build flags or, if you don't wan them optimized, change the compiler to the real non wrapped executable. Doing this should prevent nix from downloading cached builds. If not that's a bug but you can work around that with the method below. If you don't care about the optimizations and just want to build everything yourself, you should be able to force build everything by disabling the default binary caches which can surely be done by letting their domains resolve to 0.0.0.0 if there is no other option. Besides changing build flags for individual applications I haven't done any of this but in theory this should work and that's a feature of nix.
@sto3359
@sto3359 5 ай бұрын
It kind of reminds of how brew manages packages.
@mouseless0x
@mouseless0x 5 ай бұрын
bought a mac after using nixos for 6 months lmao, it is the shttest os in my whole life
@AndrewGiraffe
@AndrewGiraffe 5 ай бұрын
Sorry to hear MacOS was that bad for you
@mouseless0x
@mouseless0x 5 ай бұрын
@@AndrewGiraffe I meat nixos was the shttest os in my whole life, it was the catalyst that caused me to get a mac
@RC-14
@RC-14 Ай бұрын
@@mouseless0x If NixOS was that painful for you why not bring it to your Mac? nix-darwin can do exactly that!
@bigpod
@bigpod 4 ай бұрын
well if you didnt have time for linux you wouldnt be using NixOS becasue of all distros one that wasted most of my time was nixOS, Once i setup any linux i can fairly well use it without much problems but due to NixOS being well NixOS unless i do stupid shit i really maintain my system in trully maintainable way when it comes to custom tools i built and shit. And part of that is lack of documentation and well bad documentation other part is insistance on using a what is essentially trying to be a programming configuratuin language Nix which doesnt serve either role at all and its just horrible why cant it just use yaml for basic usage. In many instances there are 3-5 ways to do exactly the same thing and only 1-2 are actually correct. I personally say one that doesnt waste time is Fedora silverblue or more likely ublue becuase as a containers guy i already know how to build a custom image with known industry standard tooling of OCi
@Daniel-sj2mu
@Daniel-sj2mu 5 ай бұрын
NixOS goated
@hlushman
@hlushman 5 ай бұрын
thanks for the content ginger version of Luke Smith
@DimasPangestu-dx7hn
@DimasPangestu-dx7hn 5 ай бұрын
Welcome to the cave!
@ocfoxd
@ocfoxd 4 ай бұрын
你的视频很好,NixOS也是。
@zombineutral
@zombineutral 5 ай бұрын
I don't have time for NixOS pushing a woke agenda
@neilpatrickhairless
@neilpatrickhairless 4 ай бұрын
May I suggest my new distribution? It's called antivaX Linux and comes with malware pre-installed and lots of cool leper colony wallpapers
@neilpatrickhairless
@neilpatrickhairless 4 ай бұрын
The only links the browser will accept are to Joe Rogan's podcast and Don Black's message board so you know that your echo chamber remains intact at all times
@neilpatrickhairless
@neilpatrickhairless 4 ай бұрын
Even has the bad CrowdStrike patch installed so that you feel like you are supporting BlackRock every time you try to boot up!
@dislikebutton1718
@dislikebutton1718 3 ай бұрын
@@neilpatrickhairlessNixos is so woke that if you don’t accept their woke agenda they call you a nazi. Ironic that they act like nazis while calling you a nazi.
@andreujuanc
@andreujuanc 5 ай бұрын
Containers are not virtualized :/
@dotmavriq
@dotmavriq 5 ай бұрын
Thank you, based ginger Luke Smith
@tech-nomade
@tech-nomade 5 ай бұрын
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 5 ай бұрын
I certainly hope you work on your outer appearance too, between dealing with pacman :)
@tech-nomade
@tech-nomade 5 ай бұрын
enough time to take care of my appearance, design skills and pacman.
@nobu1730
@nobu1730 5 ай бұрын
did i just found the luke smith successor
@aarholodian
@aarholodian 5 ай бұрын
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 5 ай бұрын
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
Golang: The Last Interface Explanation You'll Ever Need
17:58
Flo Woelki
Рет қаралды 24 М.
This Kills Arch Linux?
5:18
Drake Rossman
Рет қаралды 8 М.
Каха и дочка
00:28
К-Media
Рет қаралды 3,3 МЛН
NixOS Has One BIG Problem
17:48
The Linux Cast
Рет қаралды 76 М.
Python is 71x Slower, Uses 75x More Energy, Than C
23:29
Bryan Lunduke
Рет қаралды 39 М.
Why More People Dont Use Linux
18:51
ThePrimeTime
Рет қаралды 332 М.
Why Compile a Linux Kernel from Source?
13:38
DJ Ware
Рет қаралды 32 М.
5 power user tips for emacs
15:12
John Cairns
Рет қаралды 8 М.
The Only Debate That Matters: Vim VS Emacs
19:47
Andrew Giraffe
Рет қаралды 24 М.
NIX OS: the BEST package manager on the MOST SOLID Linux distribution
17:08
The Linux Experiment
Рет қаралды 328 М.
Switching to Linux (one year later)
11:29
AbsoluteVendingMachine
Рет қаралды 19 М.
Why I Can't Use Linux - My Top 3 Reasons
26:05
Tek Syndicate
Рет қаралды 142 М.