00:23
Lisanna has quit [Ping timeout: 276 seconds]
00:51
<
gchristensen >
LnL: mostly tests, sometimes a local server, but to start I just developed against production ... but not anymore
00:54
hamishmack has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
01:10
hamishmack has joined #nix-darwin
02:25
hamishmack has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
02:48
hamishmack has joined #nix-darwin
03:53
Lisanna has joined #nix-darwin
04:26
<
eacameron >
LnL: How does nix-darwin's lnl7/nix:ssh differ from the others? I have noticed I can't ssh into the others. Do we need an ssh one for nix 2?
05:33
philr has joined #nix-darwin
05:58
Lisanna has quit [Quit: Lisanna]
08:21
<
nikivi >
I moved nearly everything to nix and removed homebrew
08:21
<
nikivi >
however I feel like I made a mistake
08:21
<
nikivi >
it says that it created a symlink inside /usr/local/bin
08:21
<
nikivi >
but I don't have that directory now
08:22
<
nikivi >
what should I do?
08:24
<
johnw >
maybe just make it?
08:24
<
johnw >
sudo mkdir /usr/local/bin
08:24
<
johnw >
then let sublime create the helper there again
08:26
<
nikivi >
yeah this works
08:26
<
nikivi >
I am just trying to keep things the 'nix' way although not fully sure what that means yet
08:26
<
nikivi >
but I thought having this symlink there would be bad
08:27
<
nikivi >
I have quite a few nix derivations I need to make from brew though
08:27
<
nikivi >
hopefully it won't be too bad
08:27
<
nikivi >
I assume johnw you don't have brew installed?
08:28
<
johnw >
i don't consider system state to be entirely evil
08:28
<
johnw >
this isn't NixOS
08:28
<
johnw >
if I can avoid it, I do, but such is life on macOS
08:28
<
nikivi >
I can't find pip python package manager
08:28
<
johnw >
i never use pip
08:28
<
nikivi >
don't you need it for python dev?
08:28
<
nikivi >
or you just don't do python
08:29
<
johnw >
i make a Nix expression for my python packages
08:29
<
nikivi >
interesting
08:29
<
johnw >
probably messier than you need
08:30
<
johnw >
I'm sure there a "Python dev with Nix" guide somewhere out there
08:30
<
johnw >
i don't use python anymore
08:30
<
nikivi >
do you have some helpers to generate these nix expressions?
08:30
<
johnw >
no, I copy them like sourdough starter
08:31
<
nikivi >
can you ELI 5 what overlays are? :)
08:31
<
johnw >
an overlay adds/overrides something in the global package set
08:31
<
johnw >
one sec, let me google for you
08:32
<
nikivi >
will read that, thanks
08:32
<
nikivi >
I mostly do Go dev, not much python
08:32
<
johnw >
that last one might be the best
08:32
<
nikivi >
I am curious, what's the output of `echo -e ${PATH//:/\\n}` for you?
08:32
<
nikivi >
if not sensitive ofc
08:33
<
johnw >
for which shell?
08:33
<
nikivi >
your most used one
08:33
<
nikivi >
why do you switch shells?
08:33
<
nikivi >
I use zsh and been happy with it
08:33
<
johnw >
I use zsh too
08:34
<
johnw >
when did I switch shells?
08:34
<
nikivi >
> for which shell?
08:34
<
nikivi >
so I assume you do switch
08:34
<
johnw >
oh, I meant, which window
08:34
<
johnw >
because the output of your command is context sensitive
08:34
<
nikivi >
like if create new shell (cmd + t in iTerm) and enter that cmd
08:35
<
johnw >
there you go
08:35
<
nikivi >
is mine just for fun
08:35
<
nikivi >
I want to clean it badly
08:35
<
nikivi >
as some things I am not sure why they are there even
08:36
<
nikivi >
johnw you don't use zsh plugin manager?
08:36
<
johnw >
no, I use Nix
08:37
<
johnw >
i'm not qualified to judge
08:37
<
johnw >
i only use two plugins
08:37
<
johnw >
well, maybe a few more
08:38
<
nikivi >
I see in your config you dont have nix-darwin there
08:38
<
nikivi >
but you have home-manager
08:38
<
johnw >
and nix-darwin
08:38
<
nikivi >
oh it was just named darwin, my bad
08:38
<
johnw >
it's just called "darwin" I think
08:38
<
nikivi >
why home-manager?
08:38
<
johnw >
to manage ~ files
08:39
<
nikivi >
what do you mean by manage?
08:39
<
johnw >
create/maintain
08:39
<
nikivi >
aren't they created adhoc by programs
08:39
<
johnw >
the same way you use nix-darwin for other parts of your system
08:39
<
johnw >
sometimes, sure
08:39
<
johnw >
check out my config/home.nix file
08:40
<
nikivi >
that's really cool, thanks
08:41
<
nikivi >
I always wondered how people had the will to align their = definitions so nicely
08:41
<
johnw >
Emacs makes it easy
08:41
<
nikivi >
where do you hold things like aliases, zsh functions?
08:42
<
nikivi >
this feels a bit painful to write
08:42
<
nikivi >
or rather more painful than simple alias .. = ..
08:43
<
johnw >
well, the only downside to your file is that it entirely depends on the PATH
08:43
<
johnw >
whereas mine done with home-manager uses absolute paths into the nix store
08:43
<
johnw >
meaning it will continue to work even if I use an older generation
08:44
<
johnw >
in general, the Nix philosophy is to never rely on PATH
08:44
<
johnw >
not for things you install with Nix
08:44
<
johnw >
(and I'm installing my zsh aliases with Nix, so...)
08:44
<
nikivi >
but I can potentially use home-manager and 'import' this alias.zsh file?
08:44
<
nikivi >
and have it work?
08:45
<
nikivi >
or I have a better example
08:45
<
johnw >
yeah, modulo syntax modifications
08:45
<
johnw >
you CAN rely on PATH
08:45
<
nikivi >
its 13k lines long
08:45
<
nikivi >
you can't nixify that
08:45
<
johnw >
files like that I'd just put into .config/Karabiner and call it a day
08:46
<
johnw >
if Karabiner doesn't use the XDG standard, then I'd tell home-manager to install a symlink into .config
08:46
<
johnw >
and if even that didn't work, I'd add a rule to copy the contents out into ~
08:46
<
nikivi >
you don't have dotfiles I see on your profile
08:46
<
johnw >
I have examples of all of these things in my home.nix
08:46
<
nikivi >
Where can someone see your ~/.config?
08:46
<
johnw >
my .config isn't on GitHub
08:46
<
johnw >
it contains sensitive data and I don't want to think about what to include and what to exclude
08:47
<
nikivi >
yeah makes sense
08:47
<
nikivi >
are you using hnix instead of nix already? :)
08:48
<
johnw >
I use it for debugging
08:48
<
johnw >
but it's not production ready yet
08:48
<
johnw >
it still has a ways to go
08:49
<
johnw >
I'm now using Nix to manage 20 different travis builds
08:50
<
nikivi >
yeah someone at #nixos mentioned nix makes it super easy
08:50
<
johnw >
it really does
08:50
<
johnw >
and so trivial to make it build exactly how you want, with very convenient version pinning and customization
08:51
<
nikivi >
have you tried to use nixOS as desktop system?
08:51
<
johnw >
no, not yet
08:51
<
nikivi >
What keeps you on mac?
08:51
<
johnw >
my desktop experience has been mac-only for 15 years now
08:51
<
johnw >
I own a lot of nice Mac software
08:52
<
johnw >
I may have even seen this page before :)
08:52
<
johnw >
I love Keyboard Maestro too
08:52
<
nikivi >
yeah there is nothing like it on linux
08:52
<
nikivi >
the GUI things on linux are not that great I think
08:52
<
johnw >
I much prefer password-store to 1Password now though
08:52
<
johnw >
the Firefox and Emacs integrations are amazing
08:53
<
nikivi >
I've seen password-store before. But doesn't it not have the nice 1Password search overlay you have?
08:53
<
nikivi >
so you can search through passwords through any app
08:53
<
nikivi >
and not have to go to terminal for that
08:54
<
johnw >
i use Emacs as my front end
08:54
<
johnw >
so far, I've found it to be MORE convenient
08:54
<
nikivi >
oh yeah I read about emacs
08:54
<
johnw >
especailly since it uses GnuPG for encryption
08:54
<
nikivi >
to really get emacs you have to use it for everything it seems
08:54
<
johnw >
and I use a YubiKey to hold my GnuPG key
08:55
<
johnw >
so I never have to reenter my password
08:55
<
nikivi >
I kind of like the philosophy of use the right tool for the job
08:55
<
johnw >
Emacs is amazing
08:55
<
nikivi >
So for example I use a task manager app that only does task management (2Do)
08:55
<
johnw >
have you seen CCMenu?
08:55
<
nikivi >
in emacs you can use orgmode and all
08:56
<
nikivi >
I have not, looks interesting
08:56
<
johnw >
very nice way to keep abreast of Travis status
08:56
<
johnw >
yeah, I think bitbar could be made to do it
08:56
<
johnw >
bed time for me, bye nikivi!
08:56
<
nikivi >
good night
10:29
sellout-1 has quit [Ping timeout: 276 seconds]
10:31
sellout- has joined #nix-darwin
12:03
philr has quit [Ping timeout: 260 seconds]
12:22
jtojnar has quit [Read error: Connection reset by peer]
12:25
jtojnar has joined #nix-darwin
15:24
jtojnar has quit [Read error: Connection reset by peer]
15:25
jtojnar has joined #nix-darwin
15:33
gridaphobe has quit [Remote host closed the connection]
15:33
dmj` has quit [Remote host closed the connection]
15:33
mpickering has quit [Remote host closed the connection]
15:36
mpickering has joined #nix-darwin
15:36
gridaphobe has joined #nix-darwin
15:37
dmj` has joined #nix-darwin
15:40
jtojnar has quit [Remote host closed the connection]
16:08
jtojnar has joined #nix-darwin
16:47
<
nikivi >
can someone please help solve this issue
16:47
<
nikivi >
SSL: can't load CA certificate file /bin/curl-ca-bundle.crt
16:47
<
nikivi >
It happens whenever I try to clone anything
16:47
<
nikivi >
I think it might have to do with homebrew
16:47
<
nikivi >
I googled everything around it and I have no idea what to do
17:57
<
nikivi >
tried to install the other Git (full one I think) and got a build error
18:19
<
LnL >
gitAndTools is a set of a whole bunch of packages
18:19
<
LnL >
you probably just want nix-env -iA nixpkgs.git or nix-env -iA nixpkgs.gitMinimal
22:20
<
johnw >
LnL: in my darwin config, where I have nixpkgs.overlays, how do I reference the pkgs which results after all the overlays have been applied?
22:20
<
johnw >
is it just pkgs?
22:20
<
johnw >
the argument that the function receives?
22:21
<
LnL >
the module argument? that should be the final set
22:22
<
johnw >
i'm just trying to debug something odd
22:22
<
johnw >
might be my problem though
22:27
<
johnw >
ok, it's not nix-darwin, n/m
22:29
<
johnw >
grr.. another case of developPackage making a derivation that's not consistent with other ways of making derivations
22:31
<
johnw >
or maybe it's just my default.nix
22:56
yastero has quit [Ping timeout: 255 seconds]
22:58
yastero has joined #nix-darwin
23:04
<
johnw >
i wonder if nix-darwin could make use of them