ee1943 has quit [(Remote host closed the connection)]
ee1943 has joined #nixos
python476 has quit [(Ping timeout: 260 seconds)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] dtzWill opened pull request #30105: radiotray-ng: init at 0.1.7 (master...feature/radiotray-ng) https://git.io/vd4x9
NixOS_GitHub has left #nixos []
<dtzWill> go go gadget pull request
tg has joined #nixos
silver_hook has quit [(Ping timeout: 240 seconds)]
<alp> sophiag, looks like by default the X client is disabled on darwin: https://github.com/NixOS/nixpkgs/blob/master/pkgs/applications/editors/emacs/default.nix#L5
<alp> so you probably have to override this
takle has quit [(Remote host closed the connection)]
<alp> sophiag, you might want to give a shot at pkgs.emacsMacport
<sophiag> yeah, that's what i figured. tbh i just gave up and installed my emacs pkgs by hand :(
<sophiag> i'm frankly impressed by the level of rudeness and misogyny in the #emacs channel. it's like a nerd stereotype. i never get that over here :)
<alp> yeah worst case you could use something like "use-package" in your emacs config to have emacs itself install your favorite packages if they're not installed yet.
<sophiag> yeah, i know. but i put off setting up use-package for years and then found nix :p
<alp> I was using that until I started using 'emacsWithPackages' =)
acarrico has quit [(Ping timeout: 258 seconds)]
<sophiag> yeah, nix takes the cake. but apparently darwin is a bit lacking. i mean, i knew that from the nixpkgs repo...only learned firsthand today
contrapumpkin has quit [(Quit: My MacBook Pro has gone to sleep. ZZZzzz…)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] herberteuler opened pull request #30106: Mathematica: 11.0.1 -> 11.2.0 (master...fix/mathematica-11.2.0-update) https://git.io/vd4pK
NixOS_GitHub has left #nixos []
<alp> sophiag, I'm sure the nix-darwin folks will have a fix :)
Wizek__ has quit [(Ping timeout: 246 seconds)]
<sophiag> it's even slower in there. so far one other confused user!
<sophiag> anyway, i'm set for the morning. headed home
<sophiag> and seriously considering switching to vim 2k18. emacs users are such jerks
Guest69587 has quit [(Ping timeout: 248 seconds)]
<mudphone> Hi, I'm installing Erlang on Nixos using asdf-vm, and it's failing on curses. Is there a package like `ncurses-devel` on nixos?
tester123 has quit [(Ping timeout: 260 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/0a74d0fc01 (from 3 hours ago, history: https://channels.nix.gsc.io/nixos-17.09-small)
nix-gsc-io`bot has quit [(Client Quit)]
thc202 has quit [(Ping timeout: 258 seconds)]
sigmundv has joined #nixos
_ris has quit [(Ping timeout: 258 seconds)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] danbst opened pull request #30107: declarative containers: improve example config (master...patch-13) https://git.io/vd4jL
NixOS_GitHub has left #nixos []
ona has joined #nixos
sophiag has quit [(Quit: http://www.kiwiirc.com/ - A hand crafted IRC client)]
<wilornel> Do you think it is possible to use Nix to declaratively manage running processes (services / daemons / database servers / redis servers ) ?
<wilornel> Is it possible with #nix only and not #nixos?
<kkini> maybe nixops does that?
<wilornel> interesting, and I'd like to note that this is for deploying NixOS machines, and not any distributions
orivej has quit [(Ping timeout: 248 seconds)]
<wilornel> I mean that _this_ (nixops) is for deploying NixOS machines ..
<wilornel> I would have liked a solution that works on many distributions (like nix works on many distributions)
<kkini> I see what you mean
acarrico has joined #nixos
iqubic has joined #nixos
<iqubic> How can I get libreoffice's spell check to work properly?
jb55 has joined #nixos
Supersonic112 has quit [(Disconnected by services)]
Supersonic112_ has joined #nixos
Supersonic112_ is now known as Supersonic112
iyzsong has joined #nixos
griff_ has quit [(Quit: griff_)]
griff_ has joined #nixos
griff_ has quit [(Client Quit)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] carlsverre opened pull request #30108: dep: init at 0.3.1 (master...dep-init) https://git.io/vdBeQ
NixOS_GitHub has left #nixos []
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] carlsverre opened pull request #30109: kbfs: 20170922.f76290 -> 20171004.70800d (master...kbfs-update) https://git.io/vdBed
NixOS_GitHub has left #nixos []
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] carlsverre opened pull request #30110: keybase: 1.0.30 -> 1.0.33 (master...keybase-update) https://git.io/vdBeF
NixOS_GitHub has left #nixos []
graperoot has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] carlsverre opened pull request #30111: spotify: 1.0.64.401.g9d720389-21 -> 1.0.64.407.g9bd02c2d-26 (master...spotify-update) https://git.io/vdBeN
NixOS_GitHub has left #nixos []
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] carlsverre opened pull request #30112: keybase-gui: 1.0.25-20170714172717.73f9070 -> 1.0.33-20171003193427.d… (master...update/keybase-gui) https://git.io/vdBep
NixOS_GitHub has left #nixos []
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] siddhanathan opened pull request #30113: packer: 1.0.3 -> 1.1.0 (master...packer) https://git.io/vdBvK
NixOS_GitHub has left #nixos []
<nh2> hyper_webirc: yeah, fiber7 ... I think tomorrow I'll call init7 and ask them how much the 10gbit line would cost. I don't need it yet, but I'd really like to know
luigy has left #nixos []
luigy has joined #nixos
lambdamu_ has joined #nixos
lambdamu has quit [(Ping timeout: 260 seconds)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] NeQuissimus closed pull request #30109: kbfs: 20170922.f76290 -> 20171004.70800d (master...kbfs-update) https://git.io/vdBed
NixOS_GitHub has left #nixos []
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] NeQuissimus closed pull request #30110: keybase: 1.0.30 -> 1.0.33 (master...keybase-update) https://git.io/vdBeF
NixOS_GitHub has left #nixos []
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] NeQuissimus closed pull request #30112: keybase-gui: 1.0.25-20170714172717.73f9070 -> 1.0.33-20171003193427.d… (master...update/keybase-gui) https://git.io/vdBep
NixOS_GitHub has left #nixos []
iyzsong has quit [(Ping timeout: 248 seconds)]
dieggsy has quit [(Ping timeout: 258 seconds)]
iqubic has quit [(Ping timeout: 260 seconds)]
mbrgm has quit [(Ping timeout: 248 seconds)]
puckipedia has quit [(Ping timeout: 240 seconds)]
zraexy has quit [(Ping timeout: 248 seconds)]
bigvalen has joined #nixos
viaken has quit [(Ping timeout: 260 seconds)]
mbrgm has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] NeQuissimus pushed 4 new commits to master: https://git.io/vdBft
<NixOS_GitHub> nixpkgs/master 843a75d Tim Steinbach: keybase-gui: 1.0.25 -> 1.0.33
<NixOS_GitHub> nixpkgs/master 6581ad8 Tim Steinbach: keybase: 1.0.30 -> 1.0.33
<NixOS_GitHub> nixpkgs/master 8c207e9 Tim Steinbach: kbfs: 20170922.f76290 -> 20171004.40555d
NixOS_GitHub has left #nixos []
<fearlessKim[m]> pingveno: I've had some trouble with end of lines too after installing nixUnstable. Have you done that ? I had to rollback to fix it
viaken has joined #nixos
Leo` has quit [(Ping timeout: 240 seconds)]
kosmikus has quit [(Ping timeout: 240 seconds)]
petar has quit [(Ping timeout: 240 seconds)]
puckipedia has joined #nixos
kosmikus has joined #nixos
petar has joined #nixos
Leo` has joined #nixos
<kkini> When building a single derivation with enableParallelBuilding on a multi-user nix installation, only one of the nix builder user accounts is used, right?
<kkini> (that seems like the obvious thing to do, but just thought I'd ask)
<fearlessKim[m]> anyone knows of a benchmark between the nix-user based solutions ? like nixup vs nix-home vs nix-homemanager etc. while reading through the PR, I discovered the users.users.myUser.packages solution which is essentially what I was looking for but as I sync my conf between 3 pcs, such a comparison might still be of interest
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] carlsverre closed pull request #30111: spotify: 1.0.64.401.g9d720389-21 -> 1.0.64.407.g9bd02c2d-26 (master...spotify-update) https://git.io/vdBeN
NixOS_GitHub has left #nixos []
takle has joined #nixos
tg has quit [(Quit: Leaving)]
takle has quit [(Ping timeout: 260 seconds)]
contrapumpkin has joined #nixos
jmsb has joined #nixos
<pingveno> fearlessKim[m]: The EOF problem was with the 17.09 release.
Piece_Maker has joined #nixos
Acou_Bass has quit [(Ping timeout: 240 seconds)]
Wizek has quit [(Quit: Connection closed for inactivity)]
<pie_> i always forget what i have to do for this
Piece_Maker is now known as Acou_Bass
<pie_> so i did nix-shell -p openssl
<pie_> and then ran rstudio
<pie_> and now im trying to install an r package that uses openssl, but its not finding openssl in the configure phase
drakonis has joined #nixos
sigmundv_ has quit [(Ping timeout: 240 seconds)]
<fearlessKim[m]> it's annoying how some packages attributes use "-" while others use "_"; it should be more consistent
derchris has quit [(Ping timeout: 260 seconds)]
derchris has joined #nixos
<kkini> pie_: are you on nixos or running nix on a different system?
<pie_> nixos
<kkini> not sure then... I poked around a bit and found I needed to do nix-shell -p pkgconfig before pkg-config would find openssl inside the nix-shell (otherwise I was getting my external system's /usr/bin/pkg-config)
<kkini> but on nixos such a mixup couldn't happen, I guess
sigmundv__ has quit [(Ping timeout: 258 seconds)]
<pie_> yeah that didnt help
<pie_> well here goes nothin
tg has joined #nixos
acarrico has quit [(Ping timeout: 240 seconds)]
lukec has quit [(Ping timeout: 258 seconds)]
infinisil has quit [(Quit: WeeChat 1.9)]
jmsb has quit [(Read error: Connection reset by peer)]
pie_ has quit [(Ping timeout: 260 seconds)]
jmsb has joined #nixos
dj_goku has joined #nixos
gandreani has joined #nixos
jmsb has quit [(Read error: Connection reset by peer)]
<gandreani> Hello folks! Does anyone know if apache bench is in nixpkgs? I tried ab or apache-utils or httpd-utils
tg has quit [(Ping timeout: 240 seconds)]
jmsb has joined #nixos
<gandreani> Nvm I'll just send this to a debian server to test
jmsb has quit [(Remote host closed the connection)]
<gandreani> Ah nvm again! I found it incase anyone was interested. It was inside the apache-httpd package all along. Tricky
gandreani has quit [(Quit: leaving)]
zraexy has joined #nixos
Ridout has quit [(Quit: Lost terminal)]
sophiag has joined #nixos
sophiag has quit [(Client Quit)]
iqubic has joined #nixos
<iqubic> If I add LibreOffice to systemPackages, do I also need to add hunspell? Or is hunspell a dependency of LibreOffic already.
<iqubic> Trying to make spell check work properly.
zzamboni has joined #nixos
Arcaelyx_ is now known as Arcaelyx
ee1943 has quit [(Remote host closed the connection)]
tg has joined #nixos
lukec has joined #nixos
xdelv has quit [(Ping timeout: 240 seconds)]
xdelv has joined #nixos
sophiag has joined #nixos
sophiag has quit [(Client Quit)]
fusion809 has joined #nixos
<fusion809> Hey does the topic of this channel cover using Nix on non-NixOS systems? As I've got a question about its use on Arch Linux
iyzsong has joined #nixos
MercurialAlchemi has joined #nixos
<iqubic> fusion809: This is the place to ask. Go ahead.
<fusion809> Thanks, I installed version 1.11.15 (oddly there's a bug where previous versions in the 1.11.x series won't build atm) and when I run nix-channel --update I get: https://paste2.org/FI45650K. I've added myself to the nixbld group (after creating it with groupadd) and rebooted yet I still get this error.
<hyper_webirc> nh2: they offer 10gbit? I got just 1gbit for my home and my office :)
<hyper_webirc> nh2: I find it hard to saturate 1gbit :)
zzamboni has quit [(Quit: Leaving.)]
<fearlessKim[m]> home-manager news i cool, notifications for newly supported programs o/
drakonis has quit [(Quit: Leaving)]
<iqubic> fusion809: try running that command as root
leat has joined #nixos
<hyper_webirc> seems home manager has taken off in #nixos recently:)
<fearlessKim[m]> nix-home doesn't seem to bring much compared to git+dotfiles and nixup is just a PR (that doesn't merge with master). The only left choice looks to be home-manager
<hyper_webirc> no idea what home-manager even does :)
<iqubic> I want to try using home-manager.
proteusguy has quit [(Remote host closed the connection)]
<fusion809> Ya did. Got same error.
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] adisbladis opened pull request #30117: firefox-beta-bin: 57.0b4 -> 57.0b5 (master...firefox-beta-bin-570b5) https://git.io/vdBmU
NixOS_GitHub has left #nixos []
otwieracz has joined #nixos
<otwieracz> Hello.
<otwieracz> Like year or two years ago I've tried nixos – and it always ended like that I needed to keep separate copy of nixpkgs repo in order to add new things without waiting for them to be merged into upstream. And on desktop it was completetly impoosible to use some stable release - because of this repo issue.
<otwieracz> I remember idea of some „nix-channels”.
<otwieracz> But there was something wrong about it and in result it was not used at all.
sophiag has joined #nixos
<otwieracz> Does it changed? Is this possible to have some overlays, or something?
<srhb> otwieracz: You can add overlays (those are the exact names)
<srhb> Er, that is the exact name
<srhb> That said, you've always been able to override nixpkgs, it's just slightly simpler now.
<srhb> And yes, I feel that need as well (and I love that it's so easy)
jb55 has quit [(Ping timeout: 240 seconds)]
sophiag has quit [(Client Quit)]
<fusion809> Hey does nix build everything from source? Or does it do both source and binary installs? Mostly just curious.
<fearlessKim[m]> otwieracz: many people clone the nixpkgs repository and use packages from that
<fearlessKim[m]> fusion809: depends on your revision. If you use basic channels, there is a binary cache that you can download from
<fusion809> Ah thanks.
<fusion809> Is there a default behaviour? Like will Nix, if using the channel for the latest stable release 17.09, by default build from source or it will it instead install from the binary cache if available? Or do you have to configure it to use the binary cache?
<adisbladis> fusion809: Then you are on the 17.09 release channel. Almost all things will be fetched from binary cache
<fusion809> Ah, thanks. Just wanted to get an idea whether it's closer to Portage or pacman in that sense.
MercurialAlchemi has quit [(Ping timeout: 260 seconds)]
proteusguy has joined #nixos
<otwieracz> fearlessKim[m]: Previously I had to work with it like that. I had my own fork of nixpkgs where I added my own stuff and periodically I've rebased it to upstream.
<otwieracz> fearlessKim[m]: However this ended up being terribly bleeding edge.
<isHavvy> You can use overlays now instead of forking everything.
<fusion809> Oh so there's a bleeding-edge channel for Nix available? Must admit NixOS' repositories are too conservative to me, says that guy running Arch Linux as his primary OS atm :P.
<fearlessKim[m]> otwieracz: is that a bad thing ? overlays keep not upstreamable changes while my nixpkgs fork contains my or other patches waiting to be merged. It's usually merged quickly so overall it's quite an ok workflow
hyper_webirc has quit [(Quit: Page closed)]
<otwieracz> OK, and another question. How about nixops? I've got bunch of ubuntu servers, mailservers, etc. I have very little time to maintain those. It *seemes* like it will be good solution to slowly migrate to nixos & nixops. I really like being able to quickly update OS while being able to revert if things go wrong and I don't have few hour to debug.
<otwieracz> The „problem” is that I'll probably have to extend NixOps to support SmartOS (this should be doable).
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] bjornfor pushed 1 new commit to master: https://git.io/vdBYk
<NixOS_GitHub> nixpkgs/master 2eeb004 Guanpeng Xu: Mathematica: 11.0.1 -> 11.2.0
NixOS_GitHub has left #nixos []
<otwieracz> But how's you general feeling? Is NixOS ready for „everyday use”? Let's say I am going with stable release - are security patches backported quickly?
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] bjornfor closed pull request #30106: Mathematica: 11.0.1 -> 11.2.0 (master...fix/mathematica-11.2.0-update) https://git.io/vd4pK
NixOS_GitHub has left #nixos []
<fearlessKim[m]> otwieracz: I don't care about security much but I noticed a mailing list dedicated to security
<etu> fusion809: I'm on nixos-unstable, for packages to get in there the entire tree need to finish a bunch of tests and such. But there's also nix-unstable which has less tests. Or just plain "master". With nixos-unstable I experience that most things are in the binary cache anyways.
iyzsong has quit [(Ping timeout: 240 seconds)]
<fearlessKim[m]> as nixos targets server, I guess security is addressed ok
<fearlessKim[m]> otwieracz: I am trying to use nixops. It is a bit buggy so you might have to patch but the whole concept looks sexy so it remains my choice
jsgrant has quit [(Quit: Leaving)]
<otwieracz> What kind of bugs you're talking about?
sophiag has joined #nixos
sophiag has quit [(Client Quit)]
reinzelmann has joined #nixos
deepfire has joined #nixos
koserge has joined #nixos
Wizek__ has joined #nixos
Wizek has joined #nixos
koserge has quit [(Ping timeout: 246 seconds)]
deepfire has quit [(Ping timeout: 248 seconds)]
mbld has joined #nixos
jacob has joined #nixos
jacob is now known as Guest79644
<Moredread> otwieracz: I've been running nixos as my main desktop OS since may and I'm very happy as an ex-arch user. I'm in the process of migrating my server(s) to nixos, e.g. as I had massiv issues with keeping my gitlab install uptodate. With nixos I'm much more comfortable, to try a complex setup again, as I have yet to encounter an issue where something really broke, while I constantly had to tweak my ansible/docker
<Moredread> deployment setup
endformationage has quit [(Quit: WeeChat 1.9)]
<Moredread> The ability to update packages locally is so great, with e.g. debian I constantly had issues after a while with manually updated, left over packages
zzamboni has joined #nixos
<nixy> NixOS is incredibly pleasant for working with servers
ertes has quit [(Ping timeout: 258 seconds)]
<Moredread> the security issues I noticed where quickly fixed, but I'm not sure if there is an dedicated effort to keep up to date with recent vulnarability reports
<nixy> There is a security team that tracks them https://nixos.org/nixos/security.html
JosW has joined #nixos
periklis has joined #nixos
<fusion809> Guessing no one has the foggiest how I would get past my nix-channel --update error?
MichaelRaskin has quit [(Ping timeout: 248 seconds)]
<Moredread> The only reason why I wouldn't fully recommend nixos to a linux beginner, or someone who doesn't want to tinker with the distro internals, is that the documentation is not as detailed as e.g. arch (with the wiki), and some modules don't run out of the box and need reading the actual source to understand how they work (I'm looking at you, tinc).
jensens has joined #nixos
<nixy> Also, if you want to develop/deploy custom applications you will probably end up having to make some packages
<nixy> I wouldn't recommend it if you aren't comfortable making packages in nix for any software you might need
<Moredread> nixy: yes, also downloading a tarball, just to try something out will not work as on other distros
MichaelRaskin has joined #nixos
orivej has joined #nixos
<Moredread> on the other hand, nixos is the first distro where I have fun packaging software, and actually bringing them upstream
mattcode has joined #nixos
<JosW> That said
<JosW> while searching for howto upgrade Nixos (still learning:) ) if found a nice review on Linode
<JosW> the rumour is more and more...
<hyper_ch> clever: well, encrypted root zfs is running... for some reason I got another 40gb free space... I guess that was the default root-reservation from ext4.... only syncthing isn't running for some reason
<nixy> I also wrote a guide for running it on Linode, I have some updates to make since 17.09 came out but still
<JosW> althoug "This relatively new Linux" seems a bit far fetched
<MichaelRaskin> Well, relatively to Fedora and Debian — new…
<JosW> yep
<MichaelRaskin> If you count since the first quasi-stable release — NixOS is new relative to most well-known distros, I think.
<Moredread> older than ubuntu XD
zzamboni has quit [(Ping timeout: 248 seconds)]
<MichaelRaskin> Erm, how do you count?
ertes-w has joined #nixos
kkini has quit [(Remote host closed the connection)]
kkini has joined #nixos
<Moredread> date in wikipedia XD
<MichaelRaskin> I don't know who decided that «the start of research project» is a good date for «initial release» in Wikipedia.
<MichaelRaskin> Let's just say GRUB was added in 2005 to Nixpkgs repo
MercurialAlchemi has joined #nixos
deepfire has joined #nixos
koserge has joined #nixos
<MichaelRaskin> Moredread: In November 2006 the defining feature of NixOS as _OS_, GRUB menu with all available configuratoins got implemented. I would count that as NixOS initial release.
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] orivej pushed 2 new commits to master: https://git.io/vdBs6
<NixOS_GitHub> nixpkgs/master d445ccc Siddhanathan Shanmugam: packer: 1.0.3 -> 1.1.0
<NixOS_GitHub> nixpkgs/master 6b56ae1 Orivej Desh: Merge pull request #30113 from siddhanathan/packer...
NixOS_GitHub has left #nixos []
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] orivej closed pull request #30104: libxdg-basedir: 1.0.2 -> 1.2.0 (master...update/libxdg-basedir) https://git.io/vd4Aw
NixOS_GitHub has left #nixos []
<adisbladis> This is not really related to nix per say.. But what unicode character comes closest to the nix logo?
sophiag has joined #nixos
zzamboni has joined #nixos
glaebhoerl has joined #nixos
sophiag has quit [(Client Quit)]
<nixy> Probably the snowflake
takle has joined #nixos
<adisbladis> nixy: I was thinking so too
zzamboni has quit [(Ping timeout: 246 seconds)]
Itkovian has joined #nixos
zzamboni has joined #nixos
takle has quit [(Ping timeout: 255 seconds)]
mudri has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] orivej pushed 2 new commits to master: https://git.io/vdBG3
<NixOS_GitHub> nixpkgs/master c06c021 Bart Brouns: ardour: 5.11 -> 5.12
<NixOS_GitHub> nixpkgs/master bb398c9 Orivej Desh: Merge pull request #30089 from magnetophon/ardour...
NixOS_GitHub has left #nixos []
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] orivej closed pull request #30092: emby: 3.2.32.0 -> 3.2.33.0 (master...emby_3.2.33.0) https://git.io/vd4cP
NixOS_GitHub has left #nixos []
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] orivej pushed 1 new commit to release-17.09: https://git.io/vdBGw
<NixOS_GitHub> nixpkgs/release-17.09 3d84757 Tristan Helmich: emby: 3.2.32.0 -> 3.2.33.0...
NixOS_GitHub has left #nixos []
goibhniu has joined #nixos
graperoot has quit [(Ping timeout: 260 seconds)]
nicklaf has joined #nixos
<hyper_ch> so, also got syncthing to run again... as usually, I just had to clear the db again.... still wonder why that was necessary though
<hyper_ch> so, now that I got more space available, I think I need to fill it up as quickly as possible again
<hyper_ch> clever: btw, are there recommendations on how much space on a zfs should be left free?
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] orivej pushed 1 new commit to staging: https://git.io/vdBZy
<NixOS_GitHub> nixpkgs/staging 66d4941 Orivej Desh: Merge branch 'master' into staging...
NixOS_GitHub has left #nixos []
MP2E has quit [(Quit: sleep)]
iqubic has quit [(Ping timeout: 260 seconds)]
michiel_l has quit [(Remote host closed the connection)]
mudri has quit [(Ping timeout: 255 seconds)]
Itkovian has quit [(Ping timeout: 246 seconds)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] orivej closed pull request #30095: jansson-2.9 -> jansson-2.10 (staging...patch-1) https://git.io/vd4Vo
NixOS_GitHub has left #nixos []
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] orivej pushed 2 new commits to master: https://git.io/vdBnG
<NixOS_GitHub> nixpkgs/master 31a903b Will Dietz: snowman: 2017-07-22 -> 2017-08-13...
<NixOS_GitHub> nixpkgs/master 7a78477 Orivej Desh: Merge pull request #30096 from dtzWill/update/snowman...
NixOS_GitHub has left #nixos []
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] orivej closed pull request #30099: chirp: 20170311 -> 20170714 (master...master) https://git.io/vd41K
NixOS_GitHub has left #nixos []
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] orivej pushed 2 new commits to master: https://git.io/vdBna
<NixOS_GitHub> nixpkgs/master 419d333 Yann Hodique: go: 1.8.3 -> 1.8.4
<NixOS_GitHub> nixpkgs/master 1938fa0 Orivej Desh: Merge pull request #30100 from sigma/pr/go-1.8.4...
NixOS_GitHub has left #nixos []
eacameron has quit [(Remote host closed the connection)]
eacameron has joined #nixos
graperoot has joined #nixos
eacameron has quit [(Ping timeout: 248 seconds)]
dywedir has joined #nixos
reinzelmann has quit [(Quit: Leaving)]
glaebhoerl has quit [(Remote host closed the connection)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] orivej pushed 2 new commits to master: https://git.io/vdBcC
<NixOS_GitHub> nixpkgs/master ca685bb Yann Hodique: go: 1.9 -> 1.9.1
<NixOS_GitHub> nixpkgs/master 6b05fd7 Orivej Desh: Merge pull request #30101 from sigma/pr/go-1.9.1...
NixOS_GitHub has left #nixos []
takle has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] orivej pushed 1 new commit to release-17.09: https://git.io/vdBcR
<NixOS_GitHub> nixpkgs/release-17.09 85e1c65 Yann Hodique: go: 1.9 -> 1.9.1...
NixOS_GitHub has left #nixos []
charlycoste has joined #nixos
kmicu has quit [(Read error: Connection reset by peer)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] orivej pushed 1 new commit to release-17.09: https://git.io/vdBca
<NixOS_GitHub> nixpkgs/release-17.09 b0be8ff Yann Hodique: go: 1.8.3 -> 1.8.4...
NixOS_GitHub has left #nixos []
iyzsong has joined #nixos
Itkovian has joined #nixos
kmicu has joined #nixos
civodul has joined #nixos
sophiag has joined #nixos
michiel_l has joined #nixos
sophiag has quit [(Client Quit)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] orivej pushed 2 new commits to master: https://git.io/vdBCY
<NixOS_GitHub> nixpkgs/master e4fef25 adisbladis: firefox-beta-bin: 57.0b4 -> 57.0b5
<NixOS_GitHub> nixpkgs/master 5d91e0b Orivej Desh: Merge pull request #30117 from adisbladis/firefox-beta-bin-570b5...
NixOS_GitHub has left #nixos []
mbld has left #nixos []
oever has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] orivej closed pull request #30062: goklp: init at 1.6 (master...goklp) https://git.io/vdWH8
NixOS_GitHub has left #nixos []
<fearlessKim[m]> I made a modification to my local nixpkgs but nox doesn't pick it up. -f ~/nixpkgs fails so any way or it just relies on
<fearlessKim[m]> channels without considering NIX_PATH
takle has quit [(Remote host closed the connection)]
vandenoever has quit [(Ping timeout: 240 seconds)]
oever is now known as vandenoever
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] orivej pushed 3 new commits to master: https://git.io/vdBCF
<NixOS_GitHub> nixpkgs/master 05d2603 makefu: proot: fix aarch64 build
<NixOS_GitHub> nixpkgs/master ab8e5f6 makefu: proot: add makefu as maintainer
<NixOS_GitHub> nixpkgs/master 7c3f185 Orivej Desh: Merge pull request #29985 from makefu/pkgs/proot/aarch64-fix...
NixOS_GitHub has left #nixos []
<makefu> orivej: thanks :)
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] orivej pushed 2 new commits to master: https://git.io/vdBWJ
<NixOS_GitHub> nixpkgs/master 7e4e266 Wei-Ming Yang: softether: 4.18 -> 4.20
<NixOS_GitHub> nixpkgs/master 184f80a Orivej Desh: Merge pull request #29781 from rick68/softether...
NixOS_GitHub has left #nixos []
<hyper_ch> hi makefu
<sphalerite> adisbladis: does U+f113 in font-linux count?
<adisbladis> sphalerite: I was looking for something suitable for my prompt to indicate I'm in a nix-shell
<adisbladis> So sadly not :/
<sphalerite> Aah
takle has joined #nixos
<sphalerite> 🐌? :D
<adisbladis> But might be useful for other stuff :)
<sphalerite> Or you could install font-linux and use u+f119
<sphalerite> U+f113*
<MichaelRaskin> Just move the symbol to private use area of another font using fontforge
<sphalerite> Not sure editing a font is necessary
<MichaelRaskin> Or use any multi-font terminal and assign private-use area to font-linux
<sphalerite> Can't it just be done with fontconfig?
<MichaelRaskin> No idea. I fight with fontconfig after every freetype update to get back non-anti-aliased non-mangled fonts, so I try not to test my luck too much.
jushur has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Mic92 closed pull request #28459: (rustc, cargo): (1.17.0, 0.18.0) -> (1.19.0, 0.20.0) (master...master) https://git.io/v5UFy
NixOS_GitHub has left #nixos []
proteusguy has quit [(Remote host closed the connection)]
thc202 has joined #nixos
sophiag has joined #nixos
<otwieracz> Hmm. I'v got stupid question.
<otwieracz> How to *develop* `nixops`?
<otwieracz> If I do install it then obviouly I can not modify it.
<otwieracz> Oh sorry, nvm!
sophiag has quit [(Client Quit)]
<fearlessKim[m]> otwieracz: ./dev-shell
<fearlessKim[m]> "import toto.nix" with toto.nix=''[ 1 2 ]" won't work ? am I compelled to embed the lsit into a set ?
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] vbgl pushed 1 new commit to master: https://git.io/vdBl9
<NixOS_GitHub> nixpkgs/master c06e5a8 Vincent Laporte: ocamlPackages.react: 1.2.0 -> 1.2.1
NixOS_GitHub has left #nixos []
mortum5 has joined #nixos
takle has quit [(Remote host closed the connection)]
<hyper_ch> question: how big a /boot partition do you guys usually use? I normally use 500mb
yorick has joined #nixos
<MichaelRaskin> 2GiB right now, because GiBs are cheaper than sanity points.
<MichaelRaskin> (I also have 200MiB-a-piece compressed initrds, though)
nix-gsc-io`bot has joined #nixos
<nix-gsc-io`bot> Channel nixos-17.09-small advanced to https://github.com/NixOS/nixpkgs/commit/3d84757e2b (from 2 hours ago, history: https://channels.nix.gsc.io/nixos-17.09-small)
nix-gsc-io`bot has quit [(Client Quit)]
a6a3uh has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] orivej closed pull request #30082: devpi-client: 2.7.0 -> 3.1.0rc1 (master...pkgs/devpi-client/update) https://git.io/vd8zd
NixOS_GitHub has left #nixos []
zzamboni has quit [(Quit: Leaving.)]
fusion809 has quit [(Read error: Connection reset by peer)]
fusion809 has joined #nixos
<jophish> fearlessKim[m]: this works: https://gist.github.com/d5f4be7a939b6fcf3358ecab42a361c0
ThatDocsLady has joined #nixos
<fearlessKim[m]> jophish thx the goal was to share a list of packages between config.nix and home-manager. like having a file with only my dev package "[ neovim gdb ...] " maybe I could use sthg like loadFromJson
zzamboni has joined #nixos
takle has joined #nixos
a6a3uh has quit [(Quit: Bye)]
zzamboni has quit [(Ping timeout: 240 seconds)]
<sphalerite> fearlessKim: just import should work fine.
zzamboni has joined #nixos
<sphalerite> Just keep in mind that it'll create a new scope so you can't use bindings from the calling expression file unless you make it a function and pass the appropriate stuff in
sigmundv_ has joined #nixos
<fearlessKim[m]> arf I retried and it works fine true :§ sry
zzamboni has quit [(Quit: Leaving.)]
aw has quit [(Quit: Quitting.)]
spacefrogg has quit [(Quit: Gone.)]
layus has quit [(Quit: ZNC - http://znc.in)]
aw has joined #nixos
zzamboni has joined #nixos
spacefrogg has joined #nixos
zzamboni has quit [(Client Quit)]
<fusion809> Hey would it be OK (not likely to severely tick off the devs of Nix) for me to file an issue (at https://github.com/NixOS/nix/issues) about my issues running Nix on Arch Linux?
<fusion809> The supplemental groups issue
<jophish> fusion809: sounds completely appropriate to me
<MichaelRaskin> Nix is supposed to be usable on multiple other Linux distros (and when stars are right, in BSDs)
<sphalerite> fusion809: you said you added yourself to nixbld?
<sphalerite> You shouldn't ever do that
<hyper_ch> hi sphalerite
zzamboni has joined #nixos
<fusion809> I did. What should I do instead?
<sphalerite> It's for the users that perform the builds, not the ones that request builds, and will result in all your processes getting killed if you're running the daemon and try to build something
<fusion809> So rm myself from the group and the issue might be resolved?
<sphalerite> Not sure. How did you set nix up?
ThatDocsLady has quit [(Remote host closed the connection)]
ThatDocsLady has joined #nixos
<sphalerite> Did you just use the install script from the website? If so, what's the exact issue you're having with using it?
<fusion809> Installed it with pacman from the Arch User Repository. Just gave your suggestion a go and now I'm getting, "error: the build users group ‘nixbld’ has no members"
<fusion809> (your suggestion to rm me from nixbld)
<MichaelRaskin> Well, nixbld group should have some members
<fusion809> Like? I've only got two users, one if you exclude root
<MichaelRaskin> Usually with names nixbld1…nixbld7…
<MichaelRaskin> (these are new users not used for anything else)
<MichaelRaskin> Don't you even have users like «nobody» for running various services?
<sphalerite> MichaelRaskin: only if you're running a daemon
<sphalerite> Isn't the standard setup for linuxes still single-user?
<MichaelRaskin> I can only hope that not anymore.
<sphalerite> I think it still is
<sphalerite> But since fusion809 didn't use the install script I don't really know
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] nico202 opened pull request #30120: ntk: 2017-04-22 -> 1.3.1000 (master...master) https://git.io/vdBR6
NixOS_GitHub has left #nixos []
zzamboni has quit [(Client Quit)]
nix-gsc-io`bot has joined #nixos
<nix-gsc-io`bot> Channel nixos-17.09-small advanced to https://github.com/NixOS/nixpkgs/commit/b0be8ffd19 (from 87 minutes ago, history: https://channels.nix.gsc.io/nixos-17.09-small)
nix-gsc-io`bot has quit [(Client Quit)]
<sphalerite> I'd have to have a look at the AUR package, I can't do that just now but I'll see what I can find out in half an hour or so. fusion809 if you just want to get nix working asap, use the install script from the website instead, but I'll look into what I can find out about the package as well. Could you link it?
<fusion809> That is bizarre I just created three nixbld users (nixbld1, nixbld2, nixbld3) and still nix-channel --update is giving that 'error: the build users group ‘nixbld’ has no members'
zzamboni has joined #nixos
<MichaelRaskin> Did you add them into nixbld group as their _auxillary_ group (i.e. via /etc/group)?
<fusion809> I actually just tried the installer script and still this still didn't resolve.
taaperotassu has quit [(Ping timeout: 255 seconds)]
<fusion809> I used useradd -g nixbld nixbld1 to create it
<fusion809> Guessing that means no?
<MichaelRaskin> I think the installer script skips the user creation if nixbld group exists
<MichaelRaskin> I think you should have used -G
<MichaelRaskin> or both -g nixbld -G nixbld just for lulz and to be sure.
<fusion809> I'll be ....ed you were right MichaelRaskin! Thanks a million.
sophiag has joined #nixos
<MichaelRaskin> Well, everyone actually agrees that this thing about requiring -G is somewhat counterintuitive and annoying, it is just a bit simpler to use from the Nix side…
<MichaelRaskin> Nix manual (not NixOS manual) technically mentions -G is needed
sophiag has quit [(Client Quit)]
<sphalerite> Well with nixos it doesn't matter because is already set up for you
<MichaelRaskin> I think install script on non-NixOS Linux also does it correctly
dywedir has quit [(Remote host closed the connection)]
<MichaelRaskin> But if there is a distro package (like in AUR) that supports both single-user and multi-user mode, then you need to read the manual to find out what is going on.
<MichaelRaskin> (or ask on IRC…)
aw has quit [(Quit: Quitting.)]
spacefrogg has quit [(Quit: Gone.)]
aw has joined #nixos
<sphalerite> I don't know what the guidelines for arch packages are but as a Debian package I think that behavior would be wrong
spacefrogg has joined #nixos
<MichaelRaskin> A Debian package would need to first get an ACK for non-FHS-friendly /nix/ directory… Instead of /opt/nix/ or something.
<fusion809> Is there a search function for nix so I can search for packages by strings? I ran nix-env --help | grep search to see if there's any search functions but I didn't see anything that was reminiscent of a search function. I also searched https://nixos.org/nix/manual/ for search but everything seemed to refer to search paths and other things not relevant to what I'm interested in.
<hyper_ch> fusion809: by stirngs?
<fusion809> Yeah
<fusion809> Like nix <SEARCH func> vim
<fusion809> to look for a vim package
<hyper_ch> install "nox"
<hyper_ch> nox vim
<fusion809> Thanks.
<hyper_ch> it will allow you to directly install it into your user env
<hyper_ch> (which I don't use though... I do everything per configuration.nix)
a6a3uh has joined #nixos
nicklaf has quit [(Ping timeout: 248 seconds)]
nicklaf has joined #nixos
simukis has joined #nixos
<fusion809> Hmm, well it gives you a long list but I wanted something I could actually query. But I suppose there isn't something like that for nox? Besides, of course, searching the GitHub repos
<graperoot> can't I get wine64 with nixos ?
simukis has quit [(Client Quit)]
<manveru> fusion809: there is `nix search` in nixUnstable
<fusion809> It's a separate package?
<manveru> nix.package = pkgs.nixUnstable
<MichaelRaskin> nix-env -qa '*'
<MichaelRaskin> This is available since forever
<hyper_ch> fusion809: nox xx > /tmp/results
<MichaelRaskin> Medium-slow, lists [almost] all the packages
simukis has joined #nixos
<clever> graperoot: one min
<clever> graperoot: wine.override { wineBuild = "wineWow"; };
<fusion809> Thanks. nix-env -qa seems like what I'm looking for.
a6a3uh has quit [(Quit: Hi)]
Wizek__ has quit [(Ping timeout: 240 seconds)]
<graperoot> thanks !
<avn> graperoot: or even wine64, if you not needed 32bit part
<avn> be careful, it broken now on master by samba3 security assertion
<avn> (I push fix soon)
iyzsong has quit [(Ping timeout: 255 seconds)]
<avn> I see staging tagged today, so I preparing update right now
a6a3uh has joined #nixos
ThatDocsLady has quit [(Ping timeout: 260 seconds)]
a6a3uh has quit [(Client Quit)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] vcunat pushed 1 new commit to master: https://git.io/vdBaD
<NixOS_GitHub> nixpkgs/master 583b8c1 Vladimír Čunát: perlPackages.TAPParserSourceHandlerpgTAP: fix typo in sha256
NixOS_GitHub has left #nixos []
georges-duperon has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] phi-gamma opened pull request #30122: llvm: download source over https (master...llvm-https) https://git.io/vdBVe
NixOS_GitHub has left #nixos []
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] vcunat pushed 1 new commit to master: https://git.io/vdBVB
<NixOS_GitHub> nixpkgs/master 623df97 Vladimír Čunát: pythonPackages.devpi-common: fix meta evaluation...
NixOS_GitHub has left #nixos []
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] vcunat pushed 1 new commit to staging: https://git.io/vdBVu
<NixOS_GitHub> nixpkgs/staging 0be2928 Vladimír Čunát: Merge branch 'master' into staging...
NixOS_GitHub has left #nixos []
takle has quit [()]
fxer has joined #nixos
rauno has joined #nixos
<rauno> Hi
<rauno> Any idea why pypi2nix fails to build correctly postgresql ? RuntimeError: initdb failed: b'initdb: file "/run/current-system/sw/share/postgres.bki" does not exist
sophiag has joined #nixos
sophiag has quit [(Client Quit)]
nicklaf has quit [(Ping timeout: 260 seconds)]
nicklaf has joined #nixos
bkchr has joined #nixos
zzamboni has quit [(Quit: Leaving.)]
reinzelmann has joined #nixos
zzamboni has joined #nixos
lsix has joined #nixos
peacememories has joined #nixos
orivej has quit [(Ping timeout: 240 seconds)]
felix___ has joined #nixos
dywedir has joined #nixos
Wizek_ has joined #nixos
<felix___> Hi, I'm quite new to nixos. I installed it on my Raspberry Pi 3 and my Desktop. Is there a simple way to set up a nextcloud server? I only found this PR https://github.com/NixOS/nixpkgs/pull/19703, but I'm unsure what to do with it. Could someone please point me in the right direction?
<hyper_ch> you probably don't want sqlite as db for netcloud
<hyper_ch> you could - of course - just install apache2/nginx/lighttpd with php and then pull the nextcloud php sources and set the rest up yourself
<hyper_ch> using mariadb
<felix___> I thought I could avoid the manual setup with nixos
<ertes-w> i haven't quite understood the point of <nixpkgs/nixos/modules/installer/scan/detected.nix> and <nixpkgs/nixos/modules/installer/scan/not-detected.nix>… do they actually make a difference in terms of system configuration, or are they diagnostics? i seem to be blind to their effect
<hyper_ch> well, that expression from björn seems to work but uses sqlite as far as I could tell
<hyper_ch> or maybe not
<felix___> What are the downsides of sqlite?
<felix___> performance?
<hyper_ch> yes
<hyper_ch> and no concurrent access
<ertes-w> no
<hyper_ch> with many, many files it will hit performance badly
<ertes-w> sqlite is most likely faster with many access patterns… it depends on other factors
<felix___> Ok, this will just be a nextcloud instance for myself, so I don't care so much about peak performance
<felix___> I just don't want the setup-mess I had with other operation systems
<felix___> Ok, how exactly can I integrate the PR in my configuration.nix?
peacememories has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
<avn> hyper_ch: also no way other than reinstall, if sqlite db was damadged
<ertes-w> felix___: not answering your question, but if this is only about sharing files, syncthing is quite a nice *distributed* solution
<hyper_ch> that's what backups are for :)
<felix___> I'm using syncthing already, but the lack of a good selective-sync and public file sharing links still pulls my back to nextcloud. I hope this will change in the future
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] grahamc closed pull request #30043: vala: add 0.38.0 (master...vala-0.38) https://git.io/vdCVC
NixOS_GitHub has left #nixos []
<felix___> So what would be an elegant maintainable solution to install nextcloud? Is docker a good option?
<hyper_ch> that nix expression looks good
<hyper_ch> from björn
<hyper_ch> still fail to see what docker is good for though
<ertes-w> felix___: docker is also an option, but i'm not overly fond of the quality of most containers
<ertes-w> hyper_ch: docker is LXC done almost right
<hyper_ch> still fail to see what LXC is good for
<felix___> How do I use the PR from björn? I'm now to nixos. Do I rebase this branch on master or can I integrate it into my configuration.nix?
<ertes-w> hyper_ch: application sharing, isolation, interoperability, migration, orchestration, …
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] grahamc closed pull request #29983: gnome3.gnome_control_center: fix thumbnailers path (master...gnome-control-center-thumbnailers) https://git.io/vdne9
NixOS_GitHub has left #nixos []
<ertes-w> hyper_ch: instead of giving you source code or a statically linked binary i give you an application container, and i have a lot of confidence that you will get it to work quickly and easily
<hyper_ch> you don't know me - it seems... :)
<ertes-w> hyper_ch: i don't need to, because it's the same command for you as for everybody else i give it to =)
<hyper_ch> but I'm really good at breaking things that are unbreakable
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] grahamc pushed 1 new commit to release-17.09: https://git.io/vdB6r
<NixOS_GitHub> nixpkgs/release-17.09 c2a4a01 Jan Tojnar: gnome3.gnome_control_center: fix thumbnailers path...
NixOS_GitHub has left #nixos []
<ertes-w> hyper_ch: well, you could tamper with the image or break your docker/LXC installation, of course… but then i can tell you that your setup is broken, because "your image doesn't work" is about as plausible as "i didn't receive your e-mail" =)
<MichaelRaskin> hyper_ch: have you secretely implemented syscall number randomisation?
<hyper_ch> MichaelRaskin: you make it sound like that's a bad thing to do
<hyper_ch> randomizing stuff is good...
<MichaelRaskin> It's a _hard_ thing to do well.
<ertes-w> hyper_ch: in short: it's a deployment strategy, and also a security strategy to some extent
<MichaelRaskin> But once someone actually beats it into working, it will be quite a nice defense
<MichaelRaskin> Of course, it will break docker, but that's good for security anyway, because unfixable artifacts.
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] grahamc pushed 1 new commit to release-17.09: https://git.io/vdB6F
<NixOS_GitHub> nixpkgs/release-17.09 9c9aaaf Jan Tojnar: librsvg: fix thumbnailer path...
NixOS_GitHub has left #nixos []
m0rphism has quit [(Quit: WeeChat 1.9)]
<ertes-w> not only do i have high confidence that my image will work on your system, but you have high confidence that a bug in my image won't kill your other applications or the host
<MichaelRaskin> Well, on #nixos this doesn't sound as convincing.
<MichaelRaskin> I mean, application build inside Nix will install it without messing the host.
<ertes-w> MichaelRaskin: this is about run-time, not installation
<ertes-w> also please don't break docker… i need it ;)
<MichaelRaskin> Well, if your service is not yet widely used, it gets started under a unique UID. That does limit the damage quite nicely.
<ertes-w> i'm using nix with docker
griff_ has joined #nixos
<felix___> Amazing that this discussion just came up, because I mentioned docker in a nixos channel :)
<felix___> Still I have the question of how to use the PR. Can I integrate it into my configuration.nix somehow?
<MichaelRaskin> Is it time for true flame? Like, Docker is like CSS3 in that workflows that require it are actually the reason for the problems?
<ertes-w> MichaelRaskin: which problems?
<MichaelRaskin> felix___: do you run a system based on git checkouts or channels
<felix___> MichaelRaskin: I'd prefer channels, but currently I can only build syncthing based on a git checkout
<felix___> With a git checkout I lose automatic updates, correct?
<ertes-w> note: i'm not really much of a fan of docker, but i'm not aware of any better solutions either… a nix-specific solution would be ideal
<MichaelRaskin> felix___: what are automatic updates?
<MichaelRaskin> They are implementable with git checkouts, but slightly more risky, so probably not implemented.
<nh2> hyper_ch: they seem to have something for businesses that says up to 10 gbit/s here: https://www.init7.net/en/access/business-optical-service/; I can saturate the 1gbit easily with deploying new nixops machines over ssh
<MichaelRaskin> Right, channel-based because challes require at least some tests to pass
nicklaf has quit [(Quit: leaving)]
<hyper_ch> nh2: well, I have only a small office and not in IT related industry... so 1gbit is plenty enough
sophiag has joined #nixos
<hyper_ch> only get about 100mbit through openvpn though
<MichaelRaskin> ertes-w: well, it is based on software which assumes periodic releases and upgrades, and at the same time the images are hard to upgrade yourself.
<MichaelRaskin> felix___: you can download the main file of the PR and require it in your configuration as a module
<MichaelRaskin> UIDs… well, UID/GID will have to be added manually.
aloiscochard has joined #nixos
<ertes-w> MichaelRaskin: yes, i agree… that's why i use docker with nix instead of docker's own "layer" model
sophiag has quit [(Client Quit)]
<felix___> MichaelRaskin: manually where?
<MichaelRaskin> In your configuration you have all the entries like environment.systemPackages = […];
<MichaelRaskin> Add «require= [ /path/to/lighttpd-nextcloud-module.nix ] ;»
reinzelmann has quit [(Quit: Leaving)]
<nh2> hyper_ch: ah, do you know why openvpn is so slow? Is it on 100% CPU when you're testing with iperf3? If yes, you could try `tinc` (I've got gigabit speeds over it with no problems in the data center), or eventually, WireGuard -- both are in nixpkgs
bennofs has joined #nixos
<hyper_ch> nh2: can't use tinc or wireguard with sip hardphones
<hyper_ch> and it's the cpu
<hyper_ch> from client -> server I get around 680Mbps
<hyper_ch> from client -> server -> client it drops to about 100Mbps
<nh2> hyper_ch: how do the hardphones conflict with it? Aren't tinc and wireguard at the same level as openvpn?
<ertes-w> last OT remark: docker is kind of a sad piece of software in that it has both elements of brilliance and elements of utter stupidity, and it can be difficult to distinguish them… i might write an article about how not to use docker, mostly because i think if you just ignore the bullshit features, it's very useful
<hyper_ch> hardphones have integreated vpn client
<nh2> hyper_ch: ah, but why not continue to use openvpn for those? I'd think your phones don't need the full gigabit speed?
<hyper_ch> I don't need full gigabit speed myself
<felix___> MichaelRaskin: Thank you, this pointed me in the right direction. Now I can investigate further
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] grahamc closed pull request #30093: Dejà Dup: init at 36.1 (master...deja-dup) https://git.io/vd4zG
NixOS_GitHub has left #nixos []
sophiag has joined #nixos
graperoot has quit [(Ping timeout: 260 seconds)]
sophiag has quit [(Client Quit)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] yegortimoshenko opened pull request #30124: connman: do not restart after suspend (master...patch-1) https://git.io/vdBPF
NixOS_GitHub has left #nixos []
graperoot has joined #nixos
kuznero has joined #nixos
<kuznero> Hi All
<hyper_ch> hi
jtojnar has quit [(Quit: jtojnar)]
fusion809 has quit [(Remote host closed the connection)]
mortum5 has quit [(Ping timeout: 248 seconds)]
<adisbladis> ertes-w: I think docker is an ok runtime with a s*it ecosystem & tooling
Isorkin has quit [(Ping timeout: 240 seconds)]
iyzsong has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] joachifm pushed 2 new commits to master: https://git.io/vdBXy
<NixOS_GitHub> nixpkgs/master 0ae2e5d José Romildo Malaquias: jwm: 1621 -> 1651
<NixOS_GitHub> nixpkgs/master 77caf8f Joachim F: Merge pull request #30097 from romildo/upd.jwm...
NixOS_GitHub has left #nixos []
<adisbladis> Pretty happy about building them with nix though, it removes most of the bad stuff
<ertes-w> adisbladis: yeah… without nix docker would be a pain
<ertes-w> i'm also looking forward to a future where i just bind-mount the host nix store into all containers, but i'm not there yet
<jonge> hey there. i just got the option "powerManagement.powertop.enable = true;" from the documentation. it does not exist however according to nix-rebuild. what to do?
<ertes-w> jonge: does the option exist in your 'configuration.nix' man-page?
graperoot has quit [(Ping timeout: 240 seconds)]
nico202 has joined #nixos
<nico202> has anybody managed to get gtk3 (and possibly gtk2) emacs keybindings in nixos?
<jonge> ertes-w: no, it does not. i got it from the online "options" search.
<jonge> ertes-w: how can i "make" it exist? any kind of package sources update or so?
<ertes-w> jonge: first `nix-channel --update`, then rebuild again
<ertes-w> jonge: if it still doesn't exist, you need a more recent channel
<jonge> ertes-w: i see. was not aware that powerManagement.powertop is so new.
<ertes-w> jonge: i have it, but i'm on unstable
<jonge> ertes-w: ok, the nix-channel --update did not work.
<ertes-w> jonge: nix-channel --list
<jonge> it's just nixos-17.03
<ertes-w> jonge: (note that the man-page is only updated by nixos-rebuild)
<ertes-w> so do nixos-rebuild to check
griff_ has quit [(Ping timeout: 240 seconds)]
<ertes-w> jonge: if rebuild doesn't work, you may have to switch to unstable… i believe 17.03 is the latest stable channel
<jonge> that did not make it appear in the manpage. but was running "nixos-rebuild switch" and then getting the error that the flag does not exist the right thing to do?
<kuznero> ertes-w: I think 17.09 was already released, thus 17.09 channel is also stable (or?)
<ertes-w> ah
griff_ has joined #nixos
<ertes-w> jonge: nix-channel --add https://nixos.org/channels/nixos-17.09 nixos
<ertes-w> then nix-channel --update, then rebuild
<jonge> i am supposed to do nix-channel adds and updates as root user, right?
<ertes-w> yes
<ertes-w> unless you have user-specific channels
<ertes-w> (if you don't know, you don't have them)
<jonge> i see. currently i don't.
<jonge> hm i still do not see powertop in my manpage. but then i also do not know if my manpage was _really_ rebuilt. is there a simple way to check that?
maiksen has joined #nixos
<jonge> what does that mean for me? experimental, or should it be in 17.09 already?
<ertes-w> jonge: the man-page is rebuilt by nixos-rebuild
<hyper_ch> jonge: should be in 17.09 if you use that channel
<ertes-w> if the rebuild is unsuccessful, the man-page stays the same
<jonge> ertes-w: yes i launched this several times, but always with that error message about the missing option. do i have to remove the option in order to correctly rebuild then?
<ertes-w> jonge: you can, but if rebuild tells you that the option doesn't exist, then… well… it doesn't exist =)
<jonge> ok, so this finally means "switch to experimental or do not have it" then i guess...
<ertes-w> jonge: you could switch to unstable and use that one, until it gets merged into 17.09, then switch back
<hyper_ch> unstable runs pretty well
<jonge> ok. well i am a seasoned linux user, the only thing which is new to me is nixos and its package management. i guess i would run fine with unstable then?
<kuznero> jonge: you could still use everything from stable 17.09, but one single package from unstable if you want
<ertes-w> jonge: BTW, "unstable" really just means that the changes weren't hand-picked… it's still a fairly stable channel in terms of reliability
<jonge> i see. shall i add the unstable channel _additionally_ then or completely remove all other channels and _only_ add the unstable one?
<ertes-w> in particular it doesn't mean "straight out of git"… all the test suites still run, and all packages are still built by hydra
<hyper_ch> and there's also "unstable-small" which will make you compile a few more things
<hyper_ch> read the "Channel update" :)
<ertes-w> jonge: you can mix channels, but i suggest not doing that, until you know what you're doing
<jonge> ertes-w: ok that means i would just add nixos-unstable and nixpkgs-unstable and remove all the others, that's the suggested way?
<ertes-w> jonge: just run the --add command from above again, with "17.09" replaced by "unstable"
<kuznero> ertes-w: I would disagree. It is safer to hand pick one single package from unstable
<kuznero> And it is farely simply done
Wizek has quit [(Quit: Connection closed for inactivity)]
<ertes-w> kuznero: if you have the time to explain the process, i'm happy to let you take it from here =)
<goibhniu> it's important to use a nixos channel rather than a nixpkgs channel for nixos itself, the nixpkgs channels don't run as many tests
jensens has quit [(Ping timeout: 240 seconds)]
<kuznero> ertes-w: in the link I provided there is a couple of lines example on how this is achieved
<ertes-w> jonge: ^
<kuznero> There I have mono46 package from stable and fsharp41 from unstable
zzamboni has quit [(Quit: Leaving.)]
<jonge> kuznero: i can also put such stuff into my configuration.nix, right?
<kuznero> jonge: exactly right
<jonge> kuznero: thank you. i will play around with this. :)
<ertes-w> you might want to use nix-channel though
<ertes-w> if you put it into your configuration.nix like that, then every nixos-rebuild will try to fetch the latest unstable
graperoot has joined #nixos
<jonge> ertes-w: currently i do not really care how clean solutions are, as long as i learn how things are done. this is all on a toy laptop where nothing needs to be stable. i am currently just focusing on learning nixos stuff. :)
acarrico has joined #nixos
graperoot has quit [(Ping timeout: 246 seconds)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] avnik opened pull request #30125: Wine update (master...wine-update) https://git.io/vdBDy
NixOS_GitHub has left #nixos []
<ij> What's this "error: path '/nix/store/…-nix-1.11.5' is not valid" thing? http://sprunge.us/CiQC
ShalokShalom_ has joined #nixos
<ertes-w> i have to execute a small *interactive* script at startup… where do i best put this script?
ShalokShalom has quit [(Ping timeout: 240 seconds)]
<ertes-w> basically the equivalent of rc.local
<ertes-w> boot.postBootCommands?
himmAllRight has quit [(Quit: No Ping reply in 180 seconds.)]
himmAllRight has joined #nixos
orivej has joined #nixos
felix___ has quit [(Quit: Page closed)]
sophiag has joined #nixos
sophiag has quit [(Client Quit)]
taaperotassu 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/9c9aaaf02b (from 86 minutes 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/5c7cc53cb7 (from 2 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
nix-gsc-io`bot has quit [(Client Quit)]
cpennington has joined #nixos
taaperotassu has quit [(Ping timeout: 258 seconds)]
rauno has quit [(Ping timeout: 240 seconds)]
lsyoyom has quit [(Ping timeout: 240 seconds)]
proteusguy has joined #nixos
graperoot has joined #nixos
seku has joined #nixos
maiksen has quit [(Ping timeout: 240 seconds)]
jensens has joined #nixos
kuznero has quit [(Ping timeout: 240 seconds)]
lsyoyom has joined #nixos
<hyper_ch> hmmmm, what could be the cause that I get Input/output error when trying to do a md5sum on a 50GB file?
<ij> A bad disk? :--)
<nico202> hyper_ch: hard drive fault? Or I recently had one on a 32bit machine. The suggestion was to compile the program with -D_FILE_OFFSET_BITS=64 and it worked
<gchristensen> how would I "attach" a service to default.target, in that the machine never reaches default.target unless my service succeeds?
kuznero has joined #nixos
<nico202> a workaround could be to try cat 50GBfile | md5sum
<hyper_ch> it's 64bit
<kuznero> Are there any good example of using dotnet core in Nix?
<hyper_ch> ij: well, rsync went without problem
<ij> Well, it might've just checked the dates and not done anything.
georges-duperon has quit [(Ping timeout: 240 seconds)]
<ij> The architecture should surely be irrelevant.
<bennofs> gchristensen: RequiredBy=default.target ?
<bennofs> if i understand systemd correctly
<gchristensen> I thought so too, but it doesn't seem to be failing default.target when it fails
iyzsong has quit [(Ping timeout: 258 seconds)]
<hyper_ch> nico202: good idea :) about work around
leat has quit [(Quit: WeeChat 1.9)]
<bennofs> gchristensen: oh, this may be because nixos doesn't "install" units right?
<bennofs> gchristensen: did this create a symlink in default.target.requires/?
<hyper_ch> nico202: didn't help
<gchristensen> it seems to have yeah
<ij> hyper_ch, There's no reason why that would've helped.
<nico202> hyper_ch: I'd bet on an hd problem
<hyper_ch> it's not a ssd problem
szicari has joined #nixos
<gchristensen> hyper_ch: anything in dmesg?
<hyper_ch> cat file > /dev/null let's see how that goes
<MichaelRaskin> I prefer pv for such things
<nico202> ij: https://github.com/skeeto/enchive/issues/7 if the problem was like mine (32bit fopen() ) it would have helped.
<hyper_ch> MichaelRaskin: geniuses use pv, mere mortal beings use cat ;)
<MichaelRaskin> It's not about intelligence, more about experience.
<hyper_ch> that's what they want to make you believe
<hyper_ch> how would you use pv?
<MichaelRaskin> pv file > /dev/null
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] NeQuissimus opened pull request #30126: rkt: 1.28.1 -> 1.29.0 (master...rkt_1_29_0) https://git.io/vdBde
NixOS_GitHub has left #nixos []
markus1199 has quit [(Ping timeout: 260 seconds)]
markus1189 has joined #nixos
<hyper_ch> cat file > /dev/null also gives error... several multi-gig files give errors... weird... could maybe zfs play a role here?
<ij> Manuals of nix-commands say that NIX the default locations of NIX_···_DIRs are "prefix/store" or "prefix/share". Can I override that prefix?
<kuznero> No dotnet core experts here? :)
<hyper_ch> rebuilding not for pv
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] NeQuissimus pushed 2 new commits to master: https://git.io/vdBdZ
<NixOS_GitHub> nixpkgs/master aee224c Tim Steinbach: linux: 4.9.52 -> 4.9.53
<NixOS_GitHub> nixpkgs/master 0bd1f7a Tim Steinbach: linux: 4.13.4 -> 4.13.5
NixOS_GitHub has left #nixos []
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] NeQuissimus pushed 2 new commits to release-17.09: https://git.io/vdBdC
<NixOS_GitHub> nixpkgs/release-17.09 0afd17f Tim Steinbach: linux: 4.9.52 -> 4.9.53...
<NixOS_GitHub> nixpkgs/release-17.09 d7f4181 Tim Steinbach: linux: 4.13.4 -> 4.13.5...
NixOS_GitHub has left #nixos []
layus has joined #nixos
ertes-w has quit [(Ping timeout: 246 seconds)]
<szicari> Greetings. I'm trying to override a python package to provide an additional build input, but my override seems to clobber _all_ other python packages. Can someone offer some insight into my failures? http://dpaste.com/2A2EHBT (~/.nixpkgs/config.nix)
graperoot has quit [(Ping timeout: 258 seconds)]
<szicari> As far as I can tell, I am overriding a specific attribute and not the entire python27Packages.
proteus-guy has joined #nixos
leat has joined #nixos
acarrico has quit [(Ping timeout: 246 seconds)]
MercurialAlchemi has quit [(Ping timeout: 240 seconds)]
ertes-w has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] florianjacob opened pull request #30127: nixos/network-interfaces: assertion for too long interface names (master...limit_interface_name_length) https://git.io/vdBFs
NixOS_GitHub has left #nixos []
sophiag has joined #nixos
eacameron has joined #nixos
leat has quit [(Client Quit)]
proteusguy has quit [(Ping timeout: 240 seconds)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] WilliButz opened pull request #30128: nixos/xautolock: rewrite and add some options (master...xautolock) https://git.io/vdBFB
NixOS_GitHub has left #nixos []
sophiag has quit [(Client Quit)]
MercurialAlchemi has joined #nixos
leat has joined #nixos
<hyper_ch> MichaelRaskin: very interesting... pv aborts always at the same place
acarrico has joined #nixos
<hyper_ch> let's see what dd does
<nico202> hyper_cv: how much does it read?
<hyper_ch> 17.5/6/7 GB
eacameron has quit [(Ping timeout: 246 seconds)]
<hyper_ch> MichaelRaskin: nico202: https://paste.simplylinux.ch/view/raw/cb543445 that doesn't look good
<MichaelRaskin> And dmesg is clean?
ona has quit [(Ping timeout: 240 seconds)]
eacameron has joined #nixos
ona has joined #nixos
<hyper_ch> MichaelRaskin: I think so
<hyper_ch> with journalctl it's really hard to figure things out
<hyper_ch> Mic92: how do you scrub zfs or rather the encrypted datapool?
<Mic92> hyper_ch: there is an nixos option for that
<kuznero> How do I properly reference my nixpkgs repository with my custom packages with nix-env?
<kuznero> Is it `nix-env -f . -iA ...`?
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] NeQuissimus opened pull request #30129: atom: 1.20.1 -> 1.21.0 (master...atom_1_21_0) https://git.io/vdBNT
NixOS_GitHub has left #nixos []
<MichaelRaskin> hyper_ch: I think if you just spam the error, normal dmesg should show you the problem in the kernel log
<hyper_ch> MichaelRaskin: I couldn't find anything with journalctl
<MichaelRaskin> I meant that fighting journalctl is optional
ona has quit [(Client Quit)]
szicari has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
<MichaelRaskin> Oh well, you seem to have got a bit unlucky.
<hyper_ch> ok, less than 24h before I damaged zfs
<Mic92> hyper_ch: man zpool
<hyper_ch> Mic92: that link from zpool status said I need to nuke pool
szicari has joined #nixos
MercurialAlchemi has quit [(Read error: No route to host)]
<MichaelRaskin> I think I spent more time to damage BtrFS.
<Mic92> hyper_ch: no, you can also ignore the errors and delete the files in question
<hyper_ch> Mic92: ok
<Mic92> MichaelRaskin: zfs is still repairable in that state. btrfs goes really mad in case of error
<Mic92> been there; done that
MercurialAlchemi has joined #nixos
kuznero has quit [(Quit: http://www.kiwiirc.com/ - A hand crafted IRC client)]
<MichaelRaskin> I wouldn't word it like that. BtrFS in a similar state is possible, and repairable. But it _also_ can go to a much funnier state. Have observed both cases on my /nix/ (which I don't care too much about nuking).
<Mic92> MichaelRaskin: how can it be repaired? I could not convince btrfs to mount it.
georges-duperon has joined #nixos
cement has joined #nixos
<hyper_ch> Mic92: https://paste.simplylinux.ch/view/raw/3cb049dc ok, the chromium file is clear.. but what are the other files?
graperoot has joined #nixos
<Mic92> hyper_ch: have you done zfs load-key?
<hyper_ch> Mic92: it's mounted
<MichaelRaskin> Mic92: maybe you just got the funny version from the first try.
<MichaelRaskin> A few years (five, maybe) ago it was simple enough.
<MichaelRaskin> At every moment in time, though, there is a ton of mount options to BtrFS that mean «I know my FS is dead but show me what you can», and sometimes a combination of them actually works.
<Mic92> so they fixed some stuff
<Mic92> that was horrible before
<MichaelRaskin> What non-politically correct words you use. It was promoting regular backup plans.
<hyper_ch> Mic92: well, I removed that whole VMs dataset
<hyper_ch> and recreated it
<hyper_ch> but it still has those errors shown
<MichaelRaskin> (but yes, it did like to lose data)
<MichaelRaskin> hyper_ch: so maybe it _is_ storage-device-level?
savage has joined #nixos
<Mic92> hyper_ch: I don't about what these files mean, are they included in snapshots maybe?
<hyper_ch> MichaelRaskin: I doubt it... it's a rather new sasumg 850 pro
<hyper_ch> Mic92: I don't ahve any snapshots yet
<hyper_ch> maybe I should just restart anew
<Mic92> hyper_ch: have you used zfs send/receive at some point?
<hyper_ch> Mic92: no, I was still setting up the whole thing
<Mic92> here were some bugfixes regarding zfs send/receiv mentioned: https://github.com/zfsonlinux/zfs/pull/6595
<hyper_ch> no zfs send/receive this far
peacememories has joined #nixos
pie_ has joined #nixos
ee1943 has joined #nixos
peacememories has quit [(Client Quit)]
<savage> I'm trying to compile a program with G++ and ld cannot find a bunch of object files and libraries to link against. Am I missing packages (which I can't figure out) or am I supposed to use a nix-build function?
<goibhniu> hi savage, are your writing a nix expression to build it?
<savage> No I'm not
<Mic92> hyper_ch: I now why no file is listed in that case
MercurialAlchemi has quit [(Ping timeout: 264 seconds)]
<hyper_ch> Mic92: why?
<goibhniu> savage: you can also use nix-shell, if you're developing it, but it might be easiest to write a nix expression
<savage> I thought that might be how, but I can't seem to find documentation for that
<goibhniu> savage: you can plug in your buildInputs and the source
<goibhniu> savage: is it something that would be worth adding to nixpkgs?
<hyper_ch> Mic92: as said, I nuked the dataset.... I thought it would then stop that error... but it remains
<savage> no, it's just some toy opengl stuff
<Mic92> hyper_ch: maybe deletion is deferred, or the information is out-of-date
<savage> so you think the linker will work if I use a nix-shell env to build in?
peacememories has joined #nixos
<goibhniu> savage: did you have a look at: https://nixos.org/nix/manual/#sec-nix-shell
<goibhniu> savage: yep
fxer has quit [(Ping timeout: 240 seconds)]
tester123 has joined #nixos
sophiag has joined #nixos
<Mic92> I find it easier to understand the zfs source code compared to btrfs... the architecture is simpler and there are fewer edge cases.
<savage> I'll take another look and see how it goes. thanks!
<clever> savage: you may also need to uninstall gcc and the linker, to avoid any potential problems
sophiag has quit [(Client Quit)]
<savage> ah ok, thanks
sophiag has joined #nixos
<szicari> Greetings. I'm trying to override a python package to provide an additional build input, but my override seems to clobber _all_ other python packages. Can someone offer some insight into my failures? http://dpaste.com/2A2EHBT
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] orivej closed pull request #29068: calligra: 2.9.11 -> 3.0.1 (master...calligra) https://git.io/v5wYW
NixOS_GitHub has left #nixos []
sophiag has quit [(Client Quit)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] ttuegel pushed 1 new commit to master: https://git.io/vdBjE
<NixOS_GitHub> nixpkgs/master 85f0eef Thomas Tuegel: dropbox: 35.4.20 -> 36.4.22
NixOS_GitHub has left #nixos []
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] ttuegel pushed 1 new commit to release-17.09: https://git.io/vdBjw
<NixOS_GitHub> nixpkgs/release-17.09 db34428 Thomas Tuegel: dropbox: 35.4.20 -> 36.4.22...
NixOS_GitHub has left #nixos []
fxer has joined #nixos
ertes-w has quit [(Ping timeout: 248 seconds)]
iqubic has joined #nixos
savage has quit [(Ping timeout: 248 seconds)]
ertes-w has joined #nixos
Tucky has quit [(Quit: WeeChat 1.9.1)]
mattcode has quit [(Quit: Leaving)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] peterhoeg pushed 1 new commit to master: https://git.io/vdRea
<NixOS_GitHub> nixpkgs/master 14594db Peter Hoeg: cantata: 2.1.0 -> 2.2.0
NixOS_GitHub has left #nixos []
iqubic has left #nixos []
iqubic has joined #nixos
savage has joined #nixos
savage has quit [(Client Quit)]
jb55 has joined #nixos
the-kenny has quit [(Quit: WeeChat 1.7.1)]
<pie_> anyone use chicken scheme?
<pie_> im trying to figure out how to do this but it doesnt like the default.nix script in:
the-kenny has joined #nixos
Itkovian has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
<rnhmjoj[m]> can i have some feedback on this issue? it's marked sprintable but has been sitting idle for a while. https://github.com/NixOS/nixpkgs/pull/29401
infinisil has joined #nixos
dbmikus has joined #nixos
jb55 has quit [(Ping timeout: 258 seconds)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] peterhoeg pushed 1 new commit to master: https://git.io/vdRU2
<NixOS_GitHub> nixpkgs/master a05f1e2 Peter Hoeg: cantata clean up
NixOS_GitHub has left #nixos []
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] zraexy opened pull request #30130: docs: 17.03 -> 17.09 (master...docs-update) https://git.io/vdRUo
NixOS_GitHub has left #nixos []
taaperotassu has joined #nixos
Arcaelyx_ has joined #nixos
Arcaelyx has quit [(Ping timeout: 255 seconds)]
erasmas has joined #nixos
szicari is now known as seanz
Arcaelyx has joined #nixos
ertes-w has quit [(Ping timeout: 248 seconds)]
<pie_> ok so apparently this is an existing issue https://nixos.org/nix-dev/2016-July/021049.html
Arcaelyx_ has quit [(Ping timeout: 258 seconds)]
<pie_> eggs = import ./eggs.nix { inherit pkgs stdenv; };
<pie_> eggs should be a collection of derivations
moet has joined #nixos
<pie_> how would i list them?
<nixy> How would I use makeWrapper to execute one command with another
<nixy> Say I am trying to wrap $command1 so the file runs it as "$command2 $command1"
seanz has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
mudri has joined #nixos
periklis has quit [(Ping timeout: 248 seconds)]
szicari has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] kamilchm opened pull request #30131: sonic-pi: 2.9.0 -> 3.0.1 (master...sonic-pi) https://git.io/vdRIB
NixOS_GitHub has left #nixos []
<clever> pie_: first, you appear to want callPackage, eggs = callPackage ./eggs.nix {};
civodul has quit [(Quit: ERC (IRC client for Emacs 25.3.1))]
endformationage 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/db344282ab (from 60 minutes ago, history: https://channels.nix.gsc.io/nixos-17.09-small)
nix-gsc-io`bot has quit [(Client Quit)]
<clever> nixy: makeWrapper $originalcmd $out/bin/wrapper
<ij> Why could nixos-install output a "error: path '/nix/store/…' is not valid"? http://sprunge.us/RdgK
<ij> L
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] cyraxjoe closed pull request #30046: Version upgrade of enpass, from 5.4 to 5.6. (master...enpass-version-update) https://git.io/vdCDb
NixOS_GitHub has left #nixos []
vegai has left #nixos []
infinisil has quit [(Read error: Connection reset by peer)]
Sonarpulse has joined #nixos
<pie_> if the path in .outPath doesnt exist, that derivation wasnt built?
Sonarpulse has quit [(Remote host closed the connection)]
Sonarpulse has joined #nixos
tmaekawa has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nix] shlevy opened pull request #1591: darwin installer: Fix on systems where sudo -i is disabled. (master...darwin-installer-no-sudo-i) https://git.io/vdRtn
NixOS_GitHub has left #nixos []
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nix] shlevy opened pull request #1592: darwin installer: Fix on systems where sudo -i is disabled. (1.11-maintenance...darwin-installer-no-sudo-i-1.11-maintenance) https://git.io/vdRt8
NixOS_GitHub has left #nixos []
lucasOfBesaid has joined #nixos
bkchr has quit [(Ping timeout: 246 seconds)]
<lucasOfBesaid> While debugging a sound issue (neither Chromium nor VLC currently produce sound) I discovered that pavucontrol fails to start with this message: /home/lucas/.nix-profile/bin/pavucontrol: symbol lookup error: /run/opengl-driver/lib/libGL.so.1: undefined symbol: drmGetDevices2
<steveeJ> ahmedtd_: have you tested https://github.com/NixOS/nixpkgs/pull/24944 on shell scripts? it fails for me even though the test conditions are successful on manual test
<goibhniu> lucasOfBesaid: do you have hardware.pulseaudio.enable = true;?
szicari has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
szicari has joined #nixos
mudri has quit [(Ping timeout: 240 seconds)]
<lucasOfBesaid> goibhniu: Yes. And hardware.pulseaudio.package = pkgs.pulseaudioFull
jb55 has joined #nixos
szicari has quit [(Client Quit)]
<steveeJ> ahmedtd_: I take it back, the installPhase seems to have no permission for wrapping the script
<steveeJ> s/wrapping/stating/
<goibhniu> lucasOfBesaid: can it be that pavucontrol is old, or from a different channel than your system?
szicari has joined #nixos
<lucasOfBesaid> goibhniu: pavucontrol is installed from my user account, whereas pulseaudio is installed system-wide. How can I check if they don't match, or alternatively can I somehow ensure that both my system and user environment are up-to-date?
<goibhniu> you could try installing it as a system package instead, and removing it from your user profile
* goibhniu is surprised this doesn't happen more often ... never heard of it before
seku has quit [(Quit: http://www.kiwiirc.com/ - A hand crafted IRC client)]
seku has joined #nixos
<lucasOfBesaid> goibhniu: I'd rather try updating everything, since that has a chance of simultaneously solving my no sound problem
<iqubic> If I have libreoffice in my systemPackages, is Hunspell pulled in too, or do I need to add that too?
<iqubic> I'm trying to get LibreOffice spell check to work properly.
<iqubic> Currently LibreOffice treats all strings as valid.
seku has quit [(Client Quit)]
<goibhniu> lucasOfBesaid: yeah, it's no harm to put everything in systemPackages, upgrade and clear your user profile
<goibhniu> (and your root profile)
tmaekawa has quit [(Remote host closed the connection)]
tmaekawa has joined #nixos
<iqubic> Anyone know how to solve my LibreOffice spell check issues?
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] rycee pushed 1 new commit to master: https://git.io/vdRmh
<NixOS_GitHub> nixpkgs/master eeda400 Robert Helgesson: josm: 12914 -> 12921
NixOS_GitHub has left #nixos []
<iqubic> I think adding Hunspell might solve it, but I want check if that's the right way to go about solving my issues.
<iqubic> Also, how do I specify which dictionaries hunspell is going to use?
charlycoste has quit [(Ping timeout: 248 seconds)]
<lucasOfBesaid> goibhniu: sudo nixos-rebuild switch seemed to do nothing. I had done it relatively recently, so maybe this is a result of that. nix-channel --update && nix-env -u on the other hand updated a bunch of stuff.
<lucasOfBesaid> pavucontrol still doesn't work, though
<goibhniu> did you use --upgrade?
<lucasOfBesaid> Is that a nixos-rebuild option?
jensens has quit [(Ping timeout: 260 seconds)]
<goibhniu> and nix-env -e all your user packages
<goibhniu> yep
<iqubic> Anyone able to help me with hunspell?
nico202 has quit [(Ping timeout: 240 seconds)]
<lucasOfBesaid> Just did sudo nixos-rebuild --upgrade switch and it again looked like a noop. I'm still hesitating to put all my user packages into configuration.nix because ugh what a pain. Do you really think it'll help?
<zraexy> hunspellDicts.en-us?
<goibhniu> lucasOfBesaid: it might be weird with sudo
<goibhniu> try as root
<goibhniu> and just uninstall pavucontrol
<iqubic> zraexy: I think that will work.
<zraexy> I believe you just have to add the ones you want to systemPackages
<iqubic> zraexy: Do you think that will make LibreOffice's spell check work?
<iqubic> Because currently it thinks all strings are valid words.
<pie_> how can i coerce a set to a list? :/
<lucasOfBesaid> Bunch of collision warnings. (example: collision between `/nix/store/7pi5216k3lfb0mfvn6djqvkwd7mj44da-gvfs-1.30.1/bin/gvfs-cat' and `/nix/store/0vmxd1vcc37jgq1kayfz72x80fh9f09f-gvfs-1.30.1/bin/gvfs-cat')
<goibhniu> that's fine
digitus has joined #nixos
<lucasOfBesaid> Oh dear. Yup, that did it. pavucontrol works now
<samae> goibhniu: you asked at the end of february about a working gpg-agent config, did you solve your problem?
<goibhniu> samae: I think I had it working for a day, and then I didn't get it working again :/
<samae> I found the IRC log of your question when I looked for “not a tty”
<samae> damn…
<goibhniu> lucasOfBesaid: good!
<samae> goibhniu: did you try to use the specific option in nixos 17.09?
<lucasOfBesaid> I am not looking forward to moving all my user-installed packages into configuration.nix
silver_hook has joined #nixos
silver_hook has quit [(Changing host)]
silver_hook has joined #nixos
akavel[m] has joined #nixos
<goibhniu> lucasOfBesaid: this seems to be very rare
<goibhniu> samae: sweet! I haven't!
<samae> I'm using a smart card with gpg, and this GPG_TTY issue is the last thing that doesn't work
<lucasOfBesaid> goibhniu: Maybe not. I'm not an average user. The symptom was that sound didn't work. I followed a winding path to get here. Other users may not be making the connections I did.
szicari has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
szicari has joined #nixos
<goibhniu> lucasOfBesaid: I just searched for that error message and found that single issue ... I'd be surprised if more people didn't mention it here
<goibhniu> samae: and you've already tried that config option?
infinisil has joined #nixos
maiksen has joined #nixos
<zraexy> iqubic: It looks like currently issues with libreoffice and hunspell. https://github.com/NixOS/nixpkgs/issues/14430
<samae> goibhniu: indeed
bkchr has joined #nixos
<iqubic> zraexy: What exactly is the issue being brought up in that bug report?
<goibhniu> samae: that's a pity
taaperotassu has quit [(Read error: Connection reset by peer)]
<samae> It works ok for normal sessions, but not very well for when I connect from another machine
maiksen has quit [(Changing host)]
maiksen has joined #nixos
<zraexy> iqubic: It's a meta issue for spellchecking. Libreoffice is not checked off as fixed and there are a bunch of individual issues in the latest comment.
sigmundv_ has quit [(Ping timeout: 246 seconds)]
<iqubic> So basically there's no way to get spell checking to work?
erictapen has joined #nixos
taaperotassu has joined #nixos
<taaperotassu> I have enabled lightdm and using it. But how to enable and use autologin? I tried services.xserver.displayManager.lightdm.autoLogin.user = taapero; But building nixos fails?
aloiscochard has quit [(Quit: Connection closed for inactivity)]
bkchr has quit [(Ping timeout: 240 seconds)]
<taaperotassu> syntax error?
<goibhniu> taaperotassu: should it be 'taapero'?
<pie_> let names = builtins.attrNames e; in map (x: e.x.outPath) ff
bkchr has joined #nixos
<pie_> [ error: attribute ‘x’ missing, at (string):1:43
<pie_> any way to fix that?
<pie_> * let names = builtins.attrNames e; in map (x: e.x.outPath) names
<taaperotassu> I tried 'taapero'
<taaperotassu> still same error?
<goibhniu> what error do you get?
<pie_> (brb)
<srhb> taaperotassu: It should be a str, if you still get errors the problem might be elsewhere.
rauno has joined #nixos
<taaperotassu> syntax error, unexpected and $undefined?
<infinisil> pie_: e.${x}.outPath
<pie_> infinisil, oh. thanks :/
Neo-- has joined #nixos
<zraexy> iqubic: Doesn't look like it. Unless you want to fix the derivation.
<taaperotassu> oh its "$taapero"
<iqubic> So even grabbing hunspell won't magically make the spell checking work properly?
<joepie91> infinisil: hm, shouldn't that be e."${x}".outPath?
<joepie91> cc pie_
<joepie91> or is e.${x} also valid?
<joepie91> afaik ${} only exists in a string context
<taaperotassu> damn :D still not working.. building is without errors. thought
<joepie91> syntactically speaking
<zraexy> iqubic: I believe the issue is not the spell checker but libreoffice being able to find the dictionaries.
szicari has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
<infinisil> joepie91: it should still be valid, hold on
<iqubic> So even if I get hunspell, LibreOffice still won't be able to see that the hunspell dictionaries exist?
<iqubic> Is there any way to work around this?
<infinisil> joepie91: Yeah, ${} without quotes works
<joepie91> huh.
* joepie91 note to self
<taaperotassu> damn so if I am using i3 and lightdm autologin is not possible as it needs : services.xserver.desktopManager.default to be set
<infinisil> nix-instantiate --eval -E 'let a = "a"; in { a = 1; }.${a}'
<infinisil> 1
Mateon3 has joined #nixos
szicari has joined #nixos
pie_ has quit [(Ping timeout: 248 seconds)]
lucasOfBesaid has quit [(Quit: Page closed)]
<zraexy> iqubic: I don't know enough about libreoffice to say. There should be a way of building it with the dictionaries it needs but currently that would involve changing the derivation.
Mateon1 has quit [(Ping timeout: 258 seconds)]
Mateon3 is now known as Mateon1
<iqubic> I'd like someone else to do that. I'm not knowledgeable to fix the derivation.
bkchr has quit [(Ping timeout: 240 seconds)]
hellrazor has joined #nixos
szicari has quit [(Client Quit)]
szicari has joined #nixos
reinzelmann has joined #nixos
iqubic has quit [(Quit: Page closed)]
<srhb> taaperotassu: Not understood. Why is that a problem?
Wizek has joined #nixos
mortum5 has joined #nixos
sigmundv_ has joined #nixos
goibhniu has quit [(Ping timeout: 264 seconds)]
zeus_ has joined #nixos
mudri has joined #nixos
pie_ has joined #nixos
georges-duperon has quit [(Ping timeout: 240 seconds)]
acowley_away is now known as acowley
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] vbgl pushed 1 new commit to master: https://git.io/vdRCZ
<NixOS_GitHub> nixpkgs/master 9e754a6 Vincent Laporte: ocamlPackages.ssl: 0.5.3 -> 0.5.4
NixOS_GitHub has left #nixos []
tester123 has quit [(Ping timeout: 260 seconds)]
reinzelmann has quit [(Quit: Leaving)]
a6a3uh has joined #nixos
m0rphism has joined #nixos
python476 has joined #nixos
mudri has quit [(Ping timeout: 258 seconds)]
Neo-- has quit [(Ping timeout: 258 seconds)]
<schoppenhauer> what do I need to tell nixos-rebuild to only use one download at a time?
<infinisil> schoppenhauer: I think that's the nix.buildCores setting
colabeer has joined #nixos
<schoppenhauer> infinisil: but I don't want the threads for building to be bounded, just the threads for downloading
<infinisil> schoppenhauer: Ah, don't know if that's possible
<infinisil> I don't think you can
<schoppenhauer> infinisil: ok, then I try to change /etc/nix/nix.conf
<infinisil> i think it should be just /etc/nix.conf, and you need to use configuration.nix on nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] 4z3 opened pull request #30132: kdeApplication: kill unused file kde-locale-5.nix (master...kill-kde-locale-5) https://git.io/vdR80
NixOS_GitHub has left #nixos []
<schoppenhauer> infinisil: that won't work because I want to change the setting for nixos-rebuild
<schoppenhauer> so I have to do it "dirty" and remount /nix/store rw and edit it manually
Judson1 has joined #nixos
Judson1 is now known as Guest93765
nckx has quit [(Quit: Restarting my GuixSD server — https://gnu.org/s/guix)]
<Dezgeg> well a better way is to delete the /etc/nix/nix.conf symlink and replace it with a file
Neo-- has joined #nixos
<Dezgeg> but there's no need to do that unless you write something invalid to nix.conf since everything can be overwritten with --option on the command line anyway...
nckx has joined #nixos
phdoerfler has joined #nixos
<infinisil> oh right
<infinisil> forgot about that
erictapen has quit [(Ping timeout: 255 seconds)]
mudri has joined #nixos
mortum5 has quit [(Ping timeout: 240 seconds)]
erictapen has joined #nixos
Neo-- has quit [(Ping timeout: 258 seconds)]
peacememories has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
_ris has joined #nixos
<ryantm> nixer
<ryantm> oops, sorry.
<nixer> np
mudri has quit [(Ping timeout: 258 seconds)]
m0rphism has quit [(Quit: WeeChat 1.9.1)]
m0rphism has joined #nixos
m0rphism has quit [(Client Quit)]
nschoe has joined #nixos
m0rphism has joined #nixos
<taaperotassu> srhb: I am using i3wm which is not a desktopmanager but a windowmanager
georges-duperon has joined #nixos
mudri has joined #nixos
csingley has quit [(Quit: WeeChat 1.9.1)]
erictapen has quit [(Ping timeout: 248 seconds)]
jensens has joined #nixos
erictapen has joined #nixos
orivej has quit [(Ping timeout: 255 seconds)]
<nh2> taaperotassu: what's a "desktopmanager" for you then? In usual terminology, there are only 2 kinds of managers: "login managers" (things like lightdm, gdm, kdm), and "window managers" (the programs that are the top parents of your X session)
<avn> nh2: well, sometimes top parent of x session is not usually a WM, sometimes it something third. (I abused it, when implement kiosk -- session quits when main app quits)
<sphalerite> hi folks. Any thoughts on how a shared home directory (mounted via nfs) might interact poorly with nix? The things that come to mind are .nix-profile (breaks across machines) and result symlinks (will only work on the machine they were created on, but shouldn't get gc'd accidentally)
<sphalerite> Can anyone think of something I might have missed?
<avn> sphalerite: bind-mount .nix-profile to something local?
<sphalerite> avn: not sure that will work with a symlink that simply gets replaced?
<sphalerite> plus that would have to be done per user, which is also non-trivial because LDAP
<sphalerite> I mean, just not supporting nix-env is an option
<gchristensen> sphalerite: I can't think of anything specific
<sphalerite> it's not so much a question of "how can I fix stuff" as opposed to "what will break" that I'm asking
<avn> sphalerite: I can't suggest anything less idiotic, than custom fuse fs which will manage these links, diverting them somewhere
<gchristensen> lol
<gchristensen> seems sphalerite isn't looking for solutions right now
<sphalerite> avn: how about "not using the shared home directory as the actual home directory on nixos" :p
<sphalerite> (still mounting it and having it accessible, just not using it as the home dir)
<avn> sphalerite: hmm, you can combine local-home with shared-home onto /home/user with unionfs-fuse ;)
mkoenig has quit [(Remote host closed the connection)]
<avn> if local-home would be on-top, it even should works
<sphalerite> actually .nix-profile would work, wouldn't it? Because it doesn't link to a profile by number
<avn> also look on bindfs, which allow mangle some fs crap like uids/time/...
<sphalerite> so it would only fail on machines where the user doesn't have a profile
<avn> sphalerite: it fallback to root .nix-profile, doesn't it?
<sphalerite> well how is nix-profile used in the first place? AFAIK it's only placed in search paths, and the typical behaviour there is to just ignore it if it doesn't exist
colabeer has quit [(Ping timeout: 240 seconds)]
<sphalerite> so it wouldn't really break at all, although the profile obviously would be a per-host thing
LysergicDreams has joined #nixos
mkoenig has joined #nixos
jensens has quit [(Ping timeout: 248 seconds)]
<sphalerite> Does anyone know why I might be consistently losing my wifi connection, and at that point the journal says Oct 05 19:48:58 sudoku wpa_supplicant[3286]: wlp2s0: WPA: Group rekeying completed with e8:de:27:6d:45:b4 [GTK=CCMP]
<sphalerite> (did that fit in an IRC message?)
<sphalerite> looks like it did
jtojnar has joined #nixos
boxofrox has quit [(Ping timeout: 240 seconds)]
<pie_> egg2nix mostly works like a charm, woo user error
<hyper_ch> Mic92: so, freshly new installed ;)
<infinisil> Ohh, you can use `attr ? name` without quoting name :O
jtojnar has quit [(Read error: Connection reset by peer)]
jtojnar_ has joined #nixos
sigmundv_ has quit [(Ping timeout: 240 seconds)]
ertes has joined #nixos
<wilornel> How can I ssh into my new nixos guest vm? I can't get sshd working
jb55 has quit [(Ping timeout: 264 seconds)]
<wilornel> "Unit sshd.service not found"
<infinisil> wilornel: Do you have services.openssh.enable = true;?
<srhb> taaperotassu: Can't you set it to "none" ?
Neo-- has joined #nixos
python476 has quit [(Read error: Connection reset by peer)]
<sphalerite> wilornel: I think the service is called openssh.service. Not sure htough
<wilornel> where do I set this?
<sphalerite> never mind, it is sshd.server
<sphalerite> service*
<sphalerite> wilornel: in the nixos config
<sphalerite> /etc/nixos/configuration.nix
<sphalerite> then run nixos-rebuild switch to apply the change
<wilornel> it works! Thank you :)
<wilornel> thanks sphalerite *
<wilornel> is there a way for me to easily declare the packages I want to be installed for a certain user? Or would it be better to source an environment?
justbeingglad has joined #nixos
justbeingglad has left #nixos []
<sphalerite> wilornel: I'd write it as a nix expression and install it as that user using nix-env -ir
Neo-- has quit [(Ping timeout: 255 seconds)]
<sphalerite> there isn't really a solution for doing it from the system config currently
<zraexy> https://nixos.org/nixos/options.html#users.users.%3Cname%3F%3E.packages
<sphalerite> oh. never mind me :D
<wilornel> Well, I don't see why every user should be editing this single file to declare the packages that they want. So, I think your solution sphalerite makes sense
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] gnidorah opened pull request #30134: libx86: fix illegal instruction error (master...master) https://git.io/vdR24
NixOS_GitHub has left #nixos []
civodul has joined #nixos
<zraexy> wilornel: There are also multiple projects and a PR for per user configs: https://github.com/rycee/home-manager/ https://github.com/sheenobu/nix-home https://github.com/NixOS/nixpkgs/pull/9250
<wilornel> What sphalerite explains does it, no? Also, what about sourcing an environment. That does it too, right?
cement has quit [(Ping timeout: 240 seconds)]
* infinisil vouches for home-manager
* samae too
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] 4z3 opened pull request #30135: types: remove loeOf (master...kill-loeOf) https://git.io/vdR25
NixOS_GitHub has left #nixos []
jtojnar_ has quit [(Read error: Connection reset by peer)]
<wilornel> why are some better than others? Which ones will be the defacto solution in nixos for per user configs?
jtojnar_ has joined #nixos
cement has joined #nixos
<hyper_ch> what does home-manager do?
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] bachp opened pull request #30136: gitlab-runner: 10.0.0 -> 10.0.2 (master...gitlab-runner-10.0.2) https://git.io/vdRaI
NixOS_GitHub has left #nixos []
<samae> it replicates the module system at the user level
<samae> so you can manage your user configuration
<infinisil> There isn't a standard as of now, but home-manager is used by more and more people, and I believe it could become a standard way of doing it given some time
Guest79644 has quit [(Quit: Lost terminal)]
<hyper_ch> ah
nschoe has quit [(Quit: Leaving)]
<MichaelRaskin> is NixUP also one of these?
<sphalerite> wilornel: for just installing packages, a nix expression + nix-env -ir will do. If you want proper config, home-manager
<sphalerite> that said, I'm using just nix-env -ir for managing my config for now. I plan to migrate to home-manager but haven't done so yet
<wilornel> What do you mean by "proper config"? What does that entail?
<wilornel> Would that mean configuring what services should be running as well?
hellrazor has quit [(Quit: WeeChat 1.9.1)]
<MichaelRaskin> There is also generating some of the dotfiles, I guess.
<MichaelRaskin> If you want something fancier than just dropping everything into a VCS.
<hyper_ch> Mic92: encrypted volumes on iOS: https://twitter.com/felix_schwarz/status/915851372217683970
<MichaelRaskin> Isn't that about Macbooks?
<hyper_ch> it is :)
<clever> skimming thru the comments, i think it saves the password into the hint field
<hyper_ch> encryption on iOS
<hyper_ch> clever: it does
<infinisil> wilornel: with home-manager you can declare user services, dotfiles, xsession
<hyper_ch> clever: that's user friendly :)
<MichaelRaskin> I think the desktop version is called macOS
<the-kenny> clever: yeah, some util in macOS stored the password in the hint field
<hyper_ch> osx
<infinisil> wilornel: And user packages of course
<the-kenny> Disk Utility (another utility to create harddisks, images, etc.) doesn't have this bug
<MichaelRaskin> No, the bug is younger than Mac OS X → macOS.
<infinisil> wilornel: And there's lots of modules for programs, so you don't have to write the dotfile yourself
iqubic has joined #nixos
<hyper_ch> the-kenny: it is disk utility that does it
moet has quit [(Ping timeout: 248 seconds)]
<the-kenny> hyper_ch: oh sorry. You're right. The CLI version (diskutil) doesn't have this bug
<hyper_ch> the-kenny: but who uses the cli version on Mac OS?
<the-kenny> Dunno, and I'm not defending Apple here
<MichaelRaskin> Careful, smart people under duress!
<MichaelRaskin> (Careful people not under duress preferring CLI would obviously use something less glittery, like FreeBSD or GNU/Linux)
* infinisil is glad he switched from macOS
<hyper_ch> but I think it's very nice from Apple... so if people forget their encryption password, they just have to look at the hint
phreedom has joined #nixos
<MichaelRaskin> UX beats stupid theoretical concepts, right?
<mguex> hyper_ch: also helpful if crossing some international borders
<hyper_ch> mguex: :)
<MichaelRaskin> You think it is malicious compliance?
<MichaelRaskin> Someone was tasked with creating a backdoor and made _sure_ the result would have to be patched out really fast…
cement has quit [(Ping timeout: 248 seconds)]
<Mic92> hyper_ch: this is what I wrote a year before: https://twitter.com/Mic_92/status/744032942717079552
<iqubic> What are we discussing here?
<hyper_ch> Mic92: you know how to tweet?
<sphalerite> iqubic: APFS bug
cement has joined #nixos
<iqubic> I don't use APFS
<MichaelRaskin> Technically speaking, APFS tooling bug.
<hyper_ch> it's not really a but.. it's just a very good password hint function
<sphalerite> iqubic: password hint for encrypted APFS volumes on SSDs would be set to the passwor
<the-kenny> Yeah, my bet would be on tooling bug too
<iqubic> sphalerite: Is that a bad thing?
ShalokShalom_ is now known as ShalokShalom
<sphalerite> iqubic: it does somewhat defeat the point of encryption.
<iqubic> It does?
<MichaelRaskin> It is very, very user-friendly. But causes weird panic reactions in some strange nerds, you know.
<sphalerite> :D
<iqubic> Does it change the actual password?
<sphalerite> no, but it does reveal it
<iqubic> How?
<MichaelRaskin> Because it sets password hint to a copy of the password
<MichaelRaskin> And password hint is _supposed_ to be freely viewable.
<iqubic> Oh my god, that's awful. Has this been patched yet?
<MichaelRaskin> By te way, this is also a data loss bug! If someone were using the password hint insteadof post-it notes… You know, it's quite convenient — you don't need to unlock the notebook to view the hint!
<hyper_ch> it's just very considerate of Apple to have such a helpful hint
<hyper_ch> think of all the people that keep forgetting their passwords... they are happy with this
<clever> ive seen a similar problem in redhat, the root password was in a log file of all input the installer received
<clever> which was world-readable
deltasquared has joined #nixos
deltasquared has left #nixos []
iqubic has quit [(Quit: Page closed)]
Mateon1 has left #nixos []
nix-gsc-io`bot has joined #nixos
<nix-gsc-io`bot> Channel nixpkgs-17.09-darwin advanced to https://github.com/NixOS/nixpkgs/commit/db344282ab (from 5 hours ago, history: https://channels.nix.gsc.io/nixpkgs-17.09-darwin)
nix-gsc-io`bot has quit [(Client Quit)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] aneeshusa opened pull request #30137: WIP DO NOT MERGE openssh: 7.5p1 -> 7.6p1 (master...update-openssh-to-7.6p1) https://git.io/vdRoe
NixOS_GitHub has left #nixos []
jtojnar_ has quit [(Read error: Connection reset by peer)]
jtojnar has joined #nixos
python476 has joined #nixos
jb55 has joined #nixos
Isorkin has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] NeQuissimus pushed 1 new commit to master: https://git.io/vdRo5
<NixOS_GitHub> nixpkgs/master 3e5b594 Tim Steinbach: linux-copperhead: 4.13.4.a -> 4.13.5.a
NixOS_GitHub has left #nixos []
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] NeQuissimus pushed 1 new commit to release-17.09: https://git.io/vdRoF
<NixOS_GitHub> nixpkgs/release-17.09 bd7f5ba Tim Steinbach: linux-copperhead: 4.13.4.a -> 4.13.5.a...
NixOS_GitHub has left #nixos []
fxer has quit [(Quit: leaving)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] dupgit opened pull request #30138: tmux 2.5 -> tmux 2.6 (master...patch-1) https://git.io/vdRop
NixOS_GitHub has left #nixos []
jushur has quit [(Max SendQ exceeded)]
jushur has joined #nixos
orivej has joined #nixos
jtojnar has quit [(Read error: Connection reset by peer)]
jtojnar_ has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] NeQuissimus pushed 3 new commits to release-17.09: https://git.io/vdRK4
<NixOS_GitHub> nixpkgs/release-17.09 6b5df4d Tim Steinbach: kbfs: 20170922.f76290 -> 20171004.40555d...
<NixOS_GitHub> nixpkgs/release-17.09 f816ec8 Tim Steinbach: keybase: 1.0.30 -> 1.0.33...
<NixOS_GitHub> nixpkgs/release-17.09 e505f67 Tim Steinbach: keybase-gui: 1.0.25 -> 1.0.33...
NixOS_GitHub has left #nixos []
jushur has quit [(Max SendQ exceeded)]
maiksen has quit [(Ping timeout: 240 seconds)]
jushur has joined #nixos
jushur has quit [(Max SendQ exceeded)]
csingley has joined #nixos
jushur has joined #nixos
jtojnar has joined #nixos
jushur has quit [(Max SendQ exceeded)]
jtojnar_ has quit [(Ping timeout: 240 seconds)]
goibhniu has joined #nixos
boxofrox has joined #nixos
jushur has joined #nixos
<csingley> I'm editing some services nixpkgs/nixos/modules/services/. How do I make nix-build build my local modifications for testing?
JosW has quit [(Quit: Konversation terminated!)]
jtojnar has quit [(Ping timeout: 240 seconds)]
<makefu> csingley: you could configure this change in your configuration.nix and build your system with the checkout: NIX_PATH=nixpkgs=$PWD nixos-rebuild switch
<makefu> or build a vm
<makefu> nixos-rebuild build-vm (i haven't tested this though)
<makefu> setting a custom configuration: NIX_PATH=nixos-config=my.config:nixpkgs=$PWD
jushur has quit [(Max SendQ exceeded)]
<bigvalen> I managed to blow away my /boot - assuming it was a pretty standard stable-nixos-on-zfs setup, how hard is it to ... find a new /boot ?
<jonge> i just added the cacert PEM file content of my company to my global security.pki.certificates option. and i can see it indeed in my /etc/ssl/certs/ca-bundle.crt file. however, with both google chrome and curl, i cannot access our intranet sites via https. did i miss anything?
acowley is now known as acowley_away
<makefu> bigvalen: nixos-rebuild boot in a chroot with a boot cd
jushur has joined #nixos
<makefu> jonge: i think you need to manually configure the cert in your browser configuration
iqubic has joined #nixos
mudri has quit [(Quit: WeeChat 1.9)]
<makefu> jonge: for curl and stuff, you need to set $SSL_CERT_FILE i think
<jonge> makefu: i can imagine that is true for firefox, but on other distros chrome accepted system wide certs.
<makefu> jonge: then try setting SSL_CERT_FILE
<jonge> makefu: just tried it after you said it. does not work. when i give it the cert file with --cacert it works however.
<iqubic> What happens if you run the nix install script on Nixon?
<iqubic> nixos
<makefu> jonge there are more variables it seems
<makefu> CURL_CA_BUNDLE = ca-bundle;
<makefu> GIT_SSL_CAINFO = ca-bundle;
<makefu> SSL_CERT_FILE = ca-bundle;
<jonge> makefu: where do you have this from?
<bigvalen> makefu; thanks.
<bigvalen> As in, boot CD, find & mount root, var etc. chroot into that, and 'nixos-rebuild boot' from there.
isHavvy has quit [(Remote host closed the connection)]
<jonge> makefu thx
isHavvy has joined #nixos
<csingley> makefu: ty
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] orivej closed pull request #30122: llvm: download source over https (master...llvm-https) https://git.io/vdBVe
NixOS_GitHub has left #nixos []
<makefu> jonge: if this works for you you could add the info to https://nixos.wiki :)
<sphalerite> clever: could I pick your brains on a netboot setup? :)
<jonge> makefu: good idea. i am just going to try it out now.
<LnL> jonge: most tools also look at NIX_SSL_CERT_FILE
<sphalerite> I've got a working setup where the machines boot into the installer, roughly, but there are two issues with it. I want to be able to modify it quickly, and that's not currently possible because mksquashfs is slow; and I want it to boot quickly, which is not currently possible because the initrd is large and it takes a while to transfer it to grub
jushur has quit [(Max SendQ exceeded)]
<makefu> LnL: these will be the nix tools, right?
jushur has joined #nixos
<jonge> makefu: what is "mkForce"? my nixos-rebuild doesn't know that.
<LnL> tools from nixpkgs, things like curl, git, go will use that if it's defined
<sphalerite> jonge: it's in lib
<makefu> jonge: it is out of the lib
jushur has quit [(Max SendQ exceeded)]
<jonge> so i add "lib" to the list in the first line?
<jonge> ok that did not work.
<makefu> jonge: then lib.mkForce
<makefu> or at the beginning "with lib;"
<clever> sphalerite: sure
<jonge> makefu: yes that works.
<sphalerite> any suggestions for how to improve on those pain points?
<clever> sphalerite: nixos-rebuild the small changes after boot?
jushur has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] orivej pushed 2 new commits to master: https://git.io/vdR1q
<NixOS_GitHub> nixpkgs/master e455bdc dupgit: tmux 2.5 -> tmux 2.6...
<NixOS_GitHub> nixpkgs/master a360627 Orivej Desh: Merge pull request #30138 from dupgit...
NixOS_GitHub has left #nixos []
<sphalerite> aah so I'd serve the new config via HTTP or whatever and have it fetch it from there?
<sphalerite> That sounds sensible
<clever> sphalerite: but also, what kind of changes are you needing to make to this installer after it boots?
<sphalerite> clever: it's not so much changes to the installer after it boots as opposed to just iterating on the installer
<sphalerite> well, I'm not using it as an installer
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] rycee pushed 1 new commit to master: https://git.io/vdR1Z
<NixOS_GitHub> nixpkgs/master 51b557b Robert Helgesson: CODEOWNERS: add @rycee for Eclipse IDE
NixOS_GitHub has left #nixos []
<sphalerite> the idea is for it to be a small system that boots without (reliance on) a hard drive
<sphalerite> because our hard drives are very unreliable, these are machines that were donated to us having had their HDDs wiped with magnets
<clever> sphalerite: ah, like not-os
<sphalerite> more or less, except I do want it to support e.g. a graphical interface and possibly a game or two
<sphalerite> these machines have 8GB of RAM so I'm not very tightly constrained
<clever> yeah
<clever> sphalerite: another option is iscsi rootfs
<clever> sphalerite: i did that on one of my laptops
<sphalerite> that sounds fancy
<clever> let me find the gist
<csingley> makefu: NIX_PATH=nixpkgs=/path/to/nixpkgs/copy nixos-rebuild switch => "error: file ‘nixos-config’ was not found in the Nix search path"
<clever> sphalerite: https://gist.github.com/cleverca22/d7132a37ea5755b60aa5 half of the config
<csingley> What's needed for a git checkout?
<clever> csingley: use -I instead
<clever> csingley: -I prepends things to the search path, so the old nixos-config in $NIX_PATH survives
<clever> sphalerite: do you see how simple line 7-10 of configuration.nix is?
<sphalerite> clever: yes, very nice!
cpennington has quit [(Remote host closed the connection)]
a6a3uh has quit [(Quit: Bye)]
<clever> sphalerite: sanboot in ipxe is part of the magic, it hijacks the legacy bios api for the hdd's
boxofrox has quit [(Ping timeout: 240 seconds)]
<clever> sphalerite: so when grub tries to read the local hdd, it transparently gets relayed over iscsi
<sphalerite> have you PRed (considered PRing) iscsi-boot.nix to nixpkgs?
jtojnar has joined #nixos
<sphalerite> oh, hm, I'm not using ipxe
<clever> sphalerite: never got around to that, and i wrote this before the initrd supported networking
ktf has joined #nixos
<jonge> makefu: ok, in that config past that link, ca-bundle = "${pkgs.cacert}/etc/ssl/certs/ca-bundle.crt"; is used. but that file does not contain my root cert. only /etc/ssl/... does. should i use it without the ${pkgs.cacert} then, because security.pki.certificates seems to touch only /etc/ssl/...?
<clever> sphalerite: this also works with a local /boot on each machine
mkoenig has quit [(Quit: Lost terminal)]
<clever> sphalerite: i had originally written it with a fat32 /boot on the SD card of an rpi
<iqubic> If I update my channel, should I change the nixos state setting in configuration.nix?
<clever> sphalerite: then i added the grub and ipxe, when i ported it to a laptop
<clever> iqubic: no
<iqubic> clever: why not?
<makefu> jonge: yes, looks like this is what security.pki.certificates is doing according to https://github.com/NixOS/nixpkgs/blob/release-17.09/nixos/modules/security/ca.nix#L84
<csingley> clever: ty! That is working
<clever> iqubic: because that would break the very things its meant to fix
<iqubic> Is that setting just saying which nixos version the machine was initially built with?
<clever> iqubic: yes
mkoenig has joined #nixos
<iqubic> Why the hell would that matter in the slightest?
<clever> iqubic: backwards compatability problems
<clever> iqubic: for example, the ssh hostkey type was changed
<iqubic> Oh. That's odd.
<clever> iqubic: but applying that change would set off mitm warnings for every single client
<iqubic> Oh. So we can't have that.
<iqubic> Basically changing that value would break my entire system,
<clever> the on-disk format for postgresql databases also changed
jtojnar has quit [(Ping timeout: 240 seconds)]
<iqubic> Cool
<iqubic> Linux is an ever changing thing.
<clever> yeah
<MichaelRaskin> > the on-disk format for postgresql databases also changed
<MichaelRaskin> Has it _ever_ not changed for second-digit release? Never mind major ones.
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] orivej pushed 2 new commits to master: https://git.io/vdRMA
<NixOS_GitHub> nixpkgs/master 3aeccde gnidorah: libx86: fix illegal instruction error
<NixOS_GitHub> nixpkgs/master c8a7069 Orivej Desh: Merge pull request #30134 from gnidorah/master...
NixOS_GitHub has left #nixos []
<iqubic> So I noticed that the format of my boot loader entries changed when I moved to the 17.09 channel.
<iqubic> Like just the string
<iqubic> Just the name string.
<iqubic> That was a confusing thing to have happen though. I was not sure if my system was broken or not.
<MichaelRaskin> Ah, you mean NixOS default version.
Ralith_ has quit [(Ping timeout: 248 seconds)]
<MichaelRaskin> Just how much empathy we have for weird people who use PostgreSQL and do not pin the version used by service?
<clever> MichaelRaskin: yeah
<clever> MichaelRaskin: it needs the stateVersion to continue using the "right" version for your database
<MichaelRaskin> Maybe it should be a mandatory parameter.
Ralith_ has joined #nixos
hamishmack has quit [(Quit: hamishmack)]
<iqubic> MichaelRaskin: I don't have any empathy for them.
<iqubic> So why might the names of my Nixos boot entries change, but still point to the same place?
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] orivej pushed 2 new commits to master: https://git.io/vdRDC
<NixOS_GitHub> nixpkgs/master bc03222 tv: types: remove loeOf
<NixOS_GitHub> nixpkgs/master 10881bb Orivej Desh: Merge pull request #30135 from 4z3/kill-loeOf...
NixOS_GitHub has left #nixos []
<MichaelRaskin> Well, maybe some of them are newbies who are just starting to learn navigating this cruel world.
<MichaelRaskin> Because the menu generator now writes different things about the same generations?
<clever> sphalerite: one neat thing i did with this setup: https://gist.github.com/cleverca22/ffc78783ba91940d62f57cbdf9e285a3#file-gistfile1-txt
<clever> sphalerite: ipxe reports its mac to the boot.php file, which then decides what to boot, based on a switch/case statement
<iqubic> Must be. Did the menu generator change from 17.03 to 17.09?
<MichaelRaskin> NixOS lacks a protocol that would let generations to provide their own fixed description.
<MichaelRaskin> Which is a shame, because it means you cannot have two NixOS-like Nix-based systems coexist and generate boot entries for each other
<iqubic> So some other bit of code creates the boot menu descriptions?
zeus_ has left #nixos []
<gchristensen> iqubic: it did
<clever> iqubic: the code in the current build of nixos generates the menu for all of them
<iqubic> I see. That must be what happened to me.
<gchristensen> did it break something?
<MichaelRaskin> It broke expectations!
<gchristensen> I'd say it exceeds them!
<MichaelRaskin> «A throw has exceeded expectations. And someone cannot swim» if you remember that joke.
<gchristensen> the systemdboot generator used to only output the generation # whereas bash would show the date they were made and the nixpkgs version, which was helpful
<gchristensen> haha, I do :)
<gchristensen> s/whereas bash/whereas grub/
civodul has quit [(Quit: ERC (IRC client for Emacs 25.3.1))]
simukis has quit [(Ping timeout: 258 seconds)]
jtojnar has joined #nixos
endformationage has quit [(Quit: WeeChat 1.9)]
IRC-Source_54074 has joined #nixos
LexLeoGryfon has joined #nixos
endformationage has joined #nixos
<iqubic> gchristensen: systemd recently switched to grub's naming scheme and that threw me for a loop.
<gchristensen> I know, I fixed it :)
<iqubic> I'll be moving to grub soon though, as I like it better.
<iqubic> More options.
IRC-Source_54074 has quit [(Client Quit)]
koserge has quit [(Ping timeout: 240 seconds)]
deepfire has quit [(Ping timeout: 248 seconds)]
<infinisil> After about 2 hours of getting into the thing I'm wanting to get to work, I realize that the solution is a single line
<infinisil> -..
<infinisil> -.-
acowley_away is now known as acowley
<MichaelRaskin> That patch will remove two lines, not one.
freeman42y has joined #nixos
oida has joined #nixos
<akavel[m]> @all: did anybody have success defining a brand new cross-compilation target in nixos and building something for it?
<LexLeoGryfon> I dunno, but sure catalonias is half-succeded with defining their independence
oida_ has quit [(Ping timeout: 240 seconds)]
<akavel[m]> I.e. a new/different CPU architecture or something like this
<LexLeoGryfon> Goodendag!
boxofrox has joined #nixos
<MichaelRaskin> What is a different CPU architecture? Like, there not that many in circulation (or with good support in gcc) — a few MIPS, a few ARM…
<MichaelRaskin> I have both positive and negative experiences with cross-compiling to a specific portable device.
<MichaelRaskin> Sometimes guessing options was easy, in another case I have failed to make the binaries I got not to segfault.
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] bjornfor pushed 1 new commit to release-17.09: https://git.io/vdRHK
<NixOS_GitHub> nixpkgs/release-17.09 80f9d39 Guanpeng Xu: Mathematica: 11.0.1 -> 11.2.0...
NixOS_GitHub has left #nixos []
<gchristensen> akavel[m]: yeah that has happened a few times, you may want to email the mailing list
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] orivej pushed 2 new commits to master: https://git.io/vdRHP
<NixOS_GitHub> nixpkgs/master 5f90e52 Teal Gaure: dovecot: 2.2.27 -> 2.2.32, dovecot_pigeonhole: 0.4.10 -> 0.4.20
<NixOS_GitHub> nixpkgs/master 6ad671f Orivej Desh: Merge pull request #30078 from TealG/dovecot-2.2.32+dovecot_pigeonhole-0.4.20...
NixOS_GitHub has left #nixos []
<akavel[m]> Did email, but got silence :(
<bigvalen> makefu, So, I got it booting an install CD. I did a "zfs import -f rpool" to pull in the zfs volume from the old disks. Wasn't quite sure how to mount it, so did 'zfs set mountpoint=/new rpool/root' assuming that was the old root volume.
<bigvalen> Alas.../new was empty. Anyone else good with ZFS and know how to mount a zfs root volume on a rescue CD ?
hamishmack has joined #nixos
<akavel[m]> In my case its a somewhat atypical situation, as I want to build for 'l4' microkernel,
szicari has quit [(Ping timeout: 258 seconds)]
<akavel[m]> which defines itself as a new architecture in linux kernel sources
tmaekawa has quit [(Quit: tmaekawa)]
<akavel[m]> for needs of the build process.
<MichaelRaskin> Did you check if the resulting kernel can run normal binaries for the underlying CPU architecture?
<akavel[m]> So I need to invoke the cross compilation machinery to build kernel for a new architecture, not yet predefined in nixos.
<MichaelRaskin> Ah, you need the kernel.
<akavel[m]> And I find it super hard, esp.given that much of this stuff is underdocumented in nixos sources
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] vbgl pushed 1 new commit to master: https://git.io/vdRQG
<NixOS_GitHub> nixpkgs/master 4086a9c Vincent Laporte: ocamlPackages.pprint: 20140424 -> 20171003
NixOS_GitHub has left #nixos []
<MichaelRaskin> I would try to specify the target underlying CPU for the cross-compilation config, and just tell the kernel that it is for L4.
<MichaelRaskin> But I do sometimes fail when trying to cross-compile, so my advice is not to be trusted, only to be considered…
<akavel[m]> I have trouble building the specific incantation.
<akavel[m]> I think it was not actually the CPU which was the problem,
<akavel[m]> bit rather sone other parameters in 'crossSystem'.
<MichaelRaskin> That's how it usually goes, apparently.
<akavel[m]> But I'm desperately scrambling for any and all resources and hints
<akavel[m]> related to cross compilation
<akavel[m]> so that maybe something could nudge me in right direction
moet has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] grahamc closed pull request #30102: simple-scan: Move to GNOME package set (master...gnome-simple-scan) https://git.io/vd45N
NixOS_GitHub has left #nixos []
<akavel[m]> as the official docs are super sparse
<akavel[m]> and even the nixos sources are usually left undocunented in those areas :(
ktf has quit [(Quit: WeeChat 1.9)]
<akavel[m]> MichaelRaskin: the 'just tell the kernel that it is for L4' is the part I don't know how to do correctly :)
<MichaelRaskin> Does that mean that you can crosscompile normal software for this device with preexisting kernel booted?
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] orivej pushed 3 new commits to master: https://git.io/vdR7U
<NixOS_GitHub> nixpkgs/master 5449dd2 Yegor Timoshenko: mednafen: 0.9.47 -> 0.9.48, disable PIC, unversioned docs
<NixOS_GitHub> nixpkgs/master 333a425 Yegor Timoshenko: mednafen-server: use $out/share/mednafen-server for standard.conf
<NixOS_GitHub> nixpkgs/master da20916 Orivej Desh: Merge pull request #29863 from yegortimoshenko/mednafen/0.9.48...
NixOS_GitHub has left #nixos []
<akavel[m]> "The device" is my normal laptop where I have regular nixos. I'd "just" like to swap the kernel for a l4linux one built using nix
Itkovian has joined #nixos
<MichaelRaskin> Ah, then you don't need true cross-compilation
<LexLeoGryfon> akavel[m]: at which timezone r u? it's midnight in EU. r u doing this stuff during night?
<moet> hi nixos, if i install `inconsolata` via /etc/nixos/configuration.nix, it doesn't get used by urxvt..
<akavel[m]> MichaelRaskin: I don't?
<moet> but if i install it via `nix-env --install inconsolata` then urxvt happily uses it
<moet> i'd expect a font to be used correctly by urxvt irrespective of how the font was installed (this is, after all, nixos!) :)
<akavel[m]> LexLeoGryfon: EU. But I'm just talking about this during night now; I tried to do this some months ago, I don't have the PC handy now. Though I often hacked on it at nigjts indeed... why? :)
hiratara has quit [(Ping timeout: 258 seconds)]
<LexLeoGryfon> do such stuff at nights... how perverted person u must be C:
<LexLeoGryfon> I beleive nights are for sleep, and days are for party. and only few morning hours before lunch are for work
<akavel[m]> It's too perverted for daylight ;)
acowley is now known as acowley_away
<MichaelRaskin> akavel: you need to set platform.kernelArch, I guess
Itkovian has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
<LexLeoGryfon> I beleive my perversion and fucked mind bringed me to linux world... If I was healthy I would just stay on windows
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] orivej pushed 4 new commits to master: https://git.io/vdR5l
<NixOS_GitHub> nixpkgs/master 9c53b9c Daniel Fullmer: mupdf: fix library linking...
<NixOS_GitHub> nixpkgs/master 7f51170 Daniel Fullmer: k2pdfopt: fix mupdf linking
<NixOS_GitHub> nixpkgs/master 3200f7a Daniel Fullmer: mupdf and k2pdfopt: update mirror
NixOS_GitHub has left #nixos []
<LexLeoGryfon> however I do some mental treatment, and I already became more healthy - I don't compile so often already no more
hiratara has joined #nixos
<LexLeoGryfon> and don't do distrohopping
<Dezgeg> setting platform.kernelArch probably recompiles the world due to kernel-headers referring to kernelArch
<akavel[m]> MichaelRaskin: I tried, as in https://github.com/akavel/l4.nix/blob/master/l4linux.nix
<akavel[m]> But it still failed.
<akavel[m]> Dezgeg: yeah, especially gcc tries to recompile
<Dezgeg> so forget this platform / crossSystem stuff and keep the changes localized to the linux kernel expressions
<akavel[m]> which likes very much to fail for me
moet has quit [(Quit: leaving)]
<akavel[m]> It has some super expensive memory requirements when generating some self-help data
<akavel[m]> This seems to be fixed in gcc6 or something
hc has quit [(Ping timeout: 255 seconds)]
derchris has quit [(Read error: Connection reset by peer)]
k2s has joined #nixos
<akavel[m]> But trying to backport a gcc patch (or change gcc to 6) into a whole-world rebuild of kernel fork with kernelArch="l4"...
<akavel[m]> this defeated me.
<akavel[m]> In nixos.
<akavel[m]> Dezgeg: what do you mean?
schoppenhauer has quit [(Ping timeout: 240 seconds)]
<akavel[m]> How do i "keep changes localized"?
<akavel[m]> AFAIU, I need to tell the kernel buildong machinery to use kernelArch="l4"
<akavel[m]> Is there a way to do it without crossPlatform?
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Mic92 opened pull request #30139: vscode: 1.16.1 -> 1.17.0 (master...vscode) https://git.io/vdRdB
NixOS_GitHub has left #nixos []
derchris has joined #nixos
<Dezgeg> say, first clone nixpkgs, hardcode everything in pkgs/os-specific/linux/kernel/ to set ARCH=l4, and get the system work at that point
<Dezgeg> once _that_ works, make it cleaner with overrideAttrs or something on the kernel expressions
<cement> is there a quick and easy-ish way to remap CapsLock to Esc?
<MichaelRaskin> xmodmap, I guess
<clever> cement: there is also a nixos option for it
<akavel[m]> Hmm; right, I thought about maybe forking nixpkgs, but i felt somehow scared by it. But maybe that's indeed the way to start this work, as you say?
<akavel[m]> Then if this worked, would be a concrete PoC, and maybe then people from the mailing list could easier help me
<cement> what option is that/where to look in the nixos manual?
<akavel[m]> convert this to a non-fork derivation
<bigvalen> I'm booting off a rescue CD. I've attached the zpool. I can mount zpool/
<bigvalen> I can mount rpool/root but there is nothing in it.
<bigvalen> I mounted the last root snapshot, files are there. Yay.
<bigvalen> But there is no mention of nixos-rebuild.
<bigvalen> Does that live in the -init snapshot ?
schoppenhauer has joined #nixos
<akavel[m]> Ok, thanks @Dezgeg! I'll try to do this this way next time I find some time for this fun... :)
<bigvalen> When I chroot to said snapshot, there are no nix commands in $PATH
nixer has quit [(Ping timeout: 260 seconds)]
k2s has quit [(Remote host closed the connection)]
<disasm> I'm thinking of wiping my laptop and giving zfsUnstable with native encryption a shot. Anyone that's done this before have any pointers or links I should read up on first?
mortum5 has joined #nixos
goibhniu 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/e505f67ec0 (from 2 hours ago, history: https://channels.nix.gsc.io/nixos-17.09-small)
nix-gsc-io`bot has quit [(Client Quit)]
k2s has joined #nixos
k2s has quit [(Remote host closed the connection)]
Wharncliffe has joined #nixos
k2s has joined #nixos
k2s has quit [(Remote host closed the connection)]
csingley has quit [(Quit: WeeChat 1.9.1)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] orivej pushed 3 new commits to master: https://git.io/vdRbh
<NixOS_GitHub> nixpkgs/master 0317d5d Alexander V. Nikolaev: wine: replace samba3 with samba4...
<NixOS_GitHub> nixpkgs/master 8c34112 Alexander V. Nikolaev: wineUnstable: 2.17 -> 2.18...
<NixOS_GitHub> nixpkgs/master ac9550d Orivej Desh: Merge pull request #30125 from avnik/wine-update...
NixOS_GitHub has left #nixos []
7JTACJYRJ has joined #nixos
<7JTACJYRJ> [nixpkgs] orivej closed pull request #30125: Wine update (master...wine-update) https://git.io/vdBDy
7JTACJYRJ has left #nixos []
<wilornel> Can I set `nixpkgs.config.allowUnfree = true;` with home-manager?
nicklaf has joined #nixos
python476 has quit [(Ping timeout: 248 seconds)]
LexLeoGryfon has quit [(Quit: KVIrc 4.2.0 Equilibrium http://www.kvirc.net/)]
hiratara has quit [(Quit: ZNC - http://znc.in)]
hiratara has joined #nixos
dywedir has quit [(Remote host closed the connection)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] cleverca22 opened pull request #30141: dd-agent: fix multiple tags in the config file (master...fix-datadog-tags) https://git.io/vdRNV
NixOS_GitHub has left #nixos []
<bigvalen> Heh. I worked out where the real root ZFS pool was. But now I realise I don't know how a really important NixOS thing works - where does /run/current-system/sw/ come from ?
<bigvalen> It's in $PATH, but doesn't exist, when mounted manually
<MichaelRaskin> It is created on boot and on switch by the system initialisation
<MichaelRaskin> Previously it was /var/current-system, which was more convenient for rescueing, but it got changed.
<bigvalen> So, if I'm booting from a rescue CD, and mounting the old root fs manually, hoping to re-run 'nixos-rebuilt boot' to fix it ?
mortum5 has quit [(Ping timeout: 260 seconds)]
cement has quit [(Remote host closed the connection)]
cement has joined #nixos
<viaken> Would this be unfreeRedistributable? http://sprunge.us/aNbI
<viaken> Seems like it to me.
dbmikus has quit [(Ping timeout: 264 seconds)]
<Dezgeg> isn't that quite close to the 3-clause bsd license?
<disasm> I'm not a lawyer, but isn't that pretty much a bsd?
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] orivej closed pull request #30141: dd-agent: fix multiple tags in the config file (master...fix-datadog-tags) https://git.io/vdRNV
NixOS_GitHub has left #nixos []
<disasm> the only thing they're reserving the right to is trade marks from my reading.
moet has joined #nixos
<MichaelRaskin> Hm, does this create a Mozilla-like situation where building the code from source results in a non-distributable package?
nicklaf has quit [(Ping timeout: 248 seconds)]
silver_hook has quit [(Ping timeout: 240 seconds)]
nicklaf has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] rycee pushed 3 new commits to master: https://git.io/vdRxW
<NixOS_GitHub> nixpkgs/master 3780220 Robert Helgesson: perl-Server-Starter: 0.32 -> 0.33
<NixOS_GitHub> nixpkgs/master 9c7a0d2 Robert Helgesson: perl-Set-Object: 1.34 -> 1.35
<NixOS_GitHub> nixpkgs/master 53c7083 Robert Helgesson: perl-Variable-Magic: 0.58 -> 0.61...
NixOS_GitHub has left #nixos []
<disasm> MichaelRaskin: that's a good question...
<Dezgeg> well, debian has stuff packaged using that license: https://packages.debian.org/wheezy/libtqsllib1
<disasm> MichaelRaskin: I think by my reading of condition 3, it's just you can't use their trademarks in your name of the product.
<MichaelRaskin> Hm. So the natural package name is not one of the protected trademarks. That surely helps.
Wharncliffe has quit [(Quit: Lost terminal)]
nix-gsc-io`bot has joined #nixos
<nix-gsc-io`bot> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/9e754a6f86 (from 6 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
nix-gsc-io`bot has quit [(Client Quit)]
digitus has quit [(Quit: digitus)]
cement 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/80f9d39747 (from 2 hours ago, history: https://channels.nix.gsc.io/nixos-17.09-small)
nix-gsc-io`bot has quit [(Client Quit)]
erictapen has quit [(Ping timeout: 246 seconds)]
SuprDewd has quit [(Quit: No Ping reply in 180 seconds.)]
<rycee> wilornel: No, unfortunately I haven't figured out a good way to generate a suitably useful .config/nixpkgs/config.nix from a Home Manager module. So for now you still have to create that file manually...
SuprDewd has joined #nixos
Wharncliffe has joined #nixos
iqubic has quit [(Quit: Connection closed for inactivity)]
blackiwid has joined #nixos
k2s has joined #nixos
<blackiwid> hi I am try to get my wireless xbox controller working under kodi 17.x (nixos 17.xx) I did some digging talked a few hours on the kodi irc channel and come back here partialy confused :)
<blackiwid> Try to fix that since months not every day of course but every few weeks I try to understand the problem and try to find the solution
schoppenhauer has quit [(Read error: Connection timed out)]
<blackiwid> I have on the nixos github a bugreport with not much activity, I tried the mailing list
<blackiwid> some effords were made but aperently not enough
<blackiwid> so... the problem is kodi and its binary addon joystick / peripherals
<blackiwid> kodiPlugins.joystick
<blackiwid> if I install that I dont see the entry under my addons that you would expect
<blackiwid> under "my addons" "peripheral libraries"
erasmas has quit [(Quit: leaving)]
<blackiwid> so I thought somehow my kodi instance doesnt find that binary addon
<blackiwid> so I linked it to my user addon directory:
<blackiwid> ln -s /nix/store/l1ghij1g6z4l5s1vm89y2rdhgmkwpz9h-kodi-plugin-peripheral.joystick-1.3.6/share/kodi/addons/peripheral.joystick .
<blackiwid> now its there
<blackiwid> but it seems thats the wrong version it seems to expect the version 1.3.1
<blackiwid> 22:12:25.325 T:139871723814208 DEBUG: ADDON: Dll Initializing - Joystick Support
<blackiwid> 22:12:25.325 T:139871723814208 DEBUG: SECTION:LoadDLL(/home/black/.kodi/addons/peripheral.joystick/peripheral.joystick.so.1.3.6)
<blackiwid> 22:12:25.325 T:139871723814208 DEBUG: Loading: /home/black/.kodi/addons/peripheral.joystick/peripheral.joystick.so.1.3.6
<blackiwid> 22:12:25.331 T:139871723814208 ERROR: Unable to load /home/black/.kodi/addons/peripheral.joystick/peripheral.joystick.so.1.3.6, reason: /home/black/.kodi/addons/peripheral.joystick/peripheral.joystick.so.1.3.6: undefined symbol: GetMinimumPeripheralAPIVersion
<blackiwid> 22:12:25.331 T:139870624139008 DEBUG: Thread PeripBusUSBUdev start, auto delete: false
<blackiwid> http://ix.io/APq
<blackiwid> so its a 2 part question
<blackiwid> why doesnt kodi find the binary package without the link
schoppenhauer has joined #nixos
<blackiwid> something seems to be off with the kodi binary package file structure
<blackiwid> 2. why is it the wrong version or expects another version
<blackiwid> and at least the 1. problem seems to not be limited to that binary addon but all binary addons...
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] grahamc pushed 2 new commits to master: https://git.io/vd0vO
<NixOS_GitHub> nixpkgs/master f61d734 Jan Tojnar: gnome3.pomodoro: 0.11.2 → 0.13.3
<NixOS_GitHub> nixpkgs/master 0115dd3 Graham Christensen: Merge pull request #28959 from jtojnar/fix/pomodoro-gnome3.24...
NixOS_GitHub has left #nixos []
kranium has joined #nixos
nicklaf has quit [(Ping timeout: 258 seconds)]
<blackiwid> its a nasty problem I installed today even on fedora kodi 17.x
<blackiwid> and there my remote did also not work and the "peripheral libraries" is also missing, so my thought was it must be a upstream problem
nicklaf has joined #nixos
pie_ has quit [(Ping timeout: 240 seconds)]
<blackiwid> but they just dont include the needed binary plugin
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] taku0 opened pull request #30143: firefox: 55.0.3 -> 56.0, firefox-esr: 52.3.0esr -> 52.4.0esr (master...firefox-56.0) https://git.io/vd0vb
NixOS_GitHub has left #nixos []
<blackiwid> in nixos that at least is packaged but somehow not in the correct way I think :)
thc202 has quit [(Ping timeout: 240 seconds)]
orivej has quit [(Ping timeout: 248 seconds)]
graperoot has quit [(Ping timeout: 248 seconds)]
markus1199 has joined #nixos
mudri has joined #nixos
markus1189 has quit [(Ping timeout: 246 seconds)]
griff__ has joined #nixos
griff_ has quit [(Ping timeout: 248 seconds)]
griff__ is now known as griff_
acowley_away is now known as acowley
<blackiwid> I guess a bad time to question that here so I guess I post it in the mailing list
k2s has quit [(Ping timeout: 258 seconds)]
griff__ has joined #nixos
griff_ has quit [(Ping timeout: 248 seconds)]
griff__ is now known as griff_