abathur has joined #nix-darwin
abathur has quit [Ping timeout: 245 seconds]
philr has quit [Ping timeout: 244 seconds]
hedgie_ has quit [Read error: Connection reset by peer]
hedgie has joined #nix-darwin
Chiliparrot has joined #nix-darwin
hedgie_ has joined #nix-darwin
hedgie has quit [Ping timeout: 245 seconds]
Chiliparrot has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
Chiliparrot has joined #nix-darwin
Chiliparrot has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
philr has joined #nix-darwin
Chiliparrot has joined #nix-darwin
daGrevis has quit [Quit: daGrevis]
daGrevis has joined #nix-darwin
philr has quit [Ping timeout: 244 seconds]
jtojnar has quit [Quit: jtojnar]
jtojnar has joined #nix-darwin
hedgie_ has quit [Ping timeout: 246 seconds]
hedgie has joined #nix-darwin
jtojnar has quit [Quit: jtojnar]
__monty__ has joined #nix-darwin
johnw has joined #nix-darwin
johnw has quit [Remote host closed the connection]
johnw has joined #nix-darwin
ldeck8 has joined #nix-darwin
<ldeck8> Hi all. I’m new to nix (having used macports and brew in the past). Would Nix-Darwin enable installing utils like openconnect via nix? `nix-env -i openconnect` says macos is unsupported.
<__monty__> ldeck8: Probably, but only if you package it.
<ldeck8> What would that involve?
<__monty__> Patching the nix expression for openconnect to be compatible with darwin.
<ldeck8> Hmm. Okay. I’m not sure what patch would be required.
<__monty__> ldeck8: Depends on how linux specific the expression is currently and how convoluted the build process on darwin is.
<__monty__> nix-darwin doesn't add any magic sauce that'll make things that aren't darwin-compatible without it compatible.
<ldeck8> Ah okay. So it needs a specific formula. I’d have to see how brew/macports would deal with that package and then learn how to do that with nix. As mentioned I’m green as far as nix is concerned :b
<__monty__> Yes and no, they can definitely guide you but nix is different enough to make it difficult.
<ldeck8> For macos users, then, is Nix-Darwin recommended?
<__monty__> Read the nix and nixpkgs manuals and the nix pills to learn a bit about nix packaging.
<__monty__> Yes, definitely. It let's you change system preferences and hidden preferences declaratively.
Chiliparrot has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
<__monty__> *lets
<ldeck8> Would you be able to point me to an example config (e.g., git repo) so I can see a good setup?
<ldeck8> Do you still use utils like brew or have you been able to go all nix?
<__monty__> I currently use brew to install karabiner-elements. It *needs* to be in /Library and /Applications for some reason and I haven't been able to do that properly using nix. Probably missing loading some .kext or something.
<__monty__> There's example configs in the nix-darwin repo iirc.
<ldeck8> okay cool. Yeah I was wondering about the JDK’s location. `/usr/libexec/java_home` expects them to appear in /Library/....
<__monty__> I'd expect there to be example java programs packaged.
<ldeck8> Okay. Thanks for your help!
jtojnar has joined #nix-darwin
ldeck8 has quit [Ping timeout: 260 seconds]
__monty__ has quit [Ping timeout: 248 seconds]
{`-`} has joined #nix-darwin
hedgie has quit [Read error: Connection reset by peer]
hedgie_ has joined #nix-darwin
philr has joined #nix-darwin