#nixdarwin — Public Fediverse posts
Live and recent posts from across the Fediverse tagged #nixdarwin, aggregated by home.social.
-
Wrote up how I manage dotfiles across macOS and Linux with Nix. One repo, one flake.lock — same shell, editor, and tools on every machine. Home Manager and nix-darwin do the heavy lifting.
-
Воспроизводимое изолированное окружение с Nix и DevContainers
Как фулстек разработчику, мне доводилось работать с проектами на совершенно разных технологиях. Как правило, нужно было поправить небольшой баг или сделать небольшую фичу. Для задач такого разряда стек технологий обычно не имеет значения: отладка примерно одинаковая что на JavaScript, что на Haskell, Go или Python. Написать немного кода мне, в общем-то, никогда не было сложно на любом языке, с которым я работал. Но вот что всегда было настоящей проблемой — это запустить и протестировать проект. На это запросто уходили дни: найти нужные версии компиляторов/интерпретаторов, дебаггера, пакетного менеджера и всякого сопутствующего тулинга. Я устал от этого, и придумал, как больше никогда в жизни не устанавливать тулинг вручную.
https://habr.com/ru/articles/1010282/
#nix #devcontainers #docker #reproducibility #nixos #nixdarwin
-
🔍 A riveting saga of transforming your Mac into a pristine museum exhibit with Nix-Darwin, because nothing screams #productivity like a system that stubbornly refuses to change. 🐢🎩 Watch a brave soul dive into the abyss of "imperative rot," only to emerge clutching a manual on how to make your shiny computer behave like an immovable monolith. 💀💻
https://carette.xyz/posts/going_immutable_macos/ #NixDarwin #MacTransformation #TechHumor #TechSaga #HackerNews #ngated -
@nixos_org 🎉 took me 12 days to finally understand how this works & setup but I finally got a working secret management config! Check this out https://codeberg.org/dminca/nix-config/src/branch/main/secrets/example.yaml
#security #secretManagement #nix #nixDarwin #x86_64darwin #aarm64darwin
-
Switched my #Nix installation on #macOS from the original installer to the one by @determinatesystems. Since that one disables channels in favor of flakes by default, I also took the opportunity to use Nix more properly instead of just running `nix-env -i` when needed :'-)
Ended up looking at #nixDarwin, #HomeManager and #Fleek. To a complete newb like me the differences where rather hard to grasp
nix-darwin tries to replicate the feel of #NixOS on macOS – something I couldn't comprehend since I never ran NixOS. More generally though, in NixOS, Nix is used to manage the whole OS (duh) and defines the system-wide installed/configured packages/environment. As such, nix-darwin replicates this style of providing a system environment on macOS.
home-manager shifts this concept to a per-user basis. The configuration system is quite similar, just per-user.
#Fleek is a Go tool to generate home-manager configurations from YAML.
Now, you can also install home-manager as a nix-darwin (on macOS) or NixOS (on... NixOS) module, which allows upgrades of the homes through the system wide Nix upgrade process.
-
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