Nix is my favorite package manager to use on macOS

Поделиться
HTML-код
  • Опубликовано: 10 окт 2024

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

  • @dreamsofautonomy
    @dreamsofautonomy  3 дня назад +40

    FYI: You can also set up Nix on an existing macOS install with homebrew already!
    Just set the autoMigrate = true; which I cover in the video, and leave out the line with "zap" when I set up homebrew packages, this will prevent your existing installs from being... "zapped".

    • @wizardfrag
      @wizardfrag 3 дня назад +2

      Thanks very much for this video! Is there a way to get a list of brew packages/casks that are currently installed in a format that would work with the flake? So that we can enable the "zap" option

    • @aleksanderbang-larsen7628
      @aleksanderbang-larsen7628 2 дня назад +3

      @@wizardfrag I haven't watched the video yet. But when i moved over to nix-darwin I used a "brew bundle dump" and got the list of brews, casks and taps. That could then be put into the homebrex part of nix

  • @johnpersson4901
    @johnpersson4901 4 дня назад +60

    I’ve been researching Nix on and off for a couple of months and this is hands down the best introduction I’ve come across. Well explained and great production.
    Looking forward to the next video.

    • @Ziggurat1
      @Ziggurat1 4 дня назад

      The best video I have seen is "Ultimate Nix Flakes Guide" by Vimjoyer. It is very good, he has made several videos explaining flakes, but the difference with this one is that you clearly see that he actually understand what he is explaining very well, and he has learned how to teach this information.
      Another creator with videos that explains things very very clearly is Iogamaster,
      Another creator with not so many nix videos, but his nix video is impeccably good at explaining is "No Boilerplate"
      There are many other creators that make good videos, the 3 I listed above I found to be able to explain complex things super clearly

    • @dreamsofautonomy
      @dreamsofautonomy  3 дня назад +4

      Thank you! I really appreciate that. This video took me a few goes to film in order to explain it correctly!
      I'll be doing nixOS soon as well!

    • @idontknowwhatimdoingwhatistobe
      @idontknowwhatimdoingwhatistobe 3 дня назад +1

      @@dreamsofautonomy IDK how different it is but could you do nix on other linux distros than nixos. I have experienced having to wrap apps with nixgl and other issues.

  • @BhargavaMan
    @BhargavaMan 4 дня назад +58

    I've been thinking of consolidating all my Win/Mac/Linux dotfiles into a nix repo for a while now, I guess once your dotfiles video is up I might finally give it a go. Thanks for this

  • @doce3609
    @doce3609 4 дня назад +43

    That intro is 11/10

  • @nielskersic328
    @nielskersic328 4 дня назад +26

    Not even 2 minutes and I’m sold already

  • @kernel0verflow919
    @kernel0verflow919 4 дня назад +6

    Thank you for the video Elliott. I was trying out nixos time to time and it was really hard to get used to. Especially the whole flake and home-manager stuff. I am looking forward to more nix content.

  • @victormattosdimen2449
    @victormattosdimen2449 3 дня назад +5

    That was awesome!! You've just solved the last problems I've been having with my dotfiles with a tool I've been eager to try. Thanks!!!!

    • @dreamsofautonomy
      @dreamsofautonomy  3 дня назад +3

      Thank you so much!
      I'll do the home-manager video soon which is where some real magic happens!

  • @AshesWake-sf7uw
    @AshesWake-sf7uw День назад +1

    I am a linux user too, but i may get a MAC for my first job soon, this video is a life saver at the absolute best time :D

  • @rafidulonnoy
    @rafidulonnoy 4 дня назад +5

    following your channel from the arch install video and waiting on this video from the day when i learned you use nix
    great video as always🤩

  • @vimjoyer
    @vimjoyer 3 дня назад +9

    Awesome video!

  • @oribi303
    @oribi303 3 дня назад +3

    While I love this tech (and your demo of it), I replace my mac every 3-4 years at best, at that point it is actually valuable to have to reconsider apps and settings. I do think this nix setup can be awesome for a developer experience tool, where large teams can manage a baseline for a dev machine that devs can fork from.

  • @davidblancoferrandez4647
    @davidblancoferrandez4647 3 дня назад +1

    The fact that you share your knowledge, and more specifically the way you share it, it is pure gold to me

  •  3 дня назад

    Great video. I recently move to using nix, got everything running but this video is very helpful. thanks for making it simple and accessible.

  • @brivism
    @brivism 3 дня назад +2

    Cant wait for the next parts! Awesome video!

  • @QmiStudying
    @QmiStudying 2 дня назад

    nix looks great, i will adopt nix for my next macbook. I'll stick with homebrew because it works for me, for now

  • @hadronomy
    @hadronomy 2 дня назад

    This is top tier. Will refer to it when I switch to a macbook

  • @kamilgoat
    @kamilgoat День назад

    Awesome, waiting for the home manager vid!

  • @dhavalsavalia
    @dhavalsavalia День назад

    Just when I got a new work Mac! Thank you for this!

  • @niksingh710
    @niksingh710 3 дня назад

    Needed this as I am an hardcore linux user with nixOs but will need to use mac in future too.

  • @phucosg
    @phucosg 3 дня назад

    Thank you for the comprehensive getting started guide

  • @bimgo618
    @bimgo618 День назад

    Great video! Looking forward to the follow up!

  • @moritz584
    @moritz584 3 дня назад +14

    This is like so incredibly complicated tho. Like, sure, I love the declarativity but I don't wanna do a million steps for every configuration change! Isn't there some way to manage these lists automatically? Like, when I want change a setting, why do **I** have to find out what it's called internally and add that to a huge text file, why can't that *just happen* when I change the setting in the settings app? Until this process has been made simpler, I sadly won't switch

    • @dreamsofautonomy
      @dreamsofautonomy  3 дня назад +2

      Nix 100% has a steep learning curve. But in my opinion, and after having used it for 6 months, the benefit is well worth the cost.

    • @RegrinderAlert
      @RegrinderAlert 3 дня назад +2

      You are missing the point and lean strongly into hyperbole. If you want to change one setting, it’s usually 1 value inside nix. Done, versioned, easily replicated or transferred to other machines.
      Sure you can go create a classic dotfiles repository that adds 10 different config filetypes scattered across the file system to version control. But that’s like going back to the stone age.
      Nix is a must-have nowadays for me. It brings so many advantages to the table that everything else feels almost unusable.

  • @ashhosking
    @ashhosking 3 дня назад

    Fantastic video, love your work. Looking forward to the follow up videos.

  • @NeatMemesDotCom
    @NeatMemesDotCom 4 дня назад

    A new level of confidence and power - Pantera 1992

  • @xorlop
    @xorlop 3 дня назад +1

    Excellent video! Good job! I think you did a good job explaining everything important to know :).

  • @zhytedark2859
    @zhytedark2859 2 дня назад

    Yeah we would love to see managing dotfiles with nix ! I'm going to buy a mac soon and it would so nice to be prepared for a full setup already to syn it with my current linux laptop

    • @dreamsofautonomy
      @dreamsofautonomy  2 дня назад

      Absolutely! Home manager has been really cool to get set up and working, and for some configurations it works like stow!

    • @zhytedark2859
      @zhytedark2859 День назад

      @@dreamsofautonomy I'm currently working on it since your video, it's really great ! However not easy to have good practices. I can't wait to see your configuration (how you configure zinit for instance)

  • @a1mer06
    @a1mer06 4 дня назад +1

    IVE BEEN WAITING FOR THIS VIDEO FOR MONTHS LETS GOOOO

  • @flokkq7931
    @flokkq7931 3 дня назад

    you said you didnt like this video? 5s in and its already a banger

    • @flokkq7931
      @flokkq7931 3 дня назад

      ey, big-man. That was a good video! keep going. The nix content is lovely, thanks

    • @dreamsofautonomy
      @dreamsofautonomy  2 дня назад

      Thank you! I really appreciate that dude.
      I spent far too long on this one and I ended up letting perfect be the enemy of done.
      I need to get back into the habit of releasing videos more often

  • @juanjsepulveda
    @juanjsepulveda 6 часов назад

    Very good video, I'll try Nix

  • @Daviddd10
    @Daviddd10 4 дня назад +6

    I saw hammerspoon installed, would love a video to see how you use it. Do you use a hyper key on your setup?

  • @ChrisLipinski113
    @ChrisLipinski113 3 дня назад

    This video might be the final nudge to get me to try Nix. Really appreciate the work you put into this. Thanks for sharing!

  • @therealslimaddy
    @therealslimaddy 4 дня назад +15

    I achieved the same using Ansible, dosent matter macOS or Linux (I can create a 1:1) setup under 2 minutes.
    The problem I have with nix is the separate volume that takes up tons of space and gui apps dosent show in launcher in macOS.
    But you do you!

    • @dreamsofautonomy
      @dreamsofautonomy  3 дня назад +3

      I show how to set up gui apps in the launcher! You should watch the video if that's your concern.

    • @therealslimaddy
      @therealslimaddy 3 дня назад

      @@dreamsofautonomyThanks for getting back. I did watch the entire video and had a script myself to link applications recursively inside NixApps (Not with the flakes way to doing things though). What i faced was if an applications were to be updated manually for example, the Symlinks would change and get corrupted and the entire directly needs be re-synced via scripts as its re-generated. This is a Ice breaker at-least for me that this is not handled natively. So Brew is my choice of poison.

  • @florian6385
    @florian6385 2 дня назад +2

    Currently I have a common Ansible script to setup all my machines: macOS, Debian and Windows.
    Nix seems very interesting, now I want to migrate my Ansible script to Nix 😄
    Is Nix really compatible with Windows ? (if it is, then it is aweeeesome)
    For example when you add the Alacritty app, it means that I can execute it the same way on Linux, Windows and macOS ?

  • @Jarek.
    @Jarek. 3 дня назад +6

    Capabilities of the tool are amazing. But I didn't like how intrusive it is and how much it modified the system.

    • @zachzimmermann5209
      @zachzimmermann5209 5 часов назад +1

      Unfortunately that is the point of nix. There's an even more 'intrusive' version called NixOS (a linux distro), where everything on the operating system is managed by nix.

  • @AntonelloM
    @AntonelloM День назад

    very nice tutorial, thanks a lot!

  • @kooraiber
    @kooraiber 3 дня назад

    Thank you so much for this in-depth and easy to follow tut! Any idea on when can we expect the next video about dotfilesnix integration?

    • @dreamsofautonomy
      @dreamsofautonomy  2 дня назад

      Thank you so much for your support!
      I'll aim to get home-manager video done in the next month! Unsure if I should do a nixOS video before or after though!

  • @darthkielbasa
    @darthkielbasa 3 дня назад

    I’ve slept on Nix, man. Incorrectly I assumed GUI apps were excluded. I may spin up a VM and give this a shot.

  • @anshumansingh3252
    @anshumansingh3252 2 дня назад

    PLEASE MAKE A VIDEO ON YOUR LINUX/NIX OS SETUP it looks soooo good

  • @Redyf
    @Redyf 4 дня назад +1

    Nix mentioned!

  • @RenderingUser
    @RenderingUser 4 дня назад +32

    Not just macos. every linux distro, and windows (wsl) should all use nixpkgs

    • @SharunKumar
      @SharunKumar 3 дня назад +2

      Is there a video out there on how to set it up on WSL?

    • @NatoBoram
      @NatoBoram 3 дня назад

      It would be awesome to have it on Windows, too

    • @HUEHUEUHEPony
      @HUEHUEUHEPony 3 дня назад

      Everyone should use guix

    • @mgord9518
      @mgord9518 3 дня назад

      ​@@HUEHUEUHEPonyWhat does it bring that justifies more fragmentation?

    • @Rundik
      @Rundik 3 дня назад +1

      This is both waste of time and disk space

  • @richardrapstine9014
    @richardrapstine9014 3 дня назад +2

    I have all of this accomplished and more with dotfiles and a bash script. So I have to wonder…did I miss something that makes Nix superior?

    • @RegrinderAlert
      @RegrinderAlert 3 дня назад

      Your dotfiles are not modular or easily transferable to other machines since there is no module system with options. You cannot rollback to working versions. You have none of the advantages of nixpkgs. You can’t cross-reference values inside your config. Your bash scripts are imperative and have no undo. The list goes on. Different beast.

  • @RazineBensari
    @RazineBensari 3 дня назад +1

    damn boyy!
    that is nice

    • @RazineBensari
      @RazineBensari 3 дня назад

      I just need a linux laptop to keep in sync :p
      Jokes aside, that would be a good use case for workpersonal computers sync

  • @nickiascerinschi206
    @nickiascerinschi206 3 дня назад +3

    Looking at thumbnail 😊 then looking at 20:00 😢

  • @thehyperduck90
    @thehyperduck90 3 дня назад

    Bro you're the best out there.
    Is there any possibility for you to make a video about setting up an environment based nixos flake in the cloud that is basically a frontend and backend that is extensible with a deployment tool like Terranix or Colmena?

  • @frankiev1785
    @frankiev1785 4 дня назад

    Doing this on my next Macbook Pro! Awesome video.

    • @dreamsofautonomy
      @dreamsofautonomy  3 дня назад

      You can do it on your current one as well!

    • @frankiev1785
      @frankiev1785 3 дня назад

      @@dreamsofautonomy I thought about it. Currently, I have two different projects going with building a Nix based hypervisor, based on your other homelab setup video, and a TrueNAS Scale Baremetal build. Adding on to those two may be more than I can handle all at once. Will have to explore the Mac situation after that!

    • @PygmySurfer
      @PygmySurfer 3 дня назад +2

      If you do it on your current MacBook, swapping to the new on will be so much easier.

  • @enterusername7746
    @enterusername7746 3 дня назад

    Wow. Very nice and complete intro to nix configuration on MacOS! Are there any reasons you are not using the Determinate Nix Installer?

  • @andressalazargaleano6419
    @andressalazargaleano6419 4 дня назад +2

    you never stop amazing me

  • @sirwnstn
    @sirwnstn 3 дня назад

    Very informative video. I wonder how Ansible would stack up against Nix. Jeff Geerling uses Ansible in a very similar way to setup his Macs.

  • @arkxfly
    @arkxfly День назад +1

    I remember nix would thoughtfully create 32 users for you on macOS, right?

  • @damienlachaume
    @damienlachaume 3 дня назад

    Thank you very much, this is very interesting. I’ll definitely give it a try.
    Since I'm not starting from a clean installation, would it be ok to uninstall Homebrew and its related dependencies in order to manage everything with Nix instead?
    Can't wait to see the next video!

    • @dreamsofautonomy
      @dreamsofautonomy  2 дня назад

      You can migrate easily as well! No need to uninstall everything. My pinned comment has the changes you'll need!

  • @bastiana3611
    @bastiana3611 4 дня назад

    Awesome video, I think I'll show this to a mac friend and tell him to join me on the dark side.

  • @martinlarsson6621
    @martinlarsson6621 2 дня назад

    Great video, I've been wanting to get into Nix for so long but haven't put aside the time to do it. This might just be the push I needed!
    Question, are you using NixOS on Linux now as well or only using the Nix package manager?

    • @dreamsofautonomy
      @dreamsofautonomy  2 дня назад

      Thank you!
      I'm now using nixOS on Linux! But I took about 6 months to migrate over, mainly due to the learning curve!

    • @martinlarsson6621
      @martinlarsson6621 День назад

      @@dreamsofautonomy That's awesome, if you ever feel like making nixOS videos, I'll be first in line to see them! :)

  • @vlasar5877
    @vlasar5877 4 дня назад +3

    Thanks!

  • @aftamohd
    @aftamohd 4 дня назад +2

    absolutely amzing !! I was looking for such video for quiet sometime!!!... Kindly expedite teh home manager video and also how to use the NIX in Arch linux... as wel

  • @attentioncestpaslegal7847
    @attentioncestpaslegal7847 4 дня назад

    Pure gold content

  • @jolness1
    @jolness1 3 дня назад

    I switched from Macports to home brew years ago. I’ll need to look at migrating to this. A curious how much sequoia fucks it up though lol. Edit: nvm lol. Thanks for checking sequoia.

  • @RichardJActon
    @RichardJActon 4 дня назад

    Very nice guide to point mac people to.

  • @LucioDaou
    @LucioDaou 3 дня назад

    Amazing video, but unfortunately very complex for my use case. How does Nix would be different to Ansible for this fresh configuration routine?
    I miss having something like Scoop, a package manager for Windows systems. It's way more advanced and refined than Homebrew, with some Nix-like features like the simple app version change. At the same time, Scoop is easier to use than homebrew itself!

  • @TakeThisLove
    @TakeThisLove 2 дня назад

    Great video. I've been a Nix/NixOS for quite some time.
    What color scheme do you use. It matches MacOS perfectly

  • @flamingfire0
    @flamingfire0 4 дня назад +1

    HE BE BACK

  • @marekmackiewicz2854
    @marekmackiewicz2854 11 часов назад

    The final flake is missing and it would help me a lot

  • @maxtester8824
    @maxtester8824 4 дня назад +1

    Thanks for this fantastic video!
    Is there a relatively eaasy answer to the question of how ansible would compare to nix package manager?
    Did you ever compare?

    • @dreamsofautonomy
      @dreamsofautonomy  3 дня назад

      I've still not yet tried Ansible unfortunately! I'll have to give it a go soon and do a comparison!

    • @wi1h
      @wi1h 3 дня назад

      even though ansible is all yaml, it's entirely imperative. if you've worked with github actions before, it's basically exactly that. you write a yaml file that basically goes "hey, run these jobs in this order". it's better than regular shell scripting since it's cross platform and it abstracts away the actual shell commands you have to run, but at the end of the day it's an imperative language. you can get pretty good reproducibility and whatnot by pinning versions and such, and it certainly has its uses, but nix is a whole other beast

  • @piyushagarwal7376
    @piyushagarwal7376 14 часов назад

    3:37 The effort graph should be logx not e^x, cause its harder/more effort in starting and smooth sailing when you become a pro

  • @zerdofish9989
    @zerdofish9989 4 дня назад +1

    amegamazing

  • @somerandomdude-UWU
    @somerandomdude-UWU День назад +1

    Elliott, I request you to please create a nix setup video for nixOS (linux). I know the resources such as docs and videos of vimjoyer, but all of it seems overwhelming to me. I am happy with my current setup in arch using paru for packages and stow for dotfiles management. But I really want to get nixING. I want to use the superpowers of nix but I don't own a Mac. Help me pwease.
    Can I follow this tutorial for non Mac computers? Is Darwin only for mac? Help me 🥺

    • @dreamsofautonomy
      @dreamsofautonomy  День назад +1

      I will be doing a video on nixOS soon! I promise.

  • @s.i.m.c.a
    @s.i.m.c.a 3 дня назад +55

    yeah sure, instead of doing work on a laptop, let's dive in an endless cycle of configuring your environment....

  • @AlikKhilaghev
    @AlikKhilaghev 3 часа назад

    Hi thank you for video!
    One thing remains unclear to me - how do you pin to dock application installed from appstore?

  • @quantum_mechanic
    @quantum_mechanic День назад

    I tried this a couple of weeks ago and gave up. Not because it was difficult, but because I don't want a dedicated volume for Nix and it's just way overkill, and it can't remove homebrew packages even when removed from your nix configuration. I wouldn't want to control any of the system settings either, so brew bundle is good enough for me. Though I was intrigued by using home-manager to replace stow, but as far as i'm aware it can be used standalone without nix-darwin.

    • @dreamsofautonomy
      @dreamsofautonomy  День назад

      It can remove homebrew packages when using the zap onActivation option! I mention it in the video!

    • @quantum_mechanic
      @quantum_mechanic День назад

      @@dreamsofautonomy I didn't watch the whole thing 🫣

  • @TheJambomen
    @TheJambomen 4 дня назад

    My dude how do you keep reading my mind. First it was obsidian , now it is this.

  • @casadogaspar
    @casadogaspar 4 дня назад

    It's interesting, has have more options than Brew for sure, but I don't see that reason do change, at least yet.

    • @Clem.E
      @Clem.E 4 дня назад

      He’s still using Homebrew 20:00

  • @johnstef223
    @johnstef223 4 дня назад +1

    try adding AeroSpace to your setup :)

  • @RazoBeckett.
    @RazoBeckett. 4 дня назад +3

    Banana, Banana, Banana, I want that banana cursor !!, Banana, Banana, get me that banana !

  • @Tn5421Me
    @Tn5421Me 2 дня назад

    Would you be willing to do a video like this for starting with NixOS and/or a regular linux distro?

    • @dreamsofautonomy
      @dreamsofautonomy  2 дня назад +1

      Absolutely! I'll do a nixOS from scratch one soon.

  • @mrbandler
    @mrbandler 2 дня назад

    I wish something like this would be available for Windows, DSC is nowhere near Nix...

  • @parosdelos6914
    @parosdelos6914 4 дня назад +2

    noice

  • @jay-cm
    @jay-cm 3 дня назад +1

    I have a pretty simple bash script that downloads brew, install all my packages from a Brewfile, sets all system settings using "defaults write", symlinks my dotfiles without all that nix complexity.
    I don't see the appeal personally.

    • @motionblurgamer
      @motionblurgamer 3 дня назад

      I’m interested in this!
      I already have a Brewfile, but haven’t managed to automate system settings and dot files.
      I think I could make something work, but I’d rather learn from someone already using it.

    • @RegrinderAlert
      @RegrinderAlert 3 дня назад

      You are missing the point then. Nix has a myriad of advantages. Some are part of the nixos/darwin module system (homebrew can’t manage this), some are due to home-manager (homebrew does nothing like that) and homebrew is a joke compared to nixpkgs. And don’t forget about dev environments via Nix flakes - that’s the killer feature of the whole ecosystem and vastly superior to anything else.
      All those advantages combine seamlessly if you go full NixOS (or nix-darwin on Mac).

    • @jay-cm
      @jay-cm 3 дня назад

      @@motionblurgamer My dotfiles are at jaycedam/mac-setup

  • @blind5211
    @blind5211 3 дня назад

    I wonder whether using a non-default package manager would introduce any bugs or issues at all

  • @TBTapion
    @TBTapion 2 дня назад

    I'm guessing you keep one config for macos and one for linux (and I guess one for wsl/same as linux)? Tempted to set this up on my linux work laptop and macos client laptop to switch off using just brew

    • @dreamsofautonomy
      @dreamsofautonomy  День назад

      I keep 2 separate flakes currently but they share similar configuration. It is possible to have a single flake as well which I'll try and do a video on!

  • @Matesosh
    @Matesosh 4 дня назад +4

    Well, I just use macos, install my stuff once (brew, appstore, etc.), and then back my entire system up on my NAS via time machine regularly. No additional dependencies on some software, config files, dotfiles, whatnot to maintain, all my passwords and other additional stuff is maintained better this way than the tool in this video does. It just works. Not sure what problem this solves, apart from dependency on another fantastic tool that does less than what it is claiming, for a lot more hype?

    • @dreamsofautonomy
      @dreamsofautonomy  3 дня назад +1

      I believe I mentioned in the video, but keeping my environment consistent across both macOS and Linux is a big one. Time machine just isn't able to do that I'm afraid.
      Additionally, nix shell, nix develop, being able to install multiple versions of software etc are all things nix can do that you can't easily achieve otherwise.

    • @Nootlink
      @Nootlink 3 дня назад +1

      Well not everyone has NAS.

  • @rogerramjet69
    @rogerramjet69 3 дня назад

    great video... reason I havent used nix is the syntax is horrible... they could have done so much better.

  • @rwz
    @rwz 3 дня назад

    I run into packages which did not work on aarch64, metasploit for example. 🙁

  • @HUEHUEUHEPony
    @HUEHUEUHEPony 3 дня назад +1

    Using >alacrittt
    >Not wezterm

  • @MrVagyok
    @MrVagyok 3 дня назад

    Can NIX do the same thing in reverse? I am kind of tired of all these ansible level managers and configurators, what I am looking for is the other way around like if I am having an already set and customized system, than automatically generate the current config, or have the selection of what I want and not want to export, than go to another machine and port all the settings and setup there to cerate an identical setup, but not a DD level copy!

  • @andressalazargaleano6419
    @andressalazargaleano6419 17 часов назад

    can you manage ssh keys from nix? like store them encrypted and decrypt on install

  • @norbertbatiuk121
    @norbertbatiuk121 День назад

    I've been very tempted with Nix and nix-darwin in particular, However, besides the steep learning curve and the amount of complexity introduced, I'm not really able to find someone how can in plain English give me the cons of using nix-darwin. Surely, there must be some. What about the non-standard FHS? What kind of troubles may that introduce? What are the resource penalty, surely there must be some memory penalty for storing all the snapshots? I willing to dip my toes into Nix but I'm afraid that this is just some hype train that may pass in few months

    • @norbertbatiuk121
      @norbertbatiuk121 День назад

      And how is dev work affected by Nix? I guess that I want to have a flake.nix file for each and every project? How does this affect cooperation with other devs that are not on Nix system? I cannot seem to find meaningful answers to those types of questions.

    • @dreamsofautonomy
      @dreamsofautonomy  День назад

      Nix Darwin shouldn't impact any FHS, that's mainly a consideration on nixOS.
      Honestly there's very few cons with using it on MacOS other than creating a new volume and user accounts. That can be a bit much for some people.
      As for development environments, you can make use of a flake.nix which some repos provide, in order to use the nix develop command which enables a temp environment with all of the dependencies installed.
      For me, Ive spent about 6 months with Nix and NixOS and am convinced it's here to stay, of course that's just my opinion and it could quite easily be a fad still.

    • @norbertbatiuk121
      @norbertbatiuk121 15 часов назад

      @@dreamsofautonomy thanks for the reply! I was not aware that FHS was only affected on NixOS.
      I might try it out! But perhaps on a VM first 😅

  • @HerbieBancock
    @HerbieBancock День назад

    That's good to know because I like to keep tabs on what aging hipsters like and don't like about computers.

  • @AbhinavKulshreshtha
    @AbhinavKulshreshtha 3 дня назад

    18:08 what happened here? Are you installing nerdfont under a different name? Or is this a feature to download and install an external font?

  • @kaspermeesen2798
    @kaspermeesen2798 2 дня назад +1

    Can you share you tmux config please? :)

  • @user-sq1oi9qp8w
    @user-sq1oi9qp8w 3 дня назад

    when are going to do the linux side of configuration?

    • @dreamsofautonomy
      @dreamsofautonomy  2 дня назад

      Very soon! I'll start videos on nixOS and nix shortly!

  • @akselolav
    @akselolav День назад

    Love the video, but when i try to run the nix run nix-darwin part i keep getting an error: path does not exist?
    Edit: I have no idea what i did, but after intializing the dir with git it somehow worked

    • @dreamsofautonomy
      @dreamsofautonomy  День назад

      Good job! If you set up the directory with git you'll need to make sure the files are tracked! There is a way to disable that but I prefer the default behavior!

  • @ChazRagg
    @ChazRagg 4 дня назад +1

    do you have to run nix-darwin from a fresh machine ? i have an already configure machine I want to swap over.

    • @ecosse31
      @ecosse31 3 дня назад

      Exactly. Installing nix Darwin will prune my current apps/configurations/homebrew apps or what? If I have for example neovim or wezterm terminal installed with homebrew can I still use it? If yes, how do I migrate app to be managed via nix pkgs without losing the data?

    • @dreamsofautonomy
      @dreamsofautonomy  3 дня назад +2

      You do not need to use nix Darwin on a fresh machine. You can use it on an existing one.
      If you add autoMigrate = true; on the homebrew configuration and don't set the onActivation to zap, then you should be set!

    • @wi1h
      @wi1h 3 дня назад

      ​@@ecosse31 i did this to my macbook, you don't lose anything. it won't uninstall anything you have installed, and even after the fact you can still install apps normally (but i suppose why would you). most apps store their data in ~/Library, so you should be able to safely uninstall them normally (brew remove/delete /Applications/*.app) and then install them with nix, and the new install will have the same data as previously
      as for homebrew, i think the easiest thing is to setup homebrew in your nix config and just copy everything over from `brew list`

    • @ecosse31
      @ecosse31 3 дня назад

      ​@@dreamsofautonomy That's awesome for homebrew apps! What about .config directory configuration for apps and apps installed via DMG installer or Mac App Store? Will they be still available or they going to dissapear?

  • @UloPe
    @UloPe 3 дня назад +1

    I feel like Nix only appeals to a very specific niche of users.
    The same ones that would have used gentoo and later arch Linux…

    • @dreamsofautonomy
      @dreamsofautonomy  2 дня назад

      I did used to use arch, btw 😉
      Agreed, it's not for everyone. Having multiple computers however, it's been a joy to keep the environments in sync

  •  3 дня назад

    Will most of this info also work for Linux?

  • @laughingvampire7555
    @laughingvampire7555 3 дня назад

    my main problem is to write my configuration in the nix language

  • @jhionan
    @jhionan День назад

    Cool stuf

  • @Zeioth
    @Zeioth День назад

    Good: Nix.
    Bad: MacOs.

  • @gracesonaufderheide4743
    @gracesonaufderheide4743 3 дня назад +1

    Maybe I missed it, but could you use Nix to install paid Mac apps that aren’t available on the Mac App Store, or in other package repositories? For example, something like Capture One.

    • @MotionFriend
      @MotionFriend 15 часов назад

      I am also interested in how to deal with this. In my case I need to install Alfred and activate it with my power pack serial

  • @dimi244
    @dimi244 4 дня назад

    Is it possible to do the same thing with WSL? including the possibility of keeping WSL and a Linux distro in sync?
    or does the lack of a module like darwin for WSL make this impossible?
    I'm having trouble setting zsh as the default shell on the system.
    On WSL I'm using home manager to try to do this

    • @mctechcraft7
      @mctechcraft7 3 дня назад

      Yes, just lookup NixOS WSL. I am currently running it on my win10 machine and it works perfectly.

  • @viko1786
    @viko1786 3 дня назад

    That blue filter is sometimes too much on your camera

    • @dreamsofautonomy
      @dreamsofautonomy  2 дня назад +1

      I agree. My camera was messed up for a lot of the shots on this video as I had auto white balance set up! I tried to match it best but it didn't work out. Mistake on my end which shouldn't happen again!

  • @seniorbrusko
    @seniorbrusko День назад

    what about ssh and git setup?