nix-darwin
nix-darwin copied to clipboard
nix modules for darwin
I'm trying to use [system.defaults.CustomSystemPreferences](https://daiderd.com/nix-darwin/manual/index.html#opt-system.defaults.CustomSystemPreferences) to [disable](https://apple.stackexchange.com/a/303271) the Other Users login option. This should involve setting `com.apple.loginwindow.SHOWOTHERUSERS_MANAGED` to false: ```nix system.defaults.CustomSystemPreferences = { com.apple.loginwindow = { com.apple.loginwindow.SHOWOTHERUSERS_MANAGED = true;...
Is there a `nix-darwin` way to enabling rosetta support for Apple silicon Macs?
If you set up a signing key for the `linux-builder` and add that as trusted public key on your machine, you won't need to be a trusted user at all.
Sketchybar configs contain a lot of scripts running and it's useful to have the log output directed somewhere to see what's failing and why. Adding a stdout and stderr output...
Fixed a few things in https://github.com/LnL7/nix-darwin/pull/636 - [x] Replaced deprecated `litteralExample` with `litteralExpression` - [x] Some measure of fixing of the generation of an ascii code for the first array...
For users encountering #149
I haven't installed nix-darwin yet, but I was reading through the bash module and I saw the following: https://github.com/LnL7/nix-darwin/blob/c2124383f47315c23b0fbe8b75a1190b6d7929d0/modules/programs/bash/default.nix#L48-L66 On darwin, `/etc/profile` unconditionally sources `/etc/bashrc`, and it's up to `/etc/bashrc`...
As of https://github.com/NixOS/nixpkgs/pull/179039 (~22.11), the `vam` attribute of `vimrcConfig` has been deprecated. This moves the module to the recommend `packages` attribute, removing the trace most systems will come across currently...
On every reboot, dock items are lost and I return to an empty dock. ![image](https://github.com/LnL7/nix-darwin/assets/34249137/22f39cb2-6231-49b3-9089-058f09a768cc) My nix-darwin config is [simple](https://github.com/V4G4X/nix_config/blob/393953ea0293d0e916bb7847efee84f5c1c089c0/darwin-configuration.nix), but I can't pinpoint the issue. Please help!
Ports the NixOS module for building krb5.conf, addressing #808.