hamishmack has joined #nixos
peacememories has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
python476 has quit [(Read error: Connection reset by peer)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] WilliButz closed pull request #30006: nasm: run checkPhase (staging...nasm-run-tests) https://git.io/vdngn
NixOS_GitHub has left #nixos []
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] WilliButz reopened pull request #30006: nasm: run checkPhase (staging...nasm-run-tests) https://git.io/vdngn
NixOS_GitHub has left #nixos []
* WilliButz should really go to bed m)
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] orivej pushed 2 new commits to staging: https://git.io/vdn27
<NixOS_GitHub> nixpkgs/staging fc7eec3 WilliButz: nasm: run checkPhase
<NixOS_GitHub> nixpkgs/staging 21976d1 Orivej Desh: Merge pull request #30006 from WilliButz/nasm-run-tests...
NixOS_GitHub has left #nixos []
peacememories has joined #nixos
bfrog_ has quit [(Ping timeout: 246 seconds)]
<tilpner> iqubic - programs.command-not-found.enable = true;
jb55 has quit [(Ping timeout: 258 seconds)]
erictapen has quit [(Ping timeout: 240 seconds)]
mortum5 has quit [(Ping timeout: 248 seconds)]
erictapen has joined #nixos
erictapen has quit [(Remote host closed the connection)]
erictapen has joined #nixos
peacememories has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
peacememories has joined #nixos
Mateon1 has quit [(Ping timeout: 260 seconds)]
athaller has quit [(Remote host closed the connection)]
<iqubic> Where does nixos write the .zshrc to?
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] orivej pushed 1 new commit to staging: https://git.io/vdnaW
<NixOS_GitHub> nixpkgs/staging fda26c8 Orivej Desh: Merge branch 'master' into staging...
NixOS_GitHub has left #nixos []
athaller has joined #nixos
_ris has quit [(Ping timeout: 255 seconds)]
bkchr has quit [(Ping timeout: 258 seconds)]
<gchristensen> after I searched the source code for zshrc it seems it puts it in /etc/zshrc
athaller has quit [(Read error: Connection reset by peer)]
jb55 has joined #nixos
peacememories has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
<tilpner> gchristensen - Do you understand why changes to postFetch in tx0.co/Wgav.nix don't trigger a rebuild?
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] orivej pushed 1 new commit to staging: https://git.io/vdna0
<NixOS_GitHub> nixpkgs/staging 3594c35 Orivej Desh: rosegarden: clean up after merge with staging
NixOS_GitHub has left #nixos []
<tilpner> gchristensen - fetchurl inherits postFetch into mkDerivation, so I though that it would, given that it's part of the environment now
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Moredread opened pull request #30009: spotify: 1.0.64.401.g9d720389-21 -> 1.0.64.407.g9bd02c2d-26 (release-17.09...release-17.09-fix/spotify) https://git.io/vdnau
NixOS_GitHub has left #nixos []
<gchristensen> tilpner: the key part is the output hash
<gchristensen> tilpner: if nix has already something matching the output hash, it won't rebuild a fixed output derivation
athaller has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] orivej pushed 2 new commits to release-17.09: https://git.io/vdnaz
<NixOS_GitHub> nixpkgs/release-17.09 c4aec67 Utku Demir: spotify: 1.0.64.401.g9d720389-21 -> 1.0.64.407.g9bd02c2d-26...
<NixOS_GitHub> nixpkgs/release-17.09 7c8226d Orivej Desh: Merge pull request #30009 from Moredread/release-17.09-fix/spotify...
NixOS_GitHub has left #nixos []
<gchristensen> tilpner: for a follow-up example to that, replace the URL with a totally bogus URL :)
jb55 has quit [(Ping timeout: 248 seconds)]
<tilpner> Changing the URL gives a build error?
<gchristensen> eh?
<gchristensen> what did you change it to, and what was the error?
ronteroo has quit [(Remote host closed the connection)]
<tilpner> https://foo.bar and tx0.co/gXiG , probably because the name of the derivation changes as a result?
<gchristensen> huh, not sure, I expected it to break :)
<gchristensen> or rather, keep workingg
<gchristensen> anyway the explanation is still valid
peacememories has joined #nixos
takle has quit [(Remote host closed the connection)]
<tilpner> Is this just for speed?
<tilpner> iqubic - ^
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] orivej pushed 2 new commits to master: https://git.io/vdnaF
<NixOS_GitHub> nixpkgs/master 4ffd7b6 André-Patrick Bubel: all-packages: fix spelling in error message
<NixOS_GitHub> nixpkgs/master d2bd006 Orivej Desh: Merge pull request #30007 from Moredread/fix/spelling...
NixOS_GitHub has left #nixos []
peacememories has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
Mateon2 has joined #nixos
sary has quit [(Ping timeout: 240 seconds)]
jtojnar has quit [(Read error: Connection reset by peer)]
jtojnar has joined #nixos
<iqubic> tilpner: Is what just for speed?
<tilpner> iqubic - Sorry, I wasn't asking you a question, just pointing at the explanation for your trouble
catch22_ has quit [(Quit: Leaving)]
<iqubic> What is the explanation you gave. I must have missed it.
sary has joined #nixos
Neo-- has joined #nixos
fusion809 has joined #nixos
erictapen has quit [(Ping timeout: 248 seconds)]
<iqubic> I am getting really fed-up with oh-my-zsh right now.
<iqubic> I wish infinisil were here now.
<iqubic> On a different topic, what shells do you guys use, how do you configure them, and how well do they work?
mbrgm has quit [(Ping timeout: 240 seconds)]
<gchristensen> I use bash, I don't configure it, and it works well
<iqubic> Oh, I see. Why?
<gchristensen> just never really got in to configuring bash I guess :)
<tilpner> iqubic - zsh, mostly without nix, very well
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] orivej closed pull request #29963: samtools: 1.5.0 -> 1.6.0 (master...update/samtools-1.6.0) https://git.io/vdZCm
NixOS_GitHub has left #nixos []
<tilpner> (Except for... one embarassing bug where my prompt sometimes swallows the last line if it doesn't end in a newline)
bfrog_ has joined #nixos
<gchristensen> oh I do configure bash to have an extra newline before each prompt :)
ericnoan has quit [(Ping timeout: 252 seconds)]
<tilpner> gchristensen - tx0.co/FIgq :/
mbrgm has joined #nixos
<gchristensen> wat
<iqubic> tilpner: You don't let configuration.nix handle your zsh config?
jb55 has joined #nixos
<tilpner> iqubic - Exactly, because I need my zsh config to work on non-NixOS systems too
<iqubic> Oh. I dont
sary has quit [(Ping timeout: 248 seconds)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] zx2c4 closed pull request #29551: wireguard: 0.0.20170810 -> 0.0.20170918 (master...patch-7) https://git.io/v5NMn
NixOS_GitHub has left #nixos []
slyfox has quit [(Ping timeout: 248 seconds)]
<tilpner> So I just make NixOS symlink /cfg/zsh/zshrc to ~/.zshrc, and git clone my config to /cfg/zsh manually
<tilpner> I could let Nix clone my zsh config too, but that would make editing quite annoying
sary has joined #nixos
LnL has quit [(Quit: exit 1)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] zx2c4 opened pull request #30010: wireguard: 0.0.20170810 -> 0.0.20171001 (master...patch-8) https://git.io/vdnVD
NixOS_GitHub has left #nixos []
sigmundv__ has joined #nixos
bfrog_ has quit [(Ping timeout: 258 seconds)]
LnL has joined #nixos
acarrico has quit [(Ping timeout: 255 seconds)]
sigmundv_ has quit [(Ping timeout: 248 seconds)]
<disasm> iqubic: zsh /w prezto
acarrico has joined #nixos
<disasm> I have zsh module in nixos that clones my fork of prezto and writes my config
<iqubic> disasm: Does it work well?
<iqubic> Can I see an image of what your config looks like?
cpennington has joined #nixos
jb55 has quit [(Ping timeout: 260 seconds)]
jb55 has joined #nixos
<iqubic> That looks awesome. Is that in git repo or what?
orivej has quit [(Ping timeout: 258 seconds)]
Otis has quit [(Quit: Lost terminal)]
<disasm> I have too much client data (like names, ip addresses, hostnames, etc...) in my configuration.nix so it's in a private repo, but that's the module I wrote
<disasm> some of the comments are wrong, my apologies :)
<iqubic> Totally fine. I'm not gonna be using that set-up
sigmundv__ has quit [(Ping timeout: 258 seconds)]
<iqubic> What I want is a list of all the zsh themes that are available to me, along with scree shots
<iqubic> disasm: What theme do you use?
<iqubic> And what color scheme too?
fusion809 has quit [(Quit: Konversation terminated!)]
lambdamu_ has joined #nixos
jellowj has joined #nixos
lambdamu has quit [(Ping timeout: 258 seconds)]
Supersonic112 has quit [(Disconnected by services)]
Supersonic112_ has joined #nixos
Supersonic112_ is now known as Supersonic112
acarrico has quit [(Ping timeout: 240 seconds)]
nix-gsc-io`bot has joined #nixos
<nix-gsc-io`bot> Channel nixos-17.09-small advanced to https://github.com/NixOS/nixpkgs/commit/7c8226d61a (from 83 minutes ago, history: https://channels.nix.gsc.io/nixos-17.09-small)
nix-gsc-io`bot has quit [(Client Quit)]
jb55 has quit [(Ping timeout: 240 seconds)]
<disasm> iqubic: steeef
<disasm> what ever the default color scheme is
<iqubic> What terminal do you use? That's what sets the default colors.
<iqubic> and have you modified steeef at all? Or is it the stock config?
dieggsy has joined #nixos
sellout-1 has joined #nixos
sellout- has quit [(Ping timeout: 258 seconds)]
dieggsy has quit [(Ping timeout: 258 seconds)]
<disasm> nope, stock
<disasm> urxvt
<disasm> again, the comments are wrong (it's not solarized anymore)
<vaibhavsagar> I'm running 17.09 and KDE seems to be crashing every time I try to use the application launcher
<vaibhavsagar> I tried rolling back to 17.03 but that was broken in the same way
<vaibhavsagar> are there files I need to delete to make this go away?
<ee1943> Is there any recommended method for enabling GTK and Qt themes without a DE in nixos?
<tilpner> I have the following in my windowManager.i3.extraSessionCommands:
<tilpner> export GTK_DATA_PREFIX=${config.system.path}
<tilpner> export GTK_PATH=${config.system.path}/lib/gtk-3.0:${config.system.path}/lib/gtk-2.0
ericnoan has joined #nixos
<tilpner> Then switch with lxappearance
<tilpner> (Thinking about it, these should probably be in environment.sessionVariables
<tilpner> )
<ee1943> tilpner: I see. I had a problem with my the theme being reset after setting it with lxappearance
<ee1943> I guess it was related to those env vars
<ee1943> do you have any trouble with Qt applications not respecting the GTK theme?
proteusguy has quit [(Remote host closed the connection)]
<tilpner> I have trouble installing KDE applications, and I don't know any other QT applications that use the... usual widgets
<tilpner> (I just installed kate, it did have my GTK theme)
<ee1943> interesting, I'm setting my theme/font/icons using the gtk-settings files etc which is pretty janky so a lot of stuff barely works (i.e. qt). I'll give your method a shot
<ee1943> thanks for sharing your knowledge :)
sivteck has joined #nixos
michalrus has quit [(Read error: Connection reset by peer)]
michalrus has joined #nixos
<tilpner> ee1943 - Correction: kate did not actually pick up my theme, that was something else
<ee1943> hmm, yeah I have problem with some Qt applications that I use where they don't follow the GTK theme
<fearlessKim[m]> When trying to build an upgraded cmd2, it now requires https://pypi.python.org/pypi/pyperclip which Is present in python36Packages.pyperclip but when nix-build cmd2, I get "Could not find a version that satisfies the requirement pyperclip (from cmd2==0.7.7) (from versions: )
<fearlessKim[m]> No matching distribution found for pyperclip (from cmd2==0.7.7)". Could it be because https://pypi.python.org/pypi/pyperclip doesn't list python3.6 as a supported platform ?
<fearlessKim[m]> (though pyperclip works on 3.6)
nix-gsc-io`bot has joined #nixos
<nix-gsc-io`bot> Channel nixos-17.09 advanced to https://github.com/NixOS/nixpkgs/commit/c3176eed6f (from 8 hours ago, history: https://channels.nix.gsc.io/nixos-17.09)
nix-gsc-io`bot has quit [(Client Quit)]
jellowj has quit [(Ping timeout: 240 seconds)]
mkoenig_ has quit [(Remote host closed the connection)]
sivteck has quit [(Quit: user missing.)]
oida_ has joined #nixos
oida has quit [(Ping timeout: 240 seconds)]
<disasm> fearlessKim[m]: add pyperclip to buildInputs for cmd2
cpennington has quit [(Remote host closed the connection)]
sivteck has joined #nixos
pie_ has quit [(Quit: Leaving)]
pie_ has joined #nixos
<fearlessKim[m]> disasm: I already did, hence my trouble
<fearlessKim[m]> arf I did in the nix-shell not in the derivation. That fixes it
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] teto opened pull request #30012: cmd2: 0.6.8 -> 0.7.7 (master...cmd2) https://git.io/vdn6t
NixOS_GitHub has left #nixos []
jb55 has joined #nixos
_rvl has quit [(Ping timeout: 258 seconds)]
mkoenig has joined #nixos
rauno has quit [(Ping timeout: 260 seconds)]
schoppenhauer has quit [(Ping timeout: 260 seconds)]
schoppenhauer has joined #nixos
eacameron has joined #nixos
justanotheruser has quit [(Ping timeout: 248 seconds)]
sivteck has quit [(Quit: user missing.)]
sivteck has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] eqyiel opened pull request #30014: nixos/krb5: complete rewrite (master...krb5-fixes) https://git.io/vdni4
NixOS_GitHub has left #nixos []
jb55 has quit [(Ping timeout: 240 seconds)]
katyucha has joined #nixos
nix-gsc-io`bot has joined #nixos
<nix-gsc-io`bot> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/047c576353 (from 3 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
nix-gsc-io`bot has quit [(Client Quit)]
sivteck has quit [(Quit: user missing.)]
jb55 has joined #nixos
sivteck has joined #nixos
reinzelmann has joined #nixos
<iqubic> Anyone know when infinisil will be on again?
peacememories has joined #nixos
phg has joined #nixos
hamishmack has quit [(Ping timeout: 260 seconds)]
peacememories has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
iqubic has quit [(Ping timeout: 260 seconds)]
iqubic has joined #nixos
<iqubic> Why might anyone use fish as there shell?
jbaum98 has quit [(Quit: Connection closed for inactivity)]
<hyper_ch> why might anyone use another shell than bash?
<hyper_ch> ;)
iqubic has quit [(Ping timeout: 260 seconds)]
iqubic has joined #nixos
<iqubic> I'm getting fed up with NixOS's support of oh-my-zsh, and I think fish looks awesome.
<iqubic> I'm going to switch to fish.
<hyper_ch> you could still upgrade to bash though ;)
<iqubic> Why do you call bash an upgrade?
<hyper_ch> because it is :)
<hyper_ch> but good that we can have different preferences and opinions :)
<hyper_ch> so, hows it going with nixos? it's been now a few days for you
<iqubic> Other than oh-my-zsh not working properly, it's going really well.
<hyper_ch> no idea what you mean by zsh not working properly
<hyper_ch> why oh my zsh and not zsh?
katyucha has quit [(Ping timeout: 248 seconds)]
<iqubic> oh-my-zsh is this: https://github.com/robbyrussell/oh-my-zsh
<hyper_ch> ah.... that's something totally different :)
<iqubic> It's a system for extending the functionality of zsh. It also lets you add themes to your zsh prompt
<iqubic> But the theme stuff is not working properly
<hyper_ch> yeah, no idea :)
hamishmack has joined #nixos
moet has joined #nixos
<iqubic> hyper_ch:
<iqubic> I'm not going to bother. I'm switching to fish now.
<hyper_ch> I only know fish as a "protocoll" in kde :)
b123400 has joined #nixos
b123400 has quit [(Client Quit)]
rauno has joined #nixos
sivteck has quit [(Quit: user missing.)]
<iqubic> fish is a shell
<iqubic> fishshell.com
moet has quit [(Ping timeout: 248 seconds)]
sary has quit [(Ping timeout: 260 seconds)]
pie_ has quit [(Ping timeout: 240 seconds)]
JosW has joined #nixos
zzamboni has joined #nixos
sary has joined #nixos
<etu> iqubic: I'm also hanging out in the #fish channel on OFTC and was first like: "yeah it is, why would you say that here" before I realized which channel I was reading. :D
eacameron has quit [(Remote host closed the connection)]
<nixo[m]> iqubic: i have a workaround for zsh themes, i can send you the relevant config part
pie_ has joined #nixos
pie_ has quit [(Read error: Connection reset by peer)]
pie_ has joined #nixos
koserge has joined #nixos
deepfire has joined #nixos
<sphalerite> iqubic: IMHO omz is kind of awful in general, because it tries to reinvent package management in a kind of half-arsed way. I can help you set up powerlevel9k independently of it
<sphalerite> Unless of course you're happy with fish, in which case yay
<sphalerite> I like fish in principle, it's so much nicer than zsh... But its completions aren't as fleshed out, I find.
pie_ has quit [(Ping timeout: 240 seconds)]
jb55 has quit [(Ping timeout: 258 seconds)]
jesuspv has joined #nixos
ebzzry_ has quit [(Ping timeout: 240 seconds)]
phg has quit [(Quit: WeeChat 1.9.1)]
phg has joined #nixos
phg has quit [(Client Quit)]
phg has joined #nixos
radivarig has quit [(Remote host closed the connection)]
<eqyiel[m]> how can I get nixops to activate a system despite one failing unit
Fare has quit [(Ping timeout: 240 seconds)]
<eqyiel[m]> I swear I've seen some failing services that don't result in "unable to activate new configuration" being thrown
peacememories has joined #nixos
<eqyiel[m]> oh, it must be because `wantedBy = [ "multi-user.target" ];`
<sphalerite> I don't see why that would do it
<sphalerite> And doesn't it activate the new system partially if part of the activation fails?
<sphalerite> Because configuration activation isn't atomic, so it leaves the system in an inconsistent state if it fails?
<eqyiel[m]> I didn't realise it wasn't atomic!
<eqyiel[m]> anyway, creating a new target like in acme.nix seems to do what I want: https://github.com/NixOS/nixpkgs/blob/7516dbe35e8813dc6015755e74908104ed023126/nixos/modules/security/acme.nix#L292
<eqyiel[m]> IIRC that service used to create all kinds of chicken and egg problems with services that wouldn't be able to start until the certificate arrived
pie_ has joined #nixos
peacememories has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
<hyper_ch> clever: still awake?
<clever> hyper_ch: yep
<hyper_ch> clever: what is the ashift=12 option for? I read it's recommended for hdds and ashift=13 for ssds but I don't really get why
<clever> hyper_ch: it makes the block sizes 2^12
<clever> 12 gives 4096, and 13 gives 8192 i believe
<hyper_ch> why ssd 13 then? becuase they're so much faster?
<clever> more because they have larger blocks
<clever> if you write to a section smaller then a block, the drive has to read the current value, overwrite part of it, then write the entire block back out
<hyper_ch> ok... then what does the altroot=/mnt option with zpool create?
<clever> normally, zfs mounts everything under / automatically
<clever> but when installing, you want to chroot under /mnt
<hyper_ch> so if you create a dataset xxx it would be automounted as /xxx
<clever> altroot tells it to mount things under /mnt/
<clever> the altroot is only active until reboot
<hyper_ch> and with altroot=/mnt and you created a dataset "xxx" it would mount as /mnt/xxx ?
<clever> yeah
<hyper_ch> cool
<hyper_ch> one more thing.... I was able to send zfs snapshots etc...... zfs send pool/dataset@snapshot | zfs backup/dataset@snapshot that seems to work fine
<hyper_ch> then I create a new snapshot .... I was able to figure out I could send it like this
<hyper_ch> zfs -i snapshot pool/dataset@snapshot2 | zfs receive pool/dataset
<hyper_ch> the problem is, how do I get the options for the incremental sending programmatically... as far as I understood, you'll need the "old" snapshot and the "new" one
<hyper_ch> and it sends the differences
<clever> yeah
<clever> and both ends need the old snapshot
<hyper_ch> I mean it would be rather simple if I'd just increase the snapshot numerically
MichaelRaskin has left #nixos []
<sphalerite> eqyiel: yeah unfortunately I don't think there's a way to make that sort of thing atomic because there's just so much stateful stuff going on
<hyper_ch> but it's different if I use datetime
jensens has joined #nixos
<sphalerite> Best way to ensure consistency is to only switch configurations by rebooting
<clever> hyper_ch: id have a program that will query the remote end to find what the newest shared snapshot is, and then sync via that
<hyper_ch> clever: ok
<hyper_ch> then one more thing :)
<hyper_ch> with rsync I have a backup server
<hyper_ch> the backup server initiates the rsync -> hence it's a "pull"
<hyper_ch> but that seems hard to do with zfs snapshots
<etu> hyper_ch: zfs send/recieve?
<hyper_ch> the idea is I don't want the active server to write something onto the backup server in case some script got mixed up etc...
<sphalerite> ssh host-to-backup zfs send <options>
<hyper_ch> that works?=
<sphalerite> Yeah why not?
<hyper_ch> well, only done sending/receiving snapshots on the same machine
<sphalerite> It just writes to stdout
orivej has joined #nixos
<hyper_ch> ok :)
<sphalerite> And depending on whether the backup server has zfs or not you can zfs receive or just write the stream to a file
<hyper_ch> :)
<hyper_ch> so much to learn and first test
<hyper_ch> before I'll go live with it
<etu> ofc you need to test it so you feel confident how to manage it :)
<hyper_ch> still can't update nixos :(
<hyper_ch> well, years of experience with rsync - rsync just works ;
<hyper_ch> next thing on my todo list is see how I can optimize openvpn to get more throughput...
sivteck has joined #nixos
sivteck has quit [(Client Quit)]
sivteck has joined #nixos
<clever> hyper_ch: i wrote my own vpn to get around the bottlenecks of openvpn :P
<hyper_ch> clever: I love openvpn
<hyper_ch> but it's hard to fully utlize it on gigabit internet
<hyper_ch> also, various hardphones can only use openvpn
<clever> the issue ive seen, is that if 2 clients want to talk to eachother
<clever> they must route thru a server
<hyper_ch> yes
<hyper_ch> not an issue
<clever> and that server becomes a bottleneck
<etu> hyper_ch: Looked at wireguard?
<hyper_ch> etu: yes
<hyper_ch> etu: also, various hardphones can only use openvpn
<etu> I think wireguard looks amazing, but I don't use vpn except for work, and for work it's a cisco thingys
<hyper_ch> wireguard is from the same guy as pass and he's a regular at #openvpn
zzamboni has quit [(Quit: Leaving.)]
<hyper_ch> I need vpn on different hardphones and droid as well
<hyper_ch> so, openvpn is the only option
<etu> Makes sense to use openvpn then
<hyper_ch> with a pretty much standard config, I got yesterday [ 3] 0.0-10.0 sec 106 MBytes 89.1 Mbits/sec
Itkovian has joined #nixos
<hyper_ch> not going through the vpn I got [ 3] 0.0-10.0 sec 829 MBytes 695 Mbits/sec
<clever> hyper_ch: another thing, udp or tcp mode?
<hyper_ch> using udp of course
<hyper_ch> and that was just measured with iperf
<hyper_ch> in tcp mode
<hyper_ch> openvpn using udp
<hyper_ch> need to see if I can play around with mtu size, fragment etc... a bit
v0lZy has joined #nixos
<hyper_ch> but I guess that won't do much good
<hyper_ch> still getting 90MB ain't too bad though
<clever> if you lower the mtu enough on the tun0 interface, then openvpn wont have to fragment things
<clever> and then it should perform better
<clever> but it helps to know if there are bottlenecks like cpu usage
<hyper_ch> jumbo frames would be even better
<clever> ah yeah
<hyper_ch> but I doubt they work outside the lan
<clever> i havent messed with them much
<hyper_ch> you can set higher mtu on your lan easily... but not through the internet....
<hyper_ch> as said, I'll need to play around a bit
<hyper_ch> just spinning up another openvpn connection where I can test without impacting the existing ones
<hyper_ch> also, wireguard doc says - use at own risk ;)
<clever> which hardphones are you needing openvpn on?
<hyper_ch> currently there's Yealink T48G, Cicso SPA 40x, Snom 370 and one I keep forgetting
<clever> ah
<hyper_ch> the yealink are really nice though :)
<hyper_ch> grandstream was the last one
<hyper_ch> it's in the office accross
07IAA96YF has joined #nixos
<07IAA96YF> [nixpkgs] orivej closed pull request #30012: cmd2: 0.6.8 -> 0.7.7 (master...cmd2) https://git.io/vdn6t
07IAA96YF has left #nixos []
5EXAAERTI has joined #nixos
<5EXAAERTI> [nixpkgs] orivej pushed 2 new commits to master: https://git.io/vdnyC
<5EXAAERTI> nixpkgs/master be1a223 Matthieu Coudron: cmd2: 0.6.8 -> 0.7.7
<5EXAAERTI> nixpkgs/master 4bc9b84 Orivej Desh: Merge pull request #30012 from teto/cmd2...
5EXAAERTI has left #nixos []
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] orivej closed pull request #30010: wireguard: 0.0.20170810 -> 0.0.20171001 (master...patch-8) https://git.io/vdnVD
NixOS_GitHub has left #nixos []
<hyper_ch> you have also sip hardphones?
ertes has quit [(Ping timeout: 240 seconds)]
<hyper_ch> clever: what ashift would you use for usb sticks?
peacememories has joined #nixos
<clever> hyper_ch: there is no real harm from making it too big
<clever> and it heavily depends on the block size of the underlying hardware
<hyper_ch> ashift=128 :)
<clever> thats a bit big :P
<hyper_ch> chessboard would only be 63
<clever> the problem, is that modern devices dont use 512 byte blocks
<clever> but old OS's crash hard if the drive tells the truth
<clever> so modern drives lie about the block size
<clever> now you have no way to do things properly
<hyper_ch> how to find out the block size usb sticks have?
<v0lZy> fdisk -l
<clever> 2017-10-02 04:08:01 < clever> but old OS's crash hard if the drive tells the truth
<clever> 2017-10-02 04:08:10 < clever> so modern drives lie about the block size
zzamboni has joined #nixos
<clever> Disk /dev/nvme0n1: 477 GiB, 512110190592 bytes, 1000215216 sectors
<clever> Units: sectors of 1 * 512 = 512 bytes
<clever> Sector size (logical/physical): 512 bytes / 512 bytes
<clever> I/O size (minimum/optimal): 512 bytes / 512 bytes
<clever> i dont think this nvme is still using 512 byte blocks .....
<hyper_ch> oh, you are the one with nvme...
<v0lZy> dunno, smartctl then maybe.
leat has quit [(Quit: WeeChat 1.9)]
<clever> v0lZy: its more an issue about the drives having to lie, because crappy OS's crash when they tell the truth
<clever> so you have to guess at various sizes, and intentionaly write un-aligned blocks, and measure the performance
<clever> `lsblk -o NAME,PHY-SeC`
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] lsix pushed 1 new commit to release-17.09: https://git.io/vdnyx
<NixOS_GitHub> nixpkgs/release-17.09 b61d084 Michael Weiss: nox: Add a temporary patch for the "wip" command...
NixOS_GitHub has left #nixos []
<clever> this command claims that all of my SSD's are 512 byte based
whald_ has joined #nixos
<v0lZy> clever: I havent heard about that before; I'm skeptic about the lying part; what I think would be more likely is for the manufacturer to introduce a new function to query the disk for; that way, old OS would query just the standard and get 512 block size, while new OS would query both old and new query and only use the value from old query if there was no value returned from the new query.
<hyper_ch> v0lZy: it's in the corporations' nature to lie ;)
<hyper_ch> hmmm, where can I find blktool on nixos
<v0lZy> does 'which' work?
<v0lZy> which blktool
<hyper_ch> what package to install
<clever> hyper_ch: i dont think blktool is a command
<hyper_ch> root@manager ~ # apt-cache search blktool
<hyper_ch> blktool - tune low-level block device parameters
peacememories has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
<hyper_ch> debian knows it
ebzzry_ has joined #nixos
<clever> what commands does it contain under bin?
<hyper_ch> haven't installed it on debian
<whald_> hi! i'm trying to compile glibc on nixos with the compiler provided by the nixos.gcc7 package. this package puts "gcc" executable on $PATH which is a wrapper script. this script in turn unconditionally enables _FORTIFY_SOURCE as part of it's hardening stuff, and this messes up building glibc. is there any way around this?
<hyper_ch> blktool
<clever> ah
<clever> must just not be packaged in nixos
<hyper_ch> seems like it
<clever> whald_: yes
takle has joined #nixos
<v0lZy> how do you search packages in nix?
<v0lZy> archlinux has pacman -Ss something
<clever> v0lZy: i prefer nix-repl, there is also nox, and nix-env -qA i think
<v0lZy> whats the corresponding command in nix?
<v0lZy> nix-env -qA package ... or | grep package?
<hyper_ch> clever: also: why do you use -o ashift -o altroot but then -O compression? why is there a big O?
<whald_> clever, thanks!
<clever> hyper_ch: -o is for pool wide options, -O is for dataset options, the filesystem at the root of the pool
<hyper_ch> v0lZy: I usually use nox... add nox to the list of system packages to install and then just nox xxxx
<hyper_ch> ah ok
<v0lZy> thanks hyper_ch
<hyper_ch> you could then directly install it into your user env
<v0lZy> that indeed is the equivalent I was going for
<hyper_ch> but I put everything into the configuration.nix... but it's nice for lookup IMHO
ShalokShalom has joined #nixos
peacememories has joined #nixos
peacememories has quit [(Client Quit)]
<whald_> clever, that seems to do the trick. the failing gcc invocation explicitly had an "-U_FORTIFY_SOuRCE" argument -- do you think this is worth filing an issue that the hardening wrapper should detect this and no put _FORTIFY_SOURCE back in?
proteusguy has joined #nixos
voiceftp has quit [(Remote host closed the connection)]
voiceftp has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] orivej closed pull request #29911: platformio: 2.10.3 -> 3.4.1 (master...pkgs/platformio/update) https://git.io/vd3Br
NixOS_GitHub has left #nixos []
<v0lZy> hyper_ch: yeah, im still learning about nix
<clever> whald_: yeah, that could help
<v0lZy> managed to install it, i think it was actually simillar to old arch :D
<hyper_ch> v0lZy: same here
<hyper_ch> about the learning part
<v0lZy> where you had rc.conf .. except no package stuff.
<clever> /home/clever/apps/nixpkgs/pkgs/development/libraries/glibc/default.nix: hardeningDisable = [ "stackprotector" "fortify" ];
<clever> whald_: its also already disabled in the glibc expressions
<v0lZy> now reading about the nix language and how to do things
<whald_> clever, so having a "better" gcc wrapper would make this workaround obsolete as well, i'll file an issue. my bash-foo is very weak, so i really shouldn't do this myself. :-)
civodul has joined #nixos
fendor has joined #nixos
v0lZy1 has joined #nixos
v0lZy has quit [(Ping timeout: 248 seconds)]
v0lZy1 is now known as v0lZy
<whald_> clever, maybe it would be as easy as putting the command line arguments after the arguments injected by the wrapper so they can be overridden? that might be a very general solution and saves a poor soul from parsing gcc arguments?
<clever> lol
<clever> thats handled over in cc-wrapper
<v0lZy> reading nixos manual
<v0lZy> not that far along yet
<v0lZy> but perhaps someone can cut this short for me
<v0lZy> suppose I came up with my own package
<whald_> clever, that way the argument's "-U" would win over the wrapper's "-D", which seems like "the right thing to do", doesn't it?
<v0lZy> how can i then configure it with configuration.nix file... I imagine i have to somewhere define that something = enable is a boolean, and that it means to write 'something something = true' or whatever in some config file somewhere?
<v0lZy> where does one do that?
leat has joined #nixos
<clever> v0lZy: is it just a package, or a whole service that runs on boot?
<v0lZy> could be either
<hyper_ch> wohoo, finally could update again
<v0lZy> I mean, I have a bash script that is executed daily... and that bash script has its own config file...
<clever> v0lZy: for simple packages, you would set nixpkgs.packageOverrides and use callPackage to load the nix expression in
<v0lZy> now ok, I imagine i can add stuff to cron etc
<v0lZy> but how do i add stuff from my own config file into the .nix file?
<v0lZy> or if its not a package, just a shell script I wrote, thats actually not a package
<v0lZy> how do I for example make nix create a flatfile with the text I want in it?
<clever> v0lZy: this defines an snmp service
<clever> wait, wrong gist
<sphalerite> clever: why are you recommending packageOverrides? :(
<clever> sphalerite: never got around to playing with overlays much
<clever> v0lZy: line 8-15 defines the contents, and filename, for a config file
<clever> v0lZy: the writeTextFile function will return its path, and then line 20 tells snmpd to use that path as config
eacameron has joined #nixos
<clever> v0lZy: and this "package" is just a collection of bash scripts: https://gist.github.com/cleverca22/2c088cd9ed86fa9370d29e422111d89d
<clever> its getting late as well, i should get to bed
<hyper_ch> now adding zfs as well
eacameron has quit [(Ping timeout: 248 seconds)]
<v0lZy> clever: where do you define the path for the file?
roblabla has joined #nixos
takle has quit [(Remote host closed the connection)]
<jluttine> when is 17.09 released/available? :)
goibhniu has joined #nixos
<hyper_ch> 6537 store paths deleted, 11241.71 MiB freed :) now again 70gb free
<hyper_ch> jluttine: it's available but not released as stable :)
<sphalerite> v0lZy: you don't
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] makefu opened pull request #30016: iozone: enable aarch64-linux build (master...pkgs/iozone/aarch64) https://git.io/vdnHA
NixOS_GitHub has left #nixos []
<v0lZy> sphalerite: erm.. you dont?
<v0lZy> sphalerite: I imagine writeTextFile can create a file anywhere?
<v0lZy> but I dont see a path for that file..
Isorkin has joined #nixos
<sphalerite> v0lZy: no, it creates it in a nix store path
<v0lZy> ...erm
<v0lZy> and you then symlink it somewhere or ?
mudri has joined #nixos
<sphalerite> no, you refer to it in a setting directly
<sphalerite> hang on
<hyper_ch> v0lZy: each packages gets a /nix/store/[some hash thingy]/ path automagically... if in that path you create then a $out/bin path and put something in there there, it will the be symlinked from /run/current-system/sw/bin/
<v0lZy> I see ... so it needs to be a unique name then at least?
<makefu> v0lZy: for stuff which has to reside in /etc there is `environment.etc` but normally you just take the path to the config directly. when a derivation gets type-casted into a string it will expand to the path in the nix store
<sphalerite> v0lZy: no, it chooses a unique name for you
<sphalerite> based on the contents
<v0lZy> I see
<v0lZy> something I'll need to get my head around... I like the nix abstraction but I also like to know where things are under the hood
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] zzamboni opened pull request #30017: vagrant: 1.9.5 -> 2.0.0 (master...vagrant-2.0.0) https://git.io/vdnQ0
NixOS_GitHub has left #nixos []
<sphalerite> v0lZy: systemd.services.foo-script = {serviceConfig.Type = "oneshot"; script = "echo hello world";}; systemd.timers.foo-script = {wantedBy="timers.target"; timerConfig ={onCalendar = "daily"; Persistent = "yes"};};
<sphalerite> you can do something like that
<ij> Managed to boot the NixOS VirtualBox appliance/VM via qemu after converting it to a qcow2.
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] orivej pushed 2 new commits to master: https://git.io/vdnQy
<NixOS_GitHub> nixpkgs/master 46b71a1 makefu: iozone: enable aarch64-linux build...
<NixOS_GitHub> nixpkgs/master 9252cf0 Orivej Desh: Merge pull request #30016 from makefu/pkgs/iozone/aarch64...
NixOS_GitHub has left #nixos []
thc202 has joined #nixos
MP2E has quit [(Quit: sleep time)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Mic92 opened pull request #30018: cloud-utils: 0.29 -> 0.30 (master...cloud-utils) https://git.io/vdnQF
NixOS_GitHub has left #nixos []
<v0lZy> thanks sphalerite
<Mic92> Somebody who uses nixos in parallels and can test this? https://github.com/NixOS/nixpkgs/pull/27513
infinisil has joined #nixos
Itkovian has quit [(Quit: Textual IRC Client signing off)]
takle has joined #nixos
Acou_Bass has quit [(Ping timeout: 240 seconds)]
freusque has joined #nixos
vincent_vdk has joined #nixos
bkchr has joined #nixos
vandenoever has joined #nixos
vandenoever has quit [(Changing host)]
vandenoever has joined #nixos
Acou_Bass has joined #nixos
whald_ has quit [(Remote host closed the connection)]
nix-gsc-io`bot has joined #nixos
<nix-gsc-io`bot> Channel nixpkgs-unstable advanced to https://github.com/NixOS/nixpkgs/commit/d7d774deea (from 2 days ago, history: https://channels.nix.gsc.io/nixpkgs-unstable)
nix-gsc-io`bot has quit [(Client Quit)]
ertes-w has joined #nixos
silver_hook has joined #nixos
iqubic has quit [(Ping timeout: 260 seconds)]
<ij> Does nix-env -q have a fast version? — Like nix-env -iA is the fast version for installing.
vincent_vdk has left #nixos []
<fearlessKim[m]> ij -q -A 'haskellPackages.*'
<sphalerite> ij: you could use a tool with caching, like nox (which also shows the descriptions, which is nice)
<manveru> nixUnstable has `nix search` now too
<manveru> which does caching, afaict
<fearlessKim[m]> awesome
nix-gsc-io`bot has joined #nixos
<nix-gsc-io`bot> Channel nixos-17.09-small advanced to https://github.com/NixOS/nixpkgs/commit/b61d084c41 (from 2 hours ago, history: https://channels.nix.gsc.io/nixos-17.09-small)
nix-gsc-io`bot has quit [(Client Quit)]
<ij> In https://nixos.org/nixos/packages.html it shows «nix-env -iA nixos.vagrant», but I've only nixpkgs in my nix-channel --list. Should it not be that way?
<ij> -iA nixpkgs.vagrant works
<fearlessKim[m]> I am using wireshark installed through nixos-rebuild. Yet I have to sudo to capture from Ethernet. Is that normal ?
infinisil has quit [(Ping timeout: 246 seconds)]
<ij> I don't know much about nixos, but are you in the wireshark group? "$ groups" will show you what groups you're in.
bkchr has quit [(Ping timeout: 248 seconds)]
whald has quit [(Remote host closed the connection)]
<fearlessKim[m]> I might need to reboot true thanks
mudri has quit [(Ping timeout: 240 seconds)]
infinisil has joined #nixos
<ij> "$ newgrp wireshark" might also work, if you've added yourself in /etc/group.
<ij> Then start wireshark from that shell.
sivteck has quit [(Quit: user missing.)]
sivteck has joined #nixos
infinisil has quit [(Ping timeout: 264 seconds)]
nh2 has joined #nixos
whald has joined #nixos
<sphalerite> ij: for nixos, nix-env -iA nixos.vagrant should work
<sphalerite> unless you've deviated from the standard setup
<sphalerite> if you're not on nixos, it won't work
sirkha has joined #nixos
<LnL> nix-env -f '<nixpkgs>' -iA vagrant works everywhere
<ij> Yeah, it works.
<sirkha> hi, I am trying to get user installed gtk themes to work. I have created a .xprofi
<sirkha> le that exports GTK_DATA_PREFIX="~/.nix-profile"
<sirkha> but lxappearance does not list the theme I have installed
sigmundv__ has joined #nixos
thc202 has quit [(Ping timeout: 255 seconds)]
sivteck has quit [(Quit: user missing.)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Mic92 pushed 2 new commits to master: https://git.io/vdnhc
<NixOS_GitHub> nixpkgs/master 2354e0f Jörg Thalheim: cloud-utils: 0.29 -> 0.30
<NixOS_GitHub> nixpkgs/master a8a1025 Jörg Thalheim: Merge pull request #30018 from Mic92/cloud-utils...
NixOS_GitHub has left #nixos []
noam__ has quit [(Read error: Connection reset by peer)]
noam has joined #nixos
thc202 has joined #nixos
<sirkha> whatever does the reading of GTK_DATA_PREFIX does not expand ~ putting $HOME instead works
sirkha has quit [(Quit: Page closed)]
zzamboni has quit [(Quit: Leaving.)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] gebner pushed 1 new commit to master: https://git.io/vdnhH
<NixOS_GitHub> nixpkgs/master dcd5580 Gabriel Ebner: tptp: 6.4.0 -> 7.0.0
NixOS_GitHub has left #nixos []
zzamboni has joined #nixos
pie_ has quit [(Ping timeout: 240 seconds)]
<hyper_ch> what could be the cause for a usb stick not working on one notebook but working on a different notebook?
<v0lZy> dead port
<v0lZy> (on one laptop)
<v0lZy> or controller passed through to a virtual machine
<v0lZy> or insufficient power
<v0lZy> or usb3 vs usb2 issues
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Mic92 closed pull request #30017: vagrant: 1.9.5 -> 2.0.0 (master...vagrant-2.0.0) https://git.io/vdnQ0
NixOS_GitHub has left #nixos []
obadz has quit [(Ping timeout: 248 seconds)]
<hyper_ch> problem seems to be the port :(
zzamboni has quit [(Ping timeout: 248 seconds)]
obadz has joined #nixos
zzamboni has joined #nixos
nckx has quit [(Quit: Restarting my GuixSD server — https://gnu.org/s/guix)]
Wizek_ has joined #nixos
nckx has joined #nixos
zzamboni has quit [(Ping timeout: 258 seconds)]
Wizek has joined #nixos
zzamboni has joined #nixos
pie_ has joined #nixos
hc_ has joined #nixos
hc has quit [(Ping timeout: 258 seconds)]
sivteck has joined #nixos
slyfox has joined #nixos
<hyper_ch> which netcat should I install? netcat or netcat-gnu?
Wizek_ has quit [(Ping timeout: 258 seconds)]
simukis has joined #nixos
<ocharles> Can someone do me a favor and see what `xprop -root _NET_ACTIVE_WINDOW` returns?
<ocharles> I don't need to know exactly what, just if it's not "not found"
<ocharles> Mine only ever returns not found, which I think is why Rescue Time isn't reporting anything (it just spams a complaint about _NET_ACTIVE_WINDOW)
<goibhniu> ocharles: I get: _NET_ACTIVE_WINDOW(WINDOW): window id # 0x2e00006
<ocharles> grr, that's the kind of thing I'm expecting
<ocharles> wtf has my xprop stopped doing anything useful
<ocharles> goibhniu: which NixOS?
<goibhniu> 18.03pre116054 (unstable)
<goibhniu> with KDE/plasma and all that shenanigans
<ocharles> ok
<ocharles> I'm on 17.09 with just xmonad, but this is meant to just be X stuff
orivej has quit [(Ping timeout: 246 seconds)]
sivteck has quit [(Quit: user missing.)]
sivteck has joined #nixos
erictapen has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] gebner pushed 2 new commits to master: https://git.io/vdcvd
<NixOS_GitHub> nixpkgs/master 7049172 Gabriel Ebner: ocamlPackages.stdint: init at 0.3.0
<NixOS_GitHub> nixpkgs/master e10bb69 Gabriel Ebner: fstar: 0.9.4.0 -> 0.9.5.0...
NixOS_GitHub has left #nixos []
ThatDocsLady has joined #nixos
hc has joined #nixos
Supersonic112 has quit [(Ping timeout: 264 seconds)]
hotfuzz_ has quit [(Ping timeout: 258 seconds)]
<zzamboni> Mic92: about https://github.com/NixOS/nixpkgs/pull/30017#event-1273711851 - thanks for your feedback, unfortunately on Darwin I'm still seeing those messages :(
<Mic92> zzamboni: I just answered you
<zzamboni> Yes, saw that, sorry :)
hc_ has quit [(Ping timeout: 260 seconds)]
<Mic92> zzamboni: maybe you can run `otool -L` on the compiled ruby gems
Supersonic112_ has joined #nixos
<Mic92> I suppose some library is still missing there
<Mic92> find $(dirname $(dirname $(which vagrant)))
Supersonic112_ is now known as Supersonic112
__Sander__ has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] ocharles pushed 1 new commit to master: https://git.io/vdcfK
<NixOS_GitHub> nixpkgs/master d8fe947 Oliver Charles: rescuetime: Update to 2.9.11.1300
NixOS_GitHub has left #nixos []
<Mic92> zzamboni: ok they are called .bundle on os x
mortum5 has joined #nixos
<Mic92> I just fired up my new shiny vagrant vm
<Mic92> zzamboni: it wants a file called in libffi.6.dylib in $out/embedded/lib
<Mic92> zzamboni: maybe you can just fix the symlink based on the platform
TweyII has joined #nixos
orivej has joined #nixos
TweyII is now known as Guest171
apocolocyntos[m] has joined #nixos
<ij> Are the nixos-container containers created with nspawn?
<goibhniu> ij yep
orivej has quit [(Ping timeout: 240 seconds)]
<LnL> yeah, you use machinectl to interact with them directly
<LnL> g
bennofs has joined #nixos
sheyll has quit [(Quit: sheyll)]
eacameron has joined #nixos
Wizek_ has joined #nixos
pie_ has quit [(Ping timeout: 260 seconds)]
eacameron has quit [(Ping timeout: 248 seconds)]
katyucha has joined #nixos
sivteck has quit [(Quit: user missing.)]
<Mic92> or sytemd-run -M
<Mic92> *systemd-run -M
sivteck has joined #nixos
ebzzry_ is now known as ebzzry
Wizek_ has quit [(Ping timeout: 258 seconds)]
<zzamboni> Mic92: I tried that already, I changed the line to: ln -s ${libffi}/lib/libffi.6.dylib opt/vagrant/embedded/lib/
<zzamboni> but I still get the same error for ffi
nix-gsc-io`bot has joined #nixos
<nix-gsc-io`bot> Channel nixos-unstable advanced to https://github.com/NixOS/nixpkgs/commit/aebdc892d6 (from 22 hours ago, history: https://channels.nix.gsc.io/nixos-unstable)
nix-gsc-io`bot has quit [(Client Quit)]
sheyll has joined #nixos
<sheyll> Hi is there a haskell library to generate nix expressions?
<sphalerite> sheyll: hnix can parse and construct nix
<sheyll> cool thank you
aloiscochard has joined #nixos
iyzsong has joined #nixos
Wizek_ has joined #nixos
simukis has quit [(Remote host closed the connection)]
<sphalerite> also evaluate it, I think?
nix-gsc-io`bot has joined #nixos
<nix-gsc-io`bot> Channel nixos-17.09 advanced to https://github.com/NixOS/nixpkgs/commit/b61d084c41 (from 4 hours ago, history: https://channels.nix.gsc.io/nixos-17.09)
nix-gsc-io`bot has quit [(Client Quit)]
orivej has joined #nixos
simukis has joined #nixos
bennofs has quit [(Quit: WeeChat 1.9.1)]
<sphalerite> hnix doens't seem to be building on 17.09 atm :/
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] grahamc closed pull request #27468: pinentry: add GNOME frontend (master...fix/pinentry-gnome) https://git.io/vQxig
NixOS_GitHub has left #nixos []
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] grahamc pushed 6 new commits to release-17.09: https://git.io/vdcIN
<NixOS_GitHub> nixpkgs/release-17.09 a32a56b Jan Tojnar: pinentry: add GNOME 3 frontend support...
<NixOS_GitHub> nixpkgs/release-17.09 4b9e15f Jan Tojnar: gnome3.gcr: propagate pkg-config dependencies...
<NixOS_GitHub> nixpkgs/release-17.09 d4f93f1 Jan Tojnar: pinentry: fix configure arguments...
NixOS_GitHub has left #nixos []
<Mic92> zzamboni: my knowledge about dyld is pretty limited. I more familiar with the linux stuff
<Mic92> zzamboni: it seems that the kernel on os x plays a greater role then what linux does for library loading.
<zzamboni> Mic92: thanks, I'll keep poking at it when I have some time
<Mic92> zzamboni: maybe `man dyld` helps you a bit. There are some environment variable you can set for debugging
<Mic92> *variables
mattcode has joined #nixos
sivteck has quit [(Quit: user missing.)]
nico202 has joined #nixos
ShalokShalom is now known as ShalokShalom2
<nico202> ehy, what chkrootkits returns to you? On my nixos it says that basename, dirname, echo, env are infected, should I worry?
sivteck has joined #nixos
dieggsy has joined #nixos
erictapen has quit [(Ping timeout: 240 seconds)]
hamishmack has quit [(Read error: Connection reset by peer)]
hamishmack has joined #nixos
fritz09 has joined #nixos
<gchristensen> nico202: tbh it looks bogus
<gchristensen> nico202: all those are part of coreutils which is a single massive binary with symlinks:
<gchristensen> $ ls -la $(which dirname)
<gchristensen> lrwxrwxrwx 1 root root 9 Dec 31 1969 /nix/store/vp8y0rh8rq7vikbbrpf28jfym79xq9z8-coreutils-8.28/bin/dirname -> coreutils
<manveru> nico202: they're false alarms
<manveru> for example `sudo chkrootkit -d env` fails at this check
<manveru> strings -a /run/current-system/sw/bin/env | egrep '^/bin/.*sh$|bash|elite$|vejeta|\.ark|iroffer'
fendor has quit [(Ping timeout: 240 seconds)]
<manveru> /bin/sh matches, which is actually a string in the env docs
<manveru> because for me /nix/store/vp8y0rh8rq7vikbbrpf28jfym79xq9z8-coreutils-8.28/bin/env is a symlink to /nix/store/vp8y0rh8rq7vikbbrpf28jfym79xq9z8-coreutils-8.28/bin/coreutils which contains a bunch of different commands, depending on how you invoke it
<nico202> gchristensen: ok thanks, just discovered chkrootkit and since it's in the repo I thought it was patched to work on nixos
freusque has quit [(Quit: WeeChat 1.7.1)]
chreekat has joined #nixos
<nico202> manveru: thanks :)
freusque has joined #nixos
<dieggsy> To enable optional inputs in certain packages, (specifically, i3GapsSupport in polybar), i'm trying to use the following:
<dieggsy> polybar = {i3Support = true; i3GapsSupport = true;}; in config.nix. That doesn't seem to be changing anything, however. What am i doing wrong?
emanuelez has joined #nixos
sivteck has quit [(Quit: user missing.)]
<emanuelez> hello... is it ok to ask nix (not nixos) questions in here?
chreekat has quit [(Quit: quitting)]
nix-gsc-io`bot has joined #nixos
<emanuelez> my problem is that I would like to install clang5 but: 1) only 4.1 is available in the most recent channels 2) clang5 seems to be available here: https://github.com/NixOS/nixpkgs/tree/master/pkgs/development/compilers/llvm/5. I'm sure I'm missing something. any hint?
<nix-gsc-io`bot> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/d8fe9476b7 (from 2 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
nix-gsc-io`bot has quit [(Client Quit)]
<nico202> dieggst: Are you adding the result to environment.systemPackages
<nico202> dieggsy: ?
chreekat has joined #nixos
<dieggsy> nico202: Ah, I think I got it. er, I'm not on nixos, but it seems I needed to use .override
rootnode has quit [(Quit: Quit)]
sivteck has joined #nixos
hamishmack has quit [(Quit: hamishmack)]
sivteck has quit [(Client Quit)]
fritz09 has quit [(Quit: fritz09)]
takle has quit [(Remote host closed the connection)]
ebzzry has quit [(Ping timeout: 248 seconds)]
mb[m]2 has joined #nixos
fendor has joined #nixos
dieggsy has quit [(Remote host closed the connection)]
nallar has joined #nixos
Ross has quit [(Ping timeout: 248 seconds)]
nallar is now known as Ross
Ivanych has joined #nixos
takle has joined #nixos
rtjure has quit [(Ping timeout: 258 seconds)]
jellowj has joined #nixos
Guest171 has quit [(Ping timeout: 248 seconds)]
rtjure has joined #nixos
callmecabman has joined #nixos
ShalokShalom has joined #nixos
acarrico has joined #nixos
ShalokShalom2 has quit [(Ping timeout: 258 seconds)]
fendor has quit [(Ping timeout: 240 seconds)]
Itkovian has joined #nixos
<callmecabman> Good afternoon. Is there a fast and easy way to deploy NixOS to GCE?
<srhb> callmecabman: nixops can do that.
fendor has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] orivej closed pull request #29818: AgdaStdlib: 0.13 -> 0.14 (master...update-agda-stdlib) https://git.io/vdtoY
NixOS_GitHub has left #nixos []
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] orivej pushed 2 new commits to master: https://git.io/vdcGd
<NixOS_GitHub> nixpkgs/master 2ba02c5 Unai Zalakain: AgdaStdlib: 0.13 -> 0.14
<NixOS_GitHub> nixpkgs/master f72e323 Orivej Desh: Merge pull request #29818 from unaizalakain/update-agda-stdlib...
NixOS_GitHub has left #nixos []
<callmecabman> srhb: thx, that's what I was afraid of
jellowj has quit [(Ping timeout: 248 seconds)]
nix-gsc-io`bot has joined #nixos
<nix-gsc-io`bot> Channel nixos-17.09-small advanced to https://github.com/NixOS/nixpkgs/commit/5acac622e3 (from 89 minutes ago, history: https://channels.nix.gsc.io/nixos-17.09-small)
nix-gsc-io`bot has quit [(Client Quit)]
nico202 has quit [(Remote host closed the connection)]
Neo-- has quit [(Ping timeout: 258 seconds)]
rauno has quit [(Ping timeout: 255 seconds)]
<disasm> callmecabman: afraid of? :) what were you looking for?
<Mic92> our wiki got a visual upgrade: https://nixos.wiki/
<disasm> callmecabman: also https://nixos.wiki/wiki/Installing_NixOS_on_GCE if you don't want nixops
erictapen has joined #nixos
erictapen has quit [(Remote host closed the connection)]
erictapen has joined #nixos
<Mic92> callmecabman: I have a snippet here: https://github.com/Mic92/dotfiles/blob/master/nixos/vms/gce.nix
<jtojnar> could someone take a look at this please https://bugzilla.gnome.org/show_bug.cgi?id=788396#c2
bennofs has joined #nixos
<disasm> emanuelez: most definitely you can ask nix questions here! Are you on 17.09?
<sphalerite> Mic92: nice! fits right in with the official stuff now
<sphalerite> suddenly doesn't feel like mediawiki anymore o.O
<Mic92> credits goes to samueldr
<emanuelez> disasm: i tried both 17.09 and unstable
<disasm> emanuelez: using llvmPackages_5.clang
sivteck has joined #nixos
<LnL> emanuelez: clang_5 was merged yesterday, should available very soon (if it isn't already) :)
sivteck has quit [(Client Quit)]
<emanuelez> disasm: I'm a complete noob when it comes to noob. I tried grepped the output of nix-env --query
fritz09 has joined #nixos
<LnL> nix-shell -p clang_5 --run 'clang --version'
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] zimbatm pushed 1 new commit to staging: https://git.io/vdccd
<NixOS_GitHub> nixpkgs/staging f795d78 Mathieu Boespflug: git: Properly wrap Git commands that are implemented in Perl. (#30001)...
NixOS_GitHub has left #nixos []
sivteck has joined #nixos
<disasm> emanuelez: LnL command works for me here. You may need to update your channels if it doesn't for you.
<disasm> on 17.09 that is
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] NeQuissimus pushed 1 new commit to master: https://git.io/vdcCK
<NixOS_GitHub> nixpkgs/master 1e85d28 Tim Steinbach: linux: 4.14-rc2 -> 4.14-rc3
NixOS_GitHub has left #nixos []
<emanuelez> disasm, LdL: nix-channel --list -> nixpkgs https://nixos.org/channels/nixpkgs-unstable nixos-17.09 https://nixos.org/channels/nixos-17.09
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] zimbatm pushed 1 new commit to release-17.09: https://git.io/vdcWe
<NixOS_GitHub> nixpkgs/release-17.09 07ca7b6 Mathieu Boespflug: git: Properly wrap Git commands that are implemented in Perl. (#30001)...
NixOS_GitHub has left #nixos []
<emanuelez> querying nix-env only shows me clang-wrapper-5.0.0... all the rest is 4.1 or older
<emanuelez> LnL: $ nix-shell -p clang_5 --run 'clang --version' -> error: undefined variable ‘clang_5’ at (string):1:66
<fearlessKim[m]> trying to upgrade astroid but it crashes. How can I get symbols ? if I put environment.separateDebugInfo = true that won't rebuild everything ?
<disasm> emanuelez: sudo nix-channel --update
<LnL> emanuelez: I don't see a nixos channel in that list, by default nixos-rebuild / nix-shell will only look at the root channels
Guest171 has joined #nixos
<LnL> have a feeling you're looking at your local user channels
peacememories has joined #nixos
<emanuelez> LnL, disasm: btw.. I'm running this from within the nixos/nix docker image... maybe that has something to do with it
<LnL> ah, try this nix-channel --add https://nixos.org/channels/nixos-17.09 nixpkgs && nix-channel --update
peacememories has quit [(Client Quit)]
jtojnar has quit [(Quit: jtojnar)]
jellowj has joined #nixos
sivteck has quit [(Quit: user missing.)]
<emanuelez> LnL: that worked. so.. does the name assigned to the channel influence the result?
peacememories has joined #nixos
<LnL> yeah I think the docker image only looks for 'nixpkgs'
<lejonet> How would I go about optionally concatenating a string? With a list I can do ++ stdenv.lib.optional var [ list ], can I do the same with strings? Like + stdenv.lib.optional var '' string ''?
freusque has quit [(Quit: WeeChat 1.7.1)]
joko has quit [(Quit: Lost terminal)]
erictapen has quit [(Ping timeout: 258 seconds)]
<emanuelez> LnL: interesting. Thanks for your help! I will abuse your kindness and knowledge with another question :) so... now clang_5 was installed, but in order to run it it has to be done from within a nix-shell. Can it also be run from outside such shell? what if I have to combine several packages (cmake, valgrind, etc etc)
<LnL> you can install it into the user profile with nix-env -iA nixpkgs.clang_5
freusque has joined #nixos
<LnL> but not that doing that unlike a nix-shell you can only do that with 1 version of clang, etc.
<emanuelez> I see. Thanks!
<disasm> emanuelez: your best bet is create a default.nix with all the deps you need if you have a lot
eacameron has joined #nixos
<disasm> emanuelez: or nix-shell -p packages1 package2 package3 etc...
eacameron has quit [(Remote host closed the connection)]
eacameron has joined #nixos
peacememories has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
jellowj has quit [(Ping timeout: 258 seconds)]
sivteck has joined #nixos
cement has joined #nixos
<fearlessKim[m]> I managed to compile astroidwith debug symbols but how can I propagate hte parameter to its buildInputs without recompiling the whole world ? the stacktrace shows libglib/libgobject but I miss the info for these
<LnL> lejonet: stdenv.lib.optionalString
guillaum1 has joined #nixos
<lejonet> LnL: ah sweet, thanks :)
<lejonet> LnL: and I guess, in the list case, optional parts of a list can be chained? I.e. stdenv.lib.option var1 [ list 1 ] ++ stdenv.lib.option var2 [ list2 ] etc etc?
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] The-M1k3y opened pull request #30020: nixos/gogs: fixed user creation if non-default user (master...master) https://git.io/vdc4u
NixOS_GitHub has left #nixos []
<LnL> yeah
<lejonet> Sweet, big thanks :)
peacememories has joined #nixos
<LnL> but there's a difference between optional and optionals for lists, optional true [ foo ] would result in [ [foo] ]
erictapen has joined #nixos
reinzelmann has quit [(Quit: Leaving)]
<lejonet> LnL: basically, I'm trying to incorporate the package overrides I've done to sssd and sudo (to enable sudo support for sssd and sssd support for sudo) and like sudo has stdenv.lib.optional withInsults [ "stuff" ] so I was thinking of just chaining ++ stdenv.lib.optional withSssd [ "stuff" ]
bfrog_ has joined #nixos
<lejonet> which brings another question, how do I do a optional dependency to be inputted? like a default variable I understand I can just add withSssd ? false to the input (just like withInsults ? false in sudo's case) but how would I add the package sssd as an optional dep, depending on if withSssd is true?
fendor has quit [(Ping timeout: 240 seconds)]
<lejonet> (its needed to get the store path to sssd's lib directory)
Arcaelyx_ has joined #nixos
iyzsong has quit [(Ping timeout: 246 seconds)]
<LnL> if it's not used by the drv it won't be a dependency
emanuelez has quit [(Ping timeout: 260 seconds)]
<lejonet> ah, so I can call pkgs.sssd to get the store path anyway?
<lejonet> or is there a stdenv function for that?
Arcaelyx has quit [(Ping timeout: 258 seconds)]
sivteck has quit [(Quit: user missing.)]
fendor has joined #nixos
jellowj has joined #nixos
Guest171 has quit [(Ping timeout: 248 seconds)]
Guest171 has joined #nixos
sivteck has joined #nixos
<clever> lejonet: if lib.optional doesnt return the path, it wont be downloaded at build time
<clever> lejonet: and if the build doesnt put a copy of that path somewhere under $out, it wont be required at runtime
<lejonet> clever: huh? What I'm trying to do is give the flag --with-sssd-lib= the right path to look for the SSSD libs when building sudo
<clever> then if you pass true to the lib.optional, it will include the sssd path at build time, and download sssd
<clever> and the configure script/gcc will persist that path within the elf files, so it will automatically be required at runtime
<lejonet> Hmm, I guess I could try a build without --with-sssd-lib and see if that works
<clever> that also works sometimes
<clever> just pop it into buildInputs and see what happens
zzamboni has quit [(Quit: Leaving.)]
<lejonet> as I thought, it needs the sssd libs path for proper function
<lejonet> but seemingl only at runtime
<lejonet> (it now tries to open libsss_sudo.so from its own lib dir...)
fritz09 has quit [(Quit: fritz09)]
<lejonet> so it would seem that it doesn't need the path for anything but at runtime know where to look for the libs to dlopen, should I still put it into buildInputs? I want to code it in such a way to avoid most people from pulling down sssd too, because its needed when actually using the SSSD binding
<lejonet> s/needed/only needed/
erictapen has quit [(Ping timeout: 240 seconds)]
jacob has joined #nixos
jacob is now known as Guest55216
v0lZy has left #nixos []
<clever> lejonet: we will need to refer to the sudo source (or docs if we are lucky)
<lejonet> clever: for what?
zzamboni has joined #nixos
<lejonet> I know the flag that makes it work and seemingly is needed, in my packageOverride I have --with-sssd-lib=${super.sssd}/lib and that makes it find the sssd sudo lib
erictapen has joined #nixos
erictapen has quit [(Remote host closed the connection)]
erictapen has joined #nixos
JagaJaga has joined #nixos
<clever> #define _PATH_SSSD_LIB "$sssd_lib"
<lejonet> so what I'm wondering is how I can get the path that ${super.sssd} gives me in my override, in the actual sudo derivation, without a hard dep on sssd
<clever> lejonet: that causes this to get set
<clever> lejonet: can you pastebin the current override?
zzamboni has quit [(Ping timeout: 248 seconds)]
<clever> static const char path[] = _PATH_SSSD_LIB"/libsss_sudo.so";
<lejonet> Mhm, that is why that flag has to be set
<lejonet> The override for sssd has '' '' but it got filtered out lol
<clever> nix-repl> lib.optionals true [ "--with-sssd" "--with-sssd-lib=${sssd}/lib" ]
<clever> [ "--with-sssd" "--with-sssd-lib=/nix/store/5xgwy0aywvkmj7v6qckaldqyij43bzc3-sssd-1.14.2/lib" ]
<clever> some pastebins use '' specialy, i prefer using gist
sivteck has quit [(Quit: user missing.)]
globin has quit [(Ping timeout: 240 seconds)]
erictapen has quit [(Ping timeout: 240 seconds)]
<lejonet> but using ${sssd} implies having to add sssd into the required args no?
<clever> nix-repl> lib.optionals false [ "--with-sssd" "--with-sssd-lib=${sssd}/lib" ]
<clever> [ ]
<clever> if optionals doesnt return sssd, then you wont depend on it at build time
<clever> (assuming you also remove it from buildInputs)
<lejonet> I guess I could do a ++ lib.optionl to the buildinput part
sivteck has joined #nixos
<clever> yep
jellowj has quit [(Ping timeout: 258 seconds)]
jensens has quit [(Remote host closed the connection)]
jensens has joined #nixos
fendor has quit [(Ping timeout: 248 seconds)]
grw has joined #nixos
<disasm> would love some input on https://github.com/NixOS/nixpkgs/issues/30013 if anyone around is familiar with ldap and SSL
peacememories has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
<lejonet> disasm: do you have tls_cacert variable set in the ldap.conf?
globin has joined #nixos
sivteck has quit [(Quit: user missing.)]
<lejonet> ldapsearch and friends are stupid when it comes to SSL and CA certs, and thus don't search for certs themselves unless you give em either tls_cacert or tls_cacertdir (latter doesn't work with gnutls)
<grw> hi, anyone else got gcc-6.4.0 failing on armv7?
<lejonet> disasm: don't know how many times I've been bitten by that :P
sivteck has joined #nixos
<grw> i get this: unfortunately cant remember if it used to work- https://hydra.satanic.link/build/19/nixlog/42/tail
erictapen has joined #nixos
<disasm> lejonet: ah, maybe I should setup ldap (since I have to do that anyways) For now I was just testing with openldap package installed in a pure env
<lejonet> disasm: well, you need it client-side, so in either /etc/ldap.conf or whatever ldap.conf the client uses (iirc openldap uses /etc/openldap/ldap.conf) you need to set tls_cacert
<lejonet> However you'll need to set it in the ldap directory you want to use SSL with
Arcaelyx has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] orivej closed pull request #30020: nixos/gogs: fixed user creation if non-default user (master...master) https://git.io/vdc4u
NixOS_GitHub has left #nixos []
Arcaelyx_ has quit [(Ping timeout: 264 seconds)]
freusque has quit [(Ping timeout: 246 seconds)]
Wizek__ has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] fpletz pushed 3 new commits to master: https://git.io/vdcaC
<NixOS_GitHub> nixpkgs/master 7ec039b Franz Pletz: libubox: init at 2017-09-29
<NixOS_GitHub> nixpkgs/master b2a5c40 Franz Pletz: uqmi: init at 2016-12-19
<NixOS_GitHub> nixpkgs/master 2f188ff Franz Pletz: dnsmasq: 2.77 -> 2.78 for multiple CVEs...
NixOS_GitHub has left #nixos []
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] orivej closed pull request #27293: vagrant: 1.9.5 -> 1.9.7 (master...char16t-vagrant-1.9.7) https://git.io/vQXyp
NixOS_GitHub has left #nixos []
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] fpletz pushed 3 new commits to release-17.09: https://git.io/vdcaB
<NixOS_GitHub> nixpkgs/release-17.09 03add3c Franz Pletz: libubox: init at 2017-09-29...
<NixOS_GitHub> nixpkgs/release-17.09 74676fc Franz Pletz: uqmi: init at 2016-12-19...
<NixOS_GitHub> nixpkgs/release-17.09 b74d171 Franz Pletz: dnsmasq: 2.77 -> 2.78 for multiple CVEs...
NixOS_GitHub has left #nixos []
Wizek_ has quit [(Ping timeout: 246 seconds)]
leat has quit [(Quit: WeeChat 1.9)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] fpletz pushed 2 new commits to release-17.03: https://git.io/vdca2
<NixOS_GitHub> nixpkgs/release-17.03 e57b61f Franz Pletz: dnsmasq: 2.76 -> 2.77...
<NixOS_GitHub> nixpkgs/release-17.03 e43c79b Franz Pletz: dnsmasq: 2.77 -> 2.78 for multiple CVEs...
NixOS_GitHub has left #nixos []
<Mic92> fpletz: ^ ah you about to rebuild openwrt with nixpkgs :)
<fpletz> Mic92: no, I'm just using uqmi in a script because qmictl sucks so hard :)
<fpletz> it even has json output! :>
whald has quit [(Remote host closed the connection)]
<lejonet> clever: what is the easiest way to test the package with my modifications without having to go through the hassle of setting up my own local nixkpgs and such? nix-build?
<clever> lejonet: nix-build -A sudo --arg config 'import ./config.nix' is one option
<clever> then ensure the packageOverride is present in that config.nix
jmeredith has joined #nixos
<lejonet> clever: well I want to test what I'm later going to submit as PRs (i've made a fork of nixpkgs and such)
<clever> ah
<clever> nix-build -A sudo
<clever> in the root of the nixpkgs checkout
<lejonet> sweet, will try that
jesuspv has quit [(Ping timeout: 248 seconds)]
<clever> and for the override
<clever> nix-build -E 'with import ./. { config = {}; }; sudo.override { ... }'
<clever> the hard part, is that this sudo isnt setuid root
afics has quit [(Quit: afics)]
<lejonet> it isn't supposed to be :P
<gchristensen> sudo is usually setuid
<LnL> don't think you can just use the sudo from the store
<lejonet> gchristensen: still isn't supposed to be, can't see that it has setuid on the VM I have as a host for nixops
<lejonet> :)
<gchristensen> I don't understand
sivteck has quit [(Quit: user missing.)]
<gchristensen> sudo doesn't work without setuid
<lejonet> it should use caps, not setuid imo :)
<clever> lejonet: nix doesnt allow either one in the store
<gchristensen> it isn't an imo it is a truth
orivej has quit [(Ping timeout: 255 seconds)]
<LnL> the security wrappers also support setcap
<lejonet> Yeah, but setuid can be replaced my caps, which is easier to police, thus if something can use both, I prefer them using caps to cover the area they needed the setuid for
<lejonet> and iirc sudo can use caps instead
<bennofs> what would that cap be? CAP ALLOW BECOME ROOT?
<bennofs> :D
<bennofs> that would be equavilent to setuid, no?
<lejonet> I think so, either that or CAP_SYS_ADMIN, but the main point is that the caps system isn't whimy, when symlink, to race conditions in the same way
<gchristensen> IIRC our wrapper solution is immune to symlink attacks
<lejonet> oh? I didn't know
<lejonet> I recall a bug with this specific thing a few years back, a race condition in the symlink code in the kernel could be abused to execute an arbitrary binary with the perms of what the symlink pointed to, like a setuid binary
Guest171 has quit [(Ping timeout: 258 seconds)]
<lejonet> or maybe it was just ubuntu that was vulnerable to that one? I know they had a symlink vuln similar to that a while ago too
<gchristensen> ok well if you do have a concern, please do investigate it and report it privately to https://nixos.org/nixos/security.html :) AFAIK we're doing things correctly and not subject to such trivial attacks
<lejonet> But the main reason why I prefer that binaries use caps instead of setuid is that you can setup logging of used caps (and force caps off at runtime etc etc) unlike setuid
<gchristensen> yeah, caps are good
<lejonet> Just so that you didn't think I was trying to imply that this was an issue with nixos or their handling :)
<bennofs> gchristensen: i think that vuln was not something special to NixOS or something that applies now, but an example of the kind of other vulnerabilities that can become exploitable only in the presence of SETUID binaries
<gchristensen> aye
<bennofs> so this would make sense if it allows us to avoid all SETUID binaries
<lejonet> The biggest problem with setuid is the fact that uid 0 is in many systems (luckily have changed to the favour of caps the past years) is treated special, usually with completely different code paths, by passing most of not all security checks and such, thus any vuln in a binary that is setuid to root, automatically becomes a priv-escalation and usually ultimately code execution
<lejonet> Hence why I try to ensure to avoid any such deps on setuid where its possible (nice part about setuid is that the binary itself doesn't have to be aware of it, unlike caps)
<lejonet> or well, I guess you can use caps as setuid, with +p flag, but then the question is what have you gained? :P
afics has joined #nixos
jensens has quit [(Ping timeout: 258 seconds)]
Sonarpulse has joined #nixos
<lejonet> clever: it seems like doing like this isn't liked: https://paste.pound-python.org/show/YObFLCz3zRfygErCnwSV/ which is why I think I need to make it an optional dependency of the function somehow :/
<lejonet> (it whines at undefined variable 'sssd')
<lejonet> so optionally adding it to buildInputs I think is the wrong way
erasmas has joined #nixos
<lejonet> (because its not the build that needs it, its the configure script)
<clever> lejonet: add sssd to the arguments on line 1
<lejonet> clever: won't that make it hard depend on it, thus pulling down SSSD even if withSssd = false?
<clever> no
<clever> it only depends on sssd if the path of sssd gets sent to stdenv.mkDerivation
<clever> the lib.optional stops that
<lejonet> its only buildInput that actually makes stuff get pulled down?
<clever> the path appearing in any argument to mkDerivation
jcarr has joined #nixos
Eisfreak7 has joined #nixos
nix-gsc-io`bot has joined #nixos
<nix-gsc-io`bot> Channel nixos-17.09-small advanced to https://github.com/NixOS/nixpkgs/commit/07ca7b64d2 (from 2 hours ago, history: https://channels.nix.gsc.io/nixos-17.09-small)
nix-gsc-io`bot has quit [(Client Quit)]
simukis has quit [(Quit: simukis)]
mortum5 has quit [(Ping timeout: 240 seconds)]
simukis has joined #nixos
<Eisfreak7> In my configuration.nix, I have something like `let unstable = import <unstable> {}; in { nixpkgs.config.allowUnfree = true; environment.systemPackages = (with unstable; [ spotify ]);`. However, nix still won't install spotify because of its unfree license. Why does the setting not apply for the unstable channel?
<clever> Eisfreak7: that 2nd copy of nixpkgs is loading ~/.nixpkgs/config.nix
<clever> Eisfreak7: you have to pass a config attr to it when importing
<tilpner> Use let unstable = import <unstable> { config = { allowUnfree = true; useSandbox = true; }; }; in { environment ... }
<clever> let unstable = import <unstable> { config = { allowUnfree = true; }; in
erictapen has quit [(Ping timeout: 240 seconds)]
<lejonet> clever: neat, iirc you were also a gentoo user before, so the reason I was confused was that I had assumed the function arguments (line 1) functiond as RDEPEND or DEPEND, which is why I thought it would be a hard dep if I put it there without any type of exclusion :P
<Eisfreak7> clever, tilpner: Thanks! That works. Why is it different for nixpkgs, is it just syntactic sugar?
<clever> Eisfreak7: when nixos loads nixpkgs for the pkgs argument, it passes in nixpkgs.config
<clever> Eisfreak7: but when you just import it directly, it loads the config from $HOME
periklis has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] edolstra closed pull request #29568: cc-wrapper: Clean up dynamic linking with x86 multilib (staging...cc-wrapper-32) https://git.io/v5Ajj
NixOS_GitHub has left #nixos []
<sphalerite> Random thought: expressions importing a new copy of nixpkgs should usually pass the config of any previous one in, right?
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] edolstra pushed 2 new commits to staging: https://git.io/vdc6Z
<NixOS_GitHub> nixpkgs/staging fdbda21 John Ericson: cc-wrapper: Clean up dynamic linking with x86 multilib...
<NixOS_GitHub> nixpkgs/staging 3c3d871 Eelco Dolstra: Merge pull request #29568 from obsidiansystems/cc-wrapper-32...
NixOS_GitHub has left #nixos []
frankqux has quit [(Quit: Leaving)]
frankqux has joined #nixos
<lejonet> Hmm, yeah, that sudo doesn't have the setuid bit is now a problem, how the hell do I test it xD
<vegai> are package settings queryable via cli tools somehow?
leat has joined #nixos
<Eisfreak7> clever: Okay that makes sense (although it may not be the most clear solution for beginners; I'd like some option to add multiple channels without having to import them myself)
proteusguy has quit [(Ping timeout: 246 seconds)]
<tilpner> Eisfreak7 - I have something like that, implemented with an overlay
<Eisfreak7> The reason I switched spotify to unstable is that I couldn't update it on stable. However, it doesn't work on stable either (couldn't fetch the deb from any mirror). Is this a problem with my config or with the package?
<Eisfreak7> tilpner: Thanks I'll check it out later
<sphalerite> vegai: does head count? :p
jcarr has quit [(Ping timeout: 248 seconds)]
<sphalerite> Eisfreak7: sounds like a package issue, maybe the version referenced in the expression has been superseded and removed
periklis has quit [(Ping timeout: 248 seconds)]
__Sander__ has quit [(Quit: Konversation terminated!)]
<taaperotassu> Normally I use dotfiles+stow to manage my setups on new computers. But are there better ways to manage it with somehow using configuration.nix? Would be cool if there are good ways to build nixos once with all configurations set.
Neo-- has joined #nixos
MichaelRaskin has joined #nixos
<tilpner> taaperotassu - Are you familiar with activation scripts?
<Eisfreak7> sphaleri: Yes it seems like the spotify repo only ever keeps the most up to date version online :/
<tilpner> Oh right, I forgot home-manager did home files too now
k2s has joined #nixos
proteusguy has joined #nixos
Neo-- has quit [(Ping timeout: 255 seconds)]
k2s has quit [(Ping timeout: 260 seconds)]
ertes-w has quit [(Ping timeout: 258 seconds)]
sellout-1 has quit [(Ping timeout: 240 seconds)]
nix-gsc-io`bot has joined #nixos
<nix-gsc-io`bot> Channel nixos-17.03-small advanced to https://github.com/NixOS/nixpkgs/commit/e43c79b616 (from 72 minutes ago, history: https://channels.nix.gsc.io/nixos-17.03-small)
nix-gsc-io`bot has quit [(Client Quit)]
jb55 has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] LnL7 closed pull request #29938: universal-ctags: include libiconv on darwin (master...universal-ctags-darwin) https://git.io/vdGcF
NixOS_GitHub has left #nixos []
nix-gsc-io`bot has joined #nixos
<nix-gsc-io`bot> Channel nixos-17.09-small advanced to https://github.com/NixOS/nixpkgs/commit/b74d171bd5 (from 79 minutes ago, history: https://channels.nix.gsc.io/nixos-17.09-small)
nix-gsc-io`bot has quit [(Client Quit)]
jcarr has joined #nixos
digitus has joined #nixos
fendor has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] lejonet opened pull request #30025: sudo and sssd: Enable sssd support in sudo and building of sudo library in sssd (master...master) https://git.io/vdc19
NixOS_GitHub has left #nixos []
<lejonet> :D
hellrazor has joined #nixos
<lejonet> Is it frown upon on doing a PR with 2 packages involved btw? Probably should've asked that before submitting one but they encapsulate one logical change imo
fendor has quit [(Ping timeout: 240 seconds)]
<clever> lejonet: if they depend on eachother, id open one pr for both
civodul has quit [(Quit: ERC (IRC client for Emacs 25.3.1))]
jcarr has quit [(Ping timeout: 248 seconds)]
<LnL> that's ok, but putting too much stuff together makes it harder to review
<bennofs> i would only split it if you expect one to be more controversial or if it does not depend on each other
<lejonet> clever: They do, and the changes in sssd is directly related to the changes in sudo, hence why I thought it was okay with both in one
<rycee> taaperotassu: A more Nixy alternative to stow is Home Manager (https://github.com/rycee/home-manager). It's my preferred solution ;-)
<lejonet> The changes in either is pointless without the changes in the other :P
erictapen has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] LnL7 pushed 4 new commits to master: https://git.io/vdcy3
<NixOS_GitHub> nixpkgs/master bfaf508 volth: far2l: unstable-2017-07-13 -> unstable-2017-09-25
<NixOS_GitHub> nixpkgs/master b200a34 volth: far2l: support darwin
<NixOS_GitHub> nixpkgs/master a67bcf9 volth: far2l: unstable-2017-09-25 -> unstable-2017-09-30
NixOS_GitHub has left #nixos []
aszlig has joined #nixos
nixer has joined #nixos
<nixer> What is the best way to put an assertion within nix module config?
<nixer> clever: Thanks, exactly what I was looking for
sigmundv__ has quit [(Ping timeout: 248 seconds)]
[0x4A6F] has joined #nixos
jb55 has quit [(Ping timeout: 248 seconds)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] jtojnar closed pull request #30005: glib-networking: 2.50.0 → 2.54.0 (staging...glib-networking) https://git.io/vdn03
NixOS_GitHub has left #nixos []
fendor has joined #nixos
hotfuzz has joined #nixos
jellowj has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] fpletz pushed 3 new commits to release-17.09: https://git.io/vdcSj
<NixOS_GitHub> nixpkgs/release-17.09 dfcdd89 Franz Pletz: vlc: add patch to fix CVE-2017-9300...
<NixOS_GitHub> nixpkgs/release-17.09 d865778 Franz Pletz: chrony: 3.1 -> 3.2...
<NixOS_GitHub> nixpkgs/release-17.09 b592012 Franz Pletz: libidn2: 2.0.3 -> 2.0.4 for multiple CVEs...
NixOS_GitHub has left #nixos []
dbmikus has joined #nixos
JagaJaga has quit [(Ping timeout: 258 seconds)]
jb55 has joined #nixos
lambdamu_ is now known as lambdamu
orivej has joined #nixos
bennofs has quit [(Ping timeout: 240 seconds)]
<taaperotassu> tilpner: Activation scripts? Never heard about them..or u mean a bash script to automate steps? and rycee it looks good but I dont see how it helps on managing huge config files.
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] fpletz pushed 8 new commits to release-17.03: https://git.io/vdcH2
<NixOS_GitHub> nixpkgs/release-17.03 fb2948c Franz Pletz: vlc: add patch to fix CVE-2017-9300...
<NixOS_GitHub> nixpkgs/release-17.03 6a6f112 Franz Pletz: chrony: 3.0 -> 3.1...
<NixOS_GitHub> nixpkgs/release-17.03 a4f22f5 Franz Pletz: chrony: 3.1 -> 3.2...
NixOS_GitHub has left #nixos []
fendor has quit [(Remote host closed the connection)]
fendor has joined #nixos
<tilpner> taaperotassu - Activation scripts run whenever you change to a new configuration. Both NixOS and home-manager use them. They are first generated from the configuration, then run by nixos-rebuild or the home-manager tool, to apply the changes
<Mic92> Activation scripts are the /etc/rc.local of nixos :)
<tilpner> taaperotassu - My own crude solution to this adds a dotfiles module to NixOS that generates scripts which link/copy files into the appropriate places in my home directory. These scripts are then called by the activation script, so all my dotfiles are re-linked every time I switch to a new generation
hellrazor has quit [(Ping timeout: 240 seconds)]
jcarr has joined #nixos
mudri has joined #nixos
<tilpner> taaperotassu - I made no attempt to proof my module against dangerous inputs, so it's fairly easy to do damage with it, if you're not careful (but all your dotfiles should be backed-up anyway). Using home-manager would be safer, but you can't use it from nixos-config/configuration.nix yet [ https://github.com/rycee/home-manager/issues/18 ]
<gchristensen> Mic92: you take that back! :)
<tilpner> taaperotassu - I guess the question here is, if you absolutely need to managed it from configuration.nix, or if using another tool would be okay too (home-manager, which I have no experience with)
<tilpner> (Sorry for that comma)
<pmade> When using NixOps to create a libvirt VM, during initial deploy it can't SSH into the new machine. It looks like it needs to SSH into a base image using a generated key pair. How can I debug this?
goibhniu has quit [(Ping timeout: 260 seconds)]
sivteck has joined #nixos
anton_ has quit [(Remote host closed the connection)]
anton_ has joined #nixos
<rycee> taaperotassu: Home Manager will typically not work very well if you want to manage large files (>100's of MiB) that change often since they will be copied to the Nix store. But typical configuration files shouldn't be a problem.
<tilpner> rycee - Do you get highlighted every time I paste a link to home-manager?
<rycee> I manage my Emacs dot files in Home Manager and they are sizable ;-)
<rycee> tilpner: Yeah, if the link contains "rycee" I'll get notified :-)
<tilpner> I assumed you made an exception for that link... it might be annoying
pie_ has joined #nixos
<rycee> Nah, it doesn't show up terribly often and sometimes I can help out.
<Eisfreak7> rycee: Can I set up home-manager in such a way, that `nixos-rebuild build-vm` also sets up the user environment?
<rycee> Eisfreak7: Unfortunately not really at the moment. I'm hoping for the NixUP work to resume soon for Home Manager to hook into.
jcarr has quit [(Ping timeout: 246 seconds)]
<tilpner> rycee - Do you have modules that are disabled/not listed in the imports of modules/default.nix?
<Eisfreak7> rycee: That PR seems somehow cursed, every few weeks there is some spike in activity to get my hopes up just to immediately die down again
bennofs has joined #nixos
mortum5 has joined #nixos
<rycee> Eisfreak7: In principle it shouldn't be too much work to get something minimal up and running though. Mainly to create a NixOS module that can use the Home Manager modules as a submodule within the `users.users.<name?>` namespace, tweak nixos-rebuild to also build the Home Manager generations, and add the HM generation switchs to the NixOS activation script.
<rycee> tilpner: Not to my knowledge, the modules should all be listed there.
<tilpner> rycee - Then wouldn't it be better to automatically pick the list up from the directories?
nwspk has quit [(Quit: Quit: *.banana *.split)]
jellowj has quit [(Ping timeout: 248 seconds)]
nwspk has joined #nixos
<rycee> tilpner: Well, in the future there might be more library code or modules may be split up a bit so I'm reluctant to do it completely manually. Besides we don't exactly have so many modules to make it a big maintenance burden ;-)
<tilpner> *"reluctant to do it completely automatically"?
erictapen has quit [(Ping timeout: 240 seconds)]
<tilpner> Yeah, it's not much of a problem, I just like having new files automatically picked up :)
<Eisfreak7> rycee: Okay thank you, maybe that'll be a good opportunity to look into the module system
jcarr has joined #nixos
nix-gsc-io`bot has joined #nixos
<nix-gsc-io`bot> Channel nixos-17.09-small advanced to https://github.com/NixOS/nixpkgs/commit/b5920128e1 (from 62 minutes ago, history: https://channels.nix.gsc.io/nixos-17.09-small)
nix-gsc-io`bot has quit [(Client Quit)]
_ris has joined #nixos
<Eisfreak7> Does anybody know what the eta for 17.09 is?
<hyper_ch> < 5y
<gchristensen> Eisfreak7: within the next couple days :)
erictapen has joined #nixos
fendor has quit [(Ping timeout: 248 seconds)]
myguidingstar has joined #nixos
<Eisfreak7> gchristensen: Nice, thanks
infinisil has joined #nixos
<myguidingstar> hi all, how do I use nix channel with NixOps?
<pmade> Can you run xorg in a NixOS container?
jcarr has quit [(Ping timeout: 248 seconds)]
josePhoenix has joined #nixos
<sphalerite> So I've finally got OSX running on my old mac again... But it's High Sierra. I seem to recall there being some issues with nix on high Sierra?
<gchristensen> it causes crashes yeah due to an macos bug
<taaperotassu> tilpner: your solution sounds like the right one to use. Only if I could find good examples to learn from. The question was not that I absolutely need to use configuration.nix for it after all. I just wanted a simple way to handle my whole system. Change a bit once a while and easy to rebuild it all.
<infinisil> myguidingstar: What problem are you having with it?
tmaekawa has joined #nixos
sigmundv__ has joined #nixos
<sphalerite> gchristensen: anywhere I can subscribe to updates on the issue?
aloiscochard has quit [(Quit: Connection closed for inactivity)]
<gchristensen> there is an issue in the nix tracker
MP2E has joined #nixos
<tilpner> taaperotassu - I will not share this version of my module, it has a really ugly hack to set permissions. Give me some time, this needed an overhaul anyway
<tilpner> taaperotassu - But if you want something *right now*, here's an old gist of a previous version of it: https://gist.github.com/tilpner/a2131b0244b21dc650e19cdb36d04577
<myguidingstar> thanks disasm
<sphalerite> wait, it freezes the OS? Hahahaha
<sphalerite> Between that and the bug I had to fight while trying to install it, I'm not entirely convinced macOS is a quality piece (collection?) of software…
<infinisil> launchd (macos' systemd) is horrible
<infinisil> while i probably have had a lot more issues with linux / week, at least i have the chance to fix them myself. No chance on macos
<sphalerite> https://en.wikipedia.org/wiki/Apple_File_System sounds like they reinvented zfs..?
<gchristensen> yeah
<sphalerite> wait no, it's not as good as zfs. "Apple File System uses checksums to ensure data integrity for metadata, but not user data"
<infinisil> And it doesn't seem to do raid
<infinisil> And no receive/send
<sphalerite> why couldn't they just use an existing, good solution…
erictapen has quit [(Ping timeout: 248 seconds)]
<infinisil> I'd think it's like a dumbed down version of ZFS, encryption seems to be better supported though
<sphalerite> I suppose in-place upgrades from HFS+ to zfs would have been harder
<infinisil> probably that's why, they can't let users have filesystem problems on iOS/macOS on migration
<sphalerite> no compression either
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] fpletz pushed 11 new commits to master: https://git.io/vdcxm
<NixOS_GitHub> nixpkgs/master 38cc4f9 Franz Pletz: ncmpc: 0.27 -> 0.28
<NixOS_GitHub> nixpkgs/master 1988f76 Franz Pletz: batman-adv: 2017.2 -> 2017.3
<NixOS_GitHub> nixpkgs/master 37521cf Franz Pletz: iproute: 4.12.0 -> 4.13.0
NixOS_GitHub has left #nixos []
<sphalerite> maybe it has better fragmentation/high-usage properties
<infinisil> I'm impressed how they're able to create a new filesystem in a few years and just migrate a filesystem automatically
<infinisil> without problems
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] fpletz pushed 11 new commits to release-17.09: https://git.io/vdcxZ
<NixOS_GitHub> nixpkgs/release-17.09 5e04a9b Franz Pletz: ncmpc: 0.27 -> 0.28...
<NixOS_GitHub> nixpkgs/release-17.09 be07e58 Franz Pletz: batman-adv: 2017.2 -> 2017.3...
<NixOS_GitHub> nixpkgs/release-17.09 39ce55c Franz Pletz: iproute: 4.12.0 -> 4.13.0...
NixOS_GitHub has left #nixos []
<infinisil> My collegue just installed High Sierra, it worked flawlessly, and he got 15GB extra space from APFS
<sphalerite> oh, but I could use nix in single-user mode?
leat has quit [(Ping timeout: 240 seconds)]
myguidingstar has quit [(Ping timeout: 260 seconds)]
kyren has joined #nixos
kyren_ has quit [(Ping timeout: 240 seconds)]
nix-gsc-io`bot has joined #nixos
[0x4A6F] has quit [(Quit: [0x4A6F])]
<nix-gsc-io`bot> Channel nixos-17.03-small advanced to https://github.com/NixOS/nixpkgs/commit/09b9f7e7c4 (from 2 hours ago, history: https://channels.nix.gsc.io/nixos-17.03-small)
nix-gsc-io`bot has quit [(Client Quit)]
jellowj has joined #nixos
hc_ has joined #nixos
leat has joined #nixos
hc has quit [(Ping timeout: 255 seconds)]
ThatDocsLady has quit [(Ping timeout: 255 seconds)]
jb55 has quit [(Quit: WeeChat 1.9)]
zarel has joined #nixos
hc_ has quit [(Ping timeout: 248 seconds)]
hc has joined #nixos
<toogley> when will the manual on the website be updated to 17.09 ?
<sphalerite> toogley: along with the official release I believe
<bennofs> is there some guide to building a raspberry pi sdcard image from a configuration.nix ?
<sphalerite> bennofs: not sure there is, but I believe the basic idea is add <nixpkgs/nixos/modules/installer/cd-dvd/sd-image-raspberrypi.nix> to the imports, then build <nixpkgs/nixos> -A config.system.build.sdImage
<toogley> bennofs: i think the wiki has a page for that
tmaekawa has quit [(Quit: tmaekawa)]
<toogley> sphalerite: do you know when that will be?
sivteck has quit [(Quit: user missing.)]
<sphalerite> toogley: in the next few days according to gchristensen
sivteck has joined #nixos
<toogley> sphalerite: ah, thanks
<gchristensen> I mean, I'd expect :)
takle has quit [(Remote host closed the connection)]
mudri has quit [(Ping timeout: 246 seconds)]
<sphalerite> huh.
<sphalerite> `tar xf nix-1.11.15.tar.xz` works just fine but xz doesn't actually exist to the point that the configure script will find it on macOS :(
<sphalerite> and there's no strace I can use to work out if tar is calling an external process for it 😢
<sphalerite> so… I need to install homebrew to build and install nix? xD
<sphalerite> or I can download the binaries. That's probably easier.
<jluttine> digikam broken on nixos-unstable channel
dieggsy has joined #nixos
lucasOfBesaid has joined #nixos
Itkovian_ has joined #nixos
Itkovian has quit [(Ping timeout: 240 seconds)]
<sphalerite> hm, nix-channel --update is saying "Unable to check <channel url>"
<sphalerite> what can I do to find out what's actually going on there?
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] romildo opened pull request #30028: tint2: 15.1 -> 15.2 (master...upd.tint2) https://git.io/vdCfE
NixOS_GitHub has left #nixos []
<elvishjerricco> Is there any documentation on installing 3rd party drivers in `configuration.nix`?
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] jensbin opened pull request #30029: citrix-receiver: 13.4.0 -> 13.7.0 (master...citrix_receiver_13.7.0) https://git.io/vdCf7
NixOS_GitHub has left #nixos []
lucasOfBesaid has quit [(Quit: Page closed)]
<sphalerite> elvishjerricco: if they're supported by nixos they'll be existing options. If they're not, you'll need to package them and stuff, and that's not simple
<elvishjerricco> Right. It’s the latter that I’m asking about
<sphalerite> You can look at a list of options in man configuration.nix or at https://nixos.org/nixos/options.html
<sphalerite> oh right
<sphalerite> depends on how their installation works
<sphalerite> It's a very case-by-case thing
<elvishjerricco> Hmm. Hoping to get this guide ported to NixOS: https://gist.github.com/roadrunner2/1289542a748d9a104e7baec6a92f9cd7
mudri has joined #nixos
<makefu> elvishjerricco: as long there is no space for this in upstream you can add this guide to https://nixos.wiki
<sphalerite> oh, this isn't nonfree software. That should make things easier
Itkovian_ has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
<elvishjerricco> Right. Was hoping to just build some C code and move some binaries into place =P But I have no idea how to do that with NixOS
<elvishjerricco> Well, the moving binaries part
<elvishjerricco> Building C stuff is easy
<sphalerite> I don't know much about how modules are built, but you'll want to take the kernel as a parameter for your package function and get the includes from there
jophish_ has joined #nixos
<sphalerite> elasticdog: pkgs/os-specific/linux/e1000e/default.nix looks like a good starting point
<sphalerite> sorry wrong highlight
<sphalerite> elvishjerricco: ^
<sphalerite> If you alter that to get the source right and add that to linuxPackagesFor in pkgs/top-level/all-packages.nix, you sohuld be able to build it
<sphalerite> if you use a nixpkgs version for your system then you should be able to add the module by putting it in boot.extraModulePackages
<sphalerite> s/a nixpkgs version/your modified nixpkgs/
<elvishjerricco> Oh cool. I think that should be a good start. I don’t think you *have* to use a custom nixpkgs. I think I see a way to do this in an overlay
<sphalerite> yeah that should be possible, but I think it might be more complicated because it's using nesting and stuff
Itkovian has joined #nixos
civodul has joined #nixos
<elvishjerricco> sphalerite: thanks for your help!
<sphalerite> np
<elvishjerricco> I will try to document the process and contribute it to the manual.
<sphalerite> awesome!
<makefu> for hardware quirks there is also https://github.com/NixOS/nixos-hardware/ tbh i am not sure if the manuals is the correct place for documenting hardware quirks
civodul has quit [(Ping timeout: 246 seconds)]
<elvishjerricco> I would not document specific hardware quirks. Merely the process for adding custom drivers
Guest55216 has quit [(Quit: Lost terminal)]
<makefu> something like this is definitly missing right now :)
<makefu> but also documentation of quirks have their place (like the wiki or nixos-hardware)
<sphalerite> elvishjerricco: oh and the other reason to do it in a nixpkgs checkout rather than an overlay is it's easier to make a PR from that ;)
koserge has quit [(Ping timeout: 248 seconds)]
deepfire has quit [(Ping timeout: 248 seconds)]
<elvishjerricco> sphalerite: haha while true, I don’t think anyone wants any of this gross, unstable random Gist code anywhere near upstream =P
<sphalerite> idk, it seems like useful stuff to have
<sphalerite> even if it's buggy, it saves duplication of effort
infinisil has quit [(Quit: WeeChat 1.9)]
<sphalerite> vaguely related, is broken a purely boolean attribute of a package or does it allow a string description of how it's broken as well? Because that would be nice
<sphalerite> also vaguely related, anyone know why hnix isn't building on 17.09? ghc's type checker doesn't seem to like it
<pbogdan> sphalerite: I believe it's because of https://github.com/jwiegley/hnix/issues/63 which made it into 17.09
takle has joined #nixos
civodul has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] bobvanderlinden opened pull request #30030: gogs: avoid creating symlinks each run (master...pr-gogs-static-root-path) https://git.io/vdCkH
NixOS_GitHub has left #nixos []
<sphalerite> pbogdan: I see, thanks
jophish_ has quit [(Ping timeout: 248 seconds)]
<sphalerite> I see it's fixed in unstable
<pbogdan> I think so - so should hopefully work with next haskell package set update (not sure how frequently those happen)
jtojnar has joined #nixos
chris| has quit [(Quit: Quit)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] dtzWill opened pull request #30031: leo-editor: 5.5 -> 5.6, add docutils and use pyqt56 (master...update/leo-5.6) https://git.io/vdCI5
NixOS_GitHub has left #nixos []
jophish_ has joined #nixos
chris| has joined #nixos
jtojnar has quit [(Read error: Connection reset by peer)]
kyren has quit [(Ping timeout: 240 seconds)]
kyren has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] dtzWill opened pull request #30032: pyqt,sip: 5.8.1 -> 5.9, 4.19.1 -> 4.19.3 (master...update/pyqt-sip) https://git.io/vdCLV
NixOS_GitHub has left #nixos []
<sphalerite> https://github.com/lheckemann/nix-prefetch whoopee! usage: `nix-prefetch nixos nixpkgs [branch/tag/other ref]`
<sphalerite> (constructive) comments on the awfulness of my haskell welcome!
sivteck has quit [(Quit: user missing.)]
takle has quit [(Remote host closed the connection)]
sirkha has joined #nixos
ertes has joined #nixos
<sirkha> hi, all, i have been having some issues with icons and I noticed that the hicolor-icon-theme folder in the nix store is completely empty, this doesn't seem normal, did i do something wrong?
<sphalerite> sirkha: not sure about this issue in particular, but you're a lot more likely to get help if you stick around for a few hours (or even days!) rather than a few minutes like the past few times you've asked questions
silver_hook has quit [(Quit: Konversation terminated!)]
silver_hook has joined #nixos
<sirkha> last time i had a question i (finally figured it out myself, and then had to restart and didn't log right back in (deciding on and installing a real irc client is on my list of things to do))
<sirkha> https://gist.github.com/anonymous/5c6ed8c0fc0ab4ac70443a0de9e02620 output of ls -lR /nix/store/rbqz1aq4vp6sg1ig7i9c0j5m2m4l5xps-hicolor-icon-theme-0.15/share/icons/
oida has joined #nixos
<samueldr> I believe it is normal
oida_ has quit [(Ping timeout: 258 seconds)]
<samueldr> look at the package contents in archlinux's package
nix-gsc-io`bot has joined #nixos
<nix-gsc-io`bot> Channel nixos-17.03 advanced to https://github.com/NixOS/nixpkgs/commit/55bef6e401 (from 2 days ago, history: https://channels.nix.gsc.io/nixos-17.03)
nix-gsc-io`bot has quit [(Client Quit)]
<MichaelRaskin> hmh
<samueldr> it is described as the fallback theme
takle has joined #nixos
<samueldr> > In order to have a place for third party applications to install their icons there should always exist a theme called "hicolor"
<samueldr> it is designed to be empty
<bennofs> do we still have the weekly security issues btw?
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] benley opened pull request #30035: nixos: minor X11 option description improvements (master...x11-options) https://git.io/vdCmF
NixOS_GitHub has left #nixos []
<sirkha> samueldr: thanks, I guess I didn't understand what fallback theme meant
<samueldr> yeah, it's a bit counter-intuitive
<samueldr> it's a fallback location
<samueldr> where anything conforming to the spec has to look last
takle_ has joined #nixos
<MichaelRaskin> bennofs: apparently, that process has got stuck
<bennofs> i wonder if we have updated dnsmasq versions? there appear to be several CVEs fixed in the latest version
JosW has quit [(Quit: Konversation terminated!)]
BFrank has joined #nixos
takle has quit [(Ping timeout: 248 seconds)]
jcarr has joined #nixos
jellowj has quit [(Ping timeout: 258 seconds)]
<bennofs> ah, seems like fpletz already took care of it
jellowj has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] bjornfor closed pull request #24577: gqrx: 2.5.3 -> 2.6.1 (master...gqrx) https://git.io/vS8YZ
NixOS_GitHub has left #nixos []
<fpletz> bennofs: unfortunately we don't have automation for security updates anymore
<fpletz> bennofs: the security team is monitoring the all relevant channels and makes updates if needed
<bennofs> fpletz: what happened to the announcements mailing list?
<fpletz> there are some CVEs where even debian doesn't issue security updates, like simple DoS issues
<fpletz> bennofs: same, no automation and I don't want to send out mails manually
eacameron has quit [(Read error: Connection reset by peer)]
eacameron has joined #nixos
<bennofs> hmm ok. is it possible to build automation? what sources would that automation need to take into account?
<bennofs> or are the sources too diverse for automation?
<fpletz> it is possible but it is a complex task. also some manual work that can't really be automated is involved. all big distributions have their own systems for that
<fpletz> I'm always looking at what other distributions are patching and check if we're vulnerable
Sonarpulse has quit [(Ping timeout: 255 seconds)]
<fpletz> as I don't get paid for that work that's as much as I can currently accomplish \o/
<bennofs> are the tools of the other distributions not open? perhaps we could reuse them
<fpletz> and actually we're not that bad when it comes to timely patching of security issues :)
<fpletz> they are, but all are tailored to the respective distribution
<fpletz> most of them are very hacky :/
<fpletz> or heavily integrated in other software like specific bugtrackers
<fpletz> but gchristensen has probably more to tell about all that stuff because he developed our initial automation scripts :)
<bennofs> hmm. i am planning to setup a raspberry pi with NixOS and I worry a little that I will forgot to apply updates regularly unless there is some sort of notification :)
<fpletz> you should just automate updates :)
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] alicebob opened pull request #30036: add qtbase's bin path to phatomjs2 (master...phantomjs2) https://git.io/vdCs2
NixOS_GitHub has left #nixos []
nix-gsc-io`bot has joined #nixos
<nix-gsc-io`bot> Channel nixos-17.03 advanced to https://github.com/NixOS/nixpkgs/commit/e43c79b616 (from 6 hours ago, history: https://channels.nix.gsc.io/nixos-17.03)
nix-gsc-io`bot has quit [(Client Quit)]
<BFrank> hi, has anyone attempted compiling arcan and durden for nixos?
<boxofrox> do system profiles keep a copy of the configuration.nix used to generate them?
<bennofs> boxofrox: no, but there is an option to enable that
grw has quit [(Ping timeout: 240 seconds)]
<boxofrox> bennofs: tyvm
mattcode has quit [(Quit: Leaving)]
bennofs has quit [(Quit: WeeChat 1.9.1)]
Bane^ has joined #nixos
nix-gsc-io`bot has joined #nixos
<nix-gsc-io`bot> Channel nixos-17.09 advanced to https://github.com/NixOS/nixpkgs/commit/07ca7b64d2 (from 8 hours ago, history: https://channels.nix.gsc.io/nixos-17.09)
nix-gsc-io`bot has quit [(Client Quit)]
isidore has joined #nixos
<grahamc> also bennofs the problem is lots of the work is human and not easy to automate. That said there is another thing I want to try for sure.
simukis has quit [(Quit: simukis)]
Sonarpulse has joined #nixos
civodul has quit [(Quit: ERC (IRC client for Emacs 25.3.1))]
katyucha has quit [(Ping timeout: 258 seconds)]
nix-gsc-io`bot has joined #nixos
<nix-gsc-io`bot> Channel nixos-17.09-small advanced to https://github.com/NixOS/nixpkgs/commit/5c80ad9ad8 (from 3 hours ago, history: https://channels.nix.gsc.io/nixos-17.09-small)
nix-gsc-io`bot has quit [(Client Quit)]
zraexy has joined #nixos
cement has quit [(Ping timeout: 258 seconds)]
_ris has quit [(Ping timeout: 240 seconds)]
Itkovian has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
isidore has quit [(Quit: WeeChat 1.9.1)]
_ris has joined #nixos
dieggsy has quit [(Remote host closed the connection)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] leenaars opened pull request #30037: poppler: add nss to allow for building pdfsig (master...pdfsig) https://git.io/vdCCn
NixOS_GitHub has left #nixos []
hiratara has quit [(Ping timeout: 246 seconds)]
dieggsy has joined #nixos
muffins_Madcat has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] orivej closed pull request #30030: gogs: avoid creating symlinks each run (master...pr-gogs-static-root-path) https://git.io/vdCkH
NixOS_GitHub has left #nixos []
hiratara has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] orivej closed pull request #30036: phantomjs2: add qtbase's bin to PATH (master...phantomjs2) https://git.io/vdCs2
NixOS_GitHub has left #nixos []
iqubic has joined #nixos
dieggsy` has joined #nixos
<iqubic> So, I want to add a few packages from the unstable channel of Nixpkgs into my 17.03 version of NixOS
<iqubic> How can I go about doing that?
dieggsy` has quit [(Remote host closed the connection)]
dieggsy has quit [(Ping timeout: 258 seconds)]
<tilpner> Can submodules not have assertions?
<tilpner> iqubic - Globally, or per-user?
<iqubic> Globally.
<tilpner> Do you already have an unstable channel setup via nix-channel?
<tilpner> (nix-channel --list)
<iqubic> Nope.
<iqubic> In fact that command returns nothing for me.
<tilpner> Run it with sudo?
<LnL> tilpner: submodules have their own scope, so you would have to propagate it
<tilpner> LnL - I don't understand why that means they can't have assertions :/
<iqubic> tilpner: I only have the 17.03 channel set-up.
bennofs has joined #nixos
<LnL> the assertions is just another option
<tilpner> iqubic - Then you need to download the unstable channel before you can use it. Do you want it to automatically stay up-to-date at the cost of having to re-fetch every few users, or do you want to pin the exact revision?
<iqubic> I'd like to stay up to date if possible. I am fine with the costs.
<tilpner> LnL - Oh, I thought they were a module construct, at the same level as config/options, but that explains why the examples use config.assertions instead of a toplevel assertions. Thank you! :)
<tilpner> iqubic - For that, you can use fetchTarball to fetch from GitHub, or nix-channel (which will then update on "nix-channel --update" and "nixos-rebuild --upgrade")
<iqubic> tilpner: do you mean uses and not users?
<tilpner> Yes
<iqubic> tilpner: can you help me get that running?
<tilpner> Which one?
<iqubic> the fetchTarball method.
<iqubic> I'd like to get that method working.
bennofs has quit [(Client Quit)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] jbaum98 opened pull request #30038: splint: Add darwin support (master...splint-darwin) https://git.io/vdClQ
NixOS_GitHub has left #nixos []
<tilpner> iqubic - let unstable = import (fetchTarball https://nixos.org/channels/nixos-unstable/nixexprs.tar.xz) {}; in unstable.hello
<tilpner> This fetches and imports nixos-unstable, then gives you the hello package from it
<iqubic> Are there any other ways to get packages from unstable?
<tilpner> Yes. Is this not suitable?
<iqubic> How screwed up would m system be if I switched to full unstable?
<tilpner> Not very
<iqubic> tilpner: I just want to explore all my options.
<MP2E> not very, i'm usually running that or worse yet, nixpkgs git master (after a lengthy rebuild)
<tilpner> This was just the shortest way, by no means the prettiest
<iqubic> tilpner: I think I'd like to fully switch to the unstable branch
<MP2E> not a bad idea imo
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] florianjacob opened pull request #30039: mariadb: 10.1.26 -> 10.1.28 (master...mariadb-10.1.28) https://git.io/vdC8k
NixOS_GitHub has left #nixos []
<tilpner> iqubic - Note that mixing channels work very well, so you can run your base system on 17.09, and pull your tools/applications from unstable easily
<iqubic> tilpner: I want to just migrate to the unstable branch. I want all unstable packages.
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] LnL7 pushed 2 new commits to master: https://git.io/vdC8W
<NixOS_GitHub> nixpkgs/master 6c189c9 Daiderd Jordan: oniguruma: fix darwin install_name
<NixOS_GitHub> nixpkgs/master 2066cb0 Daiderd Jordan: jq: don't add rpath on darwin
NixOS_GitHub has left #nixos []
Khetzal has quit [(Ping timeout: 240 seconds)]
<iqubic> It can't be that bad to be bleeding edge, can it?
<tilpner> You can get all unstable packages like this too. By switching you *only* get unstable packages
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] LnL7 pushed 2 new commits to release-17.09: https://git.io/vdC80
<NixOS_GitHub> nixpkgs/release-17.09 d9cb50e volth: far2l: unstable-2017-07-13 -> unstable-2017-09-25...
<NixOS_GitHub> nixpkgs/release-17.09 933564e volth: far2l: support darwin...
NixOS_GitHub has left #nixos []
<tilpner> No, it's not bad, but it's also not optimal
<tilpner> (Of course your priorities may be different than mine, so your optimal could be pure-unstable)
<iqubic> tilpner: I don't want that then.
<iqubic> But what I want is to switch from 17.03 to 17.09
<tilpner> That's good, just remove your old channel, add the new one, then rebuild
<iqubic> How do I remove one channel and add anther?
<tilpner> sudo nix-channel --remove <name>
<iqubic> I don't know much about nix channels
<clever> iqubic: "man nix-channel" and "nix-channel --remove"
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] LnL7 pushed 2 new commits to release-17.09: https://git.io/vdC8M
<NixOS_GitHub> nixpkgs/release-17.09 a992f44 Daiderd Jordan: oniguruma: fix darwin install_name...
<NixOS_GitHub> nixpkgs/release-17.09 d0f0657 Daiderd Jordan: jq: don't add rpath on darwin...
NixOS_GitHub has left #nixos []
<iqubic> Thanks clever.
<tilpner> sudo nix-channel --add https://nixos.org/channels/nixos-17.09 <name>
oida_ has joined #nixos
<tilpner> sudo nix-channel --update <name>
<iqubic> What does the name parameter do?
<clever> allow you to refer to a channel as nix-env -iA <name>.hello
<clever> nixos-rebuild will use the channel called nixos
<mpickering> I have had to package a few libraries to build something else, does everything get added into nixpkgs or is there some relevance criteria?
<iqubic> So I should name this channel nixos to be consistent?
<clever> iqubic: yeah
<iqubic> Cool.
<iqubic> And I can add the unstable channel under a different name?
<clever> iqubic: yeah
oida has quit [(Ping timeout: 240 seconds)]
<iqubic> And will I be able to reference the unstable channel from configuration.nix?
<clever> as <unstable>
jcarr has quit [(Ping timeout: 258 seconds)]
<iqubic> So I can write pkgs.<unstable>.<packageName>?
<iqubic> And nix will understand that?
<clever> no
<clever> (import <unstable> {}).packageName
<clever> or let unstable = import <unstable> {};
<iqubic> Oh, that stinks.
<iqubic> It's a bit more verbose than I like.
<tilpner> But with an overlay you can easily get pkgs.unstable.<packageName>
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] sorokin opened pull request #30040: dnsmasq: 2.77->2.78 (master...dnsmasq-2.78) https://git.io/vdC4w
NixOS_GitHub has left #nixos []
<iqubic> How can I use overlays?
hiratara has quit [(Quit: ZNC - http://znc.in)]
<iqubic> Or is that a can of worms I don't want to open on day 4 of using NixOS?
hiratara has joined #nixos
<clever> i havent played with overlays yet
<iqubic> Oh, I see.
<tilpner> It's not supposed to be hard, but a bunch of people had trouble installing/using them
dbmikus has quit [(Ping timeout: 258 seconds)]
<MP2E> i tried overlays for like 5 mins and went back to just overriding things in my ~/.nixpkgs/config.nix. Not to say they were bad, just that I already have a system that works
<MP2E> i'll look into them again heh
<tilpner> No, they're great!
<iqubic> Of the three manuals that exist, that is the only one I have not read.
<iqubic> Should I read that manual?
<tilpner> You don't have to read all of it, just that part. For now...
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] rycee pushed 1 new commit to master: https://git.io/vdCBv
<NixOS_GitHub> nixpkgs/master 796b3a2 Stuart Moss: eclipse-plugin-vrapper: init at 0.72.0
NixOS_GitHub has left #nixos []
<iqubic> I passed up that manual because I don't develop Nix Pkgs
<tilpner> If you only care for pkgs.unstable, you can use packageOverrides, which require even less setup
<tilpner> (But try overlays, they're the newer and more extensible alternative to packageOverrides)
<iqubic> The only overlay I think I'd need is unstable.
<clever> nixpkgs.config.packageOverrides = pkgs: { unstable = import <unstable> {}; };
<clever> package overrides (and overlays) can just add any attribute you want to pkgs
<clever> and they could be other package sets
<iqubic> What is the difference between overlays and channels?
<clever> overlays allow you to specify several sets of package overrides, and nixpkgs will merge all of them together
<tilpner> iqubic - How would you know, you just learned what they are?
bfrog_ is now known as bitgeni
<iqubic> I wouldn't. Hence why I asked.
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] rycee closed pull request #29948: eclipse-plugin-vrapper: init at 0.72.0 (master...new-eclipse-plugin-vrapper) https://git.io/vdGjn
NixOS_GitHub has left #nixos []
zarel has quit [(Quit: Leaving)]
<tilpner> No, I was referring to you only needing one, ever
<tilpner> You might only ever need to define one yourself, but you can't use overlays provided by other people (like the Mozilla overlay) that way
<iqubic> What are you suggesting that I do tilpner?
mortum5 has quit [(Ping timeout: 258 seconds)]
MP2E has quit [(Quit: be back in a bit)]
<iqubic> tilpner: ^^^
<tilpner> I already suggested you try using an overlay until you either get that working or become frustrated, at which point you go with the line clever provided
<iqubic> Alright then, I will try that.
<tilpner> The overlay could look like "_: _: { unstable = import <unstable> {}; }"
<tilpner> Where each "_" is an ignored argument. The conventional names are self and super
Mateon2 has quit [(Ping timeout: 248 seconds)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] bricewge opened pull request #30041: git-crypt: patch don't hard code path to git-crypt (master...patch-2) https://git.io/vdCRZ
NixOS_GitHub has left #nixos []
jophish_ has quit [(Ping timeout: 240 seconds)]
nix-gsc-io`bot has joined #nixos
Mateon1 has joined #nixos
<nix-gsc-io`bot> Channel nixos-17.03 advanced to https://github.com/NixOS/nixpkgs/commit/09b9f7e7c4 (from 6 hours ago, history: https://channels.nix.gsc.io/nixos-17.03)
nix-gsc-io`bot has quit [(Client Quit)]
ryanartecona has joined #nixos
iqubic has quit [(Ping timeout: 260 seconds)]
iqubic has joined #nixos
<iqubic> Well, my shell config is not working at all.
ryanartecona has quit [(Quit: ryanartecona)]
<iqubic> Actually, I take that back, it works well
ebzzry has joined #nixos
bitgeni has quit [(Quit: WeeChat 1.9.1)]
<iqubic> Or actually, it might not be working properly.
<iqubic> Is there a way to tell what shell I'm using?
b123400 has joined #nixos
dieggsy has joined #nixos
<tilpner> echo $0
<iqubic> Looks like my shell has not been set properly.
muffins_Madcat has quit [(Remote host closed the connection)]
b123400 has quit [(Client Quit)]
nix-gsc-io`bot has joined #nixos
<nix-gsc-io`bot> Channel nixos-17.09-small advanced to https://github.com/NixOS/nixpkgs/commit/933564eb53 (from 46 minutes ago, history: https://channels.nix.gsc.io/nixos-17.09-small)
nix-gsc-io`bot has quit [(Client Quit)]
digitus has quit [(Quit: digitus)]
<iqubic> Looks like the fish shell is only being used if I am logged in as root.
<iqubic> Why the hell is that?
<tilpner> No way to tell without config
jcarr has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] jonafato opened pull request #30042: Update keepassx-community to 2.2.1 (master...keepassx-community-2.2.1) https://git.io/vdCEV
NixOS_GitHub has left #nixos []
Khetzal has joined #nixos
<iqubic> That's my current configuration.nix
<tilpner> Did you logout inbetween?
<iqubic> Do I have to?
<iqubic> Is that why this isn't working?
<iqubic> If that's the solution, then I feel like an ass.
iqubic has left #nixos ["relogging BRB"]
iqubic has joined #nixos
<iqubic> Well, I feel like an ass.
<tilpner> iqubic - You were actually logging in as root, which is why root had the right shell. Yes, you generally need a fresh login for user/group changes to apply, but that's not specific to NixOS
<iqubic> I know.
sigmundv__ has quit [(Ping timeout: 255 seconds)]
Wizek__ has quit [(Ping timeout: 264 seconds)]
<iqubic> tilpner: When you log in through your display manager which DE/WM manager do you select?
<iqubic> I have three options: "none + xmonad", "xterm", and "xterm + xmonad"
<tilpner> I don't pay much attention to it, there's only one option. It's either i3+none or none+i3
<iqubic> I guess I'll have to wait until infinisil is online to ask him my question then.
<tilpner> xmonad related?
<iqubic> I think so.
<tilpner> You can get rid of those xterm options by disabling xterm
<iqubic> I know.
<tilpner> Why didn't you do it?
<tilpner> services.xserver.desktopManager.xterm.enable = false;, that is
<iqubic> I don't want to do that because selecting "none + xmonad" drops me into a state where the screen is black save for a small white rectangle in the upper left corner.
<iqubic> I have no control over the mouse and none of the xmonad default bindings work at all.
<tilpner> And the other options don't? O.o
<tilpner> That's weird
<iqubic> Well, the other options launch an xterm, and that seems to make everything magically work.
<iqubic> Also, xdg-open is rather slow when it comes to opening a web browser.
<tilpner> Try putting xterm into your systemPackages
<iqubic> But that's a separate issue.
<iqubic> tilpner: I'll try that.
<tilpner> That's the only meaningful thing services.xserver.desktopManager.xterm.enable does
<tilpner> (Although I don't know how those compose xterm+xmonad sessions are generated)
<iqubic> Oh.
<tilpner> *composite
<iqubic> I'm not sure either.
erasmas has quit [(Quit: leaving)]
<iqubic> But it seems kinda silly to have xterm in my systemPackages, and set services.xserver.desktopManager.xterm.enable to false.
<iqubic> Also: services.xserver.desktopManager.xterm.enable = true is in my config already, so...
<tilpner> I don't think it's silly
<iqubic> Why not?
<tilpner> Things aren't silly by default, and there's no other way to use xterm while removing those unneeded sessions
<iqubic> I see.
cpennington has joined #nixos
silver_hook has quit [(Ping timeout: 260 seconds)]
<iqubic> Now do you know why xdg-open be slow when opening a website in google-chrome-stable?
<tilpner> No idea. It's sometimes fast with Firefox, and sometimes takes seconds
<gchristensen> bennofs[m]: maybe you'd like my impending nixos firehose where you can subscribe to channel updates
<tilpner> Your... what? O.o
<gchristensen> a message bus you can subscribe to and receive realtime messages of nixos events
<gchristensen> (programmatically)
<tilpner> Oh, that would solve your polling issues
<gchristensen> :)
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] orivej pushed 3 new commits to master: https://git.io/vdCgY
<NixOS_GitHub> nixpkgs/master 66a362d José Romildo Malaquias: tint2: 15.1 -> 15.2
<NixOS_GitHub> nixpkgs/master 0a37d94 José Romildo Malaquias: tint2: limit platforms to Linux since macOS is not supported and fails the tests
<NixOS_GitHub> nixpkgs/master 3ddefca Orivej Desh: Merge pull request #30028 from romildo/upd.tint2...
NixOS_GitHub has left #nixos []
oida has joined #nixos
vandenoever has quit [(Ping timeout: 260 seconds)]
oida_ has quit [(Ping timeout: 260 seconds)]
markus1199 has joined #nixos
<iqubic> Is there a way to explicitly set the BROWSER variable in configuration.nix?
<tilpner> environment.sessionVariables.BROWSER = ...;
markus1189 has quit [(Ping timeout: 264 seconds)]
_ris has quit [(Ping timeout: 248 seconds)]