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.
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
Anyone got a working #GPG #git commit signing example for a #macos using #homemanager #nixdarwin
Currently getting the following error:
error: gpg failed to sign the data:
gpg: skipped "$USER": No secret key
nix profile as I often do that before adding them to my system configuration ❄️
#macOS
once upon a time I bought the M2 MacBook Air
#nix
It is not much more than a year since I began exploring nix (or is it two years, I fool myself)
#DeterminateSystems
It did not take long before I discovered that to use nix on mac requires extra effort, when there inevitably are updates or upgrades. Apple has opinions. The opinionated nix, or more precisely its installer offload that effort.
#NixDarwin
nix-darwin enables system wide nix on macOS
#homebrew
Part reason I began using nix was moving away from Homebrew
#direnv
Exploring nix workflow led me to direnv, a powerfull way to load environments by entering directories. It works really great in tandem with nix. It is the sole homebrew package in my macOS
#asahi #linux
geerlingguy first reminded me of the possibility to install linux on my mac several years ago when the good folks at asahi released asahi linux
#arch #Wayland #Hyprland
Even more years ago I first began hearing the arch buzz, but lately this year buzz on arch using the Hyprland Wayland compositor for a tiled desktop got bumped and
#omarchy
the opinionated linux iteration No. 2 in DHH's series of "omakase" linux, making it easy for everyone to jump from apple to linux
#AsahiAlarm
Asahi has a project going on with fedora, but there is also the Asahi-Alarm based on arch. This is great because the arch project mainly focus on x86-64. Asahi-Alarm makes arch linux for aarch64/arm64 with the overarching project Asahi's focus on mac hardware.
Putting it all together tiredkebab manages scripts for mac based on DHH's omarchy
I then make my own opinions with nix, flakes.nix, and direnv.
The #nix #microvm project added #darwin support!
https://github.com/microvm-nix/microvm.nix/issues/154#event-21442108737