Has somebody tested all the tiling windows managers for #macos using #nixdarwin ? And can recommend one?
Has somebody tested all the tiling windows managers for #macos using #nixdarwin ? And can recommend one?
Since #nixDarwin has to be run as root now, I need to set `SSL_CERT_FILE` on the command line, otherwise fetching stuff over HTTPS fails. What change should I make to avoid it?
I learned more about launchd than I ever wanted in the last week. I don't mean to hate on stuff but that tool is insane. How do people work with that in an efficient way?!
ffs, here we go again ... goddamn it @nixos_org why can't we just have a smooth transition :blobcatfacepalm:
@hmnews Nice. I might finally be able to replace the godawful #Amethyst which I had to install using some kind of Ruby bullshit hack on my #nixdarwin config. If it’s anything like #XMonad, I’m happy.
https://github.com/harryprayiv/nix-darwin-config/blob/main/system/machine/macbook/default.nix#L117
Any #nix / #nixpkgs users with #nixDarwin and #homeManager on macOS out there that have an idea how to cleanly uninstall nix-darwin AND home-manager for a flake based setup?
I’d like to switch from Determinate Systems nix installer to the for by #Lix Systems but it seems the only "documented" way to do so is to:
1) uninstall nix-darwin including the home-manager module made changes (so I don't toast my system)
2) uninstall nix via the Determinat uninstall
3) install nix via the Lix Systems installer
4) bootstrap nix-darwin
5) feed it my flake to get my configuration back
My problem is that step 1) is not clearly documented anywhere. There is this part for removing nix-darwin but it doesn't mention how it'll behave if the home-manager module is in use :|
I could use some #help here ’
2025 – what a start. i finally decided to run the latest #macos system update only to have it fail and brick my entire system..
but hey; it's now or never! setting up everything from scratch allows me to play around with #nix and #nixdarwin. at least it'll be my own fault when i end up with a bricked system now. :clownppuccin:
First go at working with Nix, Nix-Darwin, and Home Manager to handle my Mac config. Take a look if you wish. https://github.com/MillerApps/dotfiles
#nixos #nixdarwin #dotfiles
I am not completely sure about the structure if settled on for now, but for now it works and fits my use case #homemanager #nixos #nixdarwin
Restructured my #homemanager and #nixos configs into one flake and introduced #nixdarwin on the way. Was way easier than I thought!
For anyone wanting to use Zen Browser with #nix, here's a Nix flake I've made for it:
https://github.com/heywoodlh/flakes/tree/main/zen-browser
I would recommend using my wrapper for it which creates a profile in `~/Documents/zen/Profiles/main` if you want data to persist:
```
nix run "github:heywoodlh/flakes?dir=zen-browser#zen-wrapper"
```
Currently runs on ARM64/x86 MacOS and x86_64 Linux.
For the first time, I’m considering adopting a multi-Mac strategy so I can easily switch computers if a repair is needed. Probably using #nixdarwin to keep settings and installed apps in sync, iCloud Drive for personal data, and Git repos for code. Then making it a habit to switch machines from time to time to ensure both setups are always in working condition. 💻💻 #MacBook #Nix #iCloud #Apple
With @nixos_org , you no longer have to put these in your README.
“devShell” in, “How to build” instructions — out
so proud of myself for managing to combine #nixos configuration for 2 hosts into one monorepo and #nix made it possible in a smooth way!
As a background, initially these hosts had their configuration split in 2 separate git repos. Although I’ve planned to do that for nearly 3 weeks already, just had to read a lot in order to get the ropes of it. 💯 to the folks @ Discord Nix which guided me ❤️
https://github.com/dminca/nix-config
#nixdarwin #homeManager #darwinConfiguration #x86_64darwin #aarch64darwin
Hello #nixdarwin users out there, would you happen to know if the #cmake that nix installs is purposefully ignoring the normal system-sdk (commandline developer tools or xcode) on #macOS?
I was trying to use a standard “find_package(BZip2 REQUIRED)” and instead of finding the .tbd on recent macOS installs cmake simply fails with
"[CMake] (missing: BZIP2_LIBRARIES) (found version “1.0.6”)”
The same is true for any system library as CMake completely ignores the SDK headers / library directories.
I'm not sure if this is a bug with the cmake package or on-purpose to confine cmake to only find things inside the /nix/ space.
I've removed cmake from my nix-env for the time being and am using the homebrew package instead as that one works as expected.
Hypothetically.. if I was using nix-darwin could I ship and install a custom macOS keyboard bundle?
I've been using a german Dvorak bundle which I've customised for a good few years to cater to my programming needs and it's one of the things I have to re-install on every new system.
Or would that actually end up being it’s own package in a custom channel and then be pulled / installed? (might be difficult because I'm placing it in `/Library/Keyboard Layouts` not `~/Library/Keyboard Layouts` so it's available on the lockscreen.
@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
@jakehamilton here's my #NixDarwin + #HomeManager config https://github.com/abhin4v/nix-managed-macbook. #Nix
Perhaps someone who is familiar with NixOS/nix-darwin can give me a point in the right direction.
I'm trying to use nix-darwin on an M1 laptop running Sonoma, but packages seem to be behind. As an example, if I lookup Atuin in nix-packages.org, I can see that 23.11 has v 17, and unstable has v18.
I have tried running nix-channel --update darwin, but this does not seem to change anything; I still get v15 of atuin on my system. What am I missing?