After I got myself a new (used) laptop, I started to checkout nix-darwin and kind of got lost for two weeks just tweaking my configuration every evening... after a lot of frustration in the first place, I now really love how nix works and let you configure a machine and your home folder in a reproducible way and in one language 👌🏽it doesn't solve everything, but I feel like it's more consistent now compared to my former dotfie repository
Installing #NixDarwin needs some patience, now I can manage Homebrew with #Nix✌️ https://codeberg.org/goofansu/dotfiles.nix/src/branch/main/darwin.nix
Hey, #Nix and #NixDarwin and #HomeManager users 👋
Who also happen to use #TMux with #Resurrect plugin.
Ok, it's a lot to ask.
Still, do you know why :
1. TMux does not restore its state on lauch (I have to do it by hand) ?
2. The restored sessions and panes do not restart #Vim /#NVim ?
I had https://gitlab.com/pcoves/tmux/-/blob/086a3aff931f14e2a6ad252ef9b2cdc297f40afd/.config/tmux/tmux.conf#L42-56 before moving to #Nix and it worked like a charm.
Now, not only can't I use my config file (💩) but the #HomeManager one fails at my most beloved feature.
#nix #nixdarwin #homemanager #tmux #resurrect #vim
@Franky47 Ha, et moi je souhaiterais faire un #HumanTalks pour faire un survol de #Nix (et #NixDarwin dans mon cas).
Hâte que ça reprenne.
Started my new job this week and got a new #MacBook with #M2 ship.
I'm more of a #linux person but had to pick between this and windows.
Anyway, jumped through a few hoops and eventually managed to install #nix, #nixDarwin and #homeManager.
Also have my #Nitrokey working with #pass and #SSH.
So, yeah, not that far from a #Linux experience with my beloved #nvim setup on top.
Blog post in a few days or so.
#macbook #m2 #linux #nix #nixdarwin #homemanager #nitrokey #pass #ssh #nvim
Kann mir jemand sagen ob sich der Aufwand mit #nix #homemanager (plus ggf. #nixdarwin) unter #macOS lohnt? Such schon länger nach einer Möglichkeit Ordnung und Übertragbarkeit in meine #dotfiles zu bekommen und das scheint mir quasi der ultimative Weg zu sein?
#nix #homemanager #nixdarwin #macos #dotfiles
Been trying to ~finish flaking my #NixDarwin system for a few days but I'm having a hard time finishing it off because I'm annoyed about how flakes clash with having my homedir as my dotfile repo.
I currently have the system flake in it's own repo, but I'm a bit grumpy about having to split my important config/state up across two repos. :/
Setting up a new laptop. Through the magic of nix-darwin and home-manager, my development environment mostly transplanted. Now all I need is Nix for login cookies.
It only took a few weeks to abstract out a basic modular library for ~orchestrating a collaborative #bash #shell profile.
After this set up, you might be expecting a link, but I'm a degenerate yak shaver--and this is a yak-shave story. (Though I do expect to officially announce the project in the next few weeks...)
Over this time I'd been adopting #Nix and #NixDarwin, so extracting this work from my ~/.bashrc meant creating nix packages to stitch them all together.
3/?
It only took a few weeks to abstract out a basic modular library for ~orchestrating a collaborative #bash #shell profile.
After this set up, you might be expecting a link, but I'm a degenerate yak shaver--and this is a yak-shave story. (Though I do expect to officially announce the project in the next few weeks...)
Over this time I'd been adopting #Nix and #NixDarwin, so extracting this work from my ~/.bashrc meant creating nix packages to stitch them all together.
3/?
I think I've hit an edge case where the local instance isn't aware of a tag, but I'd like to follow it.
Seems like the easiest way to solve this is to just make a post with the tag in it, so #NixDarwin is a thing I'm tagging now.
The #NixDarwin Swift PR is again up-to-date with all review fixes. 💪
Next I'm hoping to fix stdenvBootstrapTools on aarch64-darwin, which I understand blocks the release channel, but I think we're already too late for the 22.11 release window. No clue what that means for the nix-darwin release. 🤷♂️
Spent most of the day hacking on #Swift support in #NixDarwin again. We won't make the 22.11 release cycle, but things are moving forward. Maybe done and landed in nixpkgs-unstable before the end of the year? 🚀
We're starting out with setting up #xcode and getting #rbenv and a good #ruby environment working. #brew helps, #nixdarwin will make sure it happens.
so. many. tools. I wish #warp was ready for ecosystems like this so I'd just have to go `warp build` and be done with it.
In this case, rbenv is also installing a version of #openssl. All good so far until there's a permissions error creating something on /usr/local/var.
yikes
sudo !! it is
#openssl #warp #nixdarwin #brew #Ruby #rbenv #xcode