NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] taku0 opened pull request #29912: firefox-bin: 55.0.3 -> 56.0 (master...firefox-bin-56.0) https://git.io/vd30q
NixOS_GitHub has left #nixos []
predator217 has quit [(Ping timeout: 260 seconds)]
sigmundv has quit [(Ping timeout: 248 seconds)]
ivanovs-4 has joined #nixos
<boxofrox> i'm running nixos 17.03 on a vm. I ran `su -c "usermod -aG wheel,adm,systemd-journal boxofrox` and after using the system for an hour or so, I find my group assignments have disappeared... while I'm logged in. /etc/group shows zero occurances of user boxofrox. anyone know why?
<tilpner> Have you activated a new configuration in the meantime?
<tilpner> (nixos-rebuild would do it)
<boxofrox> no, i haven't run nixos-rebuild in that time.
<boxofrox> been tinking with database replication.
<tilpner> Then I don't know why, but you should do that modification in your nixos-config, if possible
oida has quit [(Quit: WeeChat 1.9)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] fpletz pushed 1 new commit to master: https://git.io/vd30P
<NixOS_GitHub> nixpkgs/master 538b016 Franz Pletz: pythonPackages.pyalgotrade: incompatible with python3
NixOS_GitHub has left #nixos []
<ivanovs-4> i have NixOps 1.5.1. There are two machines in the network. Virtualization is libvirtd. Documentation says that NixOps generates a /etc/hosts file that contains entries for all the logical machines in the network. But in my /etc/hosts is only localhost.
<boxofrox> hmm.. for some reason I thought nixos would leave /etc/groups alone if `users.mutableUsers` was false.
<tilpner> It can't leave it completely alone, otherwise how would it apply group changes specified in the config?
<tilpner> It might not wipe your manual modifications, but I don't know the specifics
<gchristensen> ivanovs-4: on the 2 machines, not the controlling / deploy machine
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] fpletz pushed 2 new commits to release-17.09: https://git.io/vd30d
<NixOS_GitHub> nixpkgs/release-17.09 d9298e3 Franz Pletz: openmodelica: mark as broken, unmaintained
<NixOS_GitHub> nixpkgs/release-17.09 90c8b6e Franz Pletz: pythonPackages.pyalgotrade: incompatible with python3...
NixOS_GitHub has left #nixos []
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] fpletz pushed 1 new commit to master: https://git.io/vd30F
<NixOS_GitHub> nixpkgs/master e68e149 Franz Pletz: pythonPackages.pyalgotrade: fix typo
NixOS_GitHub has left #nixos []
<ivanovs-4> gchristensen: both machines is virtual, and is defined in network.nix
<gchristensen> ivanovs-4: the two virtual machines will have host entries on themselves
<ivanovs-4> yes
<boxofrox> tilpner: description for `users.mutableUsers` says I can add users and groups and the file is merged with contents generated from configuration.nix. it reads like you say, manual changes will be overwritten.
<boxofrox> i just find it so wierd that i lost group privileges in the middle of a shell session. usually I have to logout/login or newgrp to modify my list of groups.
<ivanovs-4> each of virtual machine have only its own localhost entry in /etc/hosts
<gchristensen> boxofrox: uhh yeah that is wrong :/
<gchristensen> boxofrox: shells don't reload group perms during a run
<boxofrox> i can't find any other way to describe it. i am using ssh (maybe it dropped and automatically reconnected, it normally doesn't autoreconnect for me). but going back through my shell history, I changed my groups, exit, ssh back in, screw around with my database for a few hours, and then sudo stops working.
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] fpletz pushed 2 new commits to release-17.09: https://git.io/vd3EZ
<NixOS_GitHub> nixpkgs/release-17.09 5b09ca0 Franz Pletz: gplates: mark as broken
<NixOS_GitHub> nixpkgs/release-17.09 4beb7d1 Franz Pletz: djbdns: don't try to build on hydra
NixOS_GitHub has left #nixos []
<boxofrox> i'll chalk it up to wierd and see if it happens again.
mudri has quit [(Ping timeout: 240 seconds)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] fpletz closed pull request #29912: firefox-bin: 55.0.3 -> 56.0 (master...firefox-bin-56.0) https://git.io/vd30q
NixOS_GitHub has left #nixos []
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] fpletz pushed 2 new commits to master: https://git.io/vd3Ez
<NixOS_GitHub> nixpkgs/master ee6b48c WilliButz: spotify: 1.0.49.125.g72ee7853-111 -> 1.0.64.401.g9d720389-21
<NixOS_GitHub> nixpkgs/master 7d7c8cd Franz Pletz: Merge pull request #29901 from WilliButz/packageUpdates...
NixOS_GitHub has left #nixos []
infinisil has quit [(Quit: WeeChat 1.9)]
endformationage has quit [(Ping timeout: 248 seconds)]
mizu_no_oto has quit [(Quit: Computer has gone to sleep.)]
<boxofrox> alright, i concede. the shell can't reload groups and didn't. i did run `nixos-rebuild` after using `usermod`. the order was reversed in my memory and i missed it rereading my shell history. thanks for setting me straight!
_ris has quit [(Ping timeout: 240 seconds)]
pxc has joined #nixos
Wizek_ has quit [(Ping timeout: 248 seconds)]
<disasm> boxofrox: if mutableUsers is false, you don't want to alter users at all using system utilities. if you want to do that, set it to true.
pxc has quit [(Ping timeout: 240 seconds)]
<disasm> also, if you accidentally set it to false and you don't have your password hashes set in configuration.nix all your user passwords are no longer set.
pxc has joined #nixos
<boxofrox> disasm: i did not set mutableUsers, so it should be the default of true. I suspect mutableUsers=true only works for new users and groups, existing "system-configured" entries seem to be overwritten upon nixos-rebuild (e.g. the wheel group in /etc/group). I've added the extraGroups as tilpner suggested and my groups are restored. i've had password hashes since I first installed nixos and it was then I
<boxofrox> learned about mutableUsers with respect to setting/changing passwords manually. i erroneously thought the behavior extended to `usermod -aG`.
sellout- has quit [(Quit: Leaving.)]
pie_ has quit [(Ping timeout: 248 seconds)]
dieggsy has quit [(Remote host closed the connection)]
<gchristensen> hot dog
<gchristensen> NixOS is at 620 members
<boxofrox> congrats \o/
<gchristensen> up from 350 early 2016
<gchristensen> kmicu: yuno make these announcements anymore
<iqubic> What package provides the ACPI command?
zeus_ has quit [(Read error: Connection reset by peer)]
zeus_ has joined #nixos
<disasm> boxofrox: ah, I was just commenting on your comment above "for some reason I thought nixos would leave /etc/groups alone if `users.mutableUsers` was false" -- I think you meant true there.
superherointj has joined #nixos
<superherointj> Hello.
<disasm> welcome!
<boxofrox> disasm: doh, yes, i meant to say true. :D
<superherointj> Today I use Ubuntu, and I hate the way I screw my OS everytime I install a new package from a unknown PPA.
<superherointj> Can I replace a Desktop Ubuntu with NixOS?
<gchristensen> yes!
<superherointj> Or is it supposed to be used only in servers?
<disasm> superherointj: you've come to the right place :)
<disasm> superherointj: it makes a GREAT desktop/laptop OS. I run it on my macbook.
<superherointj> Oh great! :D
<superherointj> Do you do Dual Boot? I've got a Macbook too.
<gchristensen> I dual boot on my macbook, but have a minimally sized osx partition just for firmware updates
<disasm> superherointj: yeah, but I boot into OSX maybe once every other month
<boxofrox> iqubic: not sure, i suspect if `acpi` doesn't, then `acpitool` will.
<gchristensen> acpitool has it :)
<gchristensen> good catch, boxofrox
<disasm> gchristensen: genius! :)
<gchristensen> :)
<gchristensen> boxofrox, iqubic https://nixos.org/nixos/packages.html
<boxofrox> that's how i found acpitool :D does it list files in the package, too?
<superherointj> Heh! I like here already. People are talking! :D
<gchristensen> no :(
<gchristensen> superherointj: #nixos is typically a very friendly, polite, and supportive community :)
<disasm> gchristensen: how big is your EFI boot partition on your mac?
<gchristensen> oh uh
<gchristensen> I don't know :) it isn't nearby, but probably <1G?
<gchristensen> probably like 200m
globin has quit [(Ping timeout: 258 seconds)]
<disasm> gchristensen: do you just garbage collect frequently? mine is 200 MB as well and I keep running out of disk :)
<boxofrox> i had 200mb for EFI on a Asus Zenbook. worked well for one kernel, two initramfs, and refind, beyond that it was too small.
<gchristensen> that one yeah, I do
<gchristensen> my current laptop is 500M and fits nicely
<disasm> probly need to wipe out osx and reinstall to increase mine to 500M :(
globin has joined #nixos
<gchristensen> superherointj: I thought nixos was crazy and like it wasn't going to work and was unpleasant like most linuxes on the desktop, but I tried it in a VM on a thursday and then the following saturday erased my macbook to switch to nixos
<gchristensen> and have been in love ever since
<superherointj> I plan having it in parallel. Not replacing Ubuntu, nor Windows.
<iqubic> boxofrox: My Asus Zenbook is dying slowly but surely.
<superherointj> I just need to learn how I can do so. I have 512GB disk splitted between win/ubuntu 256GB each. :-)
Arcaelyx has joined #nixos
<boxofrox> iqubic: yea, my fans are about gone. i lost the 30gb embedded flash drive twice on it. luckily i get by with a SSD in the sata slot.
Arcaelyx_ has quit [(Ping timeout: 264 seconds)]
<iqubic> See I have an earlier model that came without fans or anything fancy
<iqubic> UX305F it is
nix-gsc-io`bot has joined #nixos
<nix-gsc-io`bot> Channel nixos-17.09-small advanced to https://github.com/NixOS/nixpkgs/commit/4b5cc4e808 (from 2 hours ago, history: https://channels.nix.gsc.io/nixos-17.09-small)
nix-gsc-io`bot has quit [(Client Quit)]
<boxofrox> iqubic: really? my Zenbook is first gen. UX32VD. has discrete nvidia graphics though. might be why I have the fans.
<disasm> superherointj: are you up for reinstalling ubuntu?
<superherointj> Is it necessary?
<superherointj> I which I could keep my current instalation.
<superherointj> *wish
<superherointj> I am fine about installing a new OS.
<superherointj> But I don't want to lose what I have already.
<superherointj> That would be a lot of trouble.
<boxofrox> you could tarball your ubuntu installation onto a backup drive, repartition, mkfs, then `tar -x` onto its new home.
<gchristensen> superherointj: do you have a backup of important files?
<superherointj> I don't have back-ups.
<gchristensen> superherointj: it is always good to backup before trying things like this
<gchristensen> _just in case_ :)
mbrgm has quit [(Ping timeout: 252 seconds)]
<superherointj> It would be easy to back-up what I got here. I'd need another disk. My idea was just to resize Ubuntu partition, free space, and install NixOS on the free space.
<superherointj> *wouldn't
<superherointj> Sorry, I am sleep deprived right now. My mind is making mistakes. lol
<disasm> gchristensen: can I just garbage collect kernels/initrd or is it safe to manually remove some of the older ones from /boot?
<superherointj> I'll only install Nix tomorrow morning.
<boxofrox> meh, my brain thinks one thing and my fingers type the opposite.
mbrgm has joined #nixos
<disasm> superherointj: what filesystem is ubuntu?
<gchristensen> disasm: I wouldn't ... are you out of space?
<superherointj> Ext4
<gchristensen> in boot
<iqubic> How does one configure specific packages?
<superherointj> fat32
<iqubic> As in, I want to use Chrome/Chromium, but I also want to be able to watch netflix.
<superherointj> Grub is Fat32 I think. Not sure. I don't know much about it.
<superherointj> I can show you a screenshot.
<boxofrox> iqubic: you mean like set options (e.g. https://nixos.org/nixos/options.html#caddy) or override the nix pkg?
<gchristensen> iqubic: are you ok with google chrome?
<gchristensen> iqubic: if yes, use the google-chrome package and run google-chrome-stable and you can watch netflix (it is what I do)
jellowj has quit [(Ping timeout: 240 seconds)]
jsgrant has quit [(Quit: jsgrant)]
<iqubic> gchristensen: fine with Chrome.
jsgrant has joined #nixos
<iqubic> boxofrox: No, I meant something like programs.chromium.xxx.xyz
jellowj has joined #nixos
<boxofrox> same here, i only ever had netflix working on chromium with pipelight, but that is discontinued, so i switch to google-chrome.
<iqubic> boxofrox: Do the chromium options apply to chrome?
ryanartecona has quit [(Quit: ryanartecona)]
<gchristensen> no need to specify options
<disasm> gchristensen: yeah, rebuild switch --upgrade failed cause it ran out of space in /boot
<gchristensen> disasm: nix-collect-garbage some and then nixos-rebuild switch
<gchristensen> disasm: note: nixos-rebuild switch is what clears space in /boot
<iqubic> Also, do people prefer installing packages by listing them in configuration.nix, or with nix-env?
<gchristensen> configuration.nix
<superherointj> disasm, Gpart screenshot: http://i64.tinypic.com/2ihqlhl.png
<iqubic> What if you want to install a program for just one user?
<boxofrox> iqubic: no, I doubt chromium options would work with chrome, but like gchristensen said, installing google-chrome should work out of the box.
<gchristensen> iqubic: do you really have multiple users?
<iqubic> No.
<boxofrox> iqubic: su - username -c 'nix-env -i google-chrome'? not sure about package name, I use arch on desktop :)
<iqubic> So I have to rebuild my config to install new software?
<iqubic> boxofrox: then why do you hang out here?
<disasm> superherointj: yeah, shrinking ext4 is possible if you have a lot of free space left
<boxofrox> i use nixos on servers
<iqubic> I see.
<gchristensen> iqubic: I do, it is much more pleasant and easy and quick to do
<gchristensen> iqubic: but for temporary use, I use nix-shell
<gchristensen> example for chrome:
<gchristensen> nix-shell -p google-chrome
<iqubic> Is nix-shell installed by default?
<gchristensen> or even magically: nix-shell -p google-chrome --run google-chrome-stable
<gchristensen> yeah
<disasm> superherointj: I'm personally using btrfs with subvol root so I can dual boot arch/nixos on the same filesytem although haven't rebooted into arch in over 6 months
<iqubic> What does nix-shell provide that other programs don't?
<disasm> gchristensen: I probly need to delete older generations first, rebuild switch is still getting out of disk space errors (even without --upgrade)
<gchristensen> iqubic: it lets you "install" programs just for that shell
<clever> iqubic: nix-build will just build a package, nix-shell gives you a shell suitable for building things, "nix-shell -p" creates a shell with given packages available
<gchristensen> disasm: yeah, delete old generations, then /boot will still be full, but /boot is cleared of old gens on nixos-rebuild-switch
<iqubic> I see/
<iqubic> How does one check if a package is still being maintained?
<boxofrox> 'nix-env -i google-chrome' is permanent install for user?
<gchristensen> nix-env -iA google-chrome would be better, but again really I'd recommend using configuration.nix + systemPackages
<clever> boxofrox: it will persist until removed with nix-env -e
<iqubic> So apparently services.emacs is a thing.
<iqubic> I did not know that.
<disasm> iqubic: look at nixpkgs and see if it has meta.maintainers set
<boxofrox> clever: it persists until the same user runs nix-env -e? or can user2 run nix-env -e and affect the installed apps of user1?
Piece_Maker has joined #nixos
Acou_Bass has quit [(Ping timeout: 240 seconds)]
<clever> boxofrox: the same user
<clever> boxofrox: nix-env will edit a per-user profile
Piece_Maker is now known as Acou_Bass
<superherointj> I already have Grub installed, If I free space for NixOs, and install NixOS, is it going to replace my current grub? Or just add entry for NixOS?
<clever> superherointj: by default, it will overwrite the grub
<disasm> gchristensen: removed older than 30 days and still get No space left on device did I really install that many kernel upgrades this month? :)
<clever> superherointj: and it needs to overwrite the grub config every time you make a change
<iqubic> chrome is not showing up in this list: https://nixos.org/nixos/packages.html
<superherointj> How to I keep access to Windows and Ubuntu then?
<superherointj> SHould I save files and manually add it later?
<iqubic> Why is chrome not in that list?
<clever> superherointj: you would use configuration.nix to add windows and ubuntu to the generated config
<superherointj> And also Windows.
<disasm> iqubic: I don't think nonfree shows up in that list
<superherointj> Is that during install or after?
<clever> superherointj: either
<superherointj> I need to keep Windows. This is important.
<superherointj> One day maybe I'll get ride of Windows but not tonight. :)
<iqubic> disasm: Define non-free.
<iqubic> Because I can get chrome for free on my windows OS
<superherointj> I'll go sleep and tomorrow will try to get it sorted out. Thanks for warm welcoming. :-)
orivej has quit [(Ping timeout: 240 seconds)]
superherointj has quit [(Quit: Leaving)]
<gchristensen> disasm: yikes
<gchristensen> disasm: the problem with manually pruning kernels from /boot is (1) they could get put back by switch, (2) you render old broken
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] globin pushed 3 new commits to release-17.09: https://git.io/vd321
<NixOS_GitHub> nixpkgs/release-17.09 b772ca9 Franz Pletz: pythonPackages.pyalgotrade: incompatible with python3...
<NixOS_GitHub> nixpkgs/release-17.09 7255058 Franz Pletz: pythonPackages.pyalgotrade: fix typo...
<NixOS_GitHub> nixpkgs/release-17.09 4dbde1f WilliButz: spotify: 1.0.49.125.g72ee7853-111 -> 1.0.64.401.g9d720389-21...
NixOS_GitHub has left #nixos []
<gchristensen> disasm: so ... you know .... keep pruning :P
corpix has quit [(Remote host closed the connection)]
<clever> disasm: https://nixos.org/nixos/options.html#boot.loader.grub.configurationlimit
corpix has joined #nixos
<boxofrox> iqubic: i think this describes disasm's nonfree. https://www.gnu.org/philosophy/categories.en.html . Chrome is free as in cost, but not free as you cannot modify it freely.
<clever> disasm: this tells the grub scripts how many generations to allow in /boot/
koserge has quit [(Ping timeout: 240 seconds)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] globin pushed 1 new commit to release-17.09: https://git.io/vd32p
<NixOS_GitHub> nixpkgs/release-17.09 309f965 Robin Gloster: tests.cjdns: only on 64-bit + python pkg fixup
NixOS_GitHub has left #nixos []
<disasm> clever: systemd-boot
<iqubic> So what do I put in my package list than?
justanotheruser has joined #nixos
<gchristensen> iqubic: also feel free to put some feedback on https://github.com/NixOS/nixpkgs/issues/17126 if you'd like
jellowj has quit [(Ping timeout: 240 seconds)]
<gchristensen> iqubic: pkgs.google-chrome goes in to your systemPackages and also a nixpkgs.config = { allowUnfree = true; }
<gchristensen> near the top of thte config file
<iqubic> I have to allow unFree???
python47` has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] AndersonTorres opened pull request #29914: twolame: init at git-2017-09-27 (master...upload/twolame) https://git.io/vd3aL
NixOS_GitHub has left #nixos []
<boxofrox> iqubic: yes, you have to willingly acknowledge that you want to install software that could not be vetted by the package maintainers and suffer any consequences thereof... or that's how I've always interpretted such features.
<iqubic> Maybe nix-env can spit out a warning saying that the package it is looking for is unfree.
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] globin pushed 1 new commit to release-17.09: https://git.io/vd3aq
<NixOS_GitHub> nixpkgs/release-17.09 3663760 Robin Gloster: tests.hibernate: disable on 32 bit...
NixOS_GitHub has left #nixos []
<gchristensen> iqubic: add google-chrome to your systemPackages without adding the allowUnfree part and try to rebuild :)
<iqubic> Having to put all the packages I use in one big long list is making me think about what I actually use my linux machine for
<gchristensen> disasm: your disk space reminds me of my system here with an 8GB /
<gchristensen> disasm: after a mass rebuild I have to disable most of the config, update, collect garbage, enable the config, and rebuild b/c it can't fit 2 full generations :D
<iqubic> I assume attribute name is the xxx in pkgs.xxx ?
<iqubic> Am I right in that assumption?
<gchristensen> iqubic: yeah, add pkgs.google-chrome to the list
python47` has quit [(Ping timeout: 258 seconds)]
Arcaelyx_ has joined #nixos
<iqubic> what are the names of the LaTeX and Bibliotex packages?
<iqubic> A search through https://nixos.org/nixos/packages.html is finding nothing
<iqubic> Well, nothing of use
<gchristensen> check the nixpkgs manual for latex
<disasm> gchristensen: doh! have to collect garbage as root, lol
<gchristensen> ah! :)
takle has quit [(Remote host closed the connection)]
Arcaelyx has quit [(Read error: Connection reset by peer)]
Fare has quit [(Ping timeout: 240 seconds)]
<disasm> down to 4 kernels, much better :)
<iqubic> So, I've added a bunch of options to configure zsh. Can I still have a .zshrc to configure some more options, or does that stuff also go into configuration.nix?
<gchristensen> you can have a zshrc
<iqubic> Mostly I want to add a bunch of aliases, but there are certain things that must go in .zsh, like ohMyZsh promt configuration.
<boxofrox> i think nixos-rebuild leaves your home folder alone once it's created, yes?
<gchristensen> yeah
<iqubic> Wait, so where does zsh get it's settings from?
<iqubic> And how do I add aliases and other such stuff to zsh?
<gchristensen> the nixos config sets up /etc/zshrc probably, but you can have a .zshrc
<gchristensen> but these could also configured probably in https://nixos.org/nixos/options.html#programs.zsh if you wanted, I don't know
<gchristensen> and you don't have to
<iqubic> I see. Won't a user specific config override the /etc/zshrc?
<gchristensen> just like any other zshrc setup
<iqubic> So where do I go to add aliases to my shell?
<iqubic> Oh, I see where. Found that.
lambdamu has joined #nixos
nh2 has quit [(Quit: Leaving.)]
<iqubic> Well, how do I tell nixos which fonts to use? Because I want some powerline fonts on my terminal.
<gchristensen> did you try searching for fonts in man configuration.nix
<iqubic> No. I should do that.
<boxofrox> iqubic: you should be able to put them in $HOME/.local/share/fonts i imagine. it's what I do on arch linux. there's an XDG spec for it.
<gchristensen> but also you'll have to configure your programs as usual
lambdamu_ has quit [(Ping timeout: 240 seconds)]
<boxofrox> the benefit of putting most of your settings in configuration.nix is the ability to rebuild your environment on a new system with the single file. it certainly works great for duplicating servers for testing.
<iqubic> boxofrox: That's why I've migrated to NixOS
<boxofrox> i also love the whole `nixos-rebuild switch --rollback`
Supersonic112 has quit [(Disconnected by services)]
<gchristensen> me too :)
Supersonic112_ has joined #nixos
<gchristensen> and rollbacks by boot
Supersonic112_ is now known as Supersonic112
<boxofrox> i haven't used that yet. but i did see my grub menu getting longer
<gchristensen> you don't want to need it, but when you need it, it is there
nix-gsc-io`bot has joined #nixos
<nix-gsc-io`bot> Channel nixos-17.03-small advanced to https://github.com/NixOS/nixpkgs/commit/870284d10e (from 11 hours ago, history: https://channels.nix.gsc.io/nixos-17.03-small)
nix-gsc-io`bot has quit [(Client Quit)]
hellrazo1 has joined #nixos
<boxofrox> it would have saved many a weekend of EFI boot rebuilds on my arch laptop. I did not have that set up very well and sometimes kernel upgrades would break my system. didn't help that I encrypted my hard drive either ><
hellrazor 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/90c8b6eb51 (from 2 hours ago, history: https://channels.nix.gsc.io/nixos-17.09-small)
nix-gsc-io`bot has quit [(Client Quit)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] romildo opened pull request #29915: efl: 1.20.3 -> 1.20.4 (master...upd.efl) https://git.io/vd3VI
NixOS_GitHub has left #nixos []
<disasm> boxofrox: you encrypted on nixos?
<gchristensen> that was arch :)
<gchristensen> boxofrox: thanks for coming around and helping out on IRC today :)
zeus_ has quit [(Remote host closed the connection)]
zeus_ has joined #nixos
michiel_l has quit [(Ping timeout: 255 seconds)]
<gchristensen> is the Samsung 850 Evo a good series?
<gchristensen> I suspect boxofrox would know
Itkovian has joined #nixos
Nobabs27 has quit [(Quit: Leaving)]
<disasm> iqubic: as for zshrc, you can configure oh-my-zsh from configuration.nix if you want: https://www.mpscholten.de/nixos/2016/05/26/sharing-configuration-across-systems-with-nix.html-- I use prezto myself and I have a module I have on all my nix boxes that ensure my zsh config is the same everywhere (and vim too)
zeus_ has quit [(Ping timeout: 258 seconds)]
Itkovian_ has quit [(Ping timeout: 248 seconds)]
alpounet is now known as alp
joepie91 has quit [(Excess Flood)]
joepie91 has joined #nixos
joepie91 has quit [(Changing host)]
joepie91 has joined #nixos
nix-gsc-io`bot has joined #nixos
<nix-gsc-io`bot> Channel nixos-17.03 advanced to https://github.com/NixOS/nixpkgs/commit/ea06690f1f (from 16 hours ago, history: https://channels.nix.gsc.io/nixos-17.03)
nix-gsc-io`bot has quit [(Client Quit)]
<disasm> gchristensen: so... when do we launch 17.09 as stable? :)
<globin> disasm: hopefully soon
<disasm> my first time being in a release cycle, I'm impatient :)
<globin> disasm: But I think it should be fine now, just have to wait for fpletz to wake up again :)
<disasm> globin: should I put the champagne away until tomorrow or stay up a bit longer? :)
jtojnar has quit [(Read error: Connection reset by peer)]
jtojnar_ has joined #nixos
michiel_l has joined #nixos
<gchristensen> disasm: the imporant part is we buy globin and fpletz all the beverages they can drink when see them
<globin> gchristensen: I think we should buy you two some first for all the IRC support you are doing ;)
<gchristensen> <3 it truly takes a village, doesn't it :)
<globin> disasm: this is what I'm currently waiting for: https://hydra.nixos.org/eval/1397435#tabs-still-fail
nix-gsc-io`bot has joined #nixos
<nix-gsc-io`bot> Channel nixos-17.09-small advanced to https://github.com/NixOS/nixpkgs/commit/4beb7d1196 (from 2 hours ago, history: https://channels.nix.gsc.io/nixos-17.09-small)
nix-gsc-io`bot has quit [(Client Quit)]
<globin> disasm: as soon as we have a channel release from that eval I'll guess we'll bump if fpletz agrees
<gchristensen> anyone playing blurays on nixos? :)
<gchristensen> makemkv is packaged, that seems promising.
Neo-- has quit [(Ping timeout: 240 seconds)]
zeus_ has joined #nixos
<MP2E> heh. I gotta start actually contributing to releases instead of existing in master no man's land all the time :P
aw has quit [(Quit: Quitting.)]
spacefrogg has quit [(Quit: Gone.)]
* jsgrant likes the meetup image; Lamflake should have been skewed/angled though to look more-like a nest or something. :^)
aw has joined #nixos
spacefrogg has joined #nixos
drakonis has joined #nixos
richierich_ has quit [(Ping timeout: 240 seconds)]
<shlevy> Anyone know matthewbauer's nick on IRC?
mahalel_ has left #nixos []
richierich_ has joined #nixos
<shlevy> Alternately: Anyone here running high sierra who can help me diagnose an issue?
<boxofrox> gchristensen: I just bought a Samsung 850 Evo, the review for it were great. it's running arch in my zenbook now.
ryantrinkle has quit [(Ping timeout: 260 seconds)]
mahalel_ has joined #nixos
<iqubic> disasm: That link is giving me an object not found error.
<iqubic> But I wonder if I can't just write my own thing for ZSH
pxc has quit [(Ping timeout: 240 seconds)]
corpix has quit [(Ping timeout: 248 seconds)]
<iqubic> Currently I have this as my Oh-My-Zsh config. Not sure how to port that to nixos.
pxc has joined #nixos
<richierich_> Could someone help me setup a basic XFCE + Xmonad config? (new to both...as well as NixOS)
<iqubic> Also, I need to figure out my fonts. I need something with Powerline support baked in.
<iqubic> I mean I could just use the method shown here if I want: https://www.reddit.com/r/NixOS/comments/56jbsc/ohmyzsh/
<disasm> iqubic: yeah, those to --'s at the end, see the link just below that one I highlighted you in
<iqubic> But I don't want to do a separate nix file. Can't I just do what the comments in the reddit post say?
<disasm> probably, I like everything in nix myself :)
<iqubic> I also want some font that has powerline baked in.
<disasm> there's also this: https://github.com/rycee/home-manager
proteusguy has quit [(Ping timeout: 240 seconds)]
<disasm> iqubic: is this at the terminal or UI?
<iqubic> Do you use home-manager?
<iqubic> Terminal
Wharncliffe has quit [(Quit: Lost terminal)]
<disasm> iqubic: I haven't lots of people here do though. I might play with it at some point.
<iqubic> I won't be running a DE like KDE or gnome
<iqubic> I'll be running XMonad.
<iqubic> Which requires it's own home dir config file.
<disasm> iqubic: see displayManager.sessionCommands in there
<disasm> you could also put the font line in .Xdefaults
<iqubic> I see.
<iqubic> Or I can do something like what you do with fonts.
<iqubic> I don't need that exact font, just something with plenty of built-in font-awesome symbols.
<iqubic> + unicode support for emoji and Asian glyphs
kakashiAL has joined #nixos
<iqubic> Does anyone know how to get those fonts to work?
kakashiAL has quit [(Ping timeout: 240 seconds)]
corpix has joined #nixos
<iqubic> looks like pkgs.nerdfont is what I want
<iqubic> + fonts.enableDefaultFonts
gandreani has joined #nixos
takle has joined #nixos
catch22 has joined #nixos
takle has quit [(Ping timeout: 240 seconds)]
<iqubic> clever: Can you help me with my font and zsh config issues?
gandreani has quit [(Remote host closed the connection)]
drakonis has quit [(Read error: Connection reset by peer)]
mahalel_ has left #nixos []
ryantrinkle 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/3663760225 (from 2 hours ago, history: https://channels.nix.gsc.io/nixos-17.09-small)
nix-gsc-io`bot has quit [(Client Quit)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] globin pushed 2 new commits to release-17.09: https://git.io/vd36s
<NixOS_GitHub> nixpkgs/release-17.09 e73c240 Robin Gloster: manual/releasing: update
<NixOS_GitHub> nixpkgs/release-17.09 39cd40f Robin Gloster: NixOS 17.09 "Hummingbird" is released on 2017-09-29
NixOS_GitHub has left #nixos []
reinzelmann has joined #nixos
mrkgnao has joined #nixos
endformationage has joined #nixos
eacameron has quit [(Remote host closed the connection)]
eacameron has joined #nixos
eacameron 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/41c9543f84 (from 6 hours ago, history: https://channels.nix.gsc.io/nixos-17.03-small)
nix-gsc-io`bot has quit [(Client Quit)]
sellout- has joined #nixos
zeus_ has quit [(Remote host closed the connection)]
zeus_ has joined #nixos
zeus_ has quit [(Ping timeout: 255 seconds)]
Fare has joined #nixos
justanotheruser has quit [(Ping timeout: 258 seconds)]
noobineer has joined #nixos
<hyper_ch> can build max jobs added to the hardware configuration nix?
orivej has joined #nixos
justanotheruser has joined #nixos
gfixler has joined #nixos
<hyper_ch> who maintains this? https://howoldis.herokuapp.com/
<sellout-> Anyone using structured-haskell-mode? the elisp directory seems to have disappeared from the derivation between 1.1.0 and the timestamped git version. It seems like https://github.com/NixOS/nixpkgs/commit/ef6849ca63ffa01e10aa28ade7d8afff7a856922 could maybe be the culprit? (since the change prior to that removed the 1.0.20 hardcoded version, and the one after hardcoded the git version).
noobineer has quit [(Read error: Connection reset by peer)]
RayNbow`TU has quit [(Quit: leaving)]
JosW has joined #nixos
<clever> hyper_ch: theres a github link at the bottom
<hyper_ch> but that requires you to scroll down :)
<hyper_ch> what I was wondering, why is 18.03 not in that list yet :)
<clever> open an issue against its github
<clever> hyper_ch: you may not get a reply from domen for a day or 2 though
<hyper_ch> why domen?
<clever> his name is on some of the recent commits and issues
<clever> and i think he mentioned something about running it
<hyper_ch> ah
Nobabs27 has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] orivej pushed 2 new commits to master: https://git.io/vd3P6
<NixOS_GitHub> nixpkgs/master 3e91da5 José Romildo Malaquias: efl: 1.20.3 -> 1.20.4
<NixOS_GitHub> nixpkgs/master 405b59a Orivej Desh: Merge pull request #29915 from romildo/upd.efl...
NixOS_GitHub has left #nixos []
mocker has quit [(Quit: Connection closed for inactivity)]
pxc has quit [(Ping timeout: 240 seconds)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] vyp opened pull request #29916: guile-xcb: fix build by building with guile-2.0 (master...fix/guile-xcb) https://git.io/vd3PM
NixOS_GitHub has left #nixos []
<richierich_> Dumb question: what is the difference between sudo and wheel?
bgamari has quit [(Ping timeout: 248 seconds)]
<srhb> richierich_: wheel is usually (from bsd, I think?) the group allowed to sudo.
RayNbow`TU has joined #nixos
<richierich_> I've seen a few nix configs use both -- should I be using just one to manage sudo privileges?
<srhb> richierich_: I don't think a sudoers group exists by default on NixOS, does it?
<srhb> richierich_: It's not in my sudoers file at least.
koserge has joined #nixos
<richierich_> srhb: Uhh let me rephrase. What exactly does security.sudo specify?
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] orivej pushed 2 new commits to master: https://git.io/vd3P7
<NixOS_GitHub> nixpkgs/master 54dc780 xd1le: guile-xcb: fix build by building with guile-2.0
<NixOS_GitHub> nixpkgs/master 36fecd1 Orivej Desh: Merge pull request #29916 from vyp/fix/guile-xcb...
NixOS_GitHub has left #nixos []
<srhb> richierich_: Which part of it?
<richierich_> the configFile
<srhb> richierich_: The literal sudoers config.
<clever> This string contains the contents of the sudoers file.
<clever> the description says it all
<richierich_> gotcha
bgamari has joined #nixos
<richierich_> I guess I'm confused because based on my (limited) experience changing the /etc/sudoers in e.g. Debian, there is a literal "sudo" group
<richierich_> But I guess wheel is just a different term for the same thing on modern systems?
<clever> yeah
koserge has quit [(Ping timeout: 248 seconds)]
<clever> on nixos, only wheel is special
<hyper_ch> that's just what I have in my config https://github.com/sjau/nixos/blob/master/configuration.nix#L293
<clever> gentoo has an option the sudo group to be speical, but its commented out
<richierich_> gotcha
<richierich_> and 'wheelNeedsPassword' forces sudo-enabled users to enter their password whenever accessing root, correct? (was looking for the option earlier)
<hyper_ch> yes
<richierich_> alright
<srhb> richierich_: I believe that's true by default
<hyper_ch> probably
<richierich_> srhb: Didn't seem to be the case for me
<srhb> richierich_: That's.. Strange.
<richierich_> srhb: yea...
<clever> richierich_: in what context did you notice that?
<richierich_> clever: whenever I use sudo?
<clever> richierich_: from a normal install? from the livecd?
<srhb> richierich_: sudo remembers that you logged in for some time after you type the password the first time, did that possibly happen?
<richierich_> clever: normal install from the livecd, but config pieced together from random examples online
<clever> richierich_: the livecd gives you a root shell, and root doesnt need to use sudo
<richierich_> srhb: I know that, but if that's true in my case then it remembers it for a long time
<richierich_> clever: I mean using sudo *after* installing from a livecd
<richierich_> clever: i.e. on the system i have up and running right now
<clever> richierich_: can you gist your configuration.nix?
<richierich_> clever: hang on, I spotted my mistake...thought the "%" in the sudoers file was a comment
<richierich_> clever: welp
<clever> A User_List is made up of one or more user names, user IDs (prefixed with ‘#’), system group names and IDs (prefixed with ‘%’ and ‘%#’ respectively)
<clever> % is the prefix for group names
<richierich_> clever: yea, admittedly I did not pay much attention to that part of the config
<richierich_> clever: so "%wheel ALL = (ALL) SETENV: NOPASSWD: ALL" probably does not help :)
orivej has quit [(Read error: Connection reset by peer)]
<clever> correct
<clever> if you dont set that, it will do the sane thing
justanotheruser has quit [(Ping timeout: 258 seconds)]
orivej has joined #nixos
sellout- has quit [(Quit: Leaving.)]
<richierich_> so I guess at this point I'll ask another dumb question: is the only way to understand the various options for a nix package to read the .nix file itself in nixpkgs? Or is there an easier way to query what a specific option might do?
<clever> click on the nix file under here, and then search for the option value
<clever> richierich_: in this case, it controls if NOPASSWD: gets inserted or not
<richierich_> clever: can something equivalent be done directly from the commandline?
<clever> "man configuration.nix"
<clever> amd nixos-option
<richierich_> clever: ahh that's super nice
<richierich_> clever: thank you!
<clever> yep
nix-gsc-io`bot has joined #nixos
<nix-gsc-io`bot> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/7d7c8cd55b (from 6 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
nix-gsc-io`bot has quit [(Client Quit)]
hellrazo1 has quit [(Quit: WeeChat 1.9.1)]
<pikajude> anyone have a suggestion for a terminal emulator to use on windows?
<pikajude> specifically for WSL
justanotheruser has joined #nixos
bkchr 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/39cd40f7be (from 2 hours ago, history: https://channels.nix.gsc.io/nixos-17.09-small)
nix-gsc-io`bot has quit [(Client Quit)]
jsgrant has quit [(Quit: jsgrant)]
reinzelmann has quit [(Ping timeout: 255 seconds)]
mrkgnao has quit [(Ping timeout: 258 seconds)]
reinzelmann has joined #nixos
MichaelRaskin has quit [(Ping timeout: 248 seconds)]
silver_hook has joined #nixos
silver_hook has quit [(Changing host)]
silver_hook has joined #nixos
orivej has quit [(Ping timeout: 240 seconds)]
orivej has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] gebner pushed 1 new commit to master: https://git.io/vd3Mk
<NixOS_GitHub> nixpkgs/master 40312b6 Gabriel Ebner: modemmanager: 1.6.2 -> 1.6.8
NixOS_GitHub has left #nixos []
koserge has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] gebner pushed 1 new commit to master: https://git.io/vd3Mn
<NixOS_GitHub> nixpkgs/master eee86b1 Gabriel Ebner: libmbim: 1.14.0 -> 1.14.2
NixOS_GitHub has left #nixos []
endformationage has quit [(Quit: WeeChat 1.9)]
Arcaelyx_ has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] FRidh pushed 4 new commits to master: https://git.io/vd3DT
<NixOS_GitHub> nixpkgs/master 6960348 Lancelot SIX: pythonPackages.redis: 2.10.5 -> 2.10.6
<NixOS_GitHub> nixpkgs/master 92c0f46 Lancelot SIX: pythonPackages.django_redis: 4.2.0 -> 4.5.0
<NixOS_GitHub> nixpkgs/master 8d35fa6 Lancelot SIX: pythonPackages.asgi_redis: 1.4.2 -> 1.4.3
NixOS_GitHub has left #nixos []
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] FRidh pushed 1 new commit to release-17.09: https://git.io/vd3Dq
<NixOS_GitHub> nixpkgs/release-17.09 25a236f Frederik Rietdijk: Merge pull request #29895 from lsix/update_asgi_redis...
NixOS_GitHub has left #nixos []
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] FRidh pushed 1 new commit to staging: https://git.io/vd3DC
<NixOS_GitHub> nixpkgs/staging 7f831ef Frederik Rietdijk: python.pkgs.numpy: 1.13.1 -> 1.13.2
NixOS_GitHub has left #nixos []
FRidh has joined #nixos
Nobabs27 has quit [(Quit: Leaving)]
nschoe has joined #nixos
<Mic92> pikajude: do you mean a native one or one inside WLS?
<Mic92> *WSL
silver_hook has quit [(Quit: Konversation terminated!)]
hotfuzz has joined #nixos
silver_hook has joined #nixos
silver_hook has quit [(Changing host)]
silver_hook has joined #nixos
Neo-- has joined #nixos
pxc has joined #nixos
silver_hook has quit [(Client Quit)]
aneeshusa has quit [(Quit: WeeChat 1.9)]
<Mic92> pikajude: I used MobaXterm
silver_hook has joined #nixos
silver_hook has quit [(Changing host)]
silver_hook has joined #nixos
freusque has quit [(Quit: WeeChat 1.7.1)]
ixxie has joined #nixos
ebzzry_ has quit [(Ping timeout: 248 seconds)]
pxc has quit [(Ping timeout: 240 seconds)]
Itkovian has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
<pikajude> mobaxterm
<pikajude> neat
freusque has joined #nixos
jmeredith_ has quit [(Quit: Connection closed for inactivity)]
bkchr has quit [(Ping timeout: 240 seconds)]
hamishmack has quit [(Quit: hamishmack)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Mic92 closed pull request #29903: robo3t: added 1.1.1 (master...master) https://git.io/vdO2N
NixOS_GitHub has left #nixos []
hamishmack has joined #nixos
bkchr has joined #nixos
hamishmack has quit [(Client Quit)]
07IAA76T4 has joined #nixos
<07IAA76T4> [nixpkgs] Mic92 pushed 2 new commits to master: https://git.io/vd3SY
<07IAA76T4> nixpkgs/master 96939d5 Ruben Maher: flow: 0.55.0 -> 0.56.0
<07IAA76T4> nixpkgs/master 5233568 Jörg Thalheim: Merge pull request #29910 from eqyiel/flow-0.56.0...
07IAA76T4 has left #nixos []
5EXAACE1M has joined #nixos
<5EXAACE1M> [nixpkgs] Mic92 closed pull request #29910: flow: 0.55.0 -> 0.56.0 (master...flow-0.56.0) https://git.io/vd3BC
5EXAACE1M has left #nixos []
<sphalerite> https://wiki.debian.org/DontBreakDebian so much stuff that either A) can be done safely on nixos, or B) just won't work on nixos
<sphalerite> x)
hamishmack has joined #nixos
hamishmack has quit [(Client Quit)]
hamishmack has joined #nixos
numerobis has joined #nixos
jensens has joined #nixos
ivanovs-4 has quit [(Quit: Page closed)]
<sphalerite> Mic92: can I PM?
ShalokShalom has joined #nixos
<fearlessKim[m]> some people (including me) might have critisized the doc, but the (updated) pills on wiki are really great
<Mic92> sphalerite: yes
goibhniu has joined #nixos
fendor has joined #nixos
civodul has joined #nixos
sigmundv has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] gnidorah opened pull request #29919: pam: add swaylock (master...swaylock) https://git.io/vd39V
NixOS_GitHub has left #nixos []
<makefu> the pills are now an official part of the nixos documentation (in contrast to the new wiki). But then again this is how the community can get over "yay wiki, nay wiki" :)
<makefu> i really like the dontbreakdebian article
<ixxie> we need a don't break nixos article
<ixxie> its harder to break nixos but not impossible
<makefu> but you can still try stupid things
<ixxie> I once had a scary moment where some channel changes actually broke previous generations
<makefu> like editing shit in /etc
<makefu> or adding files in /usr
<makefu> or patchelf'ing all the tools by hand
<ixxie> "NixOS: you can still be an idiot, it's just *that* much more difficult."
<goibhniu> using the nixpkgs channel for NixOS is also pretty dangerous
numerobis has quit [(Ping timeout: 246 seconds)]
nico202 has joined #nixos
<fearlessKim[m]> any advice on how to debug a builder ? I've a shellHook that is not triggered I've no idea why. I would like to run the builder with sthg akin to 'bash -x' ?
kuznero has joined #nixos
numerobis has joined #nixos
<makefu> ixxie: i think the article should be more about the philosophy of nix then. "what are stupid ideas in first place"
<kuznero> Hi All! I have slightly unrelated question to nix (it is docker related), but I know there are smart people who can help me here.
<kuznero> I have a problem with apache server running in docker container (httpd, lighttpd services) running as www-data user (normally uid: 33 and gid: 33 in ubuntu images). Problem here is that as soon as I mount a volume that apache suppose to have write access to, it simply cannot write to it regardless the fact that I set proper access on the host directory with `sudo chown -R 33:33 ...`. There are several exact examples for this - mediawik
<kuznero> And that is irrelevant if I start unmanaged container with `docker run` or a service with `docker service create`...
arianvp2 has joined #nixos
<kuznero> Each time I mount a volume (type=bind|volume) apache becomes unable to write to these folders...
<ixxie> makefu: Nixosophy
<kuznero> Am I missing something - perhaps it shouldn't be uid:33 and gid:33 on the host? How do I find uid:gid that I need to set permissions on the host?
<goibhniu> fearlessKim[m]: are you familiar with this approach? https://nixos.wiki/wiki/Create_and_debug_nix_packages#Using_nix-shell_for_package_development
lsix has joined #nixos
drnick` has joined #nixos
<fearlessKim[m]> arf that's weird, "nix-shell ~/nixpkgs2 -A lua52Packages.cjson" triggers my shellHook (cool), but "nix-shell -p lua52Packages.cjson --verbose -I nixpkgs=$HOME/nixpkgs2" didn't ?
<makefu> difference is -p and -A
<drnick`> hi. has anyone benn able to successfully build samba 4.7.0 with mitkrb?
Wizek_ has joined #nixos
<fearlessKim[m]> makefu: I see... means I have some work to do then xD
<drnick`> the problem I have is that, while trying to build it, i get an error during the `./confgure` stage - krb5kdc is not found, even though I've tried installing it manually in advance via configuration.nix and it is present on my path
fendor has quit [(Ping timeout: 248 seconds)]
ixxie has quit [(Quit: http://www.kiwiirc.com/ - A hand crafted IRC client)]
yorick has quit [(Ping timeout: 260 seconds)]
koserge has quit [(Ping timeout: 240 seconds)]
vegai_ is now known as vegai
ahawkins has joined #nixos
dejanr has quit [()]
Phyra[m] has joined #nixos
<Phyra[m]> How was the release party?
nix-gsc-io`bot has joined #nixos
<nix-gsc-io`bot> Channel nixos-17.09-small advanced to https://github.com/NixOS/nixpkgs/commit/25a236f5a3 (from 2 hours ago, history: https://channels.nix.gsc.io/nixos-17.09-small)
nix-gsc-io`bot has quit [(Client Quit)]
dejanr has joined #nixos
Itkovian has joined #nixos
MP2E has quit [(Quit: leaving)]
<goibhniu> Phyra[m]: I don't know about other release parties globally, but the Munich one is happening tonight \o/
<richierich_> What is the current (somewhat?-)accepted way of declaratively managing user environments/packages?
<goibhniu> richierich_: you can specify your packages in a file and use --remove-all: https://nixos.org/nix/manual/#ssec-relnotes-1.6.0
hamishmack has quit [(Quit: hamishmack)]
hamishmack has joined #nixos
hamishmack has quit [(Client Quit)]
bkchr has quit [(Ping timeout: 264 seconds)]
hamishmack has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] orivej closed pull request #27592: cups: add perl to bindir (master...cups-add-perl-to-bindir) https://git.io/v7I9m
NixOS_GitHub has left #nixos []
eacameron has joined #nixos
dejanr has quit [()]
arianvp2 has quit [(Ping timeout: 248 seconds)]
dejanr has joined #nixos
eacameron has quit [(Ping timeout: 258 seconds)]
kakashiAL has joined #nixos
thc202 has joined #nixos
takle has joined #nixos
hamishmack has quit [(Quit: hamishmack)]
hamishmack has joined #nixos
17SAAPPZA has joined #nixos
<17SAAPPZA> [nixpkgs] Mic92 pushed 2 new commits to master: https://git.io/vd3bE
<17SAAPPZA> nixpkgs/master b80ed21 Langston Barrett: tex-gyre-math fonts: init at 1.005, 1.632, 1.533, 1.543
<17SAAPPZA> nixpkgs/master 5c7995d Jörg Thalheim: Merge pull request #29883 from siddharthist/tex-gyre...
17SAAPPZA has left #nixos []
5EXAACHGD has joined #nixos
<5EXAACHGD> [nixpkgs] Mic92 closed pull request #29883: TeX Gyre Math Fonts (OTF) (master...tex-gyre) https://git.io/vdYnG
5EXAACHGD has left #nixos []
drnick` has quit [(Remote host closed the connection)]
bkchr has joined #nixos
<bkchr> Hi, does someone has an idea to fix the following err: https://hydra.nixos.org/build/62003342/nixlog/1?
numerobis has quit [(Ping timeout: 240 seconds)]
<makefu> bkchr: not sure how to fix it but "site" is a python module for managing site-packages paths
<bkchr> makefu: Yeah, I already found this information. Maybe something broke with python3 or so
k0001_ has joined #nixos
<makefu> maybe some paths got skewed with the python executable and it is unable to find the stdlib
<makefu> or there is a new mechanism in nixpkgs now how to handle site paths
pxc has joined #nixos
<makefu> it seems like the build mechanism from ibus changed
<makefu> (or maybe not)
mudri has joined #nixos
pxc has quit [(Ping timeout: 258 seconds)]
<LnL> what package contains the unsquashfs binary?
<LnL> ah squashfsTools
koserge has joined #nixos
<freeman42x> was NixOS 17.09 released? was supposed to be released on: 2017-09-28
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] jyp opened pull request #29920: Revert "cudatoolkit: Move libcudart to a separate output" (master...fix-tensorflow-runtime) https://git.io/vd3Ar
NixOS_GitHub has left #nixos []
<makefu> LnL: when in doubt, try `nix-index` package with `nix-locate bin/unsquashfs`
<LnL> that's exactly what I did, was just waiting for the index to rebuild :)
<makefu> haha okay
blahdodo has quit [(Remote host closed the connection)]
mudri has quit [(Ping timeout: 258 seconds)]
<vegai> nix-env -qaP doesn't seem to search from overlays
<vegai> is there way to do that?
<bkchr> makefu: the last changes in ibus seem not to change the build system that much..
<makefu> vegai: actually it does (at least for me)
blahdodo has joined #nixos
<Mic92> clever: Is there anything special I have to do to get remote builds working? I created a user and add the the ssh key specified in /etc/nix/machines to authorized_keys. However nix only returns unable to `connect to ‘nix@inspector.r’`
<vegai> makefu: https://play.crystal-lang.org/#/r/2tlc here's mine
<sphalerite> gchristensen: re "NixOS is at 620 members" what do you mean?
<makefu> vegai: not sure if this is the right snippet
FRidh has quit [(Quit: Konversation terminated!)]
<vegai> heh, oops, sorry.
<sphalerite> vegai: it does, but it may be that the overlay in question creates a non-searched subset (I don't know how that actually works, but e.g. haskellPackages is such a set)
<vegai> concurrent discussion race there
<sphalerite> s/subset/nested set/
<vegai> well, I have the firefox-overlay enabled for my user, but cannot find any of the packages in it
<vegai> even though I can install them
kini has quit [(Ping timeout: 248 seconds)]
<vegai> in other words, nix-env -iA nixos.firefox-nightly-bin installs the nightly firefox
<vegai> but nix-env -qaP '.*firefox.*' seems to find only the system-wide firefoxes
<makefu> i installed firefox nightly like this some days ago, maybe the overlay is not configured correctly?
<vegai> umm, wait. Now I see them.
<vegai> ok, clear case of pebkac
<vegai> sorry
<makefu> DI DI DIIII
kini has joined #nixos
mudri has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] orivej pushed 2 new commits to master: https://git.io/vd3xF
<NixOS_GitHub> nixpkgs/master a1767fa Lukas Werling: vivaldi: 1.11.917.39-1 -> 1.12.955.36-1...
<NixOS_GitHub> nixpkgs/master a293bb0 Orivej Desh: Merge pull request #29599 from lluchs/vivaldi-1.12.955.36-1...
NixOS_GitHub has left #nixos []
<goibhniu> sphalerite: there are 621 people/bots in the #nixos channel ... I think it was even up to 640 yesterday ... I wonder if the release will bump us over 700 :D
<sphalerite> aah right
<gchristensen> yeah, when early 2016 it was 350 in here
<sphalerite> huh. Riot shows 881 people in the room which is bridged to the IRC channel
guillaum2 has quit [(Quit: leaving)]
<sphalerite> Maybe the bridge missed leave events or something
<gchristensen> yeah, weird
kuznero has quit [(Quit: Page closed)]
fendor has joined #nixos
ertes-w has joined #nixos
<Dezgeg> are the matrix users perhaps counted twice?
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] romildo opened pull request #29921: gparted: 0.28.1 -> 0.29.0 (master...upd.gparted) https://git.io/vd3ht
NixOS_GitHub has left #nixos []
nico202 has quit [(Ping timeout: 248 seconds)]
<gchristensen> oh lol
<gchristensen> Dezgeg, sphalerite: if you join and then quit it assumes you're still "in" the channel
goibhniu has quit [(Ping timeout: 260 seconds)]
<gchristensen> you're just "offline"
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] orivej closed pull request #29769: facter: 3.7.1 -> 3.9.0 and related deps (master...bump/facter-3.9.0) https://git.io/vdk3R
NixOS_GitHub has left #nixos []
acowley_away has quit [(Ping timeout: 248 seconds)]
gfixler has quit [(Quit: WeeChat 1.4)]
Mateon1 has quit [(Ping timeout: 240 seconds)]
acowley_away has joined #nixos
Mateon1 has joined #nixos
pxc has joined #nixos
NightTrain has joined #nixos
Fare has quit [(Ping timeout: 240 seconds)]
Fare has joined #nixos
Neo-- has quit [(Ping timeout: 258 seconds)]
numerobis has joined #nixos
pxc has quit [(Ping timeout: 240 seconds)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] orivej pushed 5 new commits to master: https://git.io/vdsv2
<NixOS_GitHub> nixpkgs/master 716849c Volth: timescaledb: init at 0.4.2
<NixOS_GitHub> nixpkgs/master 0f67947 volth: timescaledb: 0.4.2 -> 0.5.0
<NixOS_GitHub> nixpkgs/master a047e19 volth: timescaledb: include schema migration .sql scripts
NixOS_GitHub has left #nixos []
<ertes-w> have the blueborne vulnerabilities been fixed in one of the channels?
nschoe has quit [(Quit: Program. Terminated.)]
<gchristensen> iirc all of them since 17.03
<gchristensen> and-including 17.03
phreedom has joined #nixos
numerobis has quit [(Ping timeout: 248 seconds)]
simukis has joined #nixos
<Mic92> clever: I figured the authentication problem out
<corpix> Is there a way to unlock luks devices in the order? I have encrypted disk A with passphrase, generated a key /root/b which is used for drive B and want system to ask me for the passphrase to the A disk only. At this time there is no order varanty so system may "waiting 10 seconds for /root/b to appear" and after some fails it finally comes to the password prompt for drive A...
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] orivej pushed 2 new commits to master: https://git.io/vdsUL
<NixOS_GitHub> nixpkgs/master 8ebe47a José Romildo Malaquias: gparted: 0.28.1 -> 0.29.0
<NixOS_GitHub> nixpkgs/master 26033a4 Orivej Desh: Merge pull request #29921 from romildo/upd.gparted...
NixOS_GitHub has left #nixos []
<sphalerite> corpix: I think they might be unlocked in alphabetical order?
<sphalerite> Or does it fail nondeterministically?
<corpix> sphalerite: It fails same way every time, probably it has alphabetic order, will check it out now
__Sander__ has joined #nixos
nico202 has joined #nixos
nslqqq has quit [(Ping timeout: 240 seconds)]
<sphalerite> corpix: it works consistently for a similar setup that I have, and "cryptkey", the name of the luks volume that's required for the others, precedes "rootpool" and "swap" alphabetically so that would be my guess
<sphalerite> Then again, that might be an implementation details as opposed to a guarantee
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] orivej closed pull request #26515: mongodb-tools: 3.0.12 -> 3.5.8 (master...mongodb-tools-3.5.8) https://git.io/vHya3
NixOS_GitHub has left #nixos []
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] orivej closed pull request #28985: robo3t: init at 1.1.1, replaces robomongo (master...master) https://git.io/v5uoi
NixOS_GitHub has left #nixos []
<hyper_ch> hi there
<hyper_ch> iqubic: does it work now?
koserge` has joined #nixos
koserge` is now known as deepfire
nslqqq has joined #nixos
Jackneill has quit [(Quit: Leaving)]
whald has joined #nixos
<whald> hi! i've just installed nixos for the first time and obviously got an IRC client running. yeah! so could someone here please recommend me some documentation helping me to profit from this: https://github.com/NixOS/nixpkgs/blob/master/pkgs/applications/editors/vscode/default.nix ? it seems i manage to install only version 1.9, while it seems 1.16.1 should be possible. somehow...
phreedom has quit [(Ping timeout: 240 seconds)]
phreedom has joined #nixos
<vegai> upgrading to 17.09 beta. Exciting.
nh2 has joined #nixos
<hyper_ch> you use pdftk?
<whald> vegai, i already managed zfs root plus uefi boot, so it seems i'm in for exciting stuff today. :-)
<vegai> would you guys have any idea what could cause a displayport connection to suddenly only output max 1024x768?
<vegai> this is probably not nixos-related
<nh2> bachp: ping
<bachp> nh2: yes?
whald has quit [(Read error: Connection reset by peer)]
<nh2> bachp: do you think https://github.com/NixOS/nixpkgs/pull/29868 is good to go?
<bachp> nh2: Lokks good to me, I haven't tested it tough
<nh2> bachp: can you set an approval checkmark via the github review feature or make a comment in that direction? It wasn't clear to me whether you're done looking at it or if you want to look/test more before it being merged
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] bachp closed pull request #29145: uwsgi: enable plugins by default (master...uwsgi-plugins) https://git.io/v56PE
NixOS_GitHub has left #nixos []
whald has joined #nixos
<bachp> nh2: done
<nh2> bachp: thanks! By the way, I've updated https://github.com/nh2/nixops-gluster-example/ to include those changes and the 3.12 upgrade for easy testing
jellowj has joined #nixos
<nh2> can anybody explain me what this Travis failure means? https://travis-ci.org/NixOS/nixpkgs/jobs/280652683
<nh2> at the step "==> Merging PR into base" it says there are conflicts in files that my PR doesn't touch at all (it's only bumping a package version)
Jackneill has joined #nixos
musicmatze_ has joined #nixos
NightTrain has quit [(Quit: Lost terminal)]
<tilpner> whald - As you can see on https://github.com/NixOS/nixpkgs-channels/commit/605dba0ac99dcca73812698a7b86706506e3c6c8 , this commit has only made it to the nixos-unstable channel. On a first installation you probably have nixos-17.03 as your channel currently. You can upgrade to nixos-unstable, or pick this newer vscode from unstable
<whald> tilpner, i feel like having a "mostly stable" system is what i want, so could you please provide me a pointer on how to install specific packages from nixos-unstable? i can't find the relevant documentation as it seems.
musicmatze_ has quit [(Quit: ZNC 1.6.5 - http://znc.in)]
<tilpner> whald - Note that unstable refers to the stability of the channel (how often the expressions in it change), not the stability of the packaged software (how often it crashes/breaks)
<tilpner> (Though newer versions may also have received less testing)
<whald> tilpner, so i'll go all in on unstable -- the installation is fresh anyway, there's not much i could mess up. :-)
musicmatze_ has joined #nixos
dannyg has joined #nixos
<tilpner> You can use nix-channel to manage the channels you're subscribed to. "nix-channel --list" will show what channel you're currently on
<tilpner> You can use --remove and --add to change your channel to https://nixos.org/channels/nixos-unstable
<whald> tilpner, my original intention was to have unstable as an additional channel, and pull in only vscode from there, what i did not manage to figure out is how to do that
<tilpner> Do you want to install vscode via your nixos-config/configuration.nix or via nix-env?
<whald> tilpner, currently i'm just upgrading the whole system to unstable, but knowing how to pick specific packages from channels might come in handy later on
<gchristensen> whald: you should not go to unstable, but to 17.09 :)
<whald> tilpner, i this nix-env is good enough
<gchristensen> 17.09 will be stable soon
<gchristensen> and won't be ... unstable :P
jellowj has quit [(Ping timeout: 248 seconds)]
<tilpner> whald - But the other one is easier :/
<tilpner> gchristensen - It doesn't have 1.16.* yet, which whald may require
<tilpner> (A multi-channel setup would be best, of course)
<Leo`_> Is anyone having issues with the NixOS firewall? When I boot up the server it starts dropping all the connections on port 22 (which is supposed to be opened).
<gchristensen> 17.09 doesn't? it was just forked from master
<whald> so can i just "nix-env -i ..." something and say "but give me that package from channel X"?
<Leo`_> I had the same problem yesterday but I managed to just restart the firewall service and it would work again for a while, but now it's right when the machine boots so I'm basically locked outside.
<tilpner> whald - Try "nix-channel --add https://nixos.org/channels/nixos-unstable unstable"
musicmatze_ has quit [(Quit: ZNC 1.6.5 - http://znc.in)]
nix-gsc-io`bot has joined #nixos
<nix-gsc-io`bot> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/26033a43ae (from 80 minutes ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
nix-gsc-io`bot has quit [(Client Quit)]
<tilpner> whald - Then "nix-channel --update" and "nix-env -iA unstable.vscode". But I'm not sure if that'll work, as I don't use nix-channel :/
<whald> tilpner, i'll give it a try, thanks!
<Leo`_> (Also: how do I chroot inside a NixOS root from a non-Nix live system?)
<whald> tilpner, bingo, that did it, thanks again! :-)
<tilpner> Yay!
whald has quit [(Remote host closed the connection)]
infinisil has joined #nixos
<tilpner> Leo`_ - Did you try "sudo chroot /path/to/nixos /bin/sh"?
whald has joined #nixos
<Leo`_> tilpner: Ha, I was missing the /bin/sh part.
<Leo`_> But now how about like, having the environment and everything... ?
<tilpner> That's harder with just guessing. Maybe run as a login shell, maybe activate the current system, not sure
mbld has joined #nixos
<tilpner> Leo`_ - nixos-install does a few more things. Look here [ https://github.com/NixOS/nixpkgs/blob/master/nixos/modules/installer/tools/nixos-install.sh ] if you want to imitate them
nico202 has quit [(Ping timeout: 240 seconds)]
pxc has joined #nixos
<disasm> tilpner: 17.09 has vscode 1.16.1
<tilpner> Huh, and the channel advanced already?
<Leo`_> tilpner: I'm on a non-Nix host. But I managed to chroot with nixos-activate.
<Leo`_> Not sure if it's the proper way but it will do for now.
<tilpner> What is nixos-activate?
<Leo`_> Huh.
<Leo`_> Just activate*.
<Leo`_> I'm getting confused.
pxc has quit [(Ping timeout: 246 seconds)]
<tilpner> Huh, that's a different commit :O
<disasm> commits get cherry picked to a release branch after the fork, which makes a copy of the commit with the same content
<tilpner> Oops, forgot to check
<tilpner> whald - nixos-17.09 instead of unstable would work too
obadz has quit [(Ping timeout: 260 seconds)]
<disasm> also whald if you want some unstable packages, see this about half way down the article: http://matrix.ai/2017/03/13/intro-to-nix-channels-and-reproducible-nixos-environment/
obadz has joined #nixos
<disasm> essentially you specify let pkgs-unstable = import (fetchTarball http://nixos.org/channels/nixos-unstable/nixexprs.tar.xz) {}; in at the top of your configuration.nix and then use pkgs-unstable.vscode
<hyper_ch> why do old building not have "cable lanes" at the wall socket or in the floor...... couldn't they anticipate 50 years ago that we want to have everything connected with ethernet...
<disasm> hyper_ch: they anticipated in a 100 years everything would be wireless :)
<hyper_ch> :)
<infinisil> Idea: Contrary to packages, it's currently quite annoying to have a module from unstable. And the reason is right here: nixpkgs/nixos/modules/module-list.nix (a list of all modules). How about we make these overridable, similar to overlays
<hyper_ch> it just really sucks if your bottle neck is the wifi
<hyper_ch> I only get 1/4 of my internet speed when I use wifi
<lluchs> even today's buildings are often without any ethernet wiring
<hyper_ch> they don't need to have wiring
<lluchs> people only miss it once the building is done and they figure out the wifi doesn't reach all rooms
<hyper_ch> it would already be good if they just have cable lanes ready so you can put calbes in if you want
<hyper_ch> cable channel or whatever it's called
<lluchs> at that point, they buy lots of repeaters which gives you full wifi bars at shitty performance
<hyper_ch> or they go for mesh network
<hyper_ch> or use powerline adapters
<hyper_ch> to interconnect the wifi
acarrico has quit [(Ping timeout: 252 seconds)]
<hyper_ch> if I'll ever build a house, I'll make sure it has cable channels
<tilpner> disasm - That's what I wanted to show them initially, but they said they wanted nix-env :/
goibhniu has joined #nixos
orivej has quit [(Ping timeout: 258 seconds)]
<tilpner> (Well, not that article specifically. Still too much to do)
<disasm> tilpner: buy why? Life is so much better when everything is in configuration.nix!
<hodapp> hummm, is exwm in NixOS 17.03 even though nix-env -qa doesn't show it? it looks like it should be, but perhaps not as a separate package
<tilpner> emacsPackages.exwm?
ShalokShalom_ has joined #nixos
<hodapp> oh, hmmm
<tilpner> (Nevermind, doesn't exist. nix-shell fooled me)
<tilpner> emacsPackagesNg.exwm is a thing though
<hodapp> I can likely just set it up in configuration.nix
<tilpner> Yeah, just try the services module first
ekleog has quit [(Quit: There are better worlds than these)]
<vegai> oh hey, custom mouse cursor started suddenly working in 17.09 ;)
<goibhniu> I was just at the NixCon venue. It's great! They even have a gong :D https://lut.im/gvVmTHpDDF/fAjG5SwjZknTwdBe.jpg
ekleog has joined #nixos
<vegai> and nheko is buildable now
<vegai> good times
ShalokShalom has quit [(Ping timeout: 240 seconds)]
<gchristensen> goibhniu: alright!
<Leo`_> https://gist.github.com/anonymous/4ae40597ea78c7c575bc86f18434926e Does anyone see anything weird in that firewall configuration?
corpix has quit [(Ping timeout: 248 seconds)]
<Leo`_> (It's generated by NixOS.)
<goibhniu> I must ask on the mailing list also ... but does anyone fancy joining the video team?
mbld has left #nixos []
jellowj has joined #nixos
<CrazedProgrammer> hi all, does anybody know how to lock the screen (i3lock) on lid close?
nwjlyons has joined #nixos
<nwjlyons> What is the full path to nix-shell on mac?
<gchristensen> mine is an /nix/var/nix/profiles/default/bin/nix-shell, nwjlyons
<infinisil> goibhniu: That's a nice gong!
<goibhniu> isn't it great! :D
<bgamari> wow
<bgamari> $ nix-repl --help
<bgamari> Usage: nix-repl [--help|--version]
<gchristensen> bgamari: what kind of help are you looking for?
<bgamari> gchristensen, are those really the only arguments it expects?
<gchristensen> yeah, it doesn't really do anything with args
whald has quit [(Quit: Leaving)]
<bgamari> I see
<disasm> bgamari: what are you trying to do?
<bgamari> gchristensen, so if I wanted to use it with another nix-pkgs tree, how would I accomplish this?
<tilpner> Really? IIRC nix-repl '<nixpkgs>' is a thing
<gchristensen> tilpner: huh!
<gchristensen> bgamari: just like you would any other way, you have to import nixpkgs yourself
<bgamari> I see
<gchristensen> bgamari: so inside it you can do mynixpkgs = import ./my-nix-pkgs {}
<bgamari> okay, thanks gchristensen!
<gchristensen> or apparently you can do nix-repl ./my-nix-pkgs :P
<gchristensen> TIL
<bgamari> apparently
taktoa has quit [(Remote host closed the connection)]
acarrico has joined #nixos
<infinisil> Well, <nixpkgs> is really just the path to the nixpkgs on NIX_PATH
<infinisil> so it makes sense
<bgamari> this might be a nice thing to note in the usage message
<gchristensen> no kidding :)
<gchristensen> though, note, that nix-repl has no knowledge or care about nixpkgs specifically
<tilpner> Yeah, that was just an example. A useful one
<infinisil> gchristensen: But then again, what command does?
<bgamari> hmm, I'm confused
<gchristensen> nix-shell and nix-env
<gchristensen> oh bgamari are you wondering about evalString("drv: (import <nixpkgs> {}).runCommand \"shell\" { buildInputs = [ drv ]; } \"\"", f); ?
<bgamari> well, I'm wondering why the usage message seems to be significantly longer than the one I just saw
<infinisil> gchristensen: I mean nixpkgs isn't special in any way, and it wouldn't exist for nix-shell/nix-env if it wasn't in NIX_PATH, right?
<bgamari> has nix-repl recently been rewritten?
<gchristensen> ahh
<bgamari> this, https://github.com/edolstra/nix-repl, would suggest it may have been
<gchristensen> nix's master branch is 1.12 which is the Unstable version of nix
<gchristensen> the version of nix-shell you have is from https://github.com/edolstra/nix-repl indeed
<bgamari> ahh
<tilpner> infinisil - nix-shell defaults to nixpkgs while looking things up
<bgamari> alright, so I guess the usage message bug is already fixed
<bgamari> lovely
jellowj has quit [(Ping timeout: 248 seconds)]
reinzelmann has quit [(Quit: Leaving)]
jellowj has joined #nixos
<infinisil> Today I got 1.5 friends hooked on NixOS :D
<gchristensen> alright!
<joepie91> infinisil: 1.5? :P
<goibhniu> \o/
<infinisil> Well one of them was totally hooked, the other not fully
<infinisil> Both of them are using Ubuntu currently
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] NeQuissimus closed pull request #29595: atom: 1.20.0 -> 1.20.1 (master...atom_1_20_1) https://git.io/v5pbI
NixOS_GitHub has left #nixos []
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] NeQuissimus closed pull request #29639: gradle: 4.1 -> 4.2 (master...gradle_4_2) https://git.io/vdeIL
NixOS_GitHub has left #nixos []
<infinisil> Alright gotta go, bbl
infinisil has quit [(Quit: WeeChat 1.9)]
<hyper_ch> nothing wrong with ubuntu.... except that it's not kubuntu...
<hyper_ch> :)
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] NeQuissimus pushed 2 new commits to master: https://git.io/vdsGa
<NixOS_GitHub> nixpkgs/master 65197a1 Tim Steinbach: zulu: init 9.0.0.15
<NixOS_GitHub> nixpkgs/master 4f132af Tim Steinbach: Merge pull request #29652 from NeQuissimus/zulu9...
NixOS_GitHub has left #nixos []
predator117 has quit [(Ping timeout: 248 seconds)]
<bgamari> oh, wow, has 17.09 been released?
ryantrinkle has quit [(Ping timeout: 240 seconds)]
<fadenb> I was hoping for a ceremonial button push during the release party :P
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] shlevy pushed 4 new commits to master: https://git.io/vdsZI
<NixOS_GitHub> nixpkgs/master d96da5a Shea Levy: Revert "Avoid polluting lib namespace unncessarily"...
<NixOS_GitHub> nixpkgs/master ca535da Shea Levy: Revert "Fix tarball"...
<NixOS_GitHub> nixpkgs/master 8f33315 Shea Levy: Revert "Fix evaluation"...
NixOS_GitHub has left #nixos []
freusque has quit [(Quit: WeeChat 1.7.1)]
<hyper_ch> bgamari: depends on how you define "released"
corpix has joined #nixos
<shlevy> The channel has been up for a while but it's formally still in beta right?
<hyper_ch> well, I'm on unstable anyway
<hyper_ch> stupid gcj :(
<fearlessKim[m]> nix-shell -p <pkg> won't import the <pkg> propagatedBuiltInput ?
bennofs has joined #nixos
pie_ has joined #nixos
jensens has quit [(Ping timeout: 258 seconds)]
nwjlyons has quit [(Quit: Page closed)]
peacememories has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] peti pushed 2 new commits to master: https://git.io/vdsCl
<NixOS_GitHub> nixpkgs/master 4239d3b Peter Simons: R: update to version 3.4.2
<NixOS_GitHub> nixpkgs/master 11131d5 Peter Simons: R: update package set
NixOS_GitHub has left #nixos []
cpennington has joined #nixos
infinisil has joined #nixos
<makefu> fearlessKim[m]: it will only import the created derivation. if you want the build inputs in a shell you can use -A
ivanovs-4 has joined #nixos
orivej has joined #nixos
<infinisil> (I might do that)
<gchristensen> please do, infinisil
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] orivej pushed 2 new commits to master: https://git.io/vdslT
<NixOS_GitHub> nixpkgs/master 1ae19b6 Albert Safin: gucharmap: 3.18.2 -> 10.0.1...
<NixOS_GitHub> nixpkgs/master 2f522ce Orivej Desh: Merge pull request #29885 from xzfc/gucharmap...
NixOS_GitHub has left #nixos []
<infinisil> I've never seen such a high level of misunderstanding tbh
<makefu> exactly what i talked about with ixxie this morning
<hyper_ch> I don't understand that first question
<infinisil> Ohhh, he means configuration.nix, not conf.nix (which i interpreted as nix.conf)
<hyper_ch> greping correct hash value of what?
<infinisil> I don't get it either
<bennofs> infinisil, hyper_ch: probably they want to review the config file?
<bennofs> at least that would make sense
<hyper_ch> there's no link to a config file
<infinisil> Ah i see
<bennofs> to find the config file, you have to either look at systemctl status for the cmdline or grep
<hyper_ch> you mean the sshd_config file?
<bennofs> yes
<hyper_ch> isn't that in /etc/ssh/ ?
<hyper_ch> (don't run openssh server on a nixos installation... servers are all debian)
<bennofs> hyper_ch: might not be if we pass an explictly config path to openssh on startup
<hyper_ch> well, the ssh_config is symlinked in /etc/openssh/ to /etc/static/something
<hyper_ch> so I just assumed sshd_config would be the same
<bennofs> i don't run sshd either, but there's at least a few services where the config isn't symlinked anywhere
<infinisil> The openssh config file is indeed not linked anywhere in /etc
<bennofs> they just get started by an unit file that refers to the config path explicitly
<hyper_ch> but then it would probably be in /run/current-system somewhere
<bennofs> hyper_ch: no
<hyper_ch> :)
ShalokShalom_ is now known as ShalokShalom
<gchristensen> it isn't because it is a direct reference
<bennofs> hyper_ch: current system only symlinks /bin by default afaik (and maybe /lib + /share)
<infinisil> It's really just in the nix store
<gchristensen> the ssh_config is in /etc/... because `ssh` looks there for it
<hyper_ch> :)
Itkovian_ has joined #nixos
jellowj has quit [(Ping timeout: 258 seconds)]
eacameron has joined #nixos
<iqubic> What is nix.conf?
<infinisil> man nix.conf
<gchristensen> the conf for nix
<hyper_ch> iqubic: how is it going for you?
nix-gsc-io`bot has joined #nixos
<nix-gsc-io`bot> Channel nixos-17.09 advanced to https://github.com/NixOS/nixpkgs/commit/64a73dfc08 (from 2 days ago, history: https://channels.nix.gsc.io/nixos-17.09)
nix-gsc-io`bot has quit [(Client Quit)]
<iqubic> It's going good.
Itkovian has quit [(Ping timeout: 246 seconds)]
<hyper_ch> you still install software as user and noth through the configuration.nix system-wide?
cement has joined #nixos
<iqubic> No. I decided to put all software I want installed in the environment.systemPackages option.
<fearlessKim[m]> makefu thanks :)
<CrazedProgrammer> can anyone explain to me why `let pkgs = pkgs // {}; in` gives me an `error: infinite recursion encountered, at ...`
<hyper_ch> iqubic: :)
<CrazedProgrammer> i want to add my own packages to the pkgs table i use in my configuration.nix :P
<hyper_ch> yes (someone can explain)
<CrazedProgrammer> or should i use a different table
<iqubic> Is there a way to tell Nix to write a certain string of text to a file in my home directory?
<gchristensen> CrazedProgrammer: you're making a fixed point combinator by mistake I think
<gchristensen> CrazedProgrammer: try renaming the first pkgs to pkgs' and then `let pkgs = pkgs' / { ... }; in ...`
<hyper_ch> iqubic: not really.... well, I'm sure there's a way... but why?
<iqubic> I want to have configuration.nix write all my application specific configs to the right places in my home directory.
<CrazedProgrammer> gchristensen: that works! thanks
<gchristensen> great! :)
<gchristensen> fixed point combinators can be very powerful and useful ... and you can accidentally make one ;)
k0001_ has quit [(Quit: quit)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] vcunat pushed 1 new commit to master: https://git.io/vds41
<NixOS_GitHub> nixpkgs/master 4a2dd99 Vladimír Čunát: knot-dns: 2.5.3 -> 2.6.0
NixOS_GitHub has left #nixos []
<hyper_ch> iqubic: no iea
<hyper_ch> idea
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] joachifm pushed 1 new commit to master: https://git.io/vds4S
<NixOS_GitHub> nixpkgs/master 824f2e2 Pascal Bach: gitlab-runner: 9.5.0 -> 10.0.0 (#29821)...
NixOS_GitHub has left #nixos []
<makefu> CrazedProgrammer: for extending the pkgs there is `nixpkgs.config.packageOverrides`
mortum5 has joined #nixos
<iqubic> hyper_ch: What should I do for config files that must live in /home/iqubic
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Mic92 pushed 1 new commit to master: https://git.io/vds4A
<NixOS_GitHub> nixpkgs/master 5572062 Joerg Thalheim: nixos/sysdig: init module
NixOS_GitHub has left #nixos []
<CrazedProgrammer> makefu: ooh forgot about that, i should probably use that instead :)
<hyper_ch> iqubic: I don't think it's nixos' job to manage those...
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] NeQuissimus opened pull request #29923: kubernetes: 1.7.1 -> 1.7.7 (master...kube_1_7_7) https://git.io/vdsBv
NixOS_GitHub has left #nixos []
<iqubic> Oh. I see.
<hyper_ch> iqubic: of course you could make use of the skeleton directory but that applies only for newly creaed users
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] vcunat pushed 1 new commit to release-17.09: https://git.io/vdsBk
<NixOS_GitHub> nixpkgs/release-17.09 9b84866 Vladimír Čunát: knot-dns: 2.5.3 -> 2.6.0...
NixOS_GitHub has left #nixos []
<iqubic> hyper_ch: What's a skeleton directory?
justanotheruser has quit [(Ping timeout: 246 seconds)]
<hyper_ch> but no idea how to work with skeleton dir on nixos
<iqubic> No, I'll just manage these application specific configs myself
eacameron has quit [(Remote host closed the connection)]
<makefu> iqubic: for home config there is home https://github.com/rycee/home-manager
<hyper_ch> I wonder if I should switch over to unstable small
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] NeQuissimus pushed 1 new commit to master: https://git.io/vdsBg
<NixOS_GitHub> nixpkgs/master ad2c63a Tim Steinbach: kotlin: 1.1.50 -> 1.1.51
NixOS_GitHub has left #nixos []
<makefu> makefu: what i do is to prepare software which is able to read config from arbitrary locations (like vim,emacs) and include them in users.users.<username>.packages
<iqubic> makefu: can you help help me understand how to use home-manager?
magnetophon has joined #nixos
eacameron has joined #nixos
mkoenig has quit [(Remote host closed the connection)]
<iqubic> What does users.users.<username>.packages do?
cement has quit [(Ping timeout: 240 seconds)]
<iqubic> And how does home-manager work?
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] danielfullmer opened pull request #29924: zcash: 1.0.11 -> 1.0.12 (master...zcash-1.0.12) https://git.io/vdsRC
NixOS_GitHub has left #nixos []
<infinisil> iqubic: Please just read the home-manager readme page
takle has quit [(Remote host closed the connection)]
cement has joined #nixos
<infinisil> iqubic: Have you read the option description for users.users.<name>.packages? Because that explains it
<iqubic> So this isn't a part of the Nixpkg standard repos.
<infinisil> indeed
<iqubic> infinisil: That option is not being found when I search for it.
<iqubic> https://nixos.org/nixos/options.html#users.users.%3Cname%3F%3E.p
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Mic92 pushed 1 new commit to master: https://git.io/vdsRH
<NixOS_GitHub> nixpkgs/master 44b6a15 Joerg Thalheim: nixos/bcc: init module...
NixOS_GitHub has left #nixos []
ryantrinkle has joined #nixos
pxc has joined #nixos
<infinisil> Ah, I did'nt check the options page. Seems this was just added recently then
<infinisil> man configuration.nix contains it
<infinisil> I quote: users.users.<name?>.packages: "The set of packages that should be made availabe to the user. This is in contrast to environment.systemPackages, which adds packages to all users."
<infinisil> Never used it though, using home-manager for that
nix-gsc-io`bot has joined #nixos
<nix-gsc-io`bot> Channel nixos-17.09 advanced to https://github.com/NixOS/nixpkgs/commit/772d5c03c0 (from 32 hours ago, history: https://channels.nix.gsc.io/nixos-17.09)
nix-gsc-io`bot has quit [(Client Quit)]
<iqubic> That readme wants me to use nix-env. Is that safe?
magnetophon has quit [(Ping timeout: 248 seconds)]
magnetophon has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] jyp opened pull request #29925: cudatoolkit: move libcu[...] to lib output (master...cudatoolkit-move-more-libs) https://git.io/vds0Z
NixOS_GitHub has left #nixos []
<iqubic> Also where is home-manager getting the names for things like programs.git?
pxc has quit [(Ping timeout: 255 seconds)]
<hyper_ch> iqubic: there's a huge disclaimer for home-manager on top... so "Is that safe?" is a pretty moot question :)
<iqubic> I see.
<hyper_ch> still fail to see the point of what you're wanting to do.. it's different if you had to support tens, or hundreds or thousands of user accounts
<hyper_ch> but if it's just you... I fail to see the point
<iqubic> I'm not sure.
<iqubic> I guess I'll just manually deal with my application specific configs myself
<hyper_ch> of course to get to know more things you can try home-manager :)
<hyper_ch> nobody will stop you :)
<hyper_ch> or might just be your curiosity to figure out how to get it to work...
<iqubic> I'm not going to use it.
<iqubic> So, do you know which fonts are installed by the nerdfont package?
<hyper_ch> no
<iqubic> Do you know how I can even check such a thing?
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Infinisil opened pull request #29926: encrypted devices: fix label set assertion (master...encrypted-label-assertion-fix) https://git.io/vdsEk
NixOS_GitHub has left #nixos []
<clever> iqubic: run nix-build against it and look at the files it contains
<clever> nix-build '<nixpkgs>' -A nerdfonts
<clever> that only shows what commands it runs
<infinisil> I just use `fc-list | grep nerd`
<clever> it just runs install.sh from the tar
<iqubic> What tar?
<iqubic> It's pulling files from github
<clever> correction, github clone, line 6-10
<clever> so you would have to open that github and read the install.sh
Arcaelyx has joined #nixos
<clever> `nix-build '<nixpkgs>' -A nerdfonts` will build the whole thing, and create a result symlink
<clever> which you can then look at
<ertes-w> gchristensen: including unstable? (regarding blueborne)
<gchristensen> ertes-w: should be
<ertes-w> ok, thanks
<iqubic> what does ${withFont} mean in the parameter to install.sh?
<clever> iqubic: it refers to the argument on line 1
<clever> iqubic: which can be changed via .override
<iqubic> But what is the default value of withFont?
<clever> line 1, ""
shawndomniti has joined #nixos
<iqubic> Good. So it installs all the fonts, or I can override that value an have it only install the nerdfonts I want.
<clever> iqubic: so instead of installing nerdfonts, i could nerdfonts.override { withFont = "InconsolataGo Bold Nerd Font Complete"; }
<clever> yeah
<iqubic> Do I want all the fonts?
<clever> you can also confirm that with nix-build again, without making persistant changes to the system
<clever> [clever@amd-nixos:~]$ nix-build -E 'with import <nixpkgs> {}; nerdfonts'
<clever> /nix/store/3676mpn0q0x46qr795z3c716irkr614l-nerdfonts-1.1.0
<clever> this is all fonts
<magnetophon> lightdm gives me a black screen with a pointer, no matter which config I boot. When I click I get the normal greeter and I can login. The greeter log says: "Gdk-Message: lightdm-gtk-greeter: Fatal IO error 11 (Resource temporarily unavailable) on X server :0.". When I google that I get nothing useful.
mortum5 has quit [(Ping timeout: 246 seconds)]
<clever> [clever@amd-nixos:~]$ nix-build -E 'with import <nixpkgs> {}; nerdfonts.override { withFont = "InconsolataGo Bold Nerd Font Complete"; }'
<clever> /nix/store/3676mpn0q0x46qr795z3c716irkr614l-nerdfonts-1.1.0
<clever> and this is something not working right...
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] WilliButz opened pull request #29927: nixos/tests: fix pgjwt test (master...fix-pgjwt-test) https://git.io/vdsE1
NixOS_GitHub has left #nixos []
<iqubic> Yeah, that's not right.
mortum5 has joined #nixos
<iqubic> Why are you getting the same hash twice?
revtintin has joined #nixos
<iqubic> Shall I submit a bug report?
<clever> need to read more of the source before we know what happened
whald has joined #nixos
<iqubic> I see.
<clever> oh
<clever> i see the problem
<iqubic> What?
<clever> which is only present on my copy of nixpkgs
<iqubic> What is the issue?
<clever> this tells nix that the output will never change, and will have the following hash
<clever> so nix doesnt bother trying to re-build it when i change an input like withFont
<infinisil> Well then withFont is pretty useless
<iqubic> How is it that your hash is different than the hash there?
<clever> [clever@amd-nixos:~]$ nix-store --delete /nix/store/3676mpn0q0x46qr795z3c716irkr614l-nerdfonts-1.1.0
<clever> [clever@amd-nixos:~]$ nix-build -E 'with import <nixpkgs> { config = {}; }; nerdfonts.override { withFont = "InconsolataGo Bold Nerd Font Complete"; }'
<infinisil> clever: But then it'll just notice that the hash is wrong and reject it because of that
<clever> yeah
<iqubic> Shall I submit a bug report?
jgeerds has joined #nixos
<clever> iqubic: its already been fixed
<clever> [clever@amd-nixos:~]$ nix-build -E 'with import <nixpkgs> { config = {}; }; nerdfonts.override { withFont = "InconsolataGo"; }'
<clever> output path ‘/nix/store/3676mpn0q0x46qr795z3c716irkr614l-nerdfonts-1.1.0’ has r:sha256 hash ‘1cg11apglr833a246jnxaibfgaj77w090gqxwpzbqlzmh9aw4zg2’ when ‘1f3qvzl7blqddx3cm2sdml7hi8s56yjc0vqhfajndxr5ybz6g1rw’ was expected
<clever> wait no
<clever> the version iqubic linked was "good"
<clever> but its broken on master
<infinisil> yeah
<clever> somebody went thru, and made every font package fixed-output
<clever> so an issue should be opened
<iqubic> Alright then. Who's gonna do that?
<iqubic> Me or you?
<clever> you can get it
<iqubic> Cool, I'll go ahead a write this up.
<iqubic> infinisil: How does that help us?
<clever> thats the PR that "broke" it
<iqubic> Shall I still submit a bug report? Or is that PR seriously being considered?
dannyg has quit [(Quit: dannyg)]
bkchr has quit [(Quit: Konversation terminated!)]
<iqubic> Why exactly was this done?
<clever> that PR was merged a month ago, and they just failed to notice that the withFont makes its output variable
<clever> so a bug should be filed
<infinisil> This PR explains why it's being done
<iqubic> I see. I'll go file a bug report.
kakashiAL has quit [(Ping timeout: 255 seconds)]
<infinisil> Just Do It
bennofs has quit [(Quit: WeeChat 1.9.1)]
bennofs has joined #nixos
jgeerds has quit [(Quit: Leaving)]
mortum5 has quit [(Ping timeout: 240 seconds)]
oida has joined #nixos
bennofs has quit [(Client Quit)]
bennofs has joined #nixos
Arcaelyx_ has joined #nixos
sellout- has joined #nixos
Arcaelyx has quit [(Ping timeout: 248 seconds)]
takle has joined #nixos
ivanovs-4 has quit [(Quit: Page closed)]
ahawkins has quit [(Quit: Connection closed for inactivity)]
<sphalerite> Last I checked, the kernel in 17.09 didn't get along too well with my machine and I had semi-frequent complete lockups
<sphalerite> At least I assume it's the kernel
<hyper_ch> nah, kernel is fine
<sphalerite> Anything I can do to debug this issue and hopefully find out how to fix it?
jtojnar_ has quit [(Read error: Connection reset by peer)]
<hyper_ch> update your cpu :)
jtojnar_ has joined #nixos
<sphalerite> hyper_ch: alright then, the (kernel, machine) pair
<hyper_ch> ram check
<sphalerite> 17.03 works fine
<sphalerite> So it's not a hardware issue
<sphalerite> I'd also be extremely disappointed if it was a hardware issue given that it's 4 months old
Arcaelyx has joined #nixos
Arcaelyx_ has quit [(Ping timeout: 246 seconds)]
superherointj has joined #nixos
<sphalerite> Anyway, I don't want to be stuck on 17.03 which I presume won't be supported much longer :(
<sphalerite> So if anyone could give me any pointers to help debug the issue I'd be very grateful
<sphalerite> Mic92: did you get my PM?
<Mic92> sphalerite: yes the second time
<Mic92> sphalerite: do you get my responses?
<Mic92> sphalerite: I answered you the first and the second time
<iqubic> Well, that's a bug report submitted.
peacememories has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
<sphalerite> Mic92: nope :/ matrix bridge must be broken
<Mic92> sphalerite: I think I have also a matrix account somewhere
<infinisil> sphalerite: random black screens that log you out??
bennofs has quit [(Quit: WeeChat 1.9.1)]
<superherointj> I barely could sleep this night thinking of all the possibilies Nix brings to the table.
bennofs has joined #nixos
<sphalerite> infinisil: no, no logout, just everything freezing
<sphalerite> Mic92: I'll just log into IRC with a normal, client, proabbly quicker
<iqubic> Well, that's a first. Submitting a bug report to a big repo like nixpkgs.
<superherointj> Lately I am learning oCaml because it is good for Unikernels. And I already use Docker containers. But setting up my Desktop environment has always been painful. I am usually afraid of installing something new and screwing up everything I had done so far.
hotfuzz_ has joined #nixos
<infinisil> sphalerite: Hmm alright, I've been getting random black screens with logout recently
<superherointj> Nix solves the Desktop part.
<goibhniu> superherointj: Yay! \o/
<Mic92> sphalerite: are you logged in already?
erasmas has joined #nixos
hotfuzz has quit [(Ping timeout: 240 seconds)]
<Mic92> superherointj: debugging unikernels can be also a pain
<iqubic> clever: Does fonts.enableDefaultFonts give me a whole lot of Unicode support?
<clever> to the source!
<superherointj> Mic92, why?
<iqubic> I see.
<Mic92> superherointj: you are missing a lot of convinient apis already built into common operating systems. OS development is a hard buisness
<makefu> is the board of choice for an aarch64 build server? my google-fu was not strong enough to find an adequate answer
<makefu> s/^/what /
<superherointj> The same way OS offers abstraction to applications, libraries offers abstractions to unikernels apps.
<superherointj> The difference is Unikernels can be better optimized for the application being run.
<gchristensen> makefu: ours is a cavium thunderx from packet.net
<gchristensen> makefu: the type 2a
<Mic92> sphalerite: can you read my messages now?
jacob has joined #nixos
jacob is now known as Guest48395
<Mic92> makefu: I also looked into that, it is not too cheap, if you want CPU power
<Mic92> ARM server boards are still a niche
<lucasOfBesaid> I'm having trouble modifying the expression for Z3. All I want to do is add a configuration option, but it looks like the build script isn't playing nice together with ocaml and findlib. https://gist.github.com/Reilithion/d585f0c722ca3bac2d28278d6314247d
Arcaelyx has quit [(Ping timeout: 246 seconds)]
* fearlessKim[m] sent a long message: fearlessKim[m]_2017-09-29_15:21:07.txt <https://matrix.org/_matrix/media/v1/download/matrix.org/DhnIAkDeOvQTFyPVcLWCfmNa>
Arcaelyx_ has joined #nixos
<superherointj> I agree many things might be rebuilt from scratch to make it work, like, I like Erlang BEAM, I've been considering eventually things will get to a point that the structure of it will be rebuilt somehow. This build, rebuild, rebuild, .. cycle is painful indeed. And it never stops.
<superherointj> All these tools are solving mostly the same problem. By different implementations.
sellout- has quit [(Quit: Leaving.)]
<superherointj> I've watched a great video on Erlang and Nix.
<iqubic> If I install NerdFonts, or an other fonts, will I still have to add them to the fonts.fonts?
<gchristensen> superherointj: thanks for the link!
<infinisil> iqubic: you only need to put them in fonts.fonts
ryanartecona has joined #nixos
<iqubic> I don't need to list the packages in environment.systemPackages?
<makefu> Mic92: yes exactly, but maybe for testing the raspi3 i have is fast enough (after i've replaced the sd-card with something faster than class-4)
<iqubic> The font packages I mean.
<infinisil> iqubic: nope
<iqubic> Cool
<elasticdog> was the 17.09 release date pushed?
Arcaelyx has joined #nixos
bennofs has quit [(Quit: WeeChat 1.9.1)]
<iqubic> Do I need to keep the system.stateVersion in my configuration.nix?
Wizek has joined #nixos
<infinisil> elasticdog: Doesn't look like it: https://nixos.org/nixos/download.html
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] orivej opened pull request #29930: quassel: fix daemon startup (master...quassel) https://git.io/vdsVu
NixOS_GitHub has left #nixos []
<Mic92> makefu: has amazon already arm servers?
<infinisil> iqubic: Yes, don't touch that
<Mic92> makefu: I might have some credit there
<iqubic> Even though it is set to "17.03" which is soon going to be outdated?
<elasticdog> infinisil: that's what I meant...it was scheduled for yesterday, but I hadn't seen any resources/downloads/ami's published
bennofs has joined #nixos
jsgrant has joined #nixos
eacameron has quit [(Remote host closed the connection)]
bennofs has quit [(Client Quit)]
bennofs has joined #nixos
<iqubic> If it was scheduled for yesterday, than it didn't come out yesterday. I installed nixos yesterday and got version 17.03
Arcaelyx_ has quit [(Ping timeout: 248 seconds)]
jmeredith_ has joined #nixos
<makefu> Mic92: not sure if they do (i think not). i also thought about cheap china phones (as described in this paper: https://www.usenix.org/conference/hotcloud17/program/presentation/shahrad )
<infinisil> elasticdog: No idea
<Mic92> makefu: recycle phones sounds interesting, but it is not like you can run mainline kernel on these devices
<infinisil> iqubic: Yeah, don't touch system.stateVersion unless you want trouble or know what you need to do to not get trouble
<iqubic> How do I get access to unicode symbols, Asian fonts, and Emoji?
<makefu> Mic92: true :D i still like the idea
<iqubic> What fonts do I ask for in fonts.fonts?
<Moredread> I think I saw a way in one of the manuals to drop into a shell where I can execute build phases manually, but I can't find it. Does someone know how this works?
<infinisil> iqubic: One that has the symbols you need
<iqubic> Is there a list of valid font names anywhere?
<iqubic> It's literally pkgs.xxx
<fearlessKim[m]> got it my problem has nothing to do with autojump xD . Trying to use environment.variables to set XDG_CONFIG_HOME as $HOME/.config etc... will it understand $HOME ?
<samueldr> `noto-fonts noto-fonts-cjk noto-fonts-emoji` should cover pretty much everything
<fearlessKim[m]> iqubic: nix-env -A fonts -qP or sthg like
<fearlessKim[m]> that
<iqubic> What if a package installs multiple fonts? How does that work?
<iqubic> samueldr: I see. I wast thinking of just using those
<samueldr> I believe go-fonts installs Go and Go Mono (to be verified)
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] orivej pushed 1 new commit to master: https://git.io/vdswq
<NixOS_GitHub> nixpkgs/master 65dd753 Orivej Desh: djvu2pdf: fix description
NixOS_GitHub has left #nixos []
<samueldr> but as far as how fonts work with linux, it's not an issue to have multiple font files in subfolders
peacememories has joined #nixos
<Mic92> makefu: looks like your idea has company? http://janos.io/device-list.html
numerobis has joined #nixos
<iqubic> But how will I know what values to use for fonts.fontConfig.defaultFonts.whatever?
<infinisil> You can see all fonts in nixpkgs/pkgs/data/fonts
<infinisil> well, font packages
<iqubic> But how will I know what fonts fontConfig.whatever wants?
<samueldr> fonts.fontconfig.defaultFonts.* are using strings which are the names of the fonts, I understand what you mean
eacameron has joined #nixos
<samueldr> (I did not change those)
<iqubic> How do I know which fonts are installed by which packages, just in case I want to change the defaults?
<samueldr> fonts in the end are installed there → /nix/var/nix/profiles/system/sw/share/X11-fonts
<samueldr> well, linked there
<samueldr> BUT, it's not as simple as using the filename
<iqubic> Fonts have always been a pain in the ass for me.
<samueldr> fc-query Go-Mono.ttf | grep '^\s\+family:' | cut -d'"' -f2
<samueldr> (assuming you cd-ed in the right folder
eacameron has quit [(Ping timeout: 248 seconds)]
numerobis has quit [(Ping timeout: 258 seconds)]
<infinisil> oh i didn't know about fc-query, i always used fc-list
frankqux has joined #nixos
<samueldr> (freshly baked https://nixos.wiki/wiki/Fonts )
eacameron has joined #nixos
<samueldr> there's probably some more nix-like way to actually query isntalled packages
nix-gsc-io`bot has joined #nixos
<nix-gsc-io`bot> Channel nixos-17.09 advanced to https://github.com/NixOS/nixpkgs/commit/dc4750b3c3 (from 29 hours ago, history: https://channels.nix.gsc.io/nixos-17.09)
<nix-gsc-io`bot> Channel nixos-17.09-small advanced to https://github.com/NixOS/nixpkgs/commit/9b84866eca (from 2 hours ago, history: https://channels.nix.gsc.io/nixos-17.09-small)
nix-gsc-io`bot has quit [(Client Quit)]
eacameron has quit [(Ping timeout: 248 seconds)]
phdoerfler has quit [(Quit: Leaving.)]
Arcaelyx_ has joined #nixos
kungfukenny has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Mic92 opened pull request #29931: sysdig: remove broken patchelf call (master...sysdig) https://git.io/vdso0
NixOS_GitHub has left #nixos []
Arcaelyx has quit [(Ping timeout: 258 seconds)]
<shlevy> Anyone know if kirelagin hangs out here/what his nick is?
jellowj has joined #nixos
<hyper_ch> who is kirelagin?
<hyper_ch> shlevy: :)
<hyper_ch> ‎[Error]‎ kirelagin: No such nick/channel.
<shlevy> hyper_ch: Yes, that's why I asked :P
<hyper_ch> shlevy: vkontakte, twitter, telegram ;)
adc has quit [(Quit: WeeChat 1.9.1)]
<hyper_ch> except on steam it's always kirelagin
<lucasOfBesaid> Anyone here experienced with getting ocaml stuff to work in Nix?
mkoenig has joined #nixos
<hyper_ch> so I doubt he's on irc
<symphori1> lucasOfBesaid: I tried some things once
<symphori1> what do you want to achieve ?
<lucasOfBesaid> symphori1: I'm trying to get z3 to build with ml bindings. Here's my derivation: https://gist.github.com/Reilithion/d585f0c722ca3bac2d28278d6314247d
<lucasOfBesaid> It's just a modification of the Z3 derivation from nixpkgs
Neo-- has joined #nixos
<symphori1> did you try ```mkdir -p $out/lib/ocaml/4.02.3/site-lib/``` just before configure ?
<lucasOfBesaid> No. Think that'll do the trick?
<symphori1> according to the error message...
<symphori1> "/nix/store/drz31ypgxzc06f4vb0z1bv9xdn9y4gw8-z3-4.5.0/lib/ocaml/4.02.3/site-lib/) does not exist'"
<lucasOfBesaid> Trying that now
<lucasOfBesaid> Sorry if it seems obvious. I really don't know what I'm doing. >_>
<symphori1> I know this feeling :°
peacememories has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
<lucasOfBesaid> Well, it appears to be at least making it past that first problem.
<symphori1> if it work replace the version number by `${ocaml.version}`
<symphori1> +s
peacememories has joined #nixos
<lucasOfBesaid> Huh? Why?
<symphori1> I mean in `mkdir -p $out/lib/ocaml/4.02.3/site-lib/`
ekleog has quit [(Remote host closed the connection)]
<symphori1> otherwise when nixpkgs's ocaml will be upgraded, the path expected by the build script will change and it will break
eacameron has joined #nixos
<lucasOfBesaid> Oh that
<lucasOfBesaid> Ok, makes sense.
ekleog has joined #nixos
<lucasOfBesaid> If it works, is this worth contributing to nixpkgs?
Rembane has quit [(Ping timeout: 240 seconds)]
<Sonarpulse> anyone hitting Cabal's Paths_ modules' getDataFileName pointing to ~/.cabal/... ?
<symphori1> why not ?
<corpix> sphalerite: Looks like "follow alphabetical order" for luks devices is a working solution for me. Thank you!
Rembane has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Mic92 closed pull request #29931: sysdig: remove broken patchelf call (master...sysdig) https://git.io/vdso0
NixOS_GitHub has left #nixos []
pxc has joined #nixos
bennofs has quit [(Quit: WeeChat 1.9.1)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Mic92 pushed 1 new commit to release-17.09: https://git.io/vdsPm
<NixOS_GitHub> nixpkgs/release-17.09 52c31f8 Joerg Thalheim: sysdig: remove broken patchelf call...
NixOS_GitHub has left #nixos []
<srhb> Is there some mechanism in the mozilla overlay to automate updating the hashes, and if so, how do I use it?
not_in_namespace has joined #nixos
<srhb> Oh, I think I see it now
bennofs has joined #nixos
eacameron has quit [(Ping timeout: 248 seconds)]
pxc has quit [(Ping timeout: 260 seconds)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Mic92 opened pull request #29933: Backport sysdig/bcc modules (release-17.09...backport-tracing) https://git.io/vdsPd
NixOS_GitHub has left #nixos []
lsix has quit [(Quit: Konversation terminated!)]
not_in_namespace has quit [(Quit: WeeChat 1.8)]
m0rphism has joined #nixos
goibhniu has quit [(Ping timeout: 258 seconds)]
<infinisil> srhb: how do you do it?
<infinisil> I know how I can do it, but it's rather cumbersome, I think I'm missing something
digitus has joined #nixos
jellowj has quit [(Ping timeout: 246 seconds)]
<srhb> infinisil: $(nix-build '<nixpkgs>' -A firefox-nightly-bin.updateScript)
<srhb> infinisil: From the checkout.
<srhb> Turns out I won't need it though, I was going to switch because I miss vimperator oh so much, but turns out it's dead with 57 anyway :P
<infinisil> srhb: Ah neat, I was using callPackage directly on the update.nix file
<infinisil> but i wouldn't consider that easy
<infinisil> it was easier before they changed it
<srhb> infinisil: Don't know what it used to be. This seems ok..
peacememories has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
<Sonarpulse> nevermind this was nix shell
<infinisil> nix-shell update.nix --argstr package firefox-nightly-bin
<infinisil> no need to run anything yourself
<infinisil> well except that
sellout- has joined #nixos
fendor has quit [(Ping timeout: 248 seconds)]
civodul has quit [(Remote host closed the connection)]
<adelbertc> anyone here building docker images through Nix, but then also uploading them to Artifactory and/or deploying to K8s?
rtjure has quit [(Ping timeout: 248 seconds)]
<pingveno> infinisil: Does that actually work for you? I get an error about firefox-nightly-bin not existing.
<infinisil> adelbertc: Just ask your actual question
<adelbertc> Nix builds Docker images as tarballs, which when uploaded to Artifactory don't seem to play nice with Docker or K8s. e.g. docker load can't pull remotely, docker import loses the Cmd setting for reasons unknown to me, and K8s doesn't like pulling down tarballs. Wondering if anyone has run into this as well and what their solution is?
<adelbertc> My current thinking is to add an additional Nix build step in my Nix build that does something like docker load + docker save (which presumably gets me the actual Docker image format) and then upload that instead
<infinisil> pingveno: Yeah no, that's how it used to work
<infinisil> pingveno: Now you need to do what srhb said
eacameron has joined #nixos
ryanartecona has quit [(Quit: ryanartecona)]
shawndomniti has quit [(Quit: Textual IRC Client: www.textualapp.com)]
<hyper_ch> c'mon... unstable... update :)
eacameron has quit [(Ping timeout: 258 seconds)]
zeus_ has joined #nixos
zeus_ has quit [(Remote host closed the connection)]
zeus_ has joined #nixos
phreedom has quit [(Ping timeout: 240 seconds)]
__Sander__ has quit [(Quit: Konversation terminated!)]
mattcode has joined #nixos
pxc has joined #nixos
<pingveno> Sweet, works fine!
<pingveno> I've also been having trouble getting the Rust overlay to upgrade. error: imported archive of ‘/nix/store/v5bm98n68h1dq67rvqzcg5md2a02dzya-channel-rust-stable.toml’ lacks a signature
nh2 has quit [(Ping timeout: 248 seconds)]
<srhb> Wow, nightly has.. issues. :D
<infinisil> srhb: What's the problem for you? I've been using it for a few days now and it works great
jellowj has joined #nixos
<hyper_ch> there's also a nightly?
<srhb> infinisil: It can sometimes type an @ sign with a danish keyboard layout (alt gr+2) sometimes not... And sometimes they really are there but appear sometime after being typed.
<infinisil> pingveno: You may be able to do it by setting nix.trustedUsers = [ "root" "@wheel" ]; in your system config
<globin> New
<globin> Whoops
<makefu> Mic92: regarding janOS, looks like it :D
phdoerfler has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Infinisil closed pull request #29926: encrypted devices: fix label set assertion (master...encrypted-label-assertion-fix) https://git.io/vdsEk
NixOS_GitHub has left #nixos []
obadz has quit [(Ping timeout: 240 seconds)]
bennofs has quit [(Ping timeout: 246 seconds)]
obadz has joined #nixos
dejanr has quit [()]
jmeredith_ has quit [()]
dejanr has joined #nixos
jmeredith_ has joined #nixos
jmeredith_ is now known as jmeredith
jmeredith has quit [(Client Quit)]
jmeredith has joined #nixos
<pingveno> Huh, go figure. Did a nixos-rebuild and everything started working.
<pingveno> *poof*
<pingveno> nixos-rebuild switch --upgrade, that is
<hyper_ch> what channel are you on?
<pingveno> stable
<pingveno> 17.03
<hyper_ch> :)
phdoerfler has quit [(Quit: Leaving.)]
<hyper_ch> rebuilding can do wonders :)
endformationage has joined #nixos
<disasm> how would I get websocket python module visible to weechat? Would that be making a wrapper?
zraexy has quit [(Quit: Leaving.)]
hotfuzz has joined #nixos
zraexy has joined #nixos
erictapen has joined #nixos
hotfuzz_ has quit [(Ping timeout: 248 seconds)]
<infinisil> haven't tried it though
<disasm> perfect :)
<iqubic> Has anyone gotten Powerlevel9k to work with NixOS?
<hyper_ch> no
<infinisil> i have
<hyper_ch> infinisil: are you anyone? :)
jellowj has quit [(Ping timeout: 248 seconds)]
<iqubic> infinisil: you use powerlevel9k? How do you do it? Can I see your config?
<iqubic> Not powerline, but that thing there.
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Ericson2314 opened pull request #29935: cc-wrapper: More intelligent sierra hack (release-17.09...appease-sierra-linker-17.09) https://git.io/vdsbj
NixOS_GitHub has left #nixos []
<infinisil> hold on, in a rocket league game rn
bennofs has joined #nixos
<gchristensen> Sonarpulse: how are you using nix on sierra? O.O
<iqubic> infinisil: finish the rocket league game, and then post the config.
<srhb> They're actually turbo implementing powerlevel9k for nix. ;-)
<iqubic> What does that mean?
<srhb> Nothing, it was a silly joke.
hotfuzz has quit [(Quit: WeeChat 1.9)]
MichaelRaskin has joined #nixos
<srhb> They work poorly when I don't convey them well in English.
<iqubic> I don't get they joke.
<srhb> (infinisil isn't actually playing rocket league but creating the nix integration for powerlevel9k as we speak, pretending to be playing rocket league)
<hyper_ch> do I even want to know what rocket league is....
<iqubic> It's a game where you play soccer while driving around in cars
zraexy has quit [(Remote host closed the connection)]
<infinisil> one of the only 2 games i play, it's really well made
<infinisil> alright I'm done
hotfuzz has joined #nixos
<iqubic> Take your time in posting the config. I'm in no rush
<infinisil> While this is using home-manager modules, the nixos one is identical afaik
zraexy has joined #nixos
rtjure has joined #nixos
<infinisil> What I'm doing should actually be put into the module itself, but I haven't gotten to that
<iqubic> yeah, I can adopt this to work with configuration.nix
<iqubic> Thank you.
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] tsaeger opened pull request #29936: peco: 0.2.10 -> 0.5.1 (master...master) https://git.io/vdsN5
NixOS_GitHub has left #nixos []
<iqubic> I had no idea you could specify pkgs with the github info like that.
<iqubic> That was the part I was missing.
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] garbas pushed 1 new commit to master: https://git.io/vdsNj
<NixOS_GitHub> nixpkgs/master 748ef34 Rok Garbas: assertion should check for encrypted.label of the defined fileSystem
NixOS_GitHub has left #nixos []
<iqubic> That wanted me to clone the repo to my .oh-my-zsh directory.
<iqubic> I had no idea how I was gonna do that.
<disasm> yeah, fetchFromGitHub is pretty awesome (guessing that's what it uses on the backend there, syntax looks the same)
fendor has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Mic92 closed pull request #29933: Backport sysdig/bcc modules (release-17.09...backport-tracing) https://git.io/vdsPd
NixOS_GitHub has left #nixos []
<pxc> Good God, Jenkins is kind of awful
disasm has quit [(Quit: WeeChat 1.8)]
disasm has joined #nixos
<pxc> like sure, there's a lot of work to be done on Hydra and I understand why a replacement might be welcome but I'd so much rather work with it than Jenkins, having spent this week fighting with the latter
fendor has quit [(Remote host closed the connection)]
fendor has joined #nixos
<garbas> should i cherry pick stuff into release-17.09 from what i just merged to master? (https://github.com/NixOS/nixpkgs/pull/29756)
<infinisil> garbas: If it's not a package, that's probably the best way to do it
<infinisil> Ah that's the thing I messed up :P
<infinisil> Ahh, you mean release-17.09, I understood your local checkout
<infinisil> I'd think cherry picking is what you'd do, still, haven't backported anything before though
<iqubic> How does one update NixOS?
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] tsaeger opened pull request #29937: peco: 0.2.10 -> 0.5.1 (master...pr/peco-0.51) https://git.io/vdsxm
NixOS_GitHub has left #nixos []
<srhb> iqubic: with nixos-rebuild
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] tsaeger closed pull request #29936: peco: 0.2.10 -> 0.5.1 (master...master) https://git.io/vdsN5
NixOS_GitHub has left #nixos []
<iqubic> I see. And that gets all the latest packages?
<srhb> iqubic: If you're using channels, something like nixos-rebuild switch --upgrade
<srhb> iqubic: The upgrade flag will fetch the newest channels
<srhb> iqubic: switch will build and activate the new configuration immediately.
<iqubic> I don't use channels?
<hyper_ch> pretty sure you use channels
<srhb> iqubic: You're using a nixpkgs checkout?
<hyper_ch> you're probably on 17.03
<srhb> iqubic: sudo nix-channel --list
<iqubic> hyper_ch: That's right
<srhb> At any rate, the --upgrade flag will essentially call nix-channel --update before nixos-rebuilding to update the channels
<iqubic> Well, time to port infinisil powerlevel9k setup to configuration.nix
<iqubic> Can I tell programs.zsh.ohMyZsh.custom to fetch stuff from the github?
<srhb> iqubic: you can use fetchFromGitHub however you like, if you can coerce the result into something that that parameter will accept.
<iqubic> Alright then. Time to do some research into how this works.
<infinisil> Ohh, regarding updating, note that nixos-rebuild switch --upgrade doesn't change your channel aka nixos version, you'll stay on 17.03. If you want to switch to 17.09 you need to switch the channel, and then do nixos-rebuild switch --upgrade
bennofs has quit [(Ping timeout: 264 seconds)]
<hyper_ch> there should be a stable channel that would auto-forward from 17.03 -> 17.09 -> 18.03 etc... IMHO :)
<hyper_ch> when according release becomes declared stable
<infinisil> Don't think that's a good idea, a lot of people have autoupdate enabled
<infinisil> i'd think at least
<infinisil> and updating versions isn't always smooth
<iqubic> I have autoupdate enabled. Is that fine?
<detran> I'd like to use firefox 57, what's the best way to go about that?
<iqubic> infinisil: What does fetchToFolder do in your zsh config?
<infinisil> iqubic: You need to stop worrying so much, of course it's fine to use autoupdate, as is using any other nixos option
aminechikhaoui has quit [(Ping timeout: 248 seconds)]
<infinisil> iqubic: It's a function i declared which fetches a github repo and puts the result in /nix/store/<hash>-name/<repo-name>
<iqubic> infinisil: why are you using fetchToFolder and packages, instead of fetchFromGitHub?
Judson1 has joined #nixos
<Judson1> Is there a git hook to check for commit message formatting?
<Judson1> I'd love to set one up on my local nixpkgs checkout, and wonder if it's been done already
<infinisil> iqubic: It's easy to add other zsh plugins like that
<iqubic> But you only use fetchToFile once.
<infinisil> Actually if all you need is 1 plugin it's much simpler
<infinisil> hold on ill rewrite it for 1 plugin
<iqubic> All I need is powerlevel9k to be cloned to the right spot.
orivej has quit [(Ping timeout: 240 seconds)]
<iqubic> This is my current oh-my-zsh set-up http://dpaste.com/35W4PRH
<srhb> detran: The mozilla nixpkgs overlay is quite easy.
nix-gsc-io`bot has joined #nixos
<nix-gsc-io`bot> Channel nixos-17.09-small advanced to https://github.com/NixOS/nixpkgs/commit/52c31f871d (from 2 hours ago, history: https://channels.nix.gsc.io/nixos-17.09-small)
nix-gsc-io`bot has quit [(Client Quit)]
<iqubic> I'm trying to port that to NixOS
<hyper_ch> clever: where's your zfs script again?
<infinisil> iqubic: Probably this works (untested though) https://git.io/vdsh4
<detran> srhb: so overlay is the keyword here? thanks
<srhb> detran: I would say so
<hyper_ch> iqubic: why zsh?
nh2 has joined #nixos
<iqubic> hyper_ch: Because I like it better than Bash, or Fish, or whatever else exists.
<hyper_ch> iqubic: what do you like better in zsh than bash?
<iqubic> But I don't need anything that complex for just my simple config? Right?
<hyper_ch> not really sure what you mean by config
<hyper_ch> clever: thx
<iqubic> infinisil: That looks like too much extra stuff for just the simple set of Powerlevel9k options I linked earlier.
hotfuzz has quit [(Quit: WeeChat 1.9)]
<hyper_ch> clever: zfs can do raid1 from what I remember from yesterday's discussion
<clever> hyper_ch: zpool create <pool> mirror /dev/sda1 /dev/sdb1
<clever> man page has more details
Neo-- has quit [(Ping timeout: 240 seconds)]
<hyper_ch> where would I put dm-crypt on that
disasm has quit [(Quit: WeeChat 1.9.1)]
<infinisil> iqubic: Wait you're not using the zsh module for nixos?
disasm has joined #nixos
<clever> hyper_ch: create 2 luks volumes, and then zpool create <pool> mirror /dev/mapper/luks1 /dev/mapper/luks2
<clever> hyper_ch: but that mirror with luks might have security issues
<hyper_ch> why security issues?
<iqubic> infinisil: I am. I just had .zshrc from when I used to use gentoo.
<infinisil> ah
<clever> hyper_ch: i think luks uses a prng to generate a unique keystream for every block (based on the master key)
<clever> hyper_ch: and then does a simple xor against the data to encrypt
<clever> hyper_ch: if you have 2 volumes, with identical data, and you xorg them, you can cancel out the data
<iqubic> I'm trying have configuration.nix make a .zshrc with those settings. That's what I had when I used Gentoo
<clever> hyper_ch: now you have the result of xor'ing the 2 prng bitstreams
<hyper_ch> clever: no idea what you just said ;)
<clever> hyper_ch: crypto is complex, and i have no idea what the implecations of the above are
acarrico has quit [(Ping timeout: 240 seconds)]
<hyper_ch> or maybe I should at first just stick to /dev/sdx -> mdadm raid1 -> luks/dm-crypt -> zfs
<iqubic> I am going to use programs.zsh.ohMyZsh.... to set my zsh stuff up. Just not sure how to get Powerlevel9k to work properly.
<clever> hyper_ch: yeah, that would eliminate any chance of luks issues
bennofs has joined #nixos
<infinisil> iqubic: What I showed you doesn't work?
<hyper_ch> and it would be a setup that I'm already used to except using zfs instead of ext4 for the actual data
hotfuzz has joined #nixos
<iqubic> I haven't tried it. Do you think it would work in configuration.nix?
<hyper_ch> then I could get myself acquainted with zfs, snapshots etc... and then later do more
<infinisil> hyper_ch: You could wait for the next ZFS version and have all three layers in one
<infinisil> iqubic: Try it! You're asking too many questions
<infinisil> Just Do It
<hyper_ch> infinisil: which will be released ....
<iqubic> infinisil: After I add all that to my configuration.nix, where do I put my prompt settings?
<infinisil> hyper_ch: No idea, hold on let's see the release dates of previous versions
<hyper_ch> openzfs was it?
nh2 has quit [(Ping timeout: 264 seconds)]
<hyper_ch> last release 4 days ago
<clever> somebody in this channel had gotten it working on nixos about a week ago
<infinisil> oh god, 0.6 was released in 2013
<infinisil> and encryption will be in 0.8
<hyper_ch> 0.6.5 was released on july 11
<infinisil> But I wouldn't be surprised if it got released this year or early next year
<srhb> The z is for zeno.
<clever> i'm checking my logs
<infinisil> iqubic: See my config i sent you first
aminechikhaoui has joined #nixos
<hyper_ch> clever: what is that for: zfs create -o mountpoint=legacy ${cfg.poolName}/root ?
<clever> hyper_ch: that creates a new datataset (of type filesystem) inside the pool, at pool/root
<hyper_ch> why create legacy mount points /root /home /nix
<iqubic> I will Just Do It
<clever> hyper_ch: and it sets the mountpoint to legacy (required for the nixos initrd to mount it)
<hyper_ch> why not just use / for everything?
peacememories has joined #nixos
<clever> hyper_ch: i want snapshots on / but not on /nix/
<clever> hyper_ch: so /nix must be a seperate dataset
<clever> hyper_ch: i may also want to backup /home via zfs send, so it needs its own dataset
<infinisil> and i want my /home and /root backupped more regularily, not the others
<hyper_ch> I want to backup usually everything
<Sonarpulse> gchristensen: you mean https://github.com/NixOS/nixpkgs/pull/29568 ?
<infinisil> hyper_ch: /etc? /run?
<clever> hyper_ch: you basically never have to backup /nix, with just /etc saved, you can recreate the entire system via nixos-rebuild
<Sonarpulse> gchristensen: there's a stdenv-clang-Sierrahack in all-packages
<hyper_ch> clever: well, I use FDE because I might miss an importnat file when only useing file based encryption
<Sonarpulse> (name is something like that)
<infinisil> and i just have symlinks in /etc/nixos, so i don't backup /etc at all, because nixos creates all of it
<hyper_ch> clever: so I also backup everything so that I don't miss anything important ;)
<Sonarpulse> I just have the haskell stuff use that instead
<gchristensen> oh
<clever> hyper_ch: you can still image the entire disk for backups, or just zfs send every dataset's snapshots
Nobabs27 has joined #nixos
<hyper_ch> I see where you're coming from.... but I prefer to backup everything
<clever> hyper_ch: but you can also turn off automated snapshots for /nix
<detran> does anybody have a working firefox 57 overlay?
<clever> hyper_ch: for example, one of my systems, i didnt split /nix up, and now zfs snapshots "backup" everything i garbage collect
<hyper_ch> don't even know how automated snapshots work
<clever> hyper_ch: so garbage collection doesnt save any space
<hyper_ch> and you used ext4 for /boot because nixos would have issues?
<clever> hyper_ch: yeah
mortum5 has joined #nixos
phreedom has joined #nixos
<clever> hyper_ch: https://nixos.org/nixos/options.html#zfs.autosnapshot.enable
<Sonarpulse> gchristensen: I want to add the same --dump-normalized-lib-args flag to binutils
<hyper_ch> well, with luks/dm-crypt you "need" a seperate /boot... well, there's ways around but it's much easier :)
<infinisil> I really like my zfs dataset setup: https://git.io/vdGvZ
<Sonarpulse> and then we can dramatically simplify cc-wrapper across the board
<Sonarpulse> that I hope to land in master by 18.03
<clever> hyper_ch: with this on, any tagged dataset (zfs set com.sun:auto-snapshot=true pool/home) will get automatic snapshots
<hyper_ch> oh well, I've bookmarked your howto
<hyper_ch> s/howto/script/
<hyper_ch> and eventually I'll come back to it
<hyper_ch> but first I have to worry about infrastructure at the office
<hyper_ch> need to re-arrange a few things now
<clever> hyper_ch: that justdoit.nix is also part of a larger script, for installing nixos on any box, even remotely
revtintin has quit [(Ping timeout: 258 seconds)]
<clever> hyper_ch: basically, you compile a tar with nix-build, upload it to a machine, unpack it to /, run /kexec_nixos as root
<clever> hyper_ch: and then ssh back in, and its running nixos from a ramdisk
<hyper_ch> not using nixos on servers :)
<clever> then you can either nixos-install as usual, or justdoit (a shell command pre-installed into the ramdisk)
<infinisil> hyper_ch: Also check out znapzend: http://www.znapzend.org/
<clever> 2017-09-15 13:15:15< Mic92> clever: https://github.com/NixOS/nixpkgs/pull/29426 <- this allows to boot from zfs with native encryption
<clever> 2017-09-15 13:16:52< Mic92> disasm: no, requires zfsUnstable anyway
<clever> found it
CrazedProgrammer has quit [(Remote host closed the connection)]
<hyper_ch> infinisil: too much info :)
<clever> hyper_ch, infinisil: i believe with this, you can get raid, encryption, snapshots, and even use znapzend, and the remote backup server has no way to view the contents
<hyper_ch> but I want the backup server to be able to access the encrypted data
<clever> then you will need to manualy enter the password on the backup machine
<hyper_ch> there are times when I need to restore a file from 3 years ago
<clever> to unlock the data
<hyper_ch> ok
<clever> if you set the encryption flag directly on the pool (rather then pool/root like the wiki said), it will be inherited by everything
<clever> so its nearly the same as FDE
<clever> some metadata will be readable, the names of datasets, and sizes, but i believe filenames and their contents are totally protected
<hyper_ch> also bookmarked
<pmade> Is it possible to use NixOps to deploy 20-30 AWS EC2 instances that all share the same /nix/store somehow?
<Mic92> clever: works great so far
<clever> pmade: share them at what level?
<infinisil> clever: I'm considering redoing my data setup again
<clever> Mic92: is there also any way to load the passphrase from a file in /boot with no user intervention?
<Mic92> clever: yes.
<Mic92> key files are also supported
<clever> Mic92: i'm thinking, a way to do zfs encryption on a headless server, and i only have to destroy a key in /boot and know the rest is toast
<Mic92> clever: you probably have to do zfs load-key yourself
<clever> in postdevice i'm gueessing?
<pmade> clever: Good question. I want to use AWS to create development environments for teaching a class. But I don't want to have to upload closures N times (when using N servers)
<clever> pmade: ah, an AMI is better for that
<iqubic> Is there any guide on how to use fetchFromGitHub?
<pmade> clever: Okay, researching AMI then...
<clever> pmade: i believe you can generate an AMI, that has the entire closure, then upload that to amazon, and configure nixops to start with that AMI
detran has quit [(Remote host closed the connection)]
<clever> pmade: so nixops will only have to copy the differences (hostname, any future updates)
<Mic92> clever: ok. I just checked. you can also set a fixed key location for the dataset. This will be picked up by zfs load-key
<Mic92> clever: then it should just work with the current initrd
<clever> Mic92: ah, so as long as it exists in the initrd at the right path (either via mount, or embeded) it will work
<hyper_ch> Mic92: I still fail to see why you think FDE is bad
fendor has quit [(Ping timeout: 240 seconds)]
<pmade> clever: Also, will NixOps put anything sensitive (like AWS keys) in the nix store that I should watch for since students will be able to read the store?
<Mic92> hyper_ch: correctness is hard to prove
acarrico has joined #nixos
<hyper_ch> Mic92: I have no idea what you mean by that
<clever> pmade: i dont think it will do that, but you wil want to obviously restrict access to the user nixops is ran as
<Mic92> hyper_ch: have you seen the pictures about aes ECB mode?
<hyper_ch> Mic92: no
Nobabs27 has quit [(Quit: Leaving)]
<clever> Mic92: what could potentially go wrong if you make 2 luks volumes, and then mdadm mirror them into a single block device?
<pmade> clever: Hmm, that has me thinking. I was just going to run nixops from my laptop, but it sounds like you are suggestion I run it from another AWS instance.
<Mic92> hyper_ch: this is the reason why you need an initialisation vector (IV) for AES: https://en.wikipedia.org/wiki/Block_cipher_mode_of_operation#Electronic_Codebook_.28ECB.29
<clever> pmade: it would deploy a lot faster if it was in the same availability zone as the machines your creating
<hyper_ch> clever: you'd do it the other way around... create the raid1 mirror and then on the resulting block device create lucks
<clever> pmade: no longer bottlenecked by your upload bandwidth
<clever> hyper_ch: yeah, that would be safer from a crypto perspective
<pmade> clever: Yeah, that makes a *ton* more sense. Thanks!
<Mic92> hyper_ch: and it is hard to store this metadata in full disk encryption
<clever> Mic92: that reminds me, there is a problem ive researched about mpegts encryption (tv/satalite stuff)
<clever> Mic92: it lacks an IV, and due to h264 padding, there can be frames of all 0's
<clever> Mic92: and you can potentialy generate a rainbow table, to map an encrypted frame of all 0's, back to a key
<iqubic> Is there a guide to fetchFromGitHub?
<Mic92> clever: you can cannot recover from block errors with mdadm
eacameron has joined #nixos
<clever> Mic92: yeah, thats why i prefer to put the zfs directly on the devices
<Mic92> clever: this is also what I did before
<clever> Mic92: but what exactly can go wrong if you did use mdadm?
<hyper_ch> Mic92: nice pics but I have no idea what they mean
<clever> iqubic: fetchFromGitHub is a function that takes a handful of arguments (lines 192-194)
<clever> iqubic: and then based on their values, it will either fetch a github tarball url, or clone from github
<Mic92> hyper_ch: read this article instead: https://sockpuppet.org/blog/2014/04/30/you-dont-want-xts/
<iqubic> clever: Can I control where the cloned repo goes?
<hyper_ch> Mic92: I read that but I don't understand it
<clever> iqubic: the repo always goes into /nix/store, and fetchFromGitHub returns the path
<iqubic> Oh, really is that all it does?
<clever> iqubic: yeah, thats what every single derivation does
<Mic92> clever: if you just have mirror over two devices, you have not parity, when a bit flip happens. You cloud use a different raid mode though, like raid 6
<disasm> clever: what about zfsUnstable? I'm confused
<clever> Mic92: ah, so mdadm mirror doesnt know which side is "right"
<Mic92> disasm: this is the zfs master branch, so not a released version
<iqubic> Oh, I did not know that.
<clever> Mic92: but what about the luks level, does it have any checksum?
eacameron has quit [(Ping timeout: 255 seconds)]
<Mic92> clever: no. there is no authentication in luks. Thats the problem with fde. And even if you would have, there is no feedback implemented for mdadm
<clever> Mic92: ah, so the bitflips will just go clean thru luks (scrambling different bits as it gets decrypted), and then mdadm would get upset about the mismatch, and not know the right answer
<clever> Mic92: if zfs encryption wasnt an option, then you could do zpool create POOL /dev/luks1 /dev/luks2
<iqubic> clever: Do I need to tell fetch from package what sha256 checksum to use?
<clever> Mic92: then the bit flips will be visible to zfs, and it can pick the right size
<clever> iqubic: yes
<Mic92> clever: Yes. I still have such a pool deployed
<iqubic> Where do I find the sha256?
<clever> iqubic: nix-prefetch-git, or just supply a wrong hash, and look at the error nix-build gives
<hyper_ch> iqubic: you want to also add the program "nox" to your installed programs list
<clever> Mic92: hmmm, do you know if luks is just xorg(data, prng), or if its more complex?
<clever> xor, lol
cpennington has quit [(Remote host closed the connection)]
<infinisil> that is pretty secure
<infinisil> nothing wrong with xor
<clever> infinisil: but if you then have 2 drives, each doing drive1 = xor(data, prng1) and drive2 = xor(data, prng2)
<clever> infinisil: and then you xor the 2 drives together
<clever> you get the result of xor(prng1, prng2)
<infinisil> and what can you do with that
<clever> yeah, thats the real question
<Mic92> infinisil: it is deterministic. This is really a problem
<infinisil> xor(prng1, prng2) is just another prng
<infinisil> Mic92: I sure hope prng's are deterministic, otherwise you couldn't decrypt stuff with it
<infinisil> or am i missing something here
<Mic92> infinisil: but if you what the plaintext looks like, you could figure out the key
<Mic92> infinisil: aes xts tries to work around that
<clever> my understanding, is that the prng is based on the master key, and sector#
* infinisil thinks about that for a second
<clever> so every sector has a different prng
detran has joined #nixos
<iqubic> infinisil: what the home-manager zsh initExtra option correspond to in configuration.nix?
<iqubic> s/what the/what does the/
<Wizek> How can I switch nixpkgs on a non-nixos nix install? E.g. to 17.03?
lverns has joined #nixos
<clever> Wizek: with nix-channel
<infinisil> Mic92: But, isn't a prng just a function that maps a range of values to a greater range which is indistinguishable from true randomness?
jellowj has joined #nixos
<LnL> iqubic: don't know there are a bunch of shellInit options under programs.zsh
<infinisil> Damn, I took an intormation security course last year and i still don't know sh*t. That's exactly the kind of thing I'm supposed to know
* disasm is so confused, I didn't ask anything about zfs :) someone in here with a similar name today?
<infinisil> Oh, actually, I just found my zsh config from when i used the nixos config for that, not home-manager: https://github.com/Infinisil/system/blob/14a3abf45a3c234ca7b9eb1be051d72862806bf0/nixos/console.nix#L11-L62 <-iqubic
<disasm> oh, clever pasted a conversation from a week ago, I see now, ignore me
<hyper_ch> I tend to think that cryptsetup --cipher aes-xts-plain64 --key-size 512 --hash sha512 --iter-time 5000 --use-random --verify-passphrase luksFormat /dev/xxxxx is pretty secure
<iqubic> infinisil: That looks like it is using the default options for powerlevel9k
<iqubic> but regardless I think I can put all my config stuff into shellInit. It's just a list of variables that I'm setting.
<iqubic> Is shellInit when TTYs are fired up as well as Graphical Terminals?
<LnL> you can also use environment.variables.FOO = "bar" for that, that should work in all shells
<infinisil> I'm not sure if it needs to be in promptInit or shellInit
<Mic92> infinisil: it is unauthenticated, which means an attacker can change your data. And if you write to the same sector twice an attacker can check if you have written the same data again to the block
<iqubic> infinisil: no harm in trying bot an seeing what works is there?
callmecabman has joined #nixos
<infinisil> Mic92: Hmm right
<infinisil> iqubic: Huh? I don't get your question
<iqubic> s/bot/both
<Mic92> clever: actually a copy-on-write fs is more secure in combination with FDE, since it will not write to the same sector twice in a while
detran has quit [(Remote host closed the connection)]
<iqubic> I'm just telling you that I'm going to try putting my powerlevel9k config in both shellInit and promtInit and seeing what works
<iqubic> One at a time of course
<infinisil> iqubic: yeah suer
bennofs has quit [(Quit: WeeChat 1.9.1)]
<clever> Mic92: yeah, so the prng will rarely get reused
peacememories has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
k0001 has joined #nixos
<LnL> yes?
<clever> LnL: related to what you said previously
<clever> LnL: the results of some testing i did, on where every environment related flag lands
<clever> some wind up in profile, some in bashrc
<clever> and if your using zsh, the bashrc may not have an effect
<clever> and you may expect interactiveShellInit to affect zsh
<clever> (untested if zsh also supports interactiveShellInit seperately)
<LnL> if you enable programs.zsh.enable it'll also end up in zshenv
<clever> 172. yeah
<iqubic> What will?
<LnL> variables from the environment.variables module
<iqubic> Ah, I see. That's totally fine.
<clever> environment.variables.FOO will land inside a special set-environment script, and you have to programs.zsh.enable = true; for zsh to run that
<iqubic> I do have zsh.enable to true
<LnL> same with environment.interactiveShellInit etc.
sigmundv has quit [(Quit: Leaving)]
ryanartecona has joined #nixos
<LnL> the thing I always for get is what file actually gets loaded and in what order
detran has joined #nixos
<VLetrmx> Is it possible to use the build sandbox with nix-env?
<clever> LnL: i discovered that darwin bash never loads a file from /etc/ on bootup when doing "ssh user@darwin nix-store --serve"
<clever> LnL: so you must create a .bashrc in every user
<lverns> necronian: I recall that you were trying to get sudo working with ldap (and sssd?) Did you ever get that working nicely?
<LnL> yeah
<infinisil> whether a sandbox is used depends on your /etc/nix.conf, not on the command used
<infinisil> that is the nix.* options in configuration.nix
numerobis has joined #nixos
<infinisil> (nix.useSandbox)
MP2E has joined #nixos
kakashiAL has joined #nixos
bkchr has joined #nixos
<makefu> you can also use nix-build --option build-use-sandbox true for ad-hoc sandboxing
<infinisil> ah right
<bkchr> Hi, can I enable the Windows entry for systemd boot? bootctl shows me my windows, but it is not listed in the bootloader
<clever> bkchr: the choice of that has to be done in the uefi firmware, before systemd-boot starts
<bkchr> clever: So, systemd boot can not show me the entry?
<iqubic> Actually, I think he wants to create an menu entry for windows in their bootloader.
<iqubic> bkchr: It can do that.
peacememories has joined #nixos
<iqubic> It should do that automatically. Not sure why it isn't
<clever> bkchr: there are only 2 options in systemd-boot, enable, and editor, its very limited
<bkchr> Yeah, I saw that
<clever> and all editor does, is let you modify the kernel cmdline at the boot prompt
<clever> grub has a lot more options
<bkchr> Okay, then I should switch^^
<infinisil> does os-prober really work?
<iqubic> clever: for me systemd-boot worked straight out of the box
<infinisil> i guess it should
<bkchr> iqubic: what have you done for the windows entry?
<VLetrmx> infinisil, makefu, Hrm okay thanks I guess the sandbox must be working, I was just expecting this build to fail once I enabled it.
<iqubic> bkchr: I did nothing. It worked straight out of the box for me
<infinisil> boot.loader.grub.useOSProber <- might detect it
<iqubic> I should detect it.
<bkchr> infinisil: no, I already enabled that
<bkchr> But that should only work for grub?
<iqubic> bkchr: You have to use grub for that option to work proper;y
<infinisil> bkchr: it's a grub setting, if you're using systemd-boot you can't use it
<bkchr> yeah
<bkchr> that is what I thought
<clever> iqubic: do you see a choice for windows before, or after systemd-boot is running?
<makefu> VLetrmx: there is also `--option build-use-chroot true` if the derivation still builds :D
<VLetrmx> wait, what, the sandbox isn't a chroot?
<iqubic> I see the choice for windows in the boot menu along with all my NixOS generations.
superherointj has quit [(Quit: Leaving)]
<iqubic> clever: that is what I see
<clever> VLetrmx: the sandbox is a full container, including a chroot
<clever> iqubic: hmm, that does sound like systemd-boot
<catern> hey #nixos
<catern> really quick question
<catern> monitor.nixos.org
<catern> is it dead?
<catern> is it replaced by something else?
<clever> enter is not punctuation
<catern> sorry :(
<VLetrmx> :s Wouldn't build-use-chroot be redundant then in that case?
kakashiAL has quit [(Quit: WeeChat 1.9)]
<iqubic> clever: In my configuration.nix I have boot.loader.systemd-boot.enable = true; and boot.loader.efi.canTouchEfiVariables = true;
<iqubic> Maybe the second option there is the magic one
<VLetrmx> Ah right, okay
<catern> clever: I guess it's listed on "drop"
<clever> catern: yeah
<catern> gchristensen: that is your bug, so perhaps you know what's up with monitor.nixos.org/what's going to replace it?
<gchristensen> catern: monitor hasn't really ever worked since I've been around, so I'm pro-dropping it
<bkchr> iqubic: I have the same options in my configuration.nix
<catern> okay
<gchristensen> catern: a few projects have been kicked off but it is a Tough Problem
<catern> gchristensen: what projects? what was monitor.nixos.org, exactly, anyway?
<gchristensen> oh now I'm curious why you're asking about it :P
peacememories has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
<catern> haha, someone important is asking me about it and I desperately need to provide them an answer :)
<catern> I have no idea how they found out about it
<gchristensen> why are _they_ asking about it?
<catern> never heard of it myself
<gchristensen> it was used to find packages in need of updates
<infinisil> oh nice
<catern> I see
<catern> so it, like, tracked releases of packages?
<infinisil> like did it fetch releases from github for all fetchFromGitHub's?
<gchristensen> yeah but I'm super genuinely curious who is asking and why / what they think it is
<catern> upstream releases that is, and compared them against the derivations in nixpkgs
<gchristensen> infinisil: no, it monitored various datafeeds
acarrico has quit [(Ping timeout: 258 seconds)]
peacememories has joined #nixos
mgttlinger has joined #nixos
<catern> ah so it was like this thing? https://www.0d.be/debian/debian-gnome-3.26-status.html
<garbas> fpletz: is it required to cherry pick commits to release-17.09?
<gchristensen> catern: I've literally never seen it work
<garbas> or is there going to be another merge from master
<catern> gchristensen: sure, but, ideally :)
* garbas was out #nixos for the last 6 months
<gchristensen> garbas: no more merges from master to 17.09
<gchristensen> garbas: 17.09 is being released like today :)
<infinisil> garbas: welcome back!
<garbas> i bettter push my commit then :)
hotfuzz has quit [(Quit: WeeChat 1.9)]
erictapen has quit [(Ping timeout: 240 seconds)]
erictapen has joined #nixos
<catern> pbogdan: thanks
hotfuzz has joined #nixos
<necronian> lverns: No I never got around to getting sudo working, I just added my user to the sudoers file
numerobis has quit [(Ping timeout: 264 seconds)]
<iqubic> How does one change which branch is pulled with fetchFromGithub?
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] garbas pushed 1 new commit to release-17.09: https://git.io/vdGY8
<NixOS_GitHub> nixpkgs/release-17.09 0c2c8b1 Rok Garbas: assertion should check for encrypted.label of the defined fileSystem
NixOS_GitHub has left #nixos []
<infinisil> iqubic: What would you guess?
<iqubic> I would guess that the information is in a man page somewhere.
nix-gsc-io`bot has joined #nixos
<nix-gsc-io`bot> Channel nixos-17.09-small advanced to https://github.com/NixOS/nixpkgs/commit/f332307e84 (from 2 hours ago, history: https://channels.nix.gsc.io/nixos-17.09-small)
<nix-gsc-io`bot> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/748ef34f09 (from 2 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
nix-gsc-io`bot has quit [(Client Quit)]
<iqubic> I'd also guess that you are tired of spoon feeding me all this info
<infinisil> iqubic: rev = "master"
<lverns> necronian: okay thanks :)
<iqubic> What does rev stand for?
<hydraz> revision
<iqubic> And that can be used to set the branch that is chosen?
<necronian> lverns: I think it's going to be my weekend project now though
<infinisil> gchristensen: ?
<gchristensen> erm
erictapen has quit [(Ping timeout: 246 seconds)]
<LnL> iqubic: while a branch works you probably want to use a commit or tag, otherwise the build will break when there are new changes
<infinisil> :)
<iqubic> gchristensen: How does that answer my questions?
<makefu> Mic92: regarding aarch64, https://softiron.com/development-tools/overdrive-1000/ seems to be the thing i am looking for. advertising is "Cross-compiling or using emulation can be slow and time consuming. Go faster with native 64-bit and save time, money and frustration."
<Mic92> makefu: I don't get why cross-compiling is slow
<makefu> `can be slow and time consuming.` :D
<Mic92> makefu: how much do they want for this box
<makefu> i think retail was around 600 dollars (last year)
hotfuzz has quit [(Quit: WeeChat 1.9.1)]
mortum5 has quit [(Ping timeout: 240 seconds)]
hotfuzz has joined #nixos
<Mic92> makefu: now the only question is, what kernel they support
lverns has quit [(Quit: Leaving)]
<adelbertc> are there any examples of Nix builds that run a daemon process, interact with it, and shut it down, as part of the build? if that even is possible/is a thing?
<adelbertc> finding myself needing to interact with dockerd...
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] LnL7 pushed 2 new commits to master: https://git.io/vdG3D
<NixOS_GitHub> nixpkgs/master 29b2830 Niklas Hambüchen: consul: 0.7.5 -> 0.9.3
<NixOS_GitHub> nixpkgs/master 23b13e1 Daiderd Jordan: Merge pull request #29880 from nh2/consul-0.9.3...
NixOS_GitHub has left #nixos []
nh2 has joined #nixos
takle has quit [(Remote host closed the connection)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] LnL7 pushed 1 new commit to release-17.09: https://git.io/vdG3x
<NixOS_GitHub> nixpkgs/release-17.09 d337756 Niklas Hambüchen: consul: 0.7.5 -> 0.9.3...
NixOS_GitHub has left #nixos []
<makefu> Mic92: seems like they are supported by mainline. the system comes with opensuse leap
<clever> adelbertc: what exactly is it doing against dockerd?
<adelbertc> in the last 30 seconds or so ive realized i was being silly
<adelbertc> ignore my question
<adelbertc> :)
<adelbertc> (though out of curiosity still wondering if the whole start-talk to-stop a daemon process thing is not unheard of in Nix
<Mic92> makefu: looks good. the same processor is also used here: http://www.lenovator.com/product/103.html#params
<clever> adelbertc: that should be possible, as long as you can control what ports the daemon listens on, so it cant conflict with another instance of itself
orivej has joined #nixos
<makefu> Mic92: nice find, opteron A1100 is also what i've found
<makefu> actually there are a number of opteron cpus https://en.wikipedia.org/wiki/List_of_AMD_Opteron_microprocessors#Opteron_A1100-series_.22Seattle.22_.2828nm.29
honzi77 has joined #nixos
<makefu> (with ARM Cortex)
<makefu> THIS IS WHY WE CANNOT HAVE NICE THINGS!
<hyper_ch> does everyone in here know German? oO
<iMatejC> nein
<LnL> ^^
<disasm> Wei gehts?
<Mic92> oh oh
<LnL> there's a bunch of people I think
<disasm> Was machst du?
<makefu> actually the german nixos community currently resides mostly in #krebs but we could start #nixos-de
<disasm> that count? :)
sigmundv has joined #nixos
<Mic92> makefu: so these are all armv8 options we have at the moment: https://www.linaro.org/projects/armv8/
<makefu> Mic92: btw there also seems to be apm x-gene which uses the the same cortex
<makefu> what about the raspi3 ?
<Mic92> makefu: if you by enough of them, you might get the same performance :)
<Mic92> *buy
JosW has quit [(Quit: Konversation terminated!)]
<makefu> i would love to see some perf stats e.g. how long to build the linux kernel
<hydraz> can I somehow add a unit to the '%unitsToSkip'.. uh, thing, in switch-to-configuration.pl?
<hydraz> restarting tlp.service on nixos-rebuild makes my system hang
kkini has quit [(Remote host closed the connection)]
kkini has joined #nixos
Guest48395 has quit [(Quit: Lost terminal)]
<Mic92> makefu: https://github.com/NixOS/nixpkgs/pull/26805 <- still hoping for this one to land
<LnL> systemd.services.foo. restartIfChanged = ffalse;
sigmundv has quit [(Remote host closed the connection)]
<LnL> hydraz: ^
kuznero has joined #nixos
<hydraz> LnL: thanks
<lucasOfBesaid> I, too, would like to see cross-compilation made elegant
5EXAACZO7 has joined #nixos
07IAA8PMN has joined #nixos
<07IAA8PMN> [nixpkgs] orivej pushed 2 new commits to master: https://git.io/vdGZM
<07IAA8PMN> nixpkgs/master f7327c3 Tom Saeger: peco: 0.2.10 -> 0.5.1:
<07IAA8PMN> nixpkgs/master e216cd4 Orivej Desh: Merge pull request #29937 from tsaeger/pr/peco-0.51...
07IAA8PMN has left #nixos []
eacameron has joined #nixos
<5EXAACZO7> [nixpkgs] orivej closed pull request #29937: peco: 0.2.10 -> 0.5.1 (master...pr/peco-0.51) https://git.io/vdsxm
5EXAACZO7 has left #nixos []
bkchr has quit [(Quit: Konversation terminated!)]
honzi77 has quit [(Quit: Page closed)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] fpletz tagged 17.09 at b213a38: https://git.io/vdGnI
NixOS_GitHub has left #nixos []
<kuznero> Hi All! In order to upgrade to 17.09 is that enough to set `system.stateVersion = "17.09";` Then `sudo nix-channel --add https://nixos.org/channels/nixos-17.09 nixos` and then `sudo nixos-rebuild switch --upgrade`?
<LnL> \o/
<LnL> kuznero: don't change the stateVersion that could break stuff
<makefu> Mic92: with this we could "just" cross-compile?
<Mic92> makefu: except for the usual breakage
<makefu> well duh :D
<lucasOfBesaid> What "usually" breaks when cross-compiling?
<kuznero> LnL: thanks!
<LnL> but to answer your question, updating the channel and rebuilding is all you need to do
<hydraz> I.. don't even have a system.stateVersion :D:
pxc has quit [(Quit: WeeChat 1.9)]
azdle[m] has left #nixos ["User left"]
<Mic92> lucasOfBesaid: when native tools and target binaries gets mixed up
<kuznero> LnL: I thought so, but wanted to make sure I am not missing anything
<LnL> you can also run nixos-rebuild boot and reboot, that's slightly safer
<LnL> but I don't think there's any changes in this release that could cause issues with a regular switch
<kuznero> LnL: strange but when I rebuild it is still downloading the beta version (https://d3g5gsiof5omrk.cloudfront.net/nixos/17.09/nixos-17.09beta1314.dc4750b3c3/nixexprs.tar.xz). Is that normal after the release (party)? :)
<LnL> hydra is still building, the next update will be the stable one
<kuznero> ok, thanks
<fpletz> garbas: yeah, if you think if it is useful ;) we will continue to monitor master and cherry pick fixes anyway though
lucasOfBesaid has quit [(Quit: Page closed)]
takle has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] pmahoney opened pull request #29938: universal-ctags: include libiconv on darwin (master...universal-ctags-darwin) https://git.io/vdGcF
NixOS_GitHub has left #nixos []
callmecabman has quit [(Quit: leaving)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] orivej closed pull request #29792: Adding kafkacat (master...kafkacat) https://git.io/vdI9k
NixOS_GitHub has left #nixos []
nh2 has quit [(Quit: Leaving.)]
<kuznero> Does hercules suppose to replace hydra?
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] symphorien opened pull request #29939: Pysmbc (master...pysmbc) https://git.io/vdGC5
NixOS_GitHub has left #nixos []
<dtzWill> kuznero: maybe some day, see this issue for tracking hercules progress: https://github.com/hercules-ci/hercules/issues/5
<dtzWill> oh perhaps that's out-of-date
cement has quit [(Ping timeout: 260 seconds)]
yegortimoshenko has joined #nixos
<yegortimoshenko> are nixpkgs derivation options a part of public api?
ona has quit [(Ping timeout: 258 seconds)]
ona has joined #nixos
<LnL> dtzWill: did you see my comment on the llvm-5 pr
<infinisil> I don't quite understand what you mean, but the answer is yes, because everything is open source
<infinisil> yegortimoshenko: ^^
<yegortimoshenko> infinisil: what i mean is if a derivation option could be dropped from the derivation if not needed anymore or if it should be deprecated and left as a non-op
<infinisil> you mean the basic nix type of a derivation? Or mkDerivation?
ona has quit [(Ping timeout: 240 seconds)]
<yegortimoshenko> i mean, some specific derivation option has, say, enableGTK2 option (or input), but upstream has switched to GTK3
<yegortimoshenko> s/specific derivation option/specific derivation/
<yegortimoshenko> or if there was some feature that could be disabled at build-time, and there was a derivation input, say, enableFeature ? true, and now it's mandatory, what should be done with the option?
Wizek_ has quit [(Ping timeout: 255 seconds)]
<infinisil> ohh, you mean an argument, and that's no derivation argument, it's an argument to a function that produces a derivation
<infinisil> It depends I'd say
<yegortimoshenko> technically you are right, ok, package argument
<infinisil> If it's easily possible I'd keep it in there for a bit longer, having a warning for when it's still used, and deprecate it later
<infinisil> but if not many people are using it I'd just remove it
<infinisil> the users that know nix/nixpkgs will just realize that it got removed by looking at the commits, and lesser advanced users will just ask the former :P
<infinisil> and optionally put it in the release notes
<yegortimoshenko> i see, thanks
<LnL> I would say that it depends, don't think you should keep it around if it doesn't make sense
<yegortimoshenko> i personally prefer java's approach with deprecated functions that never go away
<yegortimoshenko> (but i was asking specifically about nixpkgs policy)
Neo-- has joined #nixos
hiratara has quit [(Ping timeout: 258 seconds)]
jensens has joined #nixos
hiratara has joined #nixos
eacameron has quit [(Remote host closed the connection)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] orivej closed pull request #29815: fetchFromGitHub: Always add meta.homepage to the derivation (master...fetchFromGitHub) https://git.io/vdt2O
NixOS_GitHub has left #nixos []
mudri has quit [(Ping timeout: 246 seconds)]
<pie_> has anyone tried installing the unity ide
k0001 has quit [(Ping timeout: 258 seconds)]
<tilpner> Yes
<infinisil> pie_: Just ask your question directly
<pie_> how do i install the unity ide
<pie_> i dont see a package listed on the online package list
<pie_> but i see allusions to it existing
<tilpner> You don't see the unity3d package?
<MP2E> is unity3d a nonfree package? perhaps you need to enable unfree packages
<MP2E> (to be fair, this is a bit obtuse to figure out)
<tilpner> (You'll also need programs.unity3d.enable = true; for permissions)
deepfire has quit [(Ping timeout: 258 seconds)]
<pie_> why the heck does unity need permissions...
<pie_> huh well ill give that a shot
koserge has quit [(Ping timeout: 248 seconds)]
<clever> pie_: ah, the option tilpner mentioned is an alias to security.chromium.SuidSandbox.enable
<clever> pie_: unity must be reusing the chromium setuid wrapper for its sandboxing
<MP2E> huh. interesting
<clever> and nix doesnt allow setuid binaries in the store, so you need to enable it in the nixos config
<yegortimoshenko> can i get an interactive shell if boot stage 1 has failed? (i get `mounting rpool/root on /mnt/root failed: Input/output error` after forced shutdown)
<pie_> huhhhh. what does that even mean? (i know what sandboxing is in general)
<clever> yegortimoshenko: add "boot.allow_shell" to the kernel parameters i believe
<clever> pie_: its dropping some perms that it doesnt need, i dont remember what exactly
<clever> pie_: but on some kernel configs, you need root to drop them further
<pie_> need perms to drop perms...that sounds...counterproductive.
<clever> pie_: its more like switching to the nobody account
malwarebr has joined #nixos
<clever> the kernel doesnt allow changing uid once you have dropped root
<pie_> if you say so.
<pie_> ah.
<pie_> right.
* pie_ scratches head
<pie_> is there any way to see why my store is so big
<clever> pie_: many, one sc
<clever> pie_: first, have you tried just a normal "nix-collect-garbage" with no flags?
<pie_> yeah
<infinisil> du $(nix-store -qR /run/current-system) -hsc | sort -h | tail
mudri has joined #nixos
<clever> du --max=0 -hc $(nix-store -qR /run/current-system) | sort -h
<pie_> xD
<clever> both of those will show everything that the current build of nixos depend son
<clever> but there many be fat things from older nixos builds, your nix-env profile, or result symlinks you left laying around
<pie_> for the record the latter is much faster
<clever> try the first one again
<pie_> yeah thats 9 gigs out of 60
<pie_> well, not as slow the second time around
<clever> there is a cache in the kernel, so the 2nd will always be faster, no mater which order you ran them in
<pie_> ok theyre more or less the same speed now.
<clever> yep
<clever> now its just down to how fast your terminal can render
<pie_> lol
<clever> |tail shows less
<clever> ive been in situations where the terminal was the bottleneck
<clever> pie_: next, find something fat from that listing that you dont want, and run nix-store --query --roots against it
<clever> that will tell you why its rooted
<pie_> well 9 gigs out of 60 isnt very fat :/
<clever> ah, but thats just for the latest generation of nixos
<clever> du --max=1 -hc /nix/store | sort -h
<clever> this one will be thr entire store
<pikajude> what's sort -h do
<pikajude> bsd sort doesn't have it
orivej has quit [(Ping timeout: 260 seconds)]
<clever> pikajude: it sorts 900kb as being less then 1mb
<pikajude> oh
<clever> sort -n considers 900kb to be creater then 10mb
<clever> because 900 > 10
<pikajude> it does, doesn't it
<pie_> apparently i have GHC a couple of times 0_o
<pikajude> yeah you would
<pikajude> just GC em
<clever> but he already ran a GC recently
<clever> so something is rooting them
<clever> pie_: what does --query --roots say about those GHC's?
<pie_> yeah one sec
<pie_> uhh, /nix/var/nix/profiles/system-44-link ?
<pikajude> old generation?
<pie_> yeah thats what id guess
<clever> pie_: ]$ ls -l /nix/var/nix/profiles/system
<pie_> ffs i really need to learn nix one of these days
<clever> what number are you up to now?
<pie_> 69
<pie_> heh
<clever> pie_: nix-env --delete-generations 44 -p /nix/var/nix/profiles/system
<clever> that would get rid of just 44, and then follow it up with a normal nix-collect-garbage
<pie_> right
<pie_> well that freed about 1.8 gigs
<tilpner> Are there generations you want to keep?
<clever> there is also `nix-collect-garbage --delete-older-than 30d` (as root), which gets rid of any generation over 30 days old
<pie_> rinse repeat
<pie_> tilpner, to be fair, probably not
<clever> so you can choose between the nuclear "anything old" option, or prune i carefully
<tilpner> Then do what clever said, or delete all old ones with "sudo nix-collect-garbage -d"
<clever> -d just gets rid of everything old, with no time limit
numerobis has joined #nixos
<pie_> right.
hke has quit [(Ping timeout: 246 seconds)]
<infinisil> This should be a longer option tbh
<infinisil> something like --delete-every-generation
hke has joined #nixos
<clever> the man page is also fairly sparse
<clever> and people often run it without root then wonder why it didnt delete anything
<tilpner> Hey clever, quick question: I import a package from GitHub via fetchFromGitHub [ tx0.co/E0ke.nix ], then callPackage that repo. The package installs fine, but the checked-out repo is gc-ed on next collection. What's the prettiest way to make sure they're not collected?
silver_hook has quit [(Ping timeout: 260 seconds)]
<clever> infinisil: though i do see a long form, -d (--delete-old),
hiratara has quit [(Quit: ZNC - http://znc.in)]
<clever> tilpner: not entirely sure, but i think "gc-keep-outputs = true" and "gc-keep-derivations = true" in nix.conf control that
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] garbas opened pull request #29940: base16-builder: init (master...base16-update) https://git.io/vdGuI
NixOS_GitHub has left #nixos []
Itkovian_ has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
hiratara has joined #nixos
<tilpner> There's no other way to root them from nixos-config that systemPackages?
<tilpner> *than
jellowj has quit [(Quit: WeeChat 1.7.1)]
* tilpner reads nix.conf man
<clever> tilpner: you can also run nix-build against a nix expression pointing to the fetched source, and keep the result symlink
<infinisil> or create your own root or indirect root
<infinisil> nix-store --add-root <path> /nix/store/... or nix-store --add-root <path> --indirect /nix/store/...
NightTrain has joined #nixos
NightTrain has quit [(Changing host)]
NightTrain 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/d33775671f (from 2 hours ago, history: https://channels.nix.gsc.io/nixos-17.09-small)
nix-gsc-io`bot has quit [(Client Quit)]
<pie_> oh for chrissake i freed up 4 gigs how much space does this thing need haha
<clever> pie_: back to the previous du output, any ghc's left?
<tilpner> A manual solution is no good, unless I can automate the nix-build somehow and keep the result symlink in the store? gc-keep-outputs looks nice, but I'm worried it will keep a lot of other unnecessary build outputs aronud too
<clever> what roots them?
<pie_> ah yeah i can do the spacce freeing stuff im just annoyed at unity now
<Phyra[m]> is 17.09 out?
<pie_> clever, hm, profile links apparently
<clever> pie_: latest generation?
<pie_> clever, not even close afaict
malwarebr has quit [(Read error: Connection reset by peer)]
jellowj has joined #nixos
<pie_> well i said screw it and nuked anyhting older than 100 days
jellowj has quit [(Client Quit)]
jtojnar_ has quit [(Read error: Connection reset by peer)]
jtojnar_ has joined #nixos
<globin> Phyra[m]: it is tagged but waiting for hydra for a channel bump and the official announcement which will probably happen tomorrow afternoon GMT
k2s has joined #nixos
mattcode has quit [(Quit: Leaving)]
jellowj has joined #nixos
jensens has quit [(Ping timeout: 240 seconds)]
ryanartecona has quit [(Quit: ryanartecona)]
ryanartecona has joined #nixos
<garbas> yaaaay!
ryanartecona has quit [(Client Quit)]
kungfukenny has quit [(Ping timeout: 240 seconds)]
_ris has joined #nixos
Neo--- has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] garbas closed pull request #29940: base16-builder: init (master...base16-update) https://git.io/vdGuI
NixOS_GitHub has left #nixos []
Neo-- has quit [(Ping timeout: 258 seconds)]
<garbas> anybody using alacritty as their terminal? is it stable?
<garbas> probably i should asked, is it usable :)
digitus has quit [(Quit: digitus)]
k2s has quit [(Quit: Leaving)]
acarrico has joined #nixos
numerobis has quit [(Ping timeout: 240 seconds)]
<pie_> i like how installing winetricks pulls in most of x11 :I
<pie_> oh apparently it pulls in wine too..
* pie_ shrugs
<pie_> garbas, i think so? but they have a channel at #alacritty
Neo--- has quit [(Ping timeout: 258 seconds)]
colabeer has joined #nixos
sigmundv has joined #nixos
<colabeer> how did you guys setup your screen locker in nixos so it starts when you close your laptop?
erasmas has quit [(Quit: leaving)]
<infinisil> sddm the display manager does that for me
<colabeer> hm i wonder if i3 has an option for that
<kkini> wow, written in rust huh
<kkini> I should try it
simukis has quit [(Quit: simukis)]
<garbas> pie_: thx, i'll look at the issue / PRs
<pie_> uh does nix-collect-garbage -d 70d also collect normal garbage? because thats kind of annoying because i keep running out of space and having to delete more and then it also cleans up the large already downloaded stuff that i have to dl again
<kkini> what is "normal garbage"?
<pie_> "nix-collect-garbage"
<pie_> i mean i guess this is a "my use case at the moment " thing
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Mic92 pushed 1 new commit to master: https://git.io/vdGab
<NixOS_GitHub> nixpkgs/master 3db9841 Joerg Thalheim: bcc: fix relocation bug downgrading to llvm 3.9...
NixOS_GitHub has left #nixos []
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Mic92 pushed 1 new commit to release-17.09: https://git.io/vdGaA
<NixOS_GitHub> nixpkgs/release-17.09 4da6934 Joerg Thalheim: bcc: fix relocation bug downgrading to llvm 3.9...
NixOS_GitHub has left #nixos []
ertes-w has quit [(Ping timeout: 240 seconds)]
<infinisil> pie_: If you want to persist something you need a gcroot to refer to it
<infinisil> nix-store --add-root <path> /nix/store/... or nix-store --add-root <path> --indirect /nix/store/...
<pie_> right,
<pie_> .
sary has joined #nixos
tmaekawa has joined #nixos
pie_ has quit [(Remote host closed the connection)]
pie_ has joined #nixos
ryantrinkle has quit [(Ping timeout: 248 seconds)]
<kkini> How much work would it be to move the nix store (for a multi-user Nix installation on a non-NixOS system) to a different path?
<kkini> I understand I'd have to rebuild everything since paths are hardcoded into a lot of things by patchelf etc., but is there tooling that supports such a procedure?
peacememories has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
<lluchs> kline: see https://nixos.org/nix/manual/#ch-installing-source "--with-store-dir"
<lluchs> well that's not who I wanted to highlight
<lluchs> kkini: you have to compile nix with that configure option
iqubic has quit [(Quit: Page closed)]
lverns has joined #nixos