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?
ffs, here we go again ... goddamn it @nixos_org why can't we just have a smooth transition
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 ’
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!
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
@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
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?
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.
So I completely nuked my #Nix install on my #MacBook. I uninstalled #NixDarwin, uninstalled Nix, upgraded the OS, reinstalled Nix, and then ran `nix-darwin switch` on my existing config. The longest part was waiting for #macOS to update! Everything is exactly as I had it, apps, tools, config, and all! Even my tiling window manager (named #Yabai) is working great after switching to the latest version!
Does anybody have experience with / an example for installing a JDK on Apple Silicon with Nix? The jdk package in nixpkgs is not available for aarch64-darwin. #nixos #nixdarwin #applesilicon #macos #nixpkgs #java #jdk
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.
If there is a canonical Git repo and pile of docs to point to that lets me build a pile of machines with:
- machines with NixOS + home-manager
- Mac machines with nix-darwin + home-manager
- multiple machines on Debian or whatever + Nix store + home-manager
- some easy way to toggle things on/off in the config (e.g. put work apps on work machines but NOT on personal machines, put GNOME on desktops but NOT on servers, etc)
- all in flakes
Please drop links #Nix #NixOS #NixDarwin #HomeManager