Comments (5)
Did you enable the nix-daemon? I assume this is because it's set to daemon
from nix-darwin.
You can look at /run/current-system/activate
and run it inside nix-shell -p stdenv
to reactivate your current system. Note that that you have to start a new terminal (and restart tmux/screen) for changes like environment variables to propagate to your shell.
from nix-darwin.
Re the daemon:
Ahh, I did enable it out of curiosity from looking at your example config. It didn't seem to work though (do I need to manually create a nixbld
group?), so I did remove it from my config. I guess not having the nix-daemon enabled doesn't unset the NIX_REMOTE
variable?
The bug with /etc/static not updating:
ln -sfn /nix/store/m0rm1ljwsrjjjfivmcb6y6nwlva59ix0-etc/etc /etc/static
was creating an etc
directory inside of the /etc/static
instead of mapping the contents of /nix/store...etc
inside the /etc/static
directory.
I don't know how I got into that state. Manually rm -rf /etc/static
and rerunning of activate fixed it. Future darwin-rebuild switch
es now work.
from nix-darwin.
Ah interesting, I put in a safeguard to prevent issues but apparently the environment variable was still set somehow.
See #9 (comment) if you want to use it, but once you enable it the store will be owned by root so you can't just revert without fixing changing the permissions first. The daemon enables multi user support and has the added benefit that your user can't write directly to the store anymore.
from nix-darwin.
Not sure about the etc issue, but the activation should now correctly fail before setting the environment variable or starting the daemon.
from nix-darwin.
Related Issues (20)
- Option to disable zsh global compinit
- remapTilde stopped working on Sonoma HOT 1
- Is Apple Bluetooth Mouse config property wrong?
- upgrade-nix-store-path-url not supported in nix.conf validation
- `nix run nix-darwin`: `error: cannot find flake 'flake:nix-darwin' in the flake registries` HOT 1
- sudo: /private/etc/sudoers.d/10-nix-darwin-extra-config is owned by uid 501, should be 0 HOT 5
- `darwin-rebuild switch --flake`: killing backgroundtaskmanagementd shows up as an alert in EDR systems
- feat/recommendation: wrap launch agents and daemons in named files
- Having trouble with initial setup. HOT 5
- Installer fails with /etc/ file conflicts when running on a fresh Determinate Nix Installer install HOT 2
- `github-runners`: get `tokenFile` content by running a command
- error: experimental Nix feature 'auto-allocate-uids' is disabled; use '--extra-experimental-features auto-allocate-uids' to override HOT 1
- nix-darwin says homebrew isn't installed, but it is
- How to disable macos startup sound? HOT 7
- Environment shell aliases HOT 2
- [FR]: System proxy configurations HOT 1
- NIX_PATH issue HOT 2
- brew tap problem HOT 2
- com.apple.controlcenter.plist values HOT 4
- Launch Raycast at Login HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from nix-darwin.