jtojnar has joined #nix-darwin
Sonarpulse has quit [Ping timeout: 240 seconds]
jtojnar_ has joined #nix-darwin
jtojnar has quit [Ping timeout: 256 seconds]
jtojnar_ is now known as jtojnar
<gchristensen> puffnfresh: linuxkit's OS thing is weird
<gchristensen> kind of funny
<gchristensen> using docker as a package manager
<gchristensen> and without a real supervisor, I guess, because check this out: https://github.com/linuxkit/linuxkit/blob/master/pkg/getty/usr/bin/rungetty.sh#L47
<puffnfresh> lol I dunno
<puffnfresh> HyperKit makes sense to me, LinuxKit a lot less
<gchristensen> yeah
<gchristensen> the only thing we really use is linuxkit's "oh yeah vpnkit" stuff
<gchristensen> puffnfresh I wonder if we could get closer to their 35mb rootfs (right now I think we're at 135m)
<puffnfresh> gchristensen: yeah pretty much just HyperKit + VPNKit, I had that in the initial version actually
<puffnfresh> I'm sure we can get close to the 35mb
<gchristensen> aye
<gchristensen> shlevy is taking a look at why it fails under launchd tomorrow I think
<gchristensen> I'm heading to bed :) night!
jrolfs__ has joined #nix-darwin
<puffnfresh> oh nice shlevy !!
<puffnfresh> that'd be awesome
<puffnfresh> night!
jrolfs__ has quit [Ping timeout: 240 seconds]
jrolfs__ has joined #nix-darwin
jrolfs__ has quit [Ping timeout: 264 seconds]
jrolfs__ has joined #nix-darwin
jrolfs__ has quit [Ping timeout: 256 seconds]
johnw has quit [Ping timeout: 256 seconds]
johnw has joined #nix-darwin
philr has joined #nix-darwin
contrapumpkin has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
jrolfs__ has joined #nix-darwin
jrolfs__ has quit [Ping timeout: 256 seconds]
jrolfs has quit [Ping timeout: 240 seconds]
johnw has quit [Ping timeout: 256 seconds]
johnw has joined #nix-darwin
__Sander__ has joined #nix-darwin
philr has quit [Quit: WeeChat 2.0.1]
peacememories has joined #nix-darwin
peacememories has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
peacememories has joined #nix-darwin
periklis has joined #nix-darwin
peacememories has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
jrolfs has joined #nix-darwin
peacememories has joined #nix-darwin
jtojnar_ has joined #nix-darwin
jtojnar has quit [Ping timeout: 256 seconds]
jtojnar_ is now known as jtojnar
<LnL> hmm, wireshark used to work right?
peacememories has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
periklis has quit [Ping timeout: 256 seconds]
periklis has joined #nix-darwin
sphalerite has quit [Quit: WeeChat 2.0]
sphalerite has joined #nix-darwin
nD5Xjz has quit [Ping timeout: 240 seconds]
nD5Xjz has joined #nix-darwin
ryanartecona has joined #nix-darwin
nD5Xjz has quit [Ping timeout: 248 seconds]
contrapumpkin has joined #nix-darwin
__Sander__ has quit [Quit: Konversation terminated!]
jrolfs_ has joined #nix-darwin
jrolfs_ has quit [Ping timeout: 248 seconds]
ryanartecona has quit [Quit: ryanartecona]
jrolfs_ has joined #nix-darwin
jrolfs has quit [Ping timeout: 265 seconds]
ryanartecona has joined #nix-darwin
jrolfs_ has quit [Ping timeout: 248 seconds]
jrolfs_ has joined #nix-darwin
ryanartecona has quit [Quit: ryanartecona]
periklis has quit [Ping timeout: 260 seconds]
Sonarpulse has joined #nix-darwin
ryanartecona has joined #nix-darwin
philr has joined #nix-darwin
jrolfs_ has quit [Ping timeout: 260 seconds]
jrolfs_ has joined #nix-darwin
jrolfs_ has quit [Ping timeout: 240 seconds]
dustinm has quit [Quit: Leaving]
dustinm has joined #nix-darwin
jrolfs_ has joined #nix-darwin
philr has quit [Ping timeout: 264 seconds]
thefloweringash has quit [Ping timeout: 256 seconds]
<copumpkin> not sure, I don't think I've ever tried it through nix
jrolfs has joined #nix-darwin
jrolfs_ has quit [Ping timeout: 248 seconds]
<mightybyte> Anyone know how to get oh-my-zsh working with either nix-darwin or home-manager? I've been striking out so far.
jrolfs_ has joined #nix-darwin
ryanartecona has quit [Quit: ryanartecona]
<LnL> I use zsh as my shell, but gave up on oh-my-zsh a long time ago
<LnL> anything particular you're having trouble with)
<johnw> i don't use oh-my-zsh either
<mightybyte> I just can't get it to recognize oh-my-zsh
<mightybyte> The .zshrc file is there, but not being read.
<johnw> that's my setup for zsh
<mightybyte> Where is your .zshrc file?
<johnw> it gets made by home-manager
<mightybyte> Yeah, but where does it get put?
<johnw> ~/.config/zsh/.zshrc
<mightybyte> Ok, I just tried that but that file is not getting executed when I start my shell.
jrolfs has quit [Ping timeout: 240 seconds]
<johnw> at ~ I have .zshenv
<johnw> with these contents:
<johnw> source $HOME/.config/zsh/.zshenv
<johnw> this file was made by home-manager too
<mightybyte> Yeah, I have that too.
<LnL> might be wrong but I don't think ~/.config/zsh is a thing by default
<mightybyte> But when I open a new iTerm window it doesn't get run.
<johnw> i have set programs.zsh.dotDir = ".config/zsh";
<mightybyte> LnL: Yeah, I was trying it in ~ instead of ~/.config/zsh until just now.
<johnw> mightybyte: is iTerm set to use zsh?
<johnw> I had to configure iTerm to use this:
<johnw> /Users/johnw/.nix-profile/bin/zsh -l
<mightybyte> iTerm is set to use the login shell.
<johnw> have you use chsh to change your login shell to zsh?
<mightybyte> echo $SHELL gives me /nix/store/gp7zprn029f6qmxsbhdgmgbn3dlsh5vm-zsh-5.5/bin/zsh
* LnL has no shell without tmux
<johnw> mightybyte: even still, I'm not sure that's your true, macOS login shell
<johnw> not until you use chsh
<mightybyte> Hmmm
<johnw> or, tell iTerm to use zsh -l
<LnL> you'll get that with programs.zsh.enable but it won't chsh automatically
<mightybyte> I was hoping that nix-darwin would handle that for me.
<mightybyte> (trying to minimize my reliance on mutable state)
<LnL> it should, but chsh is annoything because of /etc/shells
<mightybyte> Ahh, ok.
<mightybyte> That's too bad.
<mightybyte> Ok, using zsh -l fixed it.
<mightybyte> Separate question...how do I fix an "warning: ignoring untrusted substituter" message?
<LnL> yeah, but I would have to either replace it (scary) or use /bin/zsh but that's a completely different version from what you'd expect (confusing/bad)
<LnL> mightybyte: is your stateVersion <= 2?
<mightybyte> Yeah
jrolfs has joined #nix-darwin
<LnL> read the changelog and bump it or explicilty set nix.version = "2.0"
<mightybyte> I don't understand that comment. Do I just set stateVersion = 3?
<LnL> yes, but please read the changelog to understand what that will change :)
<mightybyte> I did, but I don't understand much more :(
<LnL> :/
<LnL> howso?
<mightybyte> What is nix.package?
<LnL> the version of nix that will end up in your path and what's used by the daemon service, etc.
<mightybyte> Maybe I'm just too new at this to have the context, but that changelog comment is pretty much meaningless to me.
<mightybyte> I have no idea what the implications are.
<LnL> do you expect nix (and the daemon) to upgrade when you run darwin-rebuild?
<mightybyte> I guess no
<LnL> that's the old behaviour, now it will upgrade automatically based on what version is in the nixpkgs you're using
<mightybyte> Ahhhh
<johnw> so, I'm getting this again:
<johnw> /nix/store/8b0gj3bmcy5bh1zcnhn0146199b3m5kb-clang-wrapper-5.0.1/bin/clang++: line 183: /nix/store/p85m242dg1zd85ln3cg0agx0q1n0n6h0-clang-5.0.1/bin/clang++: Argument list too long
<johnw> this used to happen a while when a stdenv change was made that affected the haskell builds
<johnw> now it's happening with a c++ application (inkscape)
<johnw> macOS really constrained link-line length in 10.12
<LnL> so if you want to keep managing the verison separately like before add nix.package = "/nix/var/nix/profiles/default"; to your configuration
<mightybyte> LnL: Ok. So this is going to be the behavior for all stateVersion > 2?
<mightybyte> What's the most recent stateVersion?
<LnL> but using a profile means nix-darwin can't figure out what the actual version you're using is so you might need to also specify that to make in generate a correct config
<LnL> the current is 3 I think
<mightybyte> Ok
<LnL> I handle stateVersion differently from nixos because I think this makes more sense
<LnL> every incompatibility bumps the number and the changelog includes instructions on how to handle each step
<LnL> that way you can decide what you want to keep
<mightybyte> Great, good to know.
<mightybyte> It wasn't obvious to me from this changelog entry what stateVersion should be changed to.
jrolfs has quit [Ping timeout: 248 seconds]
ryanartecona has joined #nix-darwin
ryanartecona has quit [Ping timeout: 248 seconds]
<gchristensen> god
jrolfs_ has quit [Ping timeout: 256 seconds]
jrolfs_ has joined #nix-darwin
jrolfs_ has quit [Ping timeout: 240 seconds]
thefloweringash has joined #nix-darwin
ryanartecona has joined #nix-darwin
ryanartecona has quit [Ping timeout: 248 seconds]
jrolfs has joined #nix-darwin