gchristensen changed the topic of #nixos to: NixOS 18.09 released https://discourse.nixos.org/t/1076 || https://nixos.org || Latest NixOS: https://nixos.org/nixos/download.html || Latest Nix: https://nixos.org/nix/download.html || Logs: https://logs.nix.samueldr.com/nixos/ || #nixos-dev, #nix-darwin, #nixos-aarch64, #nixos-chat, #nixcon ... nixcon videos: https://tinyurl.com/nixcon2018
stepcut has joined #nixos
<elvishjerricco> Mic92: ping
wolfman12345[m] has joined #nixos
wolfmantjg123 has joined #nixos
aszlig_ is now known as aszlig
wolfmantjg123 has quit [Client Quit]
vmandela has joined #nixos
eadwu has joined #nixos
random_yanek has quit [Ping timeout: 244 seconds]
jluttine has quit [Ping timeout: 246 seconds]
wolfmantjg123 has joined #nixos
<wolfmantjg123> Hey guys I’m trying to install weechat on nixos but cmake command is not working?
<adamt> wolfmantjg123: How are you trying to install weechat?
tdbgamer has joined #nixos
<wolfmantjg123> adamt: https://github.com/weechat/weechat
<simpson> > weechat # wolfmantjg123, from nixpkgs?
<{^_^}> "<derivation /nix/store/mxs64njqjip546hlyx9xwfclq15cv8pi-weechat-bin-env-2.4.drv>"
<adamt> wolfmantjg123: Any reason you don't want to install the version from nixpkgs?
<wolfmantjg123> simpson: adamt I can install weechat, with nix? Where is it?
<gchristensen> you're on nixos?
<wolfmantjg123> gchristensen: yes
ddellacosta has quit [Ping timeout: 244 seconds]
<gchristensen> `nix-shell -p weechat` will get you weechat
<gchristensen> or put pkgs.weechat in environment.systemPackages in /etc/nixos/configuration.nix
torched[m] has joined #nixos
ddellacosta has joined #nixos
<wolfmantjg123> adamt: gchristensen thanks guys I wasted hours trying to build weechat with a cpp compiler
<gchristensen> oh man :)
<adamt> wolfmantjg123: Have fun
random_yanek has joined #nixos
<tbenst[m]> I seem to have shot myself in the foot. my user .nix-profile -> /nix/var/nix/profiles/per-user/root/profile
<tbenst[m]> and /nix/var/nix/profiles/per-user/$USER/profile does not exist
<Ashy> wolfmantjg123: also in general on nixos i just try to run the command before installing: $ weechat => The program `weechat` is not installed. It is provided by several packages. You can install it by typing one of the following..."
JonReed has quit [Ping timeout: 256 seconds]
<tbenst[m]> anyone know how I can create the proper user profile..?
<wolfmantjg123> Ashy: it just tells me weechat: command not found
matix has quit [Quit: WeeChat 2.4]
__monty__ has quit [Quit: leaving]
kvda has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<tbenst[m]> If I try to do, for example, `nix-env -iA nixos.sox`, I see `error: opening lock file '/nix/var/nix/profiles/default.lock': Permission denied`
<wolfmantjg123> Can someone show me a screenshot of their environment.systemPackages in their configuration.nix. , I want to make sure I’ve typed it correctly
<wolfmantjg123> ?
<samueldr> what do you think you may have done wrong?
<samueldr> or, what makes you think you have it wrong?
mbrgm_ has joined #nixos
mbrgm has quit [Ping timeout: 258 seconds]
mbrgm_ is now known as mbrgm
<wolfmantjg123> samueldr: thanks my spacing and indentation was all messed up
<samueldr> spacing and indentation are all stylistic
<samueldr> > [1/**/2]
<{^_^}> [ 1 2 ]
<Ashy> wolfmantjg123: oh, hmm i wonder what package is adding the bash suggestions for the missing app
jluttine has joined #nixos
<samueldr> see, no spaces!
<samueldr> :3
<wolfmantjg123> samueldr: this is my 2nd day using nixos, I’m still used to Debian and ubuntu
<wolfmantjg123> Ashy: I don’t know
<samueldr> no worries, I think sometimes asking for a review or explanation of "why is something 'like that'?" is good
<samueldr> if you have questions
<Ashy> wolfmantjg123: you can also query with nix-env: nix-env --query --available --description weechat
<wolfmantjg123> samueldr: yeah I’m lucky I have this chat room for help, thanks man
<wolfmantjg123> Ashy: thanks
<worldofpeace> Hmm this looks kinda weird: https://i.imgur.com/VA0APuj.png
<samueldr> worldofpeace: justified text is hard
<Ashy> wolfmantjg123: also the nixos manual is highly recommended reading: https://nixos.org/nixos/manual/
ym555 has joined #nixos
<samueldr> and the worse part imho is how it hypened the url
<samueldr> wolfmantjg123: tip I wished I knew about when I started: there are three manuals, they are all complementary; and they are not necessarily something to read in order
<samueldr> there is the nix manual, it's about nix the language and the nix-* and nix commands
<worldofpeace> samueldr good eye. Didn't even notice that
<samueldr> worldofpeace: :) part of my job description is UX/UI on the web, those things pop to me
<samueldr> there is the nixpkgs manual, about the packages repository. this one may be less useful at the start
<samueldr> and the last one, the nixos manual, which is about the *distribution* the distro that's built using nix and nixpkgs :)
<wolfmantjg123> samueldr: ok thanks for the heads up
sigmundv__ has quit [Ping timeout: 250 seconds]
<samueldr> the nix manual has a neat chapter about the *syntax* of nix expressions, which I found extremely helpful to grasp what I was reading
vidbina has joined #nixos
<samueldr> but it's not light reading, it's a bit condensed
<wolfmantjg123> samueldr: oh ok, I’m just using this stuff as a reference for whenever I need it.
thc202 has quit [Ping timeout: 268 seconds]
<samueldr> which is probably a good way to use it
shibboleth has quit [Quit: shibboleth]
vk3wtf has quit [Ping timeout: 252 seconds]
<abbafei[m]> hi, wondering if my pulls #55615 and #56397 are good to go :-)
<{^_^}> https://github.com/NixOS/nixpkgs/pull/55615 (by hhm0, 2 weeks ago, open): cdimgtools,perlPackages.DataHexdumper: init at 0.3, init at 3.001
<{^_^}> https://github.com/NixOS/nixpkgs/pull/56397 (by hhm0, 19 hours ago, open): cuetools: symlink cuetag to cuetag.sh
stepcut has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @ajs124 opened pull request #56445 → networkmanager: enable iwd support → https://git.io/fhNWF
<adamt> abbafei[m]: Re #56397, why make the symlink? Is it to get scripts made for other distros to work on NixOS? Just curious
<{^_^}> https://github.com/NixOS/nixpkgs/pull/56397 (by hhm0, 20 hours ago, open): cuetools: symlink cuetag to cuetag.sh
alex``` has joined #nixos
<abbafei[m]> @adamt yup exactly
wolfmantjg123 has quit [Remote host closed the connection]
<abbafei[m]> @adamt Arch packages `cuetag.sh` as NixOS does, but Debian and its derivatives package it as `cuetag`
random_yanek has quit [Ping timeout: 246 seconds]
alex`` has quit [Ping timeout: 246 seconds]
goibhniu has quit [Ping timeout: 245 seconds]
<adamt> abbafei[m]: Fair enough. It's kinda weird to package a binary (even though it's a shell script) as .sh in the first place, in my opinion, so I see your point
abaisteabaiste has quit []
kvda has joined #nixos
simukis has quit [Quit: simukis]
random_yanek has joined #nixos
vidbina has quit [Ping timeout: 264 seconds]
silver has quit [Read error: Connection reset by peer]
Rusty1 has joined #nixos
aanderse_ is now known as aanderse
jluttine has quit [Ping timeout: 255 seconds]
<{^_^}> [nixpkgs] @peti pushed to haskell-updates « hackage-packages.nix: automatic Haskell package set update »: https://git.io/fhNlL
<{^_^}> [nixpkgs] @matthewbauer merged pull request #56197 → Android and related cross fixes → https://git.io/fhNlq
<{^_^}> [nixpkgs] @worldofpeace merged pull request #56397 → cuetools: symlink cuetag to cuetag.sh → https://git.io/fhbjq
<{^_^}> [nixpkgs] @matthewbauer pushed 7 commits to staging: https://git.io/fhNlm
<{^_^}> [nixpkgs] @worldofpeace pushed 3 commits to master: https://git.io/fhNlY
tjg has joined #nixos
drakonis_ has joined #nixos
<tjg> testing
<gchristensen> pass
rcshm has quit [Ping timeout: 246 seconds]
tjg has left #nixos [#nixos]
alex``` has quit [Quit: WeeChat 2.4]
<{^_^}> [nixpkgs] @worldofpeace pushed 2 commits to release-19.03: https://git.io/fhNlW
ng0 has quit [Quit: Alexa, when is the end of world?]
rcshm has joined #nixos
drakonis has quit [Ping timeout: 264 seconds]
<{^_^}> [nixpkgs] @ajs124 closed pull request #56445 → networkmanager: enable iwd support → https://git.io/fhNWF
random_yanek has quit [Ping timeout: 250 seconds]
Mateon1 has quit [Ping timeout: 268 seconds]
Mateon3 has joined #nixos
Mateon3 is now known as Mateon1
jluttine has joined #nixos
<{^_^}> [nixpkgs] @grahamc pushed to master « libguestfs: build on hydra »: https://git.io/fhNl0
jluttine has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @grahamc pushed to release-19.03 « libguestfs: build on hydra »: https://git.io/fhNlE
dbmikus has quit [Ping timeout: 255 seconds]
adamt has quit [Ping timeout: 244 seconds]
jluttine has joined #nixos
<buckley310> I have submitted this pull request, however for some reason the hash of one of the ruby gem packages (metasploit-framework) keeps changing. does anyone know why this might be? https://github.com/NixOS/nixpkgs/pull/54405
<{^_^}> #54405 (by buckley310, 5 weeks ago, open): metasploit: 4.16.1 -> 5.0.1
random_yanek has joined #nixos
<{^_^}> [nixpkgs] @hyperfekt opened pull request #56446 → nixos/fish: generate autocompletions from man pages → https://git.io/fhNlr
wolfmantjg123 has joined #nixos
wolfmantjg123 has quit [Client Quit]
PeterHK has joined #nixos
justan0theruser has quit [Quit: WeeChat 2.2]
justanotheruser has joined #nixos
drakonis_ has quit [Quit: WeeChat 2.3]
drakonis has joined #nixos
<hyperfekt> of course my PR had to break unstable till the next advance 😭
* samueldr wonders
<samueldr> did it get in 19.03?
<samueldr> :3
<hyperfekt> yep, it did
<samueldr> (sorry for rubbing it in)
<hyperfekt> we're either gonna have to revert it or merge the fixed version
<hyperfekt> haha no worries, gotta take these things with humor :)
<samueldr> probably needs the revert backported too, if only to allow backporting the fix through cherry-picking
<hyperfekt> should i try (try because i tend to routinely mess up my branches with git :b) to do it already or wait till the new PR is merged?
<hyperfekt> although it's probably quicker for a maintainer to do a revert than for me to open a PR for it
<samueldr> probably :)
<hyperfekt> either way, i'm going to bed, enough making users remember that unstable is an alpha release for today :b
kvda has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
kvda has joined #nixos
tjg has joined #nixos
<tjg> hey guys I am stucktrying to build a custom keyboard layout in nixos: https://nixos.wiki/wiki/Keyboard_Layout_Customization
<ottidmes> buckley310: probably some timestamp or randomness introduced in the build causing the build not to be reproducible. When I this happened for one of my packages, I was recommended diffoscope. Just build it twice, and compare the results with diffoscope and you should hopefully be able to pinpoint the cause
Supersonic has quit [Ping timeout: 268 seconds]
<{^_^}> [nixpkgs] @matthewbauer merged pull request #55750 → Allow using LLVM for cross compilation toolchain → https://git.io/fh74D
<{^_^}> [nixpkgs] @matthewbauer pushed 5 commits to master: https://git.io/fhNlp
<tjg> have any of you guys built your own custom keyboard layout in nixos?
<tjg> To get started, install xorg.xkbcomp , what are the commands to install this ?
iqubic has joined #nixos
tjg has quit [Quit: WeeChat 2.2]
hyperfekt has quit [Ping timeout: 256 seconds]
wedens has joined #nixos
<jackdk> the stuff that wiki page is asking for can be done within a nix-shell, I think: nix-shell -p xorg.xkbcomp
Supersonic has joined #nixos
vmandela has quit [Quit: Leaving]
random_yanek has quit [Ping timeout: 245 seconds]
kreisys has joined #nixos
slack1256 has joined #nixos
kreisys has quit [Client Quit]
PeterHK has quit [Ping timeout: 256 seconds]
work_ has joined #nixos
kvda has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
justanotheruser has quit [Quit: WeeChat 2.2]
<{^_^}> [nixpkgs] @veprbl opened pull request #56447 → [18.09] fix buildbot → https://git.io/fhN8L
justanotheruser has joined #nixos
<{^_^}> [nixpkgs] @grahamc opened pull request #56448 → libguestfs: build without the appliance → https://git.io/fhN8m
random_yanek has joined #nixos
kvda has joined #nixos
camsbury has joined #nixos
<teto> I have a bug where 2 lua environments are created when there should be only one really. What would you recommand to know what triggers the creation of each environment ? I am not sure how to interpret build with -vvvvv ? (afk)
stepcut has joined #nixos
<CMCDragonkai> When I copy multiline text into ZSH, it copes correctly without adding extra backslashes into it. But if I copy it into bash on NixOS, it results in adding extra backslashes to my multiline command. Is anyone else experiencing this?
freeman42x has quit [Ping timeout: 252 seconds]
iqubic has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @worldofpeace merged pull request #55615 → cdimgtools,perlPackages.DataHexdumper: init at 0.3, init at 3.001 → https://git.io/fhQux
<{^_^}> [nixpkgs] @worldofpeace pushed 3 commits to master: https://git.io/fhN8O
fusion809 has joined #nixos
ddellacosta has quit [Ping timeout: 258 seconds]
ddellacosta has joined #nixos
counting1ort has joined #nixos
random_yanek has quit [Ping timeout: 245 seconds]
countingsort has quit [Ping timeout: 245 seconds]
ym555 has quit [Quit: leaving...]
camsbury has quit [Quit: WeeChat 2.2]
fusion809 has quit [Ping timeout: 264 seconds]
kvda has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
rcshm has quit []
eadwu has quit [Quit: WeeChat 2.4]
random_yanek has joined #nixos
<abbafei[m]> how do I test changes to `nixos-rebuild` made [here](https://github.com/NixOS/nixpkgs/blob/master/nixos/modules/installer/tools/tools.nix) with `nix-shell` or `nix-build`?
kvda has joined #nixos
<ryantm> abbafei[m]: Looks like you'd have to first get a NixOS machine running with that configuration, then run nixos-rebuild again.
isobit has joined #nixos
<abbafei[m]> ryantm: got it, thanks!
<ryantm> abbafei[m]: https://github.com/Mic92/nixos-shell is a nice way to do that kind of thing
<abbafei[m]> ryantm: ok thanks! :-)
slack1256 has quit [Remote host closed the connection]
<isobit> Hello all! Does anybody on here have experience using fwupd with NixOS?
amosbird has quit [Quit: ZNC 1.7.1 - https://znc.in]
<ryantm> isobit: Ask your question; maybe someone can help.
vk3wtf has joined #nixos
xkapastel has quit [Quit: Connection closed for inactivity]
<isobit> Just having some issues after trying to run a fwupdmgr update, the systemd-boot-builder doesn't like there being a /boot/efi/nixos/fw... I've seen this issue: https://github.com/NixOS/nixpkgs/issues/39386 but I'm not sure how to get unstuck
<{^_^}> #39386 (by superm1, 44 weeks ago, open): fwupd doesn't work for EFI updates
<isobit> Can I just rm the cap files in /boot/efi/nixos/fw to abort the whole firmware update and rebuild?
stepcut has quit [Remote host closed the connection]
<ryantm> Looks like someone is saying they got fwupd to work if they updated efivar to version 37
<isobit> I've also heard I might need to manually copy some files over to my ESP but it was only briefly touched on in #39386
<{^_^}> https://github.com/NixOS/nixpkgs/issues/39386 (by superm1, 44 weeks ago, open): fwupd doesn't work for EFI updates
<isobit> Presumably I still need to be able to rebuild nixos to use that overlay to get efivar to version 37... I'm just afraid to touch anything in /boot as I've never really mucked with EFI/boot stuff before
kvda has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
kvda has joined #nixos
<ryantm> isobit: I'm not too familiar with doing firmware upgrades either. If no one helps you hear, consider posting on https://discourse.nixos.org/ to reach a broader audience.
<ryantm> helps you here*
<isobit> ryantm: No worries, I will definitely check that out as well.
<ajs124> damn, I just updated my thinkpad uefi today and forgot that fwupd exists. I could've looked into it, otherwise.
<isobit> ajs124: How'd you update? Lenovo distributed bootable USB/CD?
<ajs124> Yeah, just put the iso on a USB stick and used that.
kvda has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
kvda has joined #nixos
<isobit> Did it wipe your boot entries? I've heard that happens to some people
<bgamari> is there any way to refer to the log of one derivation in the derivation of another?
<bgamari> e.g. what you would generally get from `nix log`
<ajs124> isobit: In the uefi menu? Didn't really pay attention to that, but I only have nixos on there anyways, so I don't really care.
<isobit> ajs124: Something like that, I'm in over my head here but I was avoiding it because I didn't want to have to try to reconstruct my /boot/efi if it broke it, since I don't really know what I'm doing lol
noonien has quit [Quit: Connection closed for inactivity]
<isobit> ajs124: of course, now I've gone and broke things through fwupd anyway. It'd be nice to just get fwupd working with EFI (because convience) but at this point I just want to cut my losses with fwupd, get nixos to rebuild, and then probably update with the update iso
<isobit> *convienience
<ajs124> If you don't have any overly complicated setup involving other operating systems or distributions, I don't think there's anything in /boot a nixos-rebuild won't be able to restore.
pie__ has joined #nixos
<ajs124> Which bootloader are you using?
<isobit> systemd-boot, but I had attempted to stage an update with fwupdmgr update and now nixos won't rebuild because of this systemd-boot-builder error: IsADirectoryError: [Errno 21] Is a directory: '/boot/efi/nixos/fw'
<ajs124> you can just delete that directory and list your boot entries/order with efibootmgr
pie___ has quit [Ping timeout: 250 seconds]
<isobit> Oh, really? I thought maybe that was the case but I really didn't want to screw up my boot
<ajs124> I don't see why not. Worst case, you can always just fix it with a live usb, as long as you have physical access.
<isobit> I nuked /boot/efi/nixos/fw and nixos rebuilt just fine so I'm gonna give 'er a quick reboot and then call it a night hopefully. Firmware updates can wait. This whole thing is definitely a good reminder to keep a live usb handy, anyway...Thanks for your help ajs124 and ryantm!
kvda has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
ayerhart has joined #nixos
alex_giusi_tiri has left #nixos [#nixos]
fusion809 has joined #nixos
isobit has quit [Ping timeout: 256 seconds]
sicklork1n has quit [Quit: Changing server]
sicklorkin has joined #nixos
vk3wtf has quit [Ping timeout: 264 seconds]
random_yanek has quit [Ping timeout: 255 seconds]
kvda has joined #nixos
ikitat has quit [Ping timeout: 245 seconds]
ayerhart has quit [Read error: Connection reset by peer]
kvda has quit [Client Quit]
random_yanek has joined #nixos
ayerhart has joined #nixos
ddellacosta has quit [Ping timeout: 240 seconds]
work_ has quit [Quit: Connection closed for inactivity]
tdbgamer has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.]
lord| has quit [Quit: WeeChat 2.4]
<adamantium> Question: without getting into things like overlays and package overrides, if i want to keep my base system on stable, but use unstable for select packages, would the simplest way to do this be to add the unstable channel to a non-root user, and install unstable packages per-user with nix-env -i ?
lord| has joined #nixos
vk3wtf has joined #nixos
_kwstas has joined #nixos
_kwstas has quit [Client Quit]
Rusty1 has quit [Quit: Konversation terminated!]
<jackdk> overrides are easier than you think. hold on, I'll prepare a paste
<ajs124> so are overlays
glasserc has quit [Quit: ZNC 1.6.6 - http://znc.in]
<adamantium> that does look pretty simple. cool. When do overlays come in to play?
<ajs124> what I do is globally "pin" some packages from unstable in an overlay, that way they also get replaced in services and stuff like that
<adamantium> so an override for lets say, firefox or a text editor or something from unstable should be fine
<adamantium> but in some cases, an _overlay_ is better, if it has to do with system services?
<ajs124> Also you can do multiple overlays, I'm not sure how packageOverrides behave with that
jackdk has quit [Ping timeout: 244 seconds]
<{^_^}> [nixpkgs] @srhb merged pull request #56425 → xmobar: add to all-packages so it shows up in search → https://git.io/fhNsY
<{^_^}> [nixpkgs] @srhb pushed 2 commits to master: https://git.io/fhN4g
<adamantium> Oh, i'm glad you clarified that
glasserc has joined #nixos
<adamantium> Well i'll just see what anyone else says, or is there any good docs to point me to regarding overlays vs overrides
hsrthsrthsrt has joined #nixos
dbmikus has joined #nixos
wfranzini has joined #nixos
wfranzini has quit [Quit: wfranzini]
reinhardt has joined #nixos
ottidmes has quit [Ping timeout: 246 seconds]
endformationage has quit [Quit: WeeChat 2.3]
reinhardt has quit [Client Quit]
random_yanek has quit [Ping timeout: 258 seconds]
drakonis has quit [Quit: WeeChat 2.3]
dbmikus has quit [Quit: WeeChat 2.3]
palo1 has joined #nixos
NickSeagull has joined #nixos
palo has quit [Ping timeout: 250 seconds]
palo1 is now known as palo
random_yanek has joined #nixos
hyper_ch2 has joined #nixos
MoreTea has quit [Quit: WeeChat 1.9]
gagbo has quit [Ping timeout: 255 seconds]
<{^_^}> [nixpkgs] @dotlambda pushed to release-19.03 « Revert "nixos/fish: generate autocompletions from man pages" (#56439) »: https://git.io/fhNBG
MoreTea has joined #nixos
NickSeagull has quit [Read error: Connection reset by peer]
<dminuoso> Hiya. I want to use cabal-install-2.4.0.0 in nix, but that version appears not to be in nixpkg yet. What are my optoins?
Ariakenom_ has joined #nixos
<srhb> dminuoso: nixos-unstable has cabal-install 2.4.1.0 in the main haskell package set.
Makaveli7 has joined #nixos
<srhb> dminuoso: And 18.09 is unlikely to certainly not going to get it at any point :)
<dminuoso> srhb: That sentence is.. wait.. uh
<dminuoso> so it's likely to get it at some point?
Tucky has joined #nixos
<srhb> dminuoso: Sorry. I meant to say it's very unlikely that it gets updated in 18.09
<srhb> dminuoso: Full hackage bumps generally don't happen during a stable release.
<srhb> dminuoso: in other words, a stable nixos release sort of mostly follows a certain stackage lts release.
<srhb> More specifically the hackage packages db coming from one of those.
<dminuoso> srhb: Ah, so in some way nixpkg is similar to the curated resolvers from stackage?
<srhb> dminuoso: Yes. Except not really curated, but frozen in the same way. :)
sigmundv has quit [Remote host closed the connection]
rauno has joined #nixos
shanemikel has joined #nixos
shanemikel has left #nixos [#nixos]
<dminuoso> srhb: I see. So this is very hacky right now since I just hardwired an import from unstable into my shell.nix for this project, but I guess this works for now.
wfranzini has joined #nixos
infinii has joined #nixos
infinii has quit [Ping timeout: 255 seconds]
nD5Xjz has joined #nixos
nD5Xjz_ has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @peti pushed 5 commits to haskell-updates: https://git.io/fhNBd
<{^_^}> [nixpkgs] @peti pushed 2 commits to haskell-updates: https://git.io/fhNBF
<{^_^}> [nixpkgs] @peti pushed 2 commits to master: https://git.io/fhNBb
periklis has joined #nixos
<{^_^}> [nixpkgs] @peti pushed commit from @artempyanykh to haskell-updates « ghc-8.4.4: use sphinx 1.7.x to build the documentation »: https://git.io/fhNRl
<{^_^}> [nixpkgs] @peti merged pull request #56414 → openssl: 1.0.2q -> 1.0.2r, 1.1.1a -> 1.1.1b → https://git.io/fhNmx
<{^_^}> [nixpkgs] @peti pushed 3 commits to staging: https://git.io/fhNRR
johanot has joined #nixos
neminis has joined #nixos
agander has joined #nixos
neminis has quit [Client Quit]
mobile_c has joined #nixos
dwdr has joined #nixos
hyper_ch2 has quit [Ping timeout: 256 seconds]
nD5Xjz has quit [Ping timeout: 258 seconds]
<{^_^}> [nixpkgs] @vcunat pushed commit from @alyssais to release-18.09 « openssl: 1.0.2q -> 1.0.2r »: https://git.io/fhNRr
counting1ort is now known as countingsort
<lejonet> srhb: ceph-mgr dislikes python3 even more than python2 lol :(
bluekelp has joined #nixos
<srhb> lejonet: Yeah, tried taht too :-P
<lejonet> srhb: it refuses to find the six module, even if its clearly added to the python env :/
<srhb> lejonet: Do you think py3 helps us anyway? Like, I think there are other components that still depend on py2, aren't there?
knupfer has joined #nixos
alex`` has joined #nixos
<{^_^}> [nixpkgs] @vcunat pushed commit from @alyssais to staging-next « openssl: 1.0.2q -> 1.0.2r »: https://git.io/fhNRi
knupfer has quit [Remote host closed the connection]
Glider_IRC__ has joined #nixos
<Mic92> elvishjerricco: i'am in UTC atm.
knupfer has joined #nixos
<elvishjerricco> Mic92: Ah. Well I was wondering about this: https://github.com/ElvishJerricco/cross-nixos-aarch64/issues/1
<{^_^}> ElvishJerricco/cross-nixos-aarch64#1 (by ElvishJerricco, 6 hours ago, open): Can't cross compile texinfo
<elvishjerricco> I tried to use your fork but it didn't build
sigmundv__ has joined #nixos
Glider_IRC_ has quit [Ping timeout: 250 seconds]
goibhniu has joined #nixos
<elvishjerricco> Mic92: I just used the branch that your fork recommended, and I think that commit was included
simukis has joined #nixos
<lejonet> srhb: it was just a quick longshot to see what other behaviour we got with it
<lejonet> srhb: I can't say I bumped into any problem with switching to py3 except that ceph-mgr all of a sudden couldn't find the module six, even tho I added it to the python env it uses
<lejonet> (which is interesting in more than one way, as we didn't have the six module explicitly added to the python env when using python2.7)
hyper_ch2 has joined #nixos
<tA> if the source for something im installing is a local git repo, how do i define that?
winem_ has joined #nixos
<tA> in terms of defining src = [ ? ];
ixxie has joined #nixos
thc202 has joined #nixos
<lejonet> tA: there is a fetchgitlocal defined in nixpkgs/pkgs/build-support/fetchgitlocal/default.nix
<lejonet> and from what I can read from the code there it seems you'd use it as such: src = fetchgitlocal /path/to/repo;
qbiot has quit [Remote host closed the connection]
qbiot has joined #nixos
<tA> lejonet: so i add fetchgitlocal to the inputs?
<lejonet> tA: yes, otherwise it'll complain about it being undefined
qbiot has quit [Remote host closed the connection]
<tA> im getting an error about an anonymous function not being called with correct arguments?
qbiot has joined #nixos
qbiot has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @ciil opened pull request #56450 → atlassian-confluence: 6.13.0 -> 6.14.1 → https://git.io/fhN0m
qbiot has joined #nixos
<tA> lejonet: is fetchgitlocal not in the default channel?
<lejonet> tA: i think it should be, how so?
<lejonet> I can find it in 18.09 nixpkgs at least, so it should be there
<tA> lejonet: not sure, it wouldnt find it
<tA> apparently you can use regular fetchgit on local repos though, got it working now
<lejonet> tA: yeah, I don't really know how fetchgit/fetchgitlocal/fetchgitprivate related to eachother before, but it would seem like fetchgit "proxies" the 3 different variants
qbiot has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @vcunat pushed commit from @peti to staging-19.03 « Merge #56414: openssl: 1.0.2q -> 1.0.2r, 1.1.1a -> 1.1.1b »: https://git.io/fhN0W
<tA> i got some more questions sorry, if im using home-manager, is there a way to start the mpd service through that, using nix? i can get it going by putting the config files in the right place but not through home-manager itself
<lejonet> There I sadly can't help you (and don't worry, this channel is for questions after all :) ) because I haven't come to using home-manager yet (blasphemy, I know... ;) )
<tA> no worries, back to nix, and embarrasing question, but is mpc in the repos? i cant seem to find it
knupfer has quit [Read error: Connection reset by peer]
knupfer has joined #nixos
<jasongrossman> tA: There are several versions of mpc.
<jasongrossman> tA: `nix search mpc` will show them to you.
pie_ has joined #nixos
rauno has quit [Remote host closed the connection]
<{^_^}> [nixos-weekly] @domenkozar pushed to master « Add 2019/04 »: https://git.io/fhN0z
knupfer has quit [Remote host closed the connection]
kyren has quit [Ping timeout: 264 seconds]
simukis has quit [Remote host closed the connection]
simukis has joined #nixos
<{^_^}> [nixos-weekly] @domenkozar pushed to master « Add 2019/04 »: https://git.io/fhN0i
<{^_^}> [nixos-weekly] @domenkozar merged pull request #79 → Call for Content: 2019/04 → https://git.io/fhdxh
<{^_^}> [nixos-weekly] @domenkozar pushed 14 commits to production: https://git.io/fhN0X
<{^_^}> [nixos-weekly] @domenkozar pushed to master « Call for Content: 2019/05 »: https://git.io/fhN0M
<{^_^}> [nixos-weekly] @domenkozar opened pull request #85 → Call for Content: 2019/05 → https://git.io/fhN0D
<domenkozar> NixOS Weekly #04 - Static rootless Nix, SRE job, homebrew to Nix migration
<{^_^}> [nixpkgs] @volth opened pull request #56451 → dgraph: 0.8.2 -> 1.0.11 → https://git.io/fhN0d
<Taneb> Love it when nix-store --optimize frees 476GB
<etu> Taneb: Time to gc?
adamt has joined #nixos
<johanot> etu: nevaar gc :)
adamt is now known as Guest645
<domenkozar> I'm at 900GB store
<domenkozar> trying to avoid GC :D
<johanot> domenkozar: just too bad when hardlinking can't save you anymore. hehe
reinhardt has joined #nixos
Guest645 has joined #nixos
Guest645 has quit [Changing host]
Guest645 is now known as adamt
<domenkozar> I don't run it automatically, been bitten before
<domenkozar> let's see
simukis has left #nixos [#nixos]
simukis has joined #nixos
rauno has joined #nixos
jasongrossman has quit [Ping timeout: 268 seconds]
asymmetric has quit [Ping timeout: 258 seconds]
<{^_^}> [nixpkgs] @delroth opened pull request #56452 → nginxMainline: 1.15.8 -> 1.15.9 → https://git.io/fhNEO
<{^_^}> [nixpkgs] @delroth closed pull request #56452 → nginxMainline: 1.15.8 -> 1.15.9 → https://git.io/fhNEO
vmandela has joined #nixos
<vmandela> samueldr, infinisil pinging on https://github.com/NixOS/nixpkgs/pull/45345
<{^_^}> #45345 (by vmandela, 27 weeks ago, open): nixos/install-grub: include child configs in grub menu
<{^_^}> [nixpkgs] @averelld opened pull request #56453 → Update jetbrains editors → https://git.io/fhNEB
<vmandela> samueldr, infinisil sorry about the repeated pokes. just want to get this minor change into 19.03.
<hyper_ch2> domenkozar: how big are your SSDs? oO
<domenkozar> 1TB
<hyper_ch2> and 900GB store? oO
<domenkozar> yeah
<domenkozar> :D
<domenkozar> I'm 90% Nix
<hyper_ch2> I'd be in panic mode now :)
<domenkozar> I'm drinking a coconut :D
<adamt> hyper_ch2: I used to be riding around 5-10 GB free disk on my 500GB disk. :p That wasn't very nice.
<hyper_ch2> adamt: what filesystem?
<hyper_ch2> domenkozar: zfs with compression enabled?
<domenkozar> btrfs
<sphalerite> vmandela: I'm lheckemann, not infinisil;)
<adamt> hyper_ch2: ext4
FRidh has joined #nixos
<hyper_ch2> domenkozar: iiieeks
<domenkozar> panic^2?
fendor_ has joined #nixos
<johanot> only thing better that btrfs is btrfs unstable :P
<hyper_ch2> domenkozar: my experiences with btrfs as are very unpleasing
<ajs124> zfsUnstable is better. especially if you use native encryption
<therealwaphire[m> btrfs unstable memes are old though
<ajs124> not that I would ever do that/did that. before they changed the on disk format.
<therealwaphire[m> has worked perfectly for me on my desktop and laptops
<therealwaphire[m> they key is use the latest version
<FRidh> need to substitute the string ${FOO} in a cmake file. How to escape it so Nix won't attempt to use the FOO variable?
<therealwaphire[m> the ones that come with server distros usually suck
<ajs124> ''${FOO}
<vmandela> sphalerite, hi, I was trying to poke the github reviewers on PR #45345
<{^_^}> https://github.com/NixOS/nixpkgs/pull/45345 (by vmandela, 27 weeks ago, open): nixos/install-grub: include child configs in grub menu
<vmandela> I got the irc username wrong ?
<sphalerite> aah right
<sphalerite> infinisil was only tagged since he put himself down as code owner for the entirety of nixos/modules
<sphalerite> but no, in that case you got the irc username right
<vmandela> sphalerite, can you help with review of the above PR?
reinhardt has quit [Quit: Leaving]
<hyper_ch2> ajs124: I use native zfs encryption
<ajs124> so do I and I had to copy ~10TB of data, because of it
arjen-jonathan has joined #nixos
<Izorkin> How to need to merge this PR #54903 #51902 #44343 ?
<{^_^}> https://github.com/NixOS/nixpkgs/pull/54903 (by Izorkin, 4 weeks ago, open): pythonPackage.psutil: 5.4.8 -> 5.5.1
<{^_^}> https://github.com/NixOS/nixpkgs/pull/51902 (by Izorkin, 11 weeks ago, open): mariadb.galera: 25.3.24 -> 25.3.25
<{^_^}> https://github.com/NixOS/nixpkgs/pull/44343 (by Izorkin, 29 weeks ago, open): mariadb: 10.2.17 -> 10.3.12
fendor_ is now known as fendor
ThatDocsLady has joined #nixos
<{^_^}> [nixpkgs] @ciil opened pull request #56454 → atlassian-crowd: 3.3.3 -> 3.3.4 → https://git.io/fhNE5
<sphalerite> vmandela: I don't currently have time unfortunately, sorry :(
<ivegotasthma> it's in libexec instead of bin, but I have no idea how to reach it from there
vasarmilan has joined #nixos
<johanot> ivegotasthma: how about nix-build '<nixpkgs>' -A update-resolv-conf.src ?
<vmandela> sphalerite, no problem.
ubert has joined #nixos
<ivegotasthma> johanot: it's in nixos, I've installed it
init_6 has joined #nixos
<ivegotasthma> johanot: but I want to be able to point to it
<johanot> ivegotasthma: point to it from where/what?
<hyper_ch2> ajs124: I also had to migrate from old to new format....
<ivegotasthma> johanot: it's supposed to be called from openvpn, to update the DNS entries in resolv.conf
<hyper_ch2> copied a bit more than 10tb
<johanot> ivegotasthma: considered using the openvpn module? It should be able to handle those dependencies for you
Richard[m] has left #nixos ["User left"]
asymmetric has joined #nixos
<ivegotasthma> johanot: I'm not sure how to do that, I don't see it as an openvpn module
rauno has quit [Remote host closed the connection]
vasarmilan has quit [Quit: Leaving]
<ivegotasthma> johanot: ohh, nice!
rprije has quit [Ping timeout: 255 seconds]
silver has joined #nixos
<{^_^}> [nixpkgs] @dotlambda opened pull request #56456 → linuxPackages.tp_smapi: fix evaluation → https://git.io/fhNuW
hyperfekt has joined #nixos
__monty__ has joined #nixos
rauno has joined #nixos
NickSeagull has joined #nixos
ng0 has joined #nixos
asymmetric has quit [Ping timeout: 264 seconds]
adfaure has joined #nixos
<adfaure> Hello, I am running nixos. And I am wondering how I could override a package ? I am familliar with the nix code that overrides, so my concern is more about where put the code that overrides a package ? Writing into configuration.nix does not seems to wor..
reinhardt has joined #nixos
aanderse_ has joined #nixos
aanderse has quit [Ping timeout: 252 seconds]
alex`` has quit [Ping timeout: 250 seconds]
<adfaure> arianvp: thanks, so my only way is to define it globally. Is there a way to write a simple package and use nix-env ?
<adfaure> Because with an overlay, I would need to call nixos-rebuil, right?
<Taneb> d
<Taneb> ...I really need to look where I'm typing, ugh
<arianvp> adfaure: I have the following setup:
<arianvp> You can put the overlay per user in the nix (~/.nixpkgs/overlays)
<arianvp> en then just use nix-env -iA ,blah>
<adfaure> I'll try that
aanderse_ is now known as aanderse
<arianvp> Se the "On the system level" header
<arianvp> explains how to make it show up _both_ in nix-env and in your configuration.nix
periklis has quit [Remote host closed the connection]
halfbit has joined #nixos
<wedens> what may cause compton to fail with "No GLX extension" with intel video when started as systemd service (via home-manager)? it works just fine when started from terminal
<symphorien> LD_LIBRARY_PATH points to opengl related stuff
<symphorien> This env var may be missing from the systemd service
alex`` has joined #nixos
<wedens> hm. wait. it actually also fails when I do `compton --backend glx`, home-manager provides --config option with non-default location
<{^_^}> [nixpkgs] @pmiddend opened pull request #56458 → pythonPackages.androguard: 3.3.4 -> 3.3.5 → https://git.io/fhNgU
<{^_^}> [nixpkgs] @dotlambda opened pull request #56459 → python.pkgs.poetry: install shell completions → https://git.io/fhNgq
<{^_^}> [nixpkgs] @Izorkin opened pull request #56460 → dar: 2.6.1 -> 2.6.2 → https://git.io/fhNgm
<{^_^}> [nixpkgs] @dotlambda closed pull request #56458 → pythonPackages.androguard: 3.3.4 -> 3.3.5 → https://git.io/fhNgU
infinii has joined #nixos
makaveli[m] has quit [Changing host]
makaveli[m] has joined #nixos
makaveli[m] has joined #nixos
Phillemann has joined #nixos
<Phillemann> Can somebody explain to me this "staging-next" branch/PR?
<emily> anyone use nixpkgs-mozilla? I'm getting error: unable to download 'https://archive.mozilla.org/pub/firefox/nightly/2019/02/2019-02-27-10-44-26-mozilla-central/firefox-67.0a1.en-US.linux-x86_64.checksums': HTTP error 404
<{^_^}> [nixpkgs] @marsam opened pull request #56461 → ruby_2_6: add missing rvm patchset → https://git.io/fhNgc
<domenkozar> hyper_ch2: btrfs never had any issues for me
<domenkozar> in last 4 years
infinii has quit [Ping timeout: 255 seconds]
<domenkozar> but I don't do much
<hyper_ch2> domenkozar: well, I thought btrfs has proper cow support... so if anything bad happens - like power outage - it's not a big issue....
<hyper_ch2> but then I did have a power outage and my homeserver with btrfs was unusable
<domenkozar> that works much better than ext4
<hyper_ch2> everything totally corrupted
<hyper_ch2> also, all the fun btrfs rebalancing adventures on my notebook
<hyper_ch2> that often led to corruption... ieeeks
<hyper_ch2> I tend to agree that Btrfs is ZFS done wrong :)
<hyper_ch2> just my personal opinion
<aanderse> hyper_ch2: i keep hearing people say stuff like that...
<aanderse> so i keep using zfs
asymmetric has joined #nixos
<hyper_ch2> well, that was about 2 1/2 - 3 years back.... Btrfs probably did become better in the meantime but I'm just burnt by it
<{^_^}> [nixpkgs] @nyanloutre opened pull request #56462 → pythonPackages.block-io: fix incorrect dependency version → https://git.io/fhNgi
Phillemann has quit [Quit: WeeChat 2.4]
johanot has quit [Quit: WeeChat 2.2]
<emily> (the answer to my question was "wait a few minutes and it'll start working again", apparently)
abcrawf has quit [Remote host closed the connection]
wolfmantjg123 has joined #nixos
<{^_^}> [nixpkgs] @dotlambda opened pull request #56463 → papis: 0.7.5 -> 0.8 → https://git.io/fhNg9
wolfmantjg123 has quit [Client Quit]
reinhardt has quit [Quit: Leaving]
waleee has joined #nixos
Izorkin has quit [Quit: ZNC 1.7.1 - https://znc.in]
abcrawf has joined #nixos
Izorkin has joined #nixos
halfbit has quit [Quit: WeeChat 2.4]
<adfaure> arianvp: All good! Thank you
Izorkin has quit [Client Quit]
Izorkin has joined #nixos
<yorick> nixos installer boots to a black screen :/
<yorick> if I type reboot and then enter, it reboots, so it's a graphics problem
reinhardt has joined #nixos
ij has joined #nixos
<waleee> yorick: which installer are you using?
<yorick> waleee: both the graphical and the minimal do this
<yorick> I suspect that nouveau doesn't support the rtx 2070
reinhardt has quit [Quit: Leaving]
<{^_^}> [nixpkgs] @7c6f434c merged pull request #56317 → ogre: 1.10.11 -> 1.11.5 → https://git.io/fhbuf
<{^_^}> [nixpkgs] @7c6f434c pushed 2 commits to master: https://git.io/fhN2l
<yorick> maybe I need a newer linux than 4.14
<sphalerite> yorick: I doubt it'll work with nouveau at all
<yorick> sphalerite: efifb is failing to remap some memory, apparently
<sphalerite> yorick: maybe if you blacklist it it'll stick to only the efifb graphics or something
<sphalerite> ah
<yorick> (I ssh'd into it by typing it in blindly)
countingsort has quit [Quit: leaving]
<init_6> yorick: many nouveau carts need some nvidia firmware to works in 3D
<yorick> I don't get a console
kmein has joined #nixos
alex_giusi_tiri has joined #nixos
<kmein> how do you get broadcom proprietary wifi drivers to work on NixOS?
<{^_^}> [nixpkgs] @Izorkin opened pull request #56464 → ejabberd: 18.12.1 -> 19.02 → https://git.io/fhN2a
ottidmes has joined #nixos
pi4 has joined #nixos
ramses_ has joined #nixos
pi4 has quit [Client Quit]
astrofog has joined #nixos
<sphalerite> yorick: https://nouveau.freedesktop.org/wiki/CodeNames/ the existence of this graphics generation isn't even documented on nouveau's wiki yet :p
<waleee> kmein: I'd go with hardware.enableAllFirmware = true, and allowUnfree
glasserc has quit [Quit: ZNC 1.6.6 - http://znc.in]
glasserc has joined #nixos
countingsort has joined #nixos
gustavopr has quit [Quit: The Lounge - https://thelounge.chat]
<sphalerite> kmein: what waleee said if you just want to use the proprietary firmware with the free driver. If you want to use only the proprietary driver, I think you need to add broadcom_sta to boot.extraModulePackages
<samrose> In a buildRustPackage context, what is a good example of setting an environmental variable like `RUST_SODIUM_LIB_DIR` (points to /nix/store location of libsodium)
<sphalerite> kmein: and probably also blacklist b43 or brcmfmac or whatever the corresponding free driver is
<{^_^}> [nixpkgs] @fpletz merged pull request #56450 → atlassian-confluence: 6.13.0 -> 6.14.1 → https://git.io/fhN0m
<{^_^}> [nixpkgs] @fpletz pushed 2 commits to master: https://git.io/fhN27
<{^_^}> [nixpkgs] @fpletz merged pull request #56454 → atlassian-crowd: 3.3.3 -> 3.3.4 → https://git.io/fhNE5
<{^_^}> [nixpkgs] @fpletz pushed 2 commits to master: https://git.io/fhN2d
<gchristensen> domenkozar: do you still have the Dell dock?
joko_ is now known as joko
joko has joined #nixos
joko has quit [Changing host]
<domenkozar> yes
<gchristensen> and is it still terrible for you?
<domenkozar> yes usb keyboard still doesn't work
<gchristensen> haha, yeah, isn't that ridiculous
fendor has quit [Quit: Leaving]
fendor has joined #nixos
<domenkozar> quite :D I really thought USB is one of the few standards that works
<yorick> gchristensen: do not get the dell dock
<gchristensen> I already have one :|
<yorick> gchristensen: get the caldigit ts3 if you must
<yorick> well, burn it
<yorick> or one of those usb-c hubs from aliexpress
<gchristensen> I learned something sort of interesting, which is if you plug USB hub which connects to the host with USB-C, like this one: https://s3.amazonaws.com/assets.mhint/product_images/162746/162746pro_2.jpg
<gchristensen> in to the (only) USB-C port on the dock, it works reliably for USB devices
<samrose> I guess it looks like I might set this path in `preBuild`
<gchristensen> yorick: it actually works?
<yorick> gchristensen: yes, it's great
<gchristensen> I really like the formfactor of the dell dock, but okay
<yorick> with the stuck-to-it thunderbolt cable? ew
<yorick> but the power button is nice
<kmein> waleee: didn't work sadly
<{^_^}> Channel nixos-18.09-small advanced to https://github.com/NixOS/nixpkgs/commit/8c2447fdee1 (from 5 hours ago, history: https://channels.nix.gsc.io/nixos-18.09-small)
<adamt> Woah, the documentation for the kafka module (at least in 18.09) is really really really really really dangerous. It uses /tmp/kafka-logs as an example for where kafka stores its logs. Which logs? The ones that's actually the data, and not the regular log.
<therealwaphire[m> can i make nix not set a password for root at the end of installation?
<yorick> therealwaphire[m: --no-root-passwd
<therealwaphire[m> damn
<therealwaphire[m> that was easy
<therealwaphire[m> thank you
<Izorkin> +
knupfer has joined #nixos
symphorien has quit [Quit: WeeChat 2.3]
rauno has quit [Remote host closed the connection]
Makaveli7 has quit [Quit: Leaving]
agander has quit [Ping timeout: 244 seconds]
kreisys has joined #nixos
thc202 has quit [Ping timeout: 240 seconds]
Neo-- has joined #nixos
<kmein> sphalerite: thanks so much, that worked
thc202 has joined #nixos
ij has quit [Read error: Connection reset by peer]
<sphalerite> adamt: nice! PR would be appreciated :)
<sphalerit> adamt: although in the default nixos setup /tmp is persistent ;)
timor has joined #nixos
ij has joined #nixos
adfaure has quit [Quit: Page closed]
<timor> Is it possible to prevent the `systemctl daemon-reload` for user sessions after switching to a new configuration? In our case this fails, because the `su` mechanism does not emulate the user's runtime environment sufficiently.
<countingsort> hey, i have a `fetchTarball` without a hash in my configuration.nix. from my understanding this validates the tarball for an hour (?). how can i force it to redownload it right now?
knupfer has quit [Ping timeout: 268 seconds]
fendor_ has joined #nixos
fendor_ has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @fpletz merged pull request #56444 → hueadm: init at 1.2.0 → https://git.io/fhNCA
<{^_^}> [nixpkgs] @fpletz pushed 2 commits to master: https://git.io/fhNaa
xkapastel has joined #nixos
fendor_ has joined #nixos
<kreisys> Does 'nix-shell --pure' do anything other than clearing the environment? I'm having trouble pulling images from a private docker registry from --pure mode. It can't retrieve the credentials. It's strange because even if I manually copy all the env vars from the non-pure environment into the pure environment 'docker pull' still fails.
fendor has quit [Ping timeout: 258 seconds]
orivej has quit [Ping timeout: 250 seconds]
fendor_ is now known as fendor
<fendor> does someone have a guide on how to develop opengl applications with vscode and cpptools?
<infinisil> timor: Not really, what specifically is the problem?
lfish has joined #nixos
<hyper_ch2> what is the rationale of having /tmp persistent by default? every other distro that I've used doesn't do that
<{^_^}> [nixpkgs] @Mic92 merged pull request #56456 → linuxPackages.tp_smapi: fix evaluation → https://git.io/fhNuW
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/fhNai
endformationage has joined #nixos
<{^_^}> [nixpkgs] @Mic92 pushed commit from @dotlambda to release-19.03 « linuxPackages.tp_smapi: fix evaluation »: https://git.io/fhNaM
<ajs124> hyper_ch2, which distros have you been using?
<yorick> yep, linux 4.20 fixes the problem
<domenkozar> 400444.76 MiB freed by hard-linking 19571151 files
<domenkozar> that went well
<hyper_ch2> debian, buntu, centos, rh, mandriva, suse
<ajs124> I have a problem with builtins.fetchGit OOMing (on a machine with 32GB RAM) when trying to fetch a rather large git repo. Would the fetchgit from nixpkgs fare better?
<infinisil> hyper_ch2: You mean why `boot.cleanTmpDir` is false by default?
<hyper_ch2> infinisil: yes
<therealwaphire[m> <freenode_yor "yep, linux 4.20 fixes the proble"> which problem?
<etu> I know that archlinux suggests to have /tmp as a tmpfs as default, but that's not always what you want on NixOS if you're doing big builds etc.
hsrthsrthsrt has quit []
<timor> infinisil: Hard to tell. We have a pretty heavily configured pam setup here. It is set up so that sudo works without any problems. The journal indicates that the default pam stack for su gives some errors, but it is hard to tell what influence this has on the commands that are supposed to run in the user scope. But in general, after system upgrade, user services misbehave, and I wanted to test whether turning off the reload will improve this.
<hyper_ch2> infinisil: I'm tempted to try the zol trim patch
nuh^ has joined #nixos
<infinisil> timor: I see. The only way I can think of is to modify a nixpkgs clone directly and use that for your system instead. Maybe you could also open an issue in nixpkgs
vidbina has joined #nixos
<{^_^}> [nixpkgs] @dotlambda merged pull request #56462 → pythonPackages.block-io: fix incorrect dependency version → https://git.io/fhNgi
<{^_^}> [nixpkgs] @dotlambda pushed commit from @nyanloutre to master « pythonPackages.block-io: remove pycryptodome version freeze (#56462) »: https://git.io/fhNa7
<timor> infinisil: Will try that.
<infinisil> timor: Relevant PRs/issues: #44990, #47842
<{^_^}> https://github.com/NixOS/nixpkgs/pull/44990 (by Ma27, 28 weeks ago, merged): nixos/switch-to-configuration: reload user units
<{^_^}> https://github.com/NixOS/nixpkgs/pull/47842 (by peterhoeg, 20 weeks ago, merged): nixos system-activation: support activation scripts run in a user context
asymmetric has quit [Remote host closed the connection]
asymmetric has joined #nixos
<lfish> hello, I'm trying to set a static ip in my nixos box. I put this in my configuration.nix https://pastebin.com/fXQ8gUbN and I don't get the specified ip. Is that what I'm supposed to do? btw wlp3s0 is the name I get from ifconfig
<timor> infinisil: Thanks!
<bgamari> how does one coerce Nix to allow me to write a string referring to a derivation path?
_kwstas has joined #nixos
_kwstas has quit [Remote host closed the connection]
<bgamari> I'm just trying to emit a JSON object containing a list of derivation paths
<bgamari> but Nix claims "error: the string '/nix/store/z1x0m12yx4abzz2pg8ng6gdrdqalxzjv-aeson-1.4.2.0.drv' is not allowed to refer to a store path (such as '=/nix/store/z1x0m12yx4abzz2pg8ng6gdrdqalxzjv-aeson-1.4.2.0.drv'),"
<dmj`> bgamari: derivations have a string representation I believe. So if you do something like foo = "${theDerivation}" it should work
<bgamari> dmj`, I'm already doing that, sadly
<bgamari> I was hoping it would be that easy
<ajs124> can you paste your code somewhere?
<bgamari> sure
thc202 has quit [Ping timeout: 268 seconds]
<bgamari> ajs124, error: the string '/nix/store/z1x0m12yx4abzz2pg8ng6gdrdqalxzjv-aeson-1.4.2.0.drv' is not allowed to refer to a store path (such as '=/nix/store/z1x0m12yx4abzz2pg8ng6gdrdqalxzjv-aeson-1.4.2.0.drv'),
<bgamari> in particular line 65
<dmj`> nix-repl> "${toString pkgs.haskellPackages.aeson}"
<dmj`> "/nix/store/i7zjfh23337bjhiv3jvqyscv1y0ckxkb-aeson-1.4.2.0"
ramses_ has quit [Ping timeout: 256 seconds]
thc202 has joined #nixos
<bgamari> hmm, quite mysterious
<bgamari> ahh, perhaps because I am keying an attribute set on the derivation path
<bgamari> indeed, that is it
<bgamari> lib.listToAttrs [{ name = "${testedPackages.aeson}"; value=1; }]
<bgamari> fails in the same way
<bgamari> alright, no worries
<{^_^}> [nixpkgs] @Infinisil merged pull request #51733 → nvidia-docker module/package → https://git.io/fpSXy
<{^_^}> [nixpkgs] @Infinisil pushed 3 commits to master: https://git.io/fhNVt
<bgamari> that is easy enough to work around
alex`` has quit [Quit: WeeChat 2.4]
init_6 has quit [Ping timeout: 250 seconds]
astrofog has quit [Remote host closed the connection]
init_6 has joined #nixos
knupfer has joined #nixos
<{^_^}> [nixpkgs] @smaximov opened pull request #56465 → overmind: 1.2.1 -> 2.0.1 → https://git.io/fhNV6
vidbina has quit [Ping timeout: 264 seconds]
vidbina has joined #nixos
<emily> how up to date is https://nixos.wiki/wiki/NixOS_on_ZFS / does anyone have recommendations for any other material on setting up a full-ZFS NixOS system, possibly with LUKS encryption?
<srhb> emily: Luks is pretty straightforward with one major gotcha *. Just do the luks stuff before you create a "regular" zfs setup with the pool on /dev/mapper/crypt or whatever.
<srhb> emily: The gotcha is that nixos-generate-config will *not* pick up the luks stuff at all.
<emily> right
<srhb> emily: So you'll need to do all the initrd.luks stuff yourself after generating the config.
<{^_^}> [nixpkgs] @matthewbauer pushed to master « llvm7: build with gcc6 on 32-bit linux »: https://git.io/fhNVA
henrytill[m] has joined #nixos
<emily> not so sure I want to try setting up LUKS at all on this, it's a server so I'd need the early sshd in initrd kerfuffle -- though I remember NixOS having support for that?
<srhb> Oh, and regarding boot on luks, or even boot-on-zfs-on-luks, I never even attempted that.
<srhb> emily: Yeah, it's also in boot.something.
nuh^ has quit []
<srhb> emily: boot.initrd.network.ssh.*
<aanderse> fwiw nixos on zfs without encryption is a breeze...
ubert has quit [Quit: Leaving]
<emily> oh, I'll keep /boot unencrypted.
<srhb> Yeah, it's pretty trivial then.
<srhb> I *think* encrypted boot on luks is too, but I never attempted it, so I feel bad recommending it.
<srhb> boot-on-zfs-on-luks is more of a ??? to me.
<emily> now I'm actually wondering whether this Hetzner hardware even supports UEFI at all
<srhb> Does that matter though?
<srhb> (I don't recall if they support it, but I don't think it alters the NixOS side of things much aside from the fact that systemd-boot is out)
<emily> no, just I'm so used to using systemd-boot as a bootloader in my desktop system nixos config
<srhb> Right :)
<ajs124> srhb, if you do root-on-zfs-on-luks it's basically like any other fs on top of luks
agander has joined #nixos
<srhb> ajs124: Ok :)
<emily> (I've been NixOS-on-desktop for a while but am just now moving server over)
<srhb> ajs124: I do have root on zfs on luks, what I'm wondering about is /boot
<emily> srhb: re /boot-on-ZFS-on-LUKS, tbh I don't know why you'd want to do that. who would trust whatever gnarly ZFS implementation is in GRUB?
<srhb> emily: Switching to grub is trivial when you're not doing something exotic fwiw :)
<srhb> emily: Yeah, exactly my thought.
<emily> I prefer to get from the firmware to a linux kernel with the minimum of orchestration fuss required and then do all the "fancy" boot logic in an initramfs
<srhb> Yep yep, agreed.
<srhb> What I'm doing now on basically every system is: /boot on raw disk, swap on raw disk (but setting up random encryption at each boot), then a luks partition with a zfs pool on.
<srhb> It's really simple and easy to wrap my head around.
<bgamari> how can one determine whether a derivation has been realised?
<srhb> bgamari: ls /nix/store/yourhash?
<bgamari> srhb, well, it might have been instantiated
<bgamari> but the build might have failed
<srhb> bgamari: Right, but the outhash and the drv hash are different.
<bgamari> fair enough
<bgamari> srhb, so nix-build will delete $out if the realisation fails?
<srhb> bgamari: Unless you change an option that probably should never have existed, yes :)
<bgamari> --keep-failed?
<srhb> No, that just keeps it in /tmp
<srhb> It's more exotic, and I forget what it is.
defolos[m] has joined #nixos
<bgamari> alright, well I guess I don't need to worry about this
o1lo01ol1o has joined #nixos
<srhb> bgamari: So yeah, the quick way is something like stat $(nix eval --raw nixpkgs.hello)
work_ has joined #nixos
<bgamari> right
stepcut has joined #nixos
<{^_^}> [nixpkgs] @matthiasbeyer closed pull request #48009 → simutrans: Fix hash of pak128 → https://git.io/fxs6p
<{^_^}> [nixpkgs] @matthiasbeyer closed pull request #33705 → tesseract: 3.05.00 -> 3.05.01 → https://git.io/vNYEq
<{^_^}> [nixpkgs] @matthiasbeyer closed pull request #23660 → Add mpdscribble service → https://git.io/vy2Za
<{^_^}> [nixpkgs] @matthiasbeyer closed pull request #21809 → sbot: init at 9d686ee70c6b2073da626fa08e38a8e988b5c5b4 → https://git.io/vMETi
Tucky has quit [Quit: WeeChat 2.2]
<{^_^}> [nixpkgs] @matthiasbeyer closed pull request #23266 → Add service for glances → https://git.io/vyqoY
Makaveli7 has joined #nixos
orivej has joined #nixos
<{^_^}> [nixpkgs] @averelld opened pull request #56466 → nvidia-docker 19.03 → https://git.io/fhNwV
random_yanek has quit [Quit: random_yanek]
<Taneb> The haddock in nixpkgs 19.03 interacts poorly with type-checker plugins :(
<Taneb> I'm told, but haven't verified, that this was fixed with https://github.com/haskell/haddock/pull/983
<{^_^}> haskell/haddock#983 (by harpocrates, 9 weeks ago, merged): Load plugins when compiling each module
random_yanek has joined #nixos
random_yanek has quit [Max SendQ exceeded]
<{^_^}> [nixpkgs] @bjornfor merged pull request #55863 → plantuml: 1.2019.0 -> 1.2019.1 → https://git.io/fh5qH
<{^_^}> [nixpkgs] @bjornfor pushed commit from @r-ryantm to master « plantuml: 1.2019.0 -> 1.2019.1 »: https://git.io/fhNw6
random_yanek has joined #nixos
sigmundv__ has quit [Ping timeout: 255 seconds]
ddellacosta has joined #nixos
<Taneb> Is there a way I can override which version of haddock is used, at all?
<samrose> probably obvious to many here, but what would cause something like `bash: result/bin/<binary>: Permission denied` when I am patchelf-ing an existing binary?
<edef> the nix store is read-only
<edef> `result` is presumably a symlink into the store
defolos[m] has left #nixos ["User left"]
agander has quit [Ping timeout: 240 seconds]
ij has quit [Ping timeout: 246 seconds]
hyper_ch2 has quit [Quit: Page closed]
Ariakenom_ has quit [Ping timeout: 250 seconds]
<samrose> edef: yes, so how would one achieve running an already built binary that is installed in nix store?
<samrose> edef: when I try sander vanderburg's example at http://sandervanderburg.blogspot.com/2015/10/deploying-prebuilt-binary-software-with.html it works great, I am able to run the binary
<samrose> using the same method with my binary, I am able to build the package, but permission denied running binary
illegalprime has joined #nixos
adamt has quit [Ping timeout: 244 seconds]
<srhb> samrose: I mean, usually it just means a missing executable bit.
<srhb> samrose: But stat the file and pastebin the output :)
<ivegotasthma> is it possible to set an option in home-manager for a package that doesn't have home-manager options, but has options from nixpkg?
<srhb> samrose: so far so good. Then it's probably related to some bad patchelfing. I don't recall exactly what errors might cause it, but ldd and readelf will probably also help debug.
<srhb> samrose: (Maybe a wrong loader location will cause this? Can't recall)
<samrose> srhb: the actual expression I am working with is https://gist.github.com/samrose/ca46942afb6c2f6ea2e6bfb26fd5be7e
<srhb> Try pastebinning the output of ldd for starts. I've got to run, so maybe someone else can pick up :)
<samrose> thanks a million srhb
<clever> samrose: you need to add zmq to the rpath
rpg has joined #nixos
<samrose> clever
<samrose> thanks I will check into that
alex`` has joined #nixos
<samrose> clever: so the permission denied issue is caused by the executable not having the permission to execute zmq
<vaibhavsagar> is it possible to run Docker in a nixos-container?
<clever> samrose: thats a missing library, not a permisison error
<clever> samrose: what is the exact error you get when you run that binary?
drakonis has joined #nixos
rcshm has joined #nixos
<samrose> clever: error is `bash: result/bin/holochain: Permission denied`
<samrose> when I try to execute the binary
<samrose> although I agree with you that I need to link in zmq too
<edef> is it actually +x
<samueldr> it could also be ld-linux, the "interpreter"
<{^_^}> [nixpkgs] @minijackson opened pull request #56467 → kodi: add vfs.{sftp, rar, libarchive} binary plugins → https://git.io/fhNrM
<samueldr> edef: according to `stat` yeah
<edef> hmm
<samueldr> unless I'm wrong "Permission denied" is the error to expect from the (ld-linux) interpreter not being found
<samrose> samueldr: ah ok
<samueldr> though I'm not sure this is the case here
vmandela has quit [Quit: Leaving]
<samrose> vaibhavsagar: nixos-container wraps system-nspawn, which supposedly can use Docker images as a basis for a container
<samrose> vaibhavsagar: I have never tried it
<samrose> vaibhavsagar: I read this a while back https://seanmcgary.com/posts/run-docker-containers-with-systemd-nspawn/
init_6 has quit [Ping timeout: 258 seconds]
<vaibhavsagar> my question was more whether I can run the Docker service inside a nixos-container
<vaibhavsagar> or if there's some weird container-in-container thing that happens
<samrose> vaibhavsagar: I actually don't know but if systemd-nspawn does support that, then you are likely going to be in business, with the possible caveat that you may need to account for how nixos-container deals with nspawn arguments as shown at https://github.com/NixOS/nixpkgs/blob/master/nixos/modules/virtualisation/containers.nix
<{^_^}> [nixpkgs] @minijackson opened pull request #56468 → kodi: update osmc theme → https://git.io/fhNrQ
stepcut has quit [Remote host closed the connection]
<samrose> vaibhavsagar: you mean that you want to run docker daemon in systemd-nspawn container basically, yes?
<vaibhavsagar> yup
<samrose> vaibhavsagar: looks like there might be some clues out there on how to do it, but it could be a bit of a rabbit hole: https://wiki.archlinux.org/index.php/systemd-nspawn#Run_docker_in_systemd-nspawn
<vaibhavsagar> thanks samrose!
<samrose> others here might have comments with far more expertise about whether this actually could work in the nixos context or not
<samrose> I spent some time looking at nixos-container and systemd-nspawn before I set it aside as too much extra cruft in what I am doing
<samrose> samueldr: you mentioned "unless I'm wrong "Permission denied" is the error to expect from the (ld-linux) interpreter not being found" do you have some clues on how I can diagnose this?
<clever> samrose: what does `file result/bin/holochain` report?
ng0_ has joined #nixos
<clever> vaibhavsagar: you could just run docker on the real host, and then expose /var/run/docker.sock to the nixos container?
<vaibhavsagar> clever: that's a great idea, thanks :)
ng0 has quit [Remote host closed the connection]
<clever> interpreter /nix/store/5am5rfzdwdw6zm7ccg2kv7i6rzm7j92y-rust-1.33.0-nightly-2019-01-23-19f8958f8
<clever> samrose: thats not right!
<clever> samrose: your telling it to "run" a directory as the interpreter!
<clever> hence, the permission denied (a directory cant be executable)
<samrose> clever: aha
<samrose> thank you I need to drill in deeper there much appreciated
<__monty__> Aren't directories technically executable more often than not? : >
<infinee> what does the 'rec' mean in `stdenv.mkDerivation rec`?
<clever> __monty__: they have the execute bit, but it seems that it translates to a permission denied error
<clever> infinee: its a recursive attribute set, so it can refer to its own attributes, like name = "foo-${version}; version = "1.2.3";
<samrose> infinee: it means to recurse through the attributes and code that follows
<__monty__> clever: Yeah, just being pedantic for the joke.
<immae> infinee: it actually comes with the set: `ref { ... }`, it means that you can refer to arguments defined in the set while defining himself
stepcut has joined #nixos
<infinee> oh cool. thanks everyone
<samrose> clever: that was it! thank you
<ivegotasthma> is it possible to set an option for a package in home-manager that exists in nixos options but not in home-manager?
<ldlework> no
<ivegotasthma> ;(
<ldlework> what's the point
<ivegotasthma> I was to have a package installed with home-manager but to be configured using all the options available
alex_giusi_tiri has quit [Quit: Leaving.]
<ivegotasthma> I want to*
<ldlework> That wouldn't work anyway, because the options would be setup to use a specific package from nixpkgs.
<ldlework> i don't really know what i'm talking about though so
scientist has joined #nixos
<scientist> good morning you guys, I was wondering if you could help me with a problem ?
<Taneb> If it's a problem with Nix, you should just ask it
ng0_ is now known as ng0
<scientist> ok, well I have my own custom keyboard layout, I usually use these instructions for ubuntu: https://askubuntu.com/questions/212336/default-keys-1-2-3-4-5-6-7-8-9-0-to-input do you guys know how to do this in nixos
hyperfekt has quit [Ping timeout: 256 seconds]
ixxie has quit [Ping timeout: 250 seconds]
<scientist> ?
rtjure has quit [Quit: ZNC 1.6.5 - http://znc.in]
<bgamari> what does "error: path '/nix/store/3fvdj5ipc1xp815dy3m9cigzczaknwgg-openssl-1.0.2q' is not valid" from `nix-store --import` mean?
<clever> bgamari: i suspect openssl isnt part of the set of packages your importing, and is also missing from /nix/store, yet that set depends on it
<bgamari> hmm
<bgamari> odd
<bgamari> I used `nix-store --export $(nix-store -qR ...)` to generate the NAR
<clever> bgamari: --export doesnt generate a plain nar, but something else, that contains a list of nar's
wfranzini has quit [Remote host closed the connection]
<clever> bgamari: also, did you run --import as a trusted user?
<scientist> I am currently looking at this to create my own custom keyboard layout: https://nixos.wiki/wiki/Keyboard_Layout_Customization , I am just not sure what to do.
<bgamari> clever, I believe so, yes
<edef> scientist: what modifications are you aiming to make
<clever> bgamari: which user did you run it as, and what does `nix show-config | grep trusted-users` report?
lfish has quit [Ping timeout: 256 seconds]
<bgamari> this is in a nix/nixos docker image
<bgamari> I can check, one moment
<scientist> edef: I am going to rearrange the keys on my keyboard, I can do it with ubuntu fine, I am just not sure how to do this on nixos
<bgamari> clever, yes, it's a trusted user (root)
<slabity> Where can I find out how the manpage for `configuration.nix` is created? I'd like to see how it extracts all those options
<bgamari> clever, is it possible to concatenate NAR archives?
<clever> bgamari: the NAR itself lacks the dependency information and the path to extract it to, so extra metadata is needed to properly restore it
<scientist> To get started, install xorg.xkbcomp , what is the nix command to install this ?
<clever> slabity: one min
<bgamari> clever, are you sure you aren't thinking of nix-store --dump?
<scientist> ?
<bgamari> the nix-store manpage suggests that --export/--import should work
<clever> bgamari: yeah, those are the only files that are technically NAR's
<clever> bgamari: what does --import say with -vvvv ?
<clever> slabity: this takes an optionsList and generates a json of every option: https://github.com/NixOS/nixpkgs/blob/59f6083281e0e481adf9ff1fbbd30165d4e1e897/nixos/doc/manual/default.nix#L238-L252
<slabity> clever: Beautiful. Thank you
<clever> slabity: line 204 makes an olink-db, and 238 makes man pages
<bgamari> clever, the lines just above the "whoami" command
ij has joined #nixos
winem_ has quit [Ping timeout: 250 seconds]
scientist has quit [Quit: WeeChat 2.2]
ij has quit [Ping timeout: 246 seconds]
_kwstas has joined #nixos
<clever> bgamari: testing similar commands locally...
<bgamari> thanks!
rycwo has joined #nixos
<{^_^}> [nixpkgs] @hedning merged pull request #55315 → flatpak-builder: 1.0.2 -> 1.0.3 → https://git.io/fh9zi
<{^_^}> [nixpkgs] @hedning pushed commit from @r-ryantm to master « flatpak-builder: 1.0.2 -> 1.0.3 (#55315) »: https://git.io/fhNoQ
<__monty__> Hmm, how do I make nix pick up on recent hackage revisions? I think my build issue here (http://ix.io/1CaM) was fixed in the latest revision for cryptohash-sha256 (http://hackage.haskell.org/package/cryptohash-sha256-0.11.101.0/dependencies)
<clever> bgamari: doesnt fail on this end
<bgamari> hmm
<bgamari> interesting
<bgamari> I wish I could download the cache
<clever> bgamari: where is the code that generates the export?
<clever> bgamari: i dont see any --export in there
<bgamari> oh no
<bgamari> you are quite right
<bgamari> sigh, it looks like I mixed up --dump and --export
<bgamari> that would do it
fusion809 has quit [Remote host closed the connection]
<bgamari> clever, thank you!
<clever> bgamari: ah, that would do it
knupfer has quit [Read error: Connection reset by peer]
knupfer1 has joined #nixos
shabius has joined #nixos
drakonis_ has joined #nixos
knupfer1 is now known as knupfer
drakonis has quit [Ping timeout: 250 seconds]
<{^_^}> [nixpkgs] @romildo opened pull request #56469 → mate: enable gvfs service → https://git.io/fhNK4
drakonis_ has quit [Read error: Connection reset by peer]
drakonis_ has joined #nixos
vmandela has joined #nixos
drakonis_ has quit [Read error: Connection reset by peer]
drakonis_ has joined #nixos
nckx has quit [Quit: Updating my GNU Guix server — https://guix.info]
nckx has joined #nixos
hexa- has quit [Quit: WeeChat 2.3]
alex`` has quit [Quit: WeeChat 2.4]
drakonis has joined #nixos
<{^_^}> [nixpkgs] @vcunat pushed 3 commits to release-18.09: https://git.io/fhNKa
<{^_^}> [nixpkgs] @vcunat merged pull request #56375 → [18.09] wget: 1.19.5 -> 1.20.1 → https://git.io/fhbQq
drakonis_ has quit [Ping timeout: 258 seconds]
_kwstas has quit [Quit: _kwstas]
hyper_ch2 has joined #nixos
alex`` has joined #nixos
rycwo has quit [Ping timeout: 250 seconds]
<hyper_ch2> trying now to rebuild zfs unstable with trim patch and see how it goes on native encrypted zfs
<edef> :o
<gchristensen> gutsy :)
<hyper_ch2> gchristensen: behlendorf said native zfs encryption shouldn't have any impact on the trim patch
<hyper_ch2> so what could possibly go wrong :)
<gchristensen> that is a question I ask myself all the time
<hyper_ch2> did you find the answer to that question already?
yl has joined #nixos
Neo-- has quit [Ping timeout: 268 seconds]
<gchristensen> nope
<hyper_ch2> also, I follow rule # 1 when computing: Always have backups
<edef> TRIM is at the SPA layer, i think?
<edef> whereas encryption is DSL and upwards
<hyper_ch2> dsl? sounds like internet connection
<edef> the dataset and snapshot layer
<hyper_ch2> and spa... I like being in a spa :)
<edef> Storage Pool Allocator
nckx has quit [Quit: Updating my GNU Guix server — https://guix.info]
<hyper_ch2> yeah, encryption is for datasets
<hyper_ch2> and trim for spa
<hyper_ch2> so they shouldn't interfere
nckx has joined #nixos
ym555 has joined #nixos
<edef> or maybe encryption is at the DMU layer i guess
<hyper_ch2> I didn't know that zfs has as many layers as an onion
slack1256 has joined #nixos
infinii has joined #nixos
<hyper_ch2> and you really think an ordinary average computer user like me understands that? :)
<gchristensen> not necessarily, no
<hyper_ch2> thanks, I have it bookmarked
<gchristensen> I don't fully grasp it either
<hyper_ch2> hmmm, when did I upgrade last time to master.......
infinii has quit [Ping timeout: 246 seconds]
<hyper_ch2> so, just added correct sha256 for the trim patch
<hyper_ch2> in my zfs default.nix
<slack1256> fetchFromGithub downloads a tar.gz file, yet on the web page of github I can only get a .zip file. Does anybody know how to get the tar.gz file?
<gchristensen> change the URL from a .zip to .tar.gz
<hyper_ch2> clang has building issue on nixos master cannot build derivation '/nix/store/1baj0hyk5ana1vb9ma7i24rar5z9wbn3-clang-wrapper-7.0.1.drv': 1 dependencies couldn't be built
<hyper_ch2> lets switch to unstable then
vidbina has quit [Ping timeout: 240 seconds]
<hyper_ch2> now how to do that
<slabity> clever: Is there an easy way to extract that optionsJSON using `nix eval` or something like that?
<clever> gchristensen: page 11, it mentions every vdev has a 3.5mb hole for boot code, that could allow embeding grub stage 1.5 into the zfs device
<gchristensen> nice
<clever> gchristensen: that would just require grub-install to understand that, and then boot.loader.grub.device = "/dev/sda1"; i think
<{^_^}> [nixpkgs] @veprbl merged pull request #56063 → pygmentex: add tlType attribute; install latex style and demo → https://git.io/fhdKR
<{^_^}> [nixpkgs] @veprbl pushed commit from @romildo to master « pygmentex: add tlType attribute; install latex style and demo (#56063) »: https://git.io/fhN6m
<clever> slabity: nix-build '<nixpkgs/nixos/release.nix>' -A options should do it
slack1256 has quit [Remote host closed the connection]
jomik has joined #nixos
thblt has joined #nixos
<jomik> Waow... A revision has disappeared from `NixOS/nixpkgs` O.o Specifically `11cf7d6e1ffd5fbc09a51b76d668ad0858a772ed` which I used as unstable.
<{^_^}> jomik: 1 week, 3 days ago <wedens> in dunst (U) means notification has url, (A) means it has actions (which you can access via hotkey). you can disable it via `show_indicators = false`
<slabity> clever: Thanks. That works perfectly
<jomik> wedens: OH! Thanks for that - 1 week and 3 days ago :P I have been sick.. :)
rauno has joined #nixos
janneke has quit [Quit: janneke quits Mes'sing]
<samueldr> jomik: was it part of a nixpkgs branch or part of another github repo forked from nixos?
<hyper_ch2> unstable doesn't seem to like me either configure: error: pugixml.hpp not found. If you do not have pugixml installed as system library, you can use the copy of pugixml distributed with FileZilla by passing
<gchristensen> jomik I see it okay just fine, from here
<samueldr> (right, it's there, too)
<jomik> WUT
slack1256 has joined #nixos
<{^_^}> [nixpkgs] @worldofpeace merged pull request #56468 → kodiPlugins.osmc-skin: 17.0.4 -> 18.0.0 → https://git.io/fhNrQ
<{^_^}> [nixpkgs] @worldofpeace pushed 2 commits to master: https://git.io/fhN6l
<jomik> That is true... Ah, shit. I used blob instead of tree for the url.
<jomik> Thanks! Wonder why my nix-shell environment fails then.
<clever> jomik: what error does it give?
<thblt> Hello, I have a small issue with latest unstable. I have programs.light.enable = true; in my configuration.nix, which is supposed to install light with a "setuid wrapper". But light -S [percentage] only works with sudo, and requires root password, which I assume is not expected. Am I missing something or should I report a bug?
<clever> thblt: what does `which light` report?
<jomik> None. And... Now I switched revision, it works. I switched back, and now it works...
<thblt> clever: /run/current-system/sw/bin/light
<thblt>
<clever> jomik: and does it still work after a reboot?
<thblt> clever: same with which -a, btw
<jomik> Good point, let me try that.
shibboleth has joined #nixos
jomik has quit [Quit: WeeChat 2.2]
_kwstas has joined #nixos
jomik has joined #nixos
<jomik> Well, it works after a reboot too. False alarm then, odd.. Thanks for the quick confirmations tho :D
reinhardt has joined #nixos
janneke has joined #nixos
alex`` has quit [Quit: WeeChat 2.4]
<samueldr> thblt: did you remove `light` from systemPackages? (not sure if it could cause issues)
slack1256 has quit [Ping timeout: 255 seconds]
<clever> slabity: the module adds itself to systemPackages
hexa- has joined #nixos
nckx has quit [Quit: Updating my GNU Guix server — https://guix.info]
<thblt> samueldr: programs.light.enable is the only occurence of "light" in my configuration.nix, except for displayManager.lightdm.
<samueldr> is /run/wrappers/bin in your PATH, and does it have `light` in it?
<samueldr> (if you want to have a clear look at PATH, `(IFS=:; for p in $PATH; do echo "$p"; done)`)
<hyper_ch2> hmmm.... seems I can't build it
jomik has quit [Quit: WeeChat 2.2]
<thblt> samueldr: which fusermount is in /run/wrappers/bin, so it's in $PATH, and indeed there's no /run/wrappers/bin/light
<clever> thblt: when did you last `nixos-rebuild switch` ?
<infinee> quit
infinee has quit [Quit: leaving]
<thblt> clever: 10 minutes ago, I tried to switch --upgrade before asking here. I'm running unstable, btw
<clever> thblt: and did it finish without errors?
<samueldr> clever: looks like `light` isn't using wrappers
<samueldr> > services.udev.packages = [ pkgs.light ];
<{^_^}> error: syntax error, unexpected '=', expecting ')', at (string):218:24
<samueldr> oops
<clever> oh, yeah, master is different
<samueldr> :)
<clever> `and udev rules granting access to members of the "video" group.`
<clever> the description of the option has changed
* samueldr wants update notes
<clever> sounds like the new udev rules, will chgrp something in /dev/
<clever> thblt: so you must now add yourself to the video group
<thblt> clever: thanks, trying this
<{^_^}> [nixpkgs] @NeQuissimus pushed 5 commits to master: https://git.io/fhN66
knupfer has quit [Ping timeout: 268 seconds]
<thblt> clever: it worked, thanks again
<samueldr> ah, it does have release notes, sorry for the nastygram dtz :)
hyper_ch2 has quit [Quit: Page closed]
<{^_^}> [nixpkgs] @NeQuissimus pushed 3 commits to release-18.09: https://git.io/fhN6X
nckx has joined #nixos
<dtz> Haha np. Also I don't know what you're talking about yet, so now I'm looking for nastygrams haha
<samueldr> I deleted the comment, you might have it in your mail
aswanson has quit [Quit: WeeChat 2.2]
<samueldr> (it was: "This needs a release-note", while it did have it :/)
Guest57456 is now known as eliasp
<dtz> Oh haha hey as long as it's not like "sick and tired of your shit, dtz you hamster-brained buffoon" or similar unnecessarily personal haha, all good. Especially since clearly working towards common good/improvement :). Thanks for the quality control!
_kwstas has quit [Quit: _kwstas]
_kwstas has joined #nixos
aswanson has joined #nixos
freeman42x has joined #nixos
Ariakenom has joined #nixos
dejanr has joined #nixos
<dejanr> evening all, anyone have idea what could possible go wrong with this:
<dejanr> ln: failed to create symbolic link '/nix/store/d5s8ykvph9pajah9g95mnz2sb6lyih11-user-units/pulseaudio.service': File exists
<dejanr> during nixos-rebuild switch
<{^_^}> [nixpkgs] @dtzWill merged pull request #55650 → plasma-5: 5.14.5 -> 5.15.2 → https://git.io/fhQ9p
<{^_^}> [nixpkgs] @dtzWill pushed 6 commits to staging: https://git.io/fhN6b
rpg has quit [Ping timeout: 258 seconds]
ddellacosta has quit [Ping timeout: 268 seconds]
_kwstas has quit [Quit: _kwstas]
_kwstas has joined #nixos
dgarzon has joined #nixos
fendor has quit [Ping timeout: 250 seconds]
ekleog_ is now known as ekleog
dejanr has quit [Quit: WeeChat 2.3]
<dgarzon> Hi, I am trying to use `pipenv` within a `nix-shell`, and running `pipenv lock --pre` results in `/nix/store/ym0r4mdxf3imislzqvxx4i7snqcfxm57-python3-3.7.2/bin/python3.7: No module named virtualenv`. Has anyone ran into this issue before? I cannot find anything in the documentation or issues :(
work_ has quit [Quit: Connection closed for inactivity]
domogled has joined #nixos
_kwstas has quit [Quit: _kwstas]
_kwstas has joined #nixos
<__monty__> dgarzon: Only thing I know is python moved from virtualenv to venv around py3k.
<samrose> why would it be that building a cargo build --release on ubuntu would result in ldd output bearing no reference to rust executable, but the same ldd output on nixos results in the rust executable not being able to run?
rpg has joined #nixos
alex`` has joined #nixos
<samrose> `result/bin/holochain -bash: result/bin/holochain: No such file or directory`
<hyper_ch> I'm just stuck at this: https://paste.simplylinux.ch/view/raw/37d0ddf5
<__monty__> Hmm, having a haskell issue. I already jailbreaked haddock-library but apparently it's not enough? http://ix.io/1Cbm
timor has quit [Ping timeout: 255 seconds]
_kwstas has quit [Quit: _kwstas]
<clever> samueldr: what is the interpreter now, under `file result/bin/holochain`?
<samueldr> samrose: ^
_kwstas has joined #nixos
waleee has quit [Quit: WeeChat 2.4]
tmaekawa has joined #nixos
tmaekawa has quit [Client Quit]
nefix has joined #nixos
<nefix> Hello! I'm starting to migrate my home servers to NixOS + NixOps. I have one question: can a machine have two "profiles" activated simultanioulsy?
<clever> nefix: only one system profile can be active at once
<tilpner> That depends on what you mean by profile
<nefix> I'm thinking of separating into two different expressions: one for my personal projects and one for "work" projects
<tilpner> The modules at <nixpkgs/nixos/modules/profiles>? Sure
<nefix> clever: I see. So I should put everything inside the same network
<{^_^}> [nixpkgs] @matthewbauer closed pull request #43300 → [wip] haskell: add core libraries logic to remove need for global package db → https://git.io/fNTR7
o1lo01ol1o has quit [Remote host closed the connection]
<clever> nefix: you can use the imports list to merge several nixos files together into a single machine
dgarzon has quit [Quit: dgarzon]
<nefix> Also, can I specify somehow the IP addresses for real machines? I mean, configure them through NixOps
<clever> nefix: if using the none backend, then you must do that, https://github.com/cleverca22/nixos-configs/blob/master/deployments/house.nix#L12
_kwstas has quit [Quit: _kwstas]
<nefix> clever: what I mean is setting the IPs using NixOps
<clever> nefix: ?
<nefix> Like specifying what ip the machine is going to have
<nefix> To avoid having to customize the basic NixOS installation
<clever> nefix: normal nixos options can be used for that
<nefix> I see
<nefix> Because from what I've understood, NixOps is going to "wipe" everything and apply the configuration specified, right?
<clever> yeah, it will fully take over the machine, and just ignore configuration.nix
<clever> but you could still `nixos-rebuild --rollback` and undo those changes, if you wanted
<nefix> I see. Thanks!
<clever> and if you nixos-rebuild again, it will also undo anything nixops was doing, and restore whatever configuration.nix said to do
<clever> this will "break" nixos-rebuild, so you dont do that by accident
<pingveno> I'm getting a bunch of these errors: Cannot mix incompatible Qt library (version 0x50b01) with this library (version 0x50b03)
<clever> pingveno: you have different QT versions mixed within nix-env and systemPackages
<clever> pingveno: you need to remove all QT programs from nix-env -q, and then add the ones you want to keep to systemPackages
<samrose> clever: thanks for response interpreter is https://gist.github.com/samrose/37c636b084754a4f47cd564750a7bbae
<clever> samrose: `/lib64/ld-linux-x86-64.so.2`, you forgot to --set-interpreter the binary
<samrose> clever: interesting thing is that file output here is identical to ubuntu where this does work
<pingveno> Odd, VirtualBox is installed on the system level.
<clever> samrose: nixos doesnt have a /lib or /lib64, so /lib64/ld-linux-x86-64.so.2 doesnt exist
<pingveno> $ which VirtualBox
<pingveno> /run/wrappers/bin/VirtualBox
<clever> pingveno: but if you have any other QT based programs in nix-env, they can break virtualbox
<clever> pingveno: those must be removed (or upgraded) to fix the problem
<clever> pingveno: and moving them to systemPackages ensures they are always updated with vbox
<samrose> clever: oh wait maybe I can jsut `${stdenv.glibc}/lib/ld-linux-x86-64.so.2`
<samrose> in my --set-interpreter
<clever> [nix-shell:~]# cat $NIX_CC/nix-support/dynamic-linker
<clever> /nix/store/g2yk54hifqlsjiha3szr4q3ccmdzyrdv-glibc-2.27/lib/ld-linux-x86-64.so.2
<clever> samrose: thats what this file is for
<clever> --set-interpreter $(cat $NIX_CC/nix-support/dynamic-linker)
<samrose> clever right on thank you I owe you like a 24 pack of beer now
o1lo01ol1o has joined #nixos
wfranzini has joined #nixos
slack1256 has joined #nixos
<slack1256> Where should I document some configuration gotchas a package requires to function on nixos? as comments on the default.nix?
knupfer has joined #nixos
<clever> slack1256: thats usually done with a nixos module that handles it for you, like programs.light.enable
<slack1256> Mmm got it.
vmandela has left #nixos ["Leaving"]
o1lo01ol1o has quit [Remote host closed the connection]
dgarzon has joined #nixos
o1lo01ol1o has joined #nixos
<hyper_ch> Mic92: are you there?
<dgarzon> I think the better way to ask my question is the following: is there a way to have a nix-shell with PYTHONPATH set to all python packages I include? Pipenv does not depend on `virtualenv`, but if it is available in the PYTHONPATH, it should pick it up!
agander has joined #nixos
<mdash> dgarzon: hmm. what are you using pipenv/virtualenv to do?
nckx has quit [Quit: Updating my GNU Guix server — https://guix.info]
<{^_^}> [nixpkgs] @dtzWill opened pull request #56471 → scfbuild: bump to latest git (Jun 2017) → https://git.io/fhNPv
nckx has joined #nixos
ym555 has quit [Ping timeout: 255 seconds]
<{^_^}> [nixpkgs] @dtzWill opened pull request #56472 → libpqxx: 6.3.1 -> 6.3.2 → https://git.io/fhNPf
<{^_^}> [nixpkgs] @dtzWill opened pull request #56473 → numpy: 1.16.1 -> 1.16.2 → https://git.io/fhNPJ
<{^_^}> [nixpkgs] @dtzWill opened pull request #56474 → buildah: 1.4 -> 1.7.1 → https://git.io/fhNPk
asymmetric has quit [Ping timeout: 268 seconds]
<{^_^}> [nixpkgs] @dtzWill opened pull request #56475 → minio: 2019-01-31 -> 2019-02-26 → https://git.io/fhNPI
o1lo01ol1o has quit [Remote host closed the connection]
o1lo01ol1o has joined #nixos
<hyper_ch> so, finally managed to make zfs compile with trim patch
<{^_^}> [nixpkgs] @dtzWill opened pull request #56476 → emojione: 1.3 -> 1.4 → https://git.io/fhNPt
<dgarzon> mdash it is legacy code that has those dependencies, and now that we have moved to nix their build fails
<{^_^}> [nixpkgs] @dtzWill opened pull request #56477 → gcalcli: 4.0.3 -> 4.0.4 → https://git.io/fhNPm
<dgarzon> i am not a python developer so i don’t know the details, but a developer came to me telling me about this issue, and now I need to fix it for him :(
<dgarzon> Given `echo $PYTHONPATH` is empty through `nix-shell`, I wanted to populate it with `virtualenv` to see if that removes the error we are getting
<{^_^}> [nixpkgs] @dtzWill opened pull request #56478 → gitAndTools.hub: 2.9.0 -> 2.10.0 → https://git.io/fhNPY
Ariakenom has quit [Quit: Leaving]
<makefu> it is time again to grab 10 stickers ( for example the design by gchristensen http://gsc.io/scratch/nix-snowflake-nixos.svg ) -> https://www.stickermule.com/p/93e60c0a?ref_id=2277921701
<{^_^}> [nixpkgs] @dtzWill opened pull request #56479 → boost: update default 1.67 -> 1.69 → https://git.io/fhNPs
reinhardt has quit [Quit: Leaving]
<bgamari> do we have any way to remove VERNEED information from object files?
<bgamari> it doesn't seem like patchelf supports this
<bgamari> but surely I can't be the first one with this need
<{^_^}> [nixpkgs] @peti pushed commit from @artempyanykh to haskell-updates « ghc-8.4.4: use sphinx 1.7.x to build the documentation »: https://git.io/fhNPn
shibboleth has quit [Quit: shibboleth]
<{^_^}> [nixpkgs] @peti pushed commit from @artempyanykh to master « ghc-8.4.4: use sphinx 1.7.x to build the documentation »: https://git.io/fhNPc
scientist has joined #nixos
<dgarzon> This seems like a regression based on https://github.com/NixOS/nixpkgs/issues/39558
<{^_^}> #39558 (by das-g, 43 weeks ago, closed): in nix-shell, 'pipenv install' etc. fail with "ModuleNotFoundError: No module named 'pip._internal'"
<scientist> hey guys I can't figure out how to create my own custom keyboard on nixos, in ubuntu it is much easier
<scientist> i'm stuck
<{^_^}> [nixpkgs] @peti closed pull request #55703 → haskell.packages.ghc822/844: Fix configuration and build of GHC822/844 → https://git.io/fh7J5
ng0 has quit [Remote host closed the connection]
nefix has quit [Ping timeout: 256 seconds]
scientist has quit [Quit: WeeChat 2.2]
ng0 has joined #nixos
<{^_^}> [nixpkgs] @dotlambda merged pull request #56459 → python.pkgs.poetry: install shell completions → https://git.io/fhNgq
<{^_^}> [nixpkgs] @dotlambda pushed to master « python.pkgs.poetry: install shell completions (#56459) »: https://git.io/fhNPg
matix has joined #nixos
<{^_^}> [nixpkgs] @andir opened pull request #56480 → Riak cve 2017 3163 → https://git.io/fhNP2
wfranzini has quit [Remote host closed the connection]
wfranzini has joined #nixos
aanderse_ has joined #nixos
aanderse has quit [Ping timeout: 255 seconds]
aanderse_ is now known as aanderse
alex`` has quit [Read error: Connection reset by peer]
Thra11 has joined #nixos
<hyper_ch> ok, trim seems to work
<hyper_ch> wwn-0x5002538d41b604b0-part2 ONLINE 0 0 0 (12% trimmed, started at Wed 27 Feb 2019 09:23:38 PM CET)
<hyper_ch> wwn-0x500253887017d116-part2 ONLINE 0 0 0 (10% trimmed, started at Wed 27 Feb 2019 09:23:38 PM CET)
<clever> hyper_ch: got a link to the nixos module to apply all the patches?
alex`` has joined #nixos
<{^_^}> [nixpkgs] @andir opened pull request #56483 → [19.03] Mark Riak and Riak-cs as insecure → https://git.io/fhNPD
abaisteabaiste has joined #nixos
alex`` has quit [Read error: Connection reset by peer]
dgarzon has quit [Quit: dgarzon]
<edef> hyper_ch: :o
<{^_^}> [nixpkgs] @dtzWill opened pull request #56484 → ddrescue: 1.23 -> 1.24 → https://git.io/fhNP7
lopsided98_ is now known as lopsided98
alex`` has joined #nixos
agander_ has joined #nixos
alex`` has quit [Read error: Connection reset by peer]
leotaku has quit [Ping timeout: 245 seconds]
agander has quit [Ping timeout: 246 seconds]
ym555 has joined #nixos
<pie__> what was the way to get access to the binaries of multiple derivations again_
<pie__> ?
<gchristensen> buildEnv?
<pie__> thanks
<pie__> i tried searching for mkenv ;~;
<pie__> i mean idk if thats it but i had that recommended before
gagbo has joined #nixos
wedens has quit [Quit: Connection closed for inactivity]
<emily> how do people partition their ZFS NixOS installs? does /nix as a separate ZFS filesystem make sense to avoid snapshotting/etc.?
<gchristensen> I do
<gchristensen> I have /home /nix and / as different datasets
alex`` has joined #nixos
<{^_^}> [nixpkgs] @dtzWill merged pull request #56463 → papis: 0.7.5 -> 0.8.1 → https://git.io/fhNg9
<{^_^}> [nixpkgs] @dtzWill pushed 2 commits to master: https://git.io/fhNXe
<tilpner> I snapshot /nix too, as long as there's enough space
<gchristensen> I don't bother with /nix, personally
<tilpner> Just in case I decide to --ignore-liveness again, for some reason
<gchristensen> O.o
<slabity> brtfs here, but yea, I have /nix on a separate volume
<tilpner> (I did that once, not knowing what it did, after nix-store told me to)
* emily really wishes NixOS setup didn't involve manually setting up partitions and filesystems :(
<tilpner> It doesn't have to
<gchristensen> I really like that part :?
<emily> it'd be so much easier to encode all this stuff in Nix upfront and have it set it up for me
<tilpner> You *can* generate a partitioned disk image and write that to your installation device
<gchristensen> that part is terrifying to me
<tilpner> But that's complicated with disk encryption
<slabity> I have been wondering, why not use a tmpfs for the root directory? Most things in / are just symlinked to the actual /nix/store/ contents
<slabity> Generating the symlinks at boot seems like low overhead
<gchristensen> slabity: I do erase / on each boot, except for a few dirs
<tilpner> slabity: It will eat more memory that could be used for other things
matijja has joined #nixos
<matix> I thought the /etc is re-symlinked on boot anyway?
<gchristensen> it is, except for files in /etc which are not managed by Nix
<matix> Yeah, so you can already just erase most of / on each boot if want to
<srhb> Speaking of which, do we have a new bug with the etc-activation, or is the "contains user files" warning new.
<matix> Is there an option that does something along those lines?
<pie__> a better TAILS than TAILS'
<matix> something along the lines of boot.cleanTmpDir?
<matix> srhb: it's new and it's caused by #54980
<{^_^}> https://github.com/NixOS/nixpkgs/pull/54980 (by danbst, 3 weeks ago, merged): nixos: make symlinks in `/etc` relative (except `/etc/static`)
<srhb> matix: Thanks :)
<gchristensen> matix: it is not a nice user experience, and should not be done lightly -- so...probably not nice to have it be an option.
Glider_IRC_ has joined #nixos
leotaku has joined #nixos
<pie__> gchristensen, does buildEnv not work with nix-shell?
<matix> gchristensen: boot.cleanEverythingExceptBootHomeNixRootVarIDestroyAllDataYouHaveBeenWarned = "I have been warned";
<gchristensen> no
Ralith_ has quit [Remote host closed the connection]
scientist has joined #nixos
rpg has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<pie__> lol user experience
troydm has quit [Quit: What is Hope? That all of your wishes and all of your dreams come true? To turn back time because things were not supposed to happen like that (C) Rau Le Creuset]
<pie__> ugh, sorry that was really snarky ;~;
<gchristensen> thanks, pie__
Ralith_ has joined #nixos
<pie__> :( im sorry, its not that bad actuallz
<gchristensen> matix: though, I delete /root and /var too
Glider_IRC__ has quit [Ping timeout: 258 seconds]
<scientist> hey guys I was just wondering how to change my keyboard layout in nixos, for example: dvorak, in ubuntu I would just change it in the system settings gui
<hyper_ch> clever: for zfs unstable with trim?
<monotux> I'd like to add a line to my ssmtp config file (setting the authmethod), is there any nice way to do that in my configuration?
<pie__> scientist, tty or desktop env_
domogled has quit [Quit: domogled]
<hyper_ch> clever: I used this https://paste.simplylinux.ch/view/raw/c8b41aad
ThatDocsLady has quit [Ping timeout: 250 seconds]
<matix> waaaaaaaiiiiittt
<scientist> pie__: how ? I have never used those?
<hyper_ch> added zfs git head, added brian's trim patch and updated mic92's zfs patch
<mdash> scientist: services.xserver.layout
<pie__> the emacs from this doesnt end up in path for some reason https://bpaste.net/show/1d8d1693e95e
<matix> gchristensen: doesn't /var/ contain declarative user uid/gid mapping?
<gchristensen> matix: it does
leotaku has quit [Ping timeout: 244 seconds]
domogled has joined #nixos
<matix> gchristensen: then I guess you preserve those files or don't use declarative users
<scientist> mdash: where is that file located?
<pie__> scientist, thats something you set in configuration.nix
<clever> -rw-r--r-- 1 root root 507 Feb 21 01:34 /var/lib/nixos/gid-map
<clever> -rw-r--r-- 1 root root 897 Feb 21 01:34 /var/lib/nixos/uid-map
dgarzon has joined #nixos
<scientist> ok, thanks for the help, I'll give it another try
<pie__> gchristensen, fwiw i might have just never done any nontrivial linux sysadmin ever if not for nix
<pie__> scientist, i mean, how did you install nixos? ;)
rpg has joined #nixos
<gchristensen> matix: the only user which has data persist is root and me, so the declartive ones can regenerate each time ... and get their data erased :P
<{^_^}> [nixpkgs] @dotlambda pushed to master « papis: bash completions are now installed automatically »: https://git.io/fhNXm
<scientist> pie__: took me forever but finally got it installed, I'm just so used to ubuntu, changing the keyboard layout in ubuntu is much easier
<pie__> scientist, you could probably still do that through the usual interface
<pie__> if you use gnome or kde or whichever
<pie__> setxkbmap is also a temporary option
<gchristensen> matix: the setup I have with the erasing root feels pretty exciting for reasons, like if the bootloader dropped me in to a linux with basic network and rebuilt the config during the boot process from my github account -- then letting another user log in would get their own config applied automatically in the same way ...
<gchristensen> sort of a google chromebookification of nixos
<mdash> scientist: pretty much everything in nixos is done (or can be) via configuration.nix
<scientist> pie__: I think I am usiing plasma5
<mdash> gchristensen: and now that nixos is an option on netboot.xyz it's even more cool of an idea
<clever> gchristensen: i had another crazy idea recently, what if the initrd used `nix copy` to copy the closure of the active generation, to a tmpfs, and then ejected the boot media
<pie__> or the windows thing :P<gchristensen> sort of a google chromebookification of nixos
<gchristensen> clever: that'd be cool indeed!
* gchristensen is currently backing up his laptop to install erase nixos, install windows
<clever> gchristensen: ive manually done similar before with gentoo, my entire rootfs was a squashfs, that i would copy to ram on bootup
<scientist> mdash: https://askubuntu.com/questions/212336/default-keys-1-2-3-4-5-6-7-8-9-0-to-input , these are the instructions that I am going to use to change my keyboard layout, just not sure what to put into my configuration.nix file
<clever> gchristensen: and then i would optionally re-compress it and write-to-disk, at shutdown
<gchristensen> interesting
kvda has joined #nixos
<clever> gchristensen: but nixos makes it trivial to exclude the "os" from that whole process, and the user-data is much easier to deal with
<hyper_ch> "install erase nixos"? oO
<gchristensen> s/install erase/erase/
<slabity> Wait, you're leaving nixos for windows?
leotaku has joined #nixos
<gchristensen> only for about an hour. I need to install a firmware update.
<mdash> scientist: ah, you want to write a new custom layout, not switch to an existing one?
troydm has joined #nixos
agander_ is now known as agander
<mdash> scientist: I had this wish yesterday but I just lay down on the floor until it went away.
mmlb has quit [Ping timeout: 245 seconds]
<elvishjerricco> clever: Your boot ejection idea would require a fair bit of ram, no?
<matix> gchristensen: that's quite interesting setup indeed
<hyper_ch> clever: got the config?
<clever> elvishjerricco: yeah, the entire os, and all user-data, lived in ra,
<matix> i was thinking of cleaning up most of /var on boot but those declarative profiles got me thinking
vk3wtf has quit [Ping timeout: 258 seconds]
<matix> didn't realize that if all the data is gone anyway then it doesn't matter if uid changes
<scientist> mdash: well just like the ubuntu instructions state, I make a copy of the existing file, manually switch the keys, then switch to that file, I can easily do it in ubuntu, but I have no idea how to do it in nixos
<clever> hyper_ch: that boot stuff is from my pre-nixos days, so it wont be of much use
<scientist> ?
<hyper_ch> clever: boot stuff? I mean zfs unstable trim patch
<pie__> (people should rebuild qubes and TAILS with nix ;P)
<clever> hyper_ch: oh, yeah, i got the link
ij has joined #nixos
<hyper_ch> and by config I meant nix expression :)
<clever> hyper_ch: thought you where asking for different config, about what i mentioned above
<mdash> (I wanted to map Caps Lock to Hyper_L and Mod3 but didn't yet figure out how to get custom xkb rules into my nixos config)
<hyper_ch> clever: well, my notebook hasn't crashed yet with manual trimmed issued and autotrim set a zpool option
<clever> hyper_ch: trim can have weird edgecase bugs, bug luckily zfs has scrub, so you can audit all data to verify its still there
<scientist> mdash: i'm burnt out right now, i'll try again later
<mdash> scientist: yeah me too
<hyper_ch> luckilly zfs has snapshots and zfs send/recv :)
<hyper_ch> and with the trim I see now the difference between pro and evo samsung SSDs
<clever> hyper_ch: snapshots alone dont help you when trim just deletes the data a snapshot refers to
<mdash> more generally, can someone recommend how you create a derivation that just takes another derivation's output and adds/modifies files in it?
<edef> hyper_ch: oh?
<ottidmes> scientist: maybe this helps: https://gist.github.com/msteen/a1713b78a9126f8ab54fc6671e62d265 its what I use
<mdash> thinking about this for changing xkb rules
<hyper_ch> clever: well, it helps with having auto backups on different devices
<clever> hyper_ch: yeah, zfs send will save you
<{^_^}> [nixpkgs] @lsix opened pull request #56486 → qgis: 2.18.28 -> 3.4.5 → https://git.io/fhNXu
<mdash> ottidmes: aha, just putting in /etc
<edef> hyper_ch: i switched to an evo upgrading to 2TB
<hyper_ch> edef: both 1TB SSDs... the evo just took longer to trim
<mdash> ottidmes: that's probably the smart thing to do
<mdash> (but omg impure)
dgarzon has quit [Quit: dgarzon]
_kwstas has joined #nixos
<edef> i just have xkbcomp run on login
<edef> well, i will, right now i just run it by hand..
<ottidmes> mdash: wut? is the sessionCommands line, the etc line is just for me
ij has quit [Ping timeout: 250 seconds]
<scientist> mdash: thanks, I'll take a look
<hyper_ch> so, off to bed now
wfranzini has quit [Remote host closed the connection]
<ottidmes> mdash: also not sure how you come to the conclusion its "omg impure"
wfranzini has joined #nixos
eadwu has joined #nixos
eadwu has quit [Client Quit]
ym555 has quit [Ping timeout: 268 seconds]
dgarzon has joined #nixos
eadwu has joined #nixos
<{^_^}> [nixpkgs] @benley merged pull request #56437 → factorio: experimental 0.16.51 -> 0.17.1 → https://git.io/fhNnF
<{^_^}> [nixpkgs] @benley pushed commit from @nyanloutre to master « factorio: experimental 0.16.51 -> 0.17.1 (#56437) »: https://git.io/fhNXK
<{^_^}> [nixpkgs] @lsix opened pull request #56487 → ddrescue: 1.23 -> 1.24 → https://git.io/fhNX6
<ottidmes> mdash: with regards to your "takes another derivation's output and adds/modifies files in it" question, maybe just use buildEnv and have your modifying derivation have higher prio?
jackdk has joined #nixos
ym555 has joined #nixos
dgarzon has quit [Quit: dgarzon]
alex`` has quit [Read error: Connection reset by peer]
kvda has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
drakonis_ has joined #nixos
ym555 has quit [Quit: leaving...]
matijja has quit [Ping timeout: 250 seconds]
alex`` has joined #nixos
drakonis has quit [Ping timeout: 259 seconds]
<scientist> hey guys how do I scroll up in weechat
<edef> pgup?
<scientist> edef: thanks, just installed weechat yesterday, still getting used to it
alex`` has quit [Read error: Connection reset by peer]
<edef> ^_^
<{^_^}> [nixpkgs] @artemist opened pull request #56488 → factorio: experimental 0.17.1 → 0.17.2 → https://git.io/fhNXN
<{^_^}> [nixpkgs] @Ma27 opened pull request #56489 → nixos/nextcloud: add overwriteProtocol option → https://git.io/fhNXp
<matix> scientist: haha, same here, started using weechat just a few days ago
alex`` has joined #nixos
<monotux> why doesn't this take effect? environment.etc."ssmtp/ssmtp.conf".text = pkgs.lib.mkDefault(pkgs.lib.mkAfter "AuthMethod=PLAIN");
rprije has joined #nixos
<monotux> I want to append that line to my ssmtp.conf, a line which I can't declarative define
scientist has quit [Quit: WeeChat 2.2]
<clever> monotux: the other source is not using default, so it has a higher priority, and overwrites your "default" value
<monotux> aah
<clever> monotux: the simplest (and uglyest) fix is config.networking.defaultMailServer.hostName = ''yourhostname
<clever> AuthMethod=PLAIN
<clever> '';
fendor has joined #nixos
<clever> the module doesnt properly escape the hostname, so you can abuse it to inject more then 1 line!
<monotux> oh that's ugly
<monotux> but for debug at this stage it should be enough
<clever> i would add an extraConfig option to the module
<clever> and then just ${cfg.extraConfig} at the end of the '' for .text
<pie__> am i using this wrong or is it broken:
<pie__> pkgs.writeTextDir "share/standard-library.agda-lib" ''stuff''
<pie__> error: invalid character '/' in name 'share/standard-library.agda-lib'
<monotux> clever, I'll try to read up on it, and THANKS!
<clever> pie__: derivation names cant contain a /
<pie__> clever, it even has a / in its example comment..
<monotux> clever++
<{^_^}> clever's karma got increased to 105
<clever> pie__: i'm guessing somebody never tested that
<pie__> :I
<clever> pie__: you want writeTextFile { name = "something"; text = ''....'; destination = "/foo/bar.txt"; }
<clever> pie__: which will make /nix/store/hash-something/foo/bar.txt
<pie__> clever, ok its a known issue https://github.com/NixOS/nixpkgs/issues/50347
<{^_^}> #50347 (by flokli, 15 weeks ago, open): pkgs.writeTextDir doesn't allow slashes
Makaveli7 has quit [Quit: Leaving]
agander has quit [Quit: Leaving]
neonfuz__ has joined #nixos
drakonis has joined #nixos
slack1256 has quit [Remote host closed the connection]
<neonfuz__> Hey, does anyone know how to show which files are modified not by nixos in the root
<neonfuz__> like, I do nixos-rebuild and I get <dir> contains user files. Symlinking may fail.
<neonfuz__> and I want to know which files these are before deleting / overriding them, and how to override them
vk3wtf has joined #nixos
<monotux> clever, adding that extraConfig option to the module, any helpful pointers on where to start reading to understand?
<clever> neonfuz__: thats a bug in setup-etc.pl
<monotux> (so I tried any failed)
<neonfuz__> ah
<neonfuz__> so... I should just ignore it?
drakonis_ has quit [Ping timeout: 255 seconds]
<clever> neonfuz__: yeah
<monotux> clever thanks again!
<neonfuz__> alright cool
<matix> you can always just revert #54980 if you use your local clone of nixpkgs
<{^_^}> https://github.com/NixOS/nixpkgs/pull/54980 (by danbst, 3 weeks ago, merged): nixos: make symlinks in `/etc` relative (except `/etc/static`)
<Mic92> hyper_ch: you mean you updated the patch for a newer zfs unstable?
<Ashy> is anyone here running sway and mako on nixos? i'm getting this error when trying to run mako: https://github.com/emersion/mako/issues/88
<{^_^}> emersion/mako#88 (by eternal-sorrow, 17 weeks ago, closed): Failed to connect to system bus: No such file or directory
<Ashy> that person was on gentoo and fixed it by rebuilding dbus with USE=user-session
<monotux> clever, sorry but there's no extraConfig in the ssmtp module, so how do I create something similar? that's the part I'm not understanding :/
fendor_ has joined #nixos
akaWolf1 has quit [Ping timeout: 245 seconds]
_kwstas has quit [Quit: _kwstas]
<monotux> ...where? in my configuration.nix and just import mkoption?
<clever> monotux: it would have to be added to the nixos module for ssmtp
troydm1 has joined #nixos
dwdr has quit [Remote host closed the connection]
fendor has quit [Ping timeout: 244 seconds]
troydm has quit [Ping timeout: 244 seconds]
<monotux> that much I get, but how do I actually do that? would that require a overlay or something similar?
<monotux> I'm probably missing something obvious here :)
<clever> monotux: thats more about how you would fix nixpkgs properly, but you can use the ugly hostname trick while waiting for nixos-unstable to update
<monotux> aaaaah
<monotux> I thought I could add the extra option to that module inline from my configuration.nix file, if that makes sense
<matix> monotux: you sort of can, if you use overlays
<matix> oh wait nvm
<matix> it's module not a package
orivej has quit [Ping timeout: 244 seconds]
wfranzini has quit [Remote host closed the connection]
stepcut has quit [Remote host closed the connection]
<monotux> I also just read the manual and discovered that ssmtp only supports LOGIN and CRAM-MD5, and not PLAIN that I need
<emily> the thing where the initrd ssh host key is exposed in the nix store kinda sucks ._.
leotaku has quit [Ping timeout: 244 seconds]
<{^_^}> [nixpkgs] @lsix opened pull request #56491 → Django updates → https://git.io/fhN11
<monotux> matix, do you have anything to recommend reading for overlays? the amount of info to understand nixos is great but I'm curious and would like to understand that part as well :)
ddellacosta has joined #nixos
<makefu> monotux: the wiki is quite nice with a lot of practical information about overlays as well as an explanation of self: super: -> https://nixos.wiki/wiki/Overlays
<monotux> thanks, I'll have a look!
<matix> tbh I find the nix pills very informative
kvda has joined #nixos
<matix> even though it doesn't touch on overlays per se but it still covers most of what you need to know
wfranzini has joined #nixos
<makefu> the pills are absolutely fantastic, yeah.
<monotux> I've found that they are a bit hard to get into, but it might just be that there's so much other info at this stage
<matix> monotux: if you prefer starting with examples and pitfalls then you may want to read https://blog.flyingcircus.io/2017/11/07/nixos-the-dos-and-donts-of-nixpkgs-overlays/
fendor_ has quit [Ping timeout: 246 seconds]
<makefu> the link is also added as an external reference in the wiki :)
<monotux> yes, I think I've browsed that article before, it's a summary of other things right?
<makefu> pretty much, yeah. it is a digest of 3 presentations and the manual
<makefu> (i really like the graph which explains self and super)
<matix> makefu: ooooh that graph is so good
<matix> although I didn't really need it but I can see how it can be useful to some people who prefer more visual approach to fixpoints
arjen-jonathan has quit [Ping timeout: 252 seconds]
<{^_^}> [nixpkgs] @benley merged pull request #56488 → factorio: experimental 0.17.1 → 0.17.2 → https://git.io/fhNXN
<{^_^}> [nixpkgs] @benley pushed commit from @artemist to master « factorio: experimental 0.17.1 → 0.17.2 (#56488) »: https://git.io/fhN1N
<monotux> I don't understand the concept fixpoints yet haha
sigmundv__ has joined #nixos
domogled has quit [Ping timeout: 250 seconds]
Thra11 has quit [Ping timeout: 245 seconds]
<makefu> /insert some joke about explaining monads here/
<monotux> :P
knupfer has quit [Ping timeout: 250 seconds]
<monotux> I should go to bed now anyhow, thanks for the help and pointers!
<matix> <delayed> :: IO joke
<monotux> almost made a joke about a nullpointer but realized that this is the wrong crowd
<clever> monotux: nix does a lot of fun things, like giving a function its own return value
<gchristensen> I'm not a FP dev, monotux, not everyone is :)
<{^_^}> [nix] @layus opened pull request #2705 → [POC] Make memory roots actually meaningful → https://git.io/fhNMk
stepcut has joined #nixos
sigmundv__ has quit [Ping timeout: 250 seconds]
<{^_^}> [nixpkgs] @dtzWill opened pull request #56494 → Revert "Merge #56170: Revert "file: 5.35 -> 5.36" (staging)" → https://git.io/fhNMq
schjetne has quit [Ping timeout: 250 seconds]
ym555 has joined #nixos
<{^_^}> [nixpkgs] @dtzWill merged pull request #56478 → gitAndTools.hub: 2.9.0 -> 2.10.0 → https://git.io/fhNPY
<{^_^}> [nixpkgs] @dtzWill pushed 3 commits to master: https://git.io/fhNMY
matix has quit [Quit: :q!]
<{^_^}> [nixpkgs] @dtzWill merged pull request #56477 → gcalcli: 4.0.3 -> 4.0.4 → https://git.io/fhNPm
<{^_^}> [nixpkgs] @dtzWill pushed 2 commits to master: https://git.io/fhNM3
matix has joined #nixos
vk3wtf has quit [Ping timeout: 258 seconds]
<{^_^}> [nixpkgs] @zimbatm opened pull request #56495 → pipenv: fix python loading issue → https://git.io/fhNMC
NickSeagull has quit [Quit: WeeChat 2.2]
__monty__ has quit [Quit: leaving]
jasongrossman has joined #nixos
<{^_^}> [nixpkgs] @xeji closed pull request #56487 → ddrescue: 1.23 -> 1.24 → https://git.io/fhNX6
<{^_^}> [nixpkgs] @xeji merged pull request #56484 → ddrescue: 1.23 -> 1.24 → https://git.io/fhNP7
<{^_^}> [nixpkgs] @xeji pushed commit from @dtzWill to master « ddrescue: 1.23 -> 1.24 (#56484) »: https://git.io/fhNME
fendor has joined #nixos
stepcut has quit [Remote host closed the connection]
ericsagnes has quit [Quit: WeeChat 2.2]
<{^_^}> [nixpkgs] @xeji merged pull request #56442 → lxqt: 0.14.0 -> 0.14.1 → https://git.io/fhNCY
<{^_^}> [nixpkgs] @xeji pushed 26 commits to master: https://git.io/fhNMr
stepcut has joined #nixos
ajs124 has quit [Quit: Gateway shutdown]
<{^_^}> Channel nixos-18.09-small advanced to https://github.com/NixOS/nixpkgs/commit/1374ba6080b (from 5 hours ago, history: https://channels.nix.gsc.io/nixos-18.09-small)
ericsagnes has joined #nixos
<Ashy> where's the "nix pearls" page gone?
<Ashy> my google-fu is failing me right now apparently
<ottidmes> Ashy: do you mean the Nix pills? https://nixos.org/nixos/nix-pills/
<Ashy> haha yes, thanks
ij has joined #nixos
ij has quit [Ping timeout: 244 seconds]
lunabo has quit [Quit: lunabo]
schjetne has joined #nixos
fendor_ has joined #nixos
eadwu has quit [Quit: WeeChat 2.4]
<{^_^}> [nixpkgs] @bachp opened pull request #56496 → Nextcloud nginx recommended → https://git.io/fhNDf
fendor_ has quit [Ping timeout: 240 seconds]
tdbgamer has joined #nixos
fendor has quit [Quit: Leaving]
vk3wtf has joined #nixos
Mateon3 has joined #nixos
Mateon1 has quit [Ping timeout: 245 seconds]
Mateon3 is now known as Mateon1
matix has quit [Quit: :q!]
kvda has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
simukis has quit [Quit: simukis]
yl has quit [Ping timeout: 244 seconds]