hedgie has quit [Read error: Connection reset by peer]
hedgie has joined #nix-darwin
hamishmack has quit [Ping timeout: 246 seconds]
__monty__ has joined #nix-darwin
<__monty__>
Does system.defaults.NSGlobalDomain.AppleMetricUnits subsume all the various AppleMeasurement/TemperatureUnits?
<__monty__>
How about NSGlobalDomain.AppleShowAllExtensions and finder.AppleShowAllExtensions?
<__monty__>
Also, com.apple.mouse.tapBehavior v. trackpad.Clicking
<__monty__>
Why is there seemingly so much overlap in the apple "defaults" settings?
<__monty__>
remapCapsLockToEscape doesn't seem to work for me, does this require a more recent system than 10.13?
<__monty__>
Is it not possible to configure a keyboard layout?
hedgie has quit [Read error: Connection reset by peer]
hedgie_ has joined #nix-darwin
<__monty__>
Ah, got the remap to work, had to set to default in the preferences first.
abathur has joined #nix-darwin
abathur has quit [Ping timeout: 272 seconds]
hmpffff has joined #nix-darwin
<eraserhd>
wrt remapCapsLockToEscape, there was another option to enable keyboard remapping or something first?
<eraserhd>
I definitely have had defaults that would not reload without logging out and back in, also. I'm not sure if it's any of the ones covered by nix-darwin, though.
<__monty__>
Yeah I had already set enableKeyMapping. But I guess I'd disable caps lock in system preferences before and that's why the nix-darwin setting wasn't applying.
<__monty__>
This was across many reboots.
<eraserhd>
Ahh.
<__monty__>
Is anyone else getting these warnings on a single-user nix install? http://ix.io/1PRa
<__monty__>
Anyone know what this is about? `mkdir: cannot create directory ‘/var/empty/.cache’: Permission denied`
<__monty__>
Also, can I get rid of the nixbld users and group that nix-darwin created? I'm on a single-user install so afaik those aren't used.
<LnL>
if you see that they are used
<LnL>
something in the build is referring to HOME which isn't allowed, try eg. preConfigure = '' HOME=$NIX_BUILD_TOP '';
<__monty__>
LnL: Why does nix-darwin use the nixbld users on a non-daemon nix install?
<__monty__>
I have $HOME in my environment.darwinConfig and `import ~/blah` in home-manager.users.me. Are these the HOME references I should get rid of?
<LnL>
it doesn't, that wouldn't work
<__monty__>
Then why do they exist? nix-darwin created them after I removed them after deciding to change from a multi-user to a single-user install.
<LnL>
the installer asks IIRC, and creating them doesn't hurt
<LnL>
er. the _mysql user created on every mac probably isn't used either
<__monty__>
I don't remember saying yes to adding these users. Especially since I'd just removed them manually.
<LnL>
what's the output of nix doctor or nix-info?
<__monty__>
But this means I can remove them again?
<__monty__>
nix doctor reports there's two versions of nix in my PATH.
<LnL>
the store uri part
<__monty__>
local
<__monty__>
Should I deal with this multiple versions of nix thing?
<LnL>
you don't have to, using multiple versions could cause problems with a multi-user install if the client/daemon are not the same
<LnL>
but since you're not using the daemon I assume the error comes from something that save the HOME of the build machine/user into the package
<__monty__>
How do I find out what is doing that?
hedgie_ has quit [Read error: Connection reset by peer]
<LnL>
figure out what command is doing that
hedgie has joined #nix-darwin
<LnL>
adding set -x to the failing step might be a good first step
<__monty__>
The step is "Activating xdgCreateCache".
<__monty__>
I'm not sure how I would at `set -x` to this step.
<__monty__>
*don't have a clue, rather
<__monty__>
LnL: Also, do you know why darwin-rebuild gives a warning about `/nix/var/nix/profiles/per-user/root/channels` not existing when it is in NIX_PATH but failing to find 'darwin' and 'nixpkgs' if it's not in NIX_PATH?