<stondo>
and now I'm getting this: error: file 'darwin' was not found in the Nix search path (add it using $NIX_PATH or -I)
<stondo>
if I try darwin-rebuild switch
<__monty__>
stondo: Sounds like it's missing a location for a <darwin> reference. I'm not sure whether the nix-darwin installer adds the necessary PATHS to your rc files. Maybe try sourcing .nix-profile/etc/profile.d/nix.sh?
<stondo>
I have no .nix-profile dire other than under /nix/store
<stondo>
is this normal?
<stondo>
I'm thinking about removing everything and reinstalling without --daemon
<domenkozar[m]>
ok, but now users have no idea what is going on
<stondo>
this is amazing... everytime I reinstall, I get a different error: error: could not set permissions on '/nix/var/nix/profiles/per-user' to 755: Operation not permitted
<stondo>
is there a suggested way to get all of the installed pkgs to show up in Spotlight? For example iTerm2...
<__monty__>
I assume they were smart and added a .metadata_never_index to the store location or something.
<__monty__>
I'm not sure you want to be indexing the store with spotlight, you might get the wrong hit, if you have two versions of iTerm in the store for example.
<__monty__>
I know there's a way to have nix-darwin link apps in /applications though, at least I'm pretty sure.
Chiliparrot has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
johnny101 has joined #nix-darwin
Chiliparrot has joined #nix-darwin
aminechikhaoui0 has joined #nix-darwin
hedgie_ has joined #nix-darwin
johnny101a has joined #nix-darwin
johnny101 has quit [*.net *.split]
hedgie has quit [*.net *.split]
mitchellh has quit [*.net *.split]
aminechikhaoui has quit [*.net *.split]
aminechikhaoui0 is now known as aminechikhaoui
hedgie has joined #nix-darwin
hedgie_ has quit [Ping timeout: 260 seconds]
mitchellh has joined #nix-darwin
hamishmack has quit [Read error: Connection reset by peer]
Chiliparrot has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
rycee has joined #nix-darwin
<rycee>
Hey, could somebody verify that packages that are installed through the nix-darwin option `users.users.<name>.packages` end up in `"/etc/profiles/per-user/$USER"`?
<rycee>
Great, I'm planning to refer to this directory in Home Manager for people using the nixos or nix-darwin modules.
<rycee>
Since the way the modules are set up today causes infinite recursion for some users.
<rycee>
Thanks for the help :-)
<LnL>
I think it was added (or requested) for home-manager
abathur has quit [Read error: Connection reset by peer]
abathur has joined #nix-darwin
<rycee>
Yeah, I also have some memory of that. Internally HM doesn't refer directly to that directory, though. It refers directly to the profile in the Nix store. The profile in /etc is mainly so that the applications show up in PATH, XDG_DATA_DIRS, and so on.
<rycee>
Anyway, some people are referring to their profile directory in their configuration, which doesn't work very well when the profile directory path is a result of evaluating the configuration 😬