gchristensen changed the topic of #nixos to: The Nix Ecosystem, https://nixos.org | NixOS: https://nixos.org/nixos/download.html | Nix: https://nixos.org/nix/download.html | Logs: https://logs.nix.samueldr.com/nixos/ | #nixos-dev, #nix-darwin, #nixos-aarch64, #nixos-chat
<rizary_> okay it works, thanks clever
selfsymmetric-mu has joined #nixos
<pittma> I'm trying to get xmonad going, but it appears that my .xsessionrc file isn't being executed.
<pittma> is .xsessionrc not a thing for NixOS?
<clever> pittma: one minute
<clever> pittma: nixos will first run the code in services.xserver.displayManager.sessionCommands (which lets you do that stuff from configuration.nix)
<clever> it will then source ~/.xprofile
<clever> and if it exists, it will execute ~/.xsession (causing the chosen session manager to not activate)
<pittma> ah, nice.
<pittma> Thanks.
<pittma> what form would `sessionCommands` take?
doublex has quit [Ping timeout: 250 seconds]
<clever> services.xserver.displayManager.sessionCommands = ''
<clever> several lines of shell code
<clever> '';
<pittma> oh I see... lines.
<pittma> Right on.
<pittma> Thanks!
<clever> nixos then just blindly inserts those lines into the script, near where i linked
<pittma> Perfect.
doublex has joined #nixos
<clever> pittma: ah yeah, and i have an example here: https://github.com/cleverca22/nixos-configs/blob/master/media-center.nix#L20
<clever> in this case, i start a very simple WM, then just exec something, so the user has no choice over what desktop manager runs
<{^_^}> [nixpkgs] @marsam merged pull request #66643 → antlr4: 4.7.1 -> 4.7.2 → https://git.io/fjdJC
<{^_^}> [nixpkgs] @marsam pushed 4 commits to master: https://git.io/JeCCR
Chiliparrot has quit [Ping timeout: 276 seconds]
Chiliparrot has joined #nixos
ddellacosta has joined #nixos
philr has joined #nixos
<{^_^}> [nixpkgs] @marsam closed pull request #59248 → pythonPackages.sqlparse: 0.2.4 -> 0.3.0 → https://git.io/fjqfI
slack1256 has joined #nixos
<{^_^}> [nixpkgs] @peti pushed to haskell-updates « hackage-packages.nix: automatic Haskell package set update »: https://git.io/JeCCw
ddellacosta has quit [Quit: WeeChat 2.2]
NoctisLabs has quit [Quit: WeeChat 2.6]
NoctisLabs has joined #nixos
kleisli has quit [Ping timeout: 276 seconds]
ris has quit [Ping timeout: 276 seconds]
kleisli has joined #nixos
<red[m]> Just got my NixOS T-Shirt. First T-shirt I've ever bought that actually came in a wash bag.
<red[m]> Quality++
<gchristensen> a wash bag?
<red[m]> Yeah- I'd never heard of such a thing either
<red[m]> apparently it's a thing you put quality t-shirts in before you put them in the wash to increase their longevity
<gchristensen> whoa
<red[m]> which makes sense. I would expect a NixOS T-shirt to be immutable
<red[m]> ;-)
xkapastel has quit [Quit: Connection closed for inactivity]
growpotkin has quit [Ping timeout: 252 seconds]
<clever> red[m]: i think the only time ive seen such a thing, was to keep tiny items like baby socks from clogging up the drain, lol
mexisme has quit [Ping timeout: 276 seconds]
<red[m]> I promise my t-shirt wasn't that small
<red[m]> ;-)
<pittma> clever: that did the trick. Also saw the wallpaper setting in there. My xsession was using feh which didn't work either. Now they both do!
Palpares has quit [Ping timeout: 260 seconds]
Palpares has joined #nixos
<philr> I'm trying to debug a package build problem. "nix-shell -p rocfft" fails, but if I copy the source it builds cleanly from a "nix-shell '<nixpkgs>' -A rocfft --pure". I have no idea how to proceed. (rocfft is from an overlay at https://github.com/nixos-rocm/nixos-rocm)
<mog> red[m], ya the redbubble stuff is nice, which one did you get?
kleisli has quit [Ping timeout: 240 seconds]
<clever> pittma: what happens if you build it with nix-build?
<clever> pittma: how does it fail? what os are you building on?
<red[m]> mog - so that requires me to remember the names of the NixOS releases - one moment
<red[m]> Loris
<mog> nice!
<mog> you probably got the 2nd one then
<red[m]> it arrived today, if that gives you a timeline against your sales
<mog> they fuzz the numbers somewhat so people cant stalk customers i assume
<mog> the sales come in 2 day bursts
mexisme has joined #nixos
<mog> redbubble makes it really easy to do this for nix so im happy with it
<red[m]> Well, I'm happy with it
doublex has quit [Read error: Connection reset by peer]
doublex has joined #nixos
mexisme has quit [Ping timeout: 246 seconds]
<red[m]> so thank you for doing it
<mog> happy to make people happy
freecoder has joined #nixos
lord| has quit [Ping timeout: 240 seconds]
lord| has joined #nixos
alex`` has quit [Ping timeout: 246 seconds]
<contrun[m]> How come I don't have nixos in my nix-channels? I am using nixos-unstable.
* contrun[m] uploaded an image: screenshot-2019-10-06-10-00-25.png (172KB) < https://matrix.org/_matrix/media/r0/download/matrix.org/BxYQQcYIIEKuknivyeQxvoze >
<red[m]> what does nix-channels --list give you?
<contrun[m]> Normal user gives nothing.
<clever> contrun[m]: and also `sudo nix-channel --list`
<clever> you must have deleted the nixos channel
<red[m]> sorry, I don't use sudo on any of my machines so I always assume a root shell
<clever> [root@system76:~]# nix-channel --list
<clever> nearly all of my machines look like that
<red[m]> contrun: it's not a big deal -you just need to choose if you want your machine to build via the stable or unstable branch
<contrun[m]> Probably. I am now unable to add nixos channel back. `sudo nix-channel --add http://nixos.org/channels/nixos-unstable nixos` does not add a symlink in `/nix/var/nix/profiles/per-user/root/channels/nixos`
<clever> contrun[m]: you must nix-channel --update after you --add
<clever> (as the same user you did --add)
doublex has quit [Ping timeout: 265 seconds]
<contrun[m]> clever: It worked. Thanks.
hmpffff_ has joined #nixos
hmpffff has quit [Ping timeout: 276 seconds]
mishac has joined #nixos
<mishac> @clever, Hello, if you are there. I build a package for ARM and now i tried deploying with nix copy and nix deploy, but i get an erro that nix-store not found. Any ideas how to troubleshoot it?
<clever> mishac: you need to fix .bashrc such that `ssh user@host nix-store --version` can find nix-store
<mishac> @clever, does it mean i need to install nix-store first?
<clever> mishac: yeah, thats what the tar stuff was for
<mishac> @clever, can you remind about the tar step?
<clever> 2019-09-17 18:03:03< clever> make-system-tarball.nix, will generate a tarball you can unpack to /, that contains a given set of packages
<clever> 2019-09-17 18:03:51< clever> nix-store --load-db < /nix/store/nix-path-registration
<clever> 2019-09-17 18:04:03< clever> there should be a nix-path-registeration within that tar somewhere
felixfoertsch23 has joined #nixos
felixfoertsch has quit [Ping timeout: 246 seconds]
<notgne2> I'm not quite sure how NixOS channels work, but how can I add one that will essentially follow master on git
<clever> notgne2: does it need to be found by nix-env, nix-build, or nix-shell?
<pittma> clever: nixos. It it just... didn't work? Blank black background. Using desktopManager.wallpaper worked like a charm, though.
<notgne2> nix-env, I'm trying to get nim 1.0.0 which appears to be on the master branch of nixpkgs, but isn't on my unstable channel (https://nixos.org/channels/nixos-unstable)
<clever> pittma: oops, that question was for philr
<pittma> Ack. :)
<clever> philr: way back about an hour ago, lol
<clever> notgne2: if you just want it once, nix-env -f https://github.com/nixos/nixpkgs/archive/master.tar.gz -iA nim
<clever> [clever@amd-nixos:~]$ cat .nix-defexpr/test/foo/default.nix
<clever> import /home/clever/apps/nixpkgs
ebzzry has quit [Ping timeout: 265 seconds]
<clever> notgne2: if you want something more dynamic, nix-env -iA foo.nim will use whatever nixpkgs this file loads
<clever> you can then use whatever you want to fetch "master"
<clever> in my example, a local clone, where i would have to first `git checkout master && git pull`
<notgne2> I tried `nix-env -iA unstable.nim` which got me `nim-0.20.2` (I just updated channels too to be safe)
<notgne2> but I don't see myself needing this too often so the command you just gave me worked fine
<clever> notgne2: that will only load whatever the unstable channel is poining to
<notgne2> been planning to try this language for a while so I'm thinking of using it to write a nicer mock systemd for my Nix-Continix thingy over the weekend
<philr> clever: oh
<red[m]> notgne2: channel != github
<philr> clever: same thing happens with nix-build.
<red[m]> there's a delay between something being in master and going into the channel
<red[m]> can sometimes, it can be many, many, days
<notgne2> red[m]: is that determined by manual merges or some part of the build system
<clever> notgne2: when all of the tests on master pass, nixos-unstable updates
freeman42xx has quit [Ping timeout: 276 seconds]
<clever> ,howoldis notgne2
<clever> and this site shows the tests each channel waits for
<red[m]> That's the link you want
<notgne2> oh nice
<philr> clever: the failure output https://bpaste.net/show/nKgR
<philr> clever: and I'm on nixos
<clever> philr: its trying to dynamically query what kernel modules you have, which is horid-impure!
<clever> philr: you must specify a flag like -amdgpu-target to tell it what gpu you want
<philr> clever: as far as I can _tell_, that flag _is_ active in the CMakeLists. I may be wrong, of course.
<notgne2> also, does anybody know where exactly nixos handles systemd activation stuff, so I can have a slightly better idea of what it would take to mock system in a more "real" nixos system
<clever> philr: can you pastebin or link the nix file?
<clever> philr: and cmake lists
<notgne2> *mock systemd
<philr> clever: I think the "set( AMDGPU_TARGETS gfx803;gfx900;gfx906 ..." thing corresponds to amdgpu-target, but maybe I'm wrong there.
<clever> philr: i think line 170 is saying what the valid targets are
<clever> philr: and the error is complaining that gfx000 is not valid
<clever> philr: it may also just be failing because of lsmod not being in PATH
<clever> ,locate bin/lsmod
<{^_^}> Found in packages: kmod, toybox, busybox
<clever> but you probably shouldnt be adding kmod to the inputs
<philr> clever: I tried adding kmod to nativeBuildInputs and it didn't succeed, though I did get a new and interesting set of messages.
<clever> philr: sounds like it has multiple problems
<{^_^}> [nixpkgs] @cdepillabout opened pull request #70499 → nixos/steam-hardware: add uinput to boot.kernelModules → https://git.io/JeCW0
<philr> clever: plausible. I'm a nix/nixos newb fumbling in the dark here. :)
<clever> philr: what error did it have with kmod?
<philr> clever: "libkmod: kmod_module_get_holders: could not open '/sys/module/dm_mod/holders': No such file or directory" repeated for lots of modules. Then the same error from clang.
<clever> philr: ah, nix-daemon is already correctly blocking you from using lsmod
<clever> you should investigate why its trying to run lsmod, and tell it to stop
<philr> clever: hmm, do you know what is happening when I build successfully in nix-shell that's different?
<philr> with respect to this lsmod invocation, that is
<clever> philr: nix-shell --pure doesnt stop you from peeking into /sys
<philr> clever: it does however remove lsmod from my path
<clever> philr: can be hard to know exactly what its doing (when it shouldnt), without running the whole thing under strace, and going over 1000's of lines of logs
<philr> clever: Sounds like something we'd rather avoid
<clever> philr: nix-build already enforces not touching things you shouldnt touch
<clever> so it turns things into failures you can clearly see
otulp has quit [Ping timeout: 240 seconds]
<mishac> @clever can you elaborate a bit on this step: make-system-tarball.nix, will generate a tarball you can unpack to /, that contains a given set of packages
spacefrogg has quit [Quit: Gone.]
aw has quit [Quit: Quitting.]
ajs124 has quit [Quit: Gateway shutdown]
aw has joined #nixos
<clever> mishac: make a tar, that contains the arm build of nix, then unpack that tar on the arm device, and run `nix-store --load-db < /nix/store/nix-path-registration`
spacefrogg has joined #nixos
<clever> mishac: then use nix-env -i /nix/store/hash-nix, to install nix on the arm device
iyzsong has joined #nixos
<mishac> @clever and the way to make armm buil of nix is through this command : nix build -f '<nixpkgs>' -I . pkgsCross.armv7l-hf-multiplatform.nix
<clever> mishac: you would want to use (import <nixpkgs> {}).pkgsCross.armv7l-hf-multiplatform.nix in the expr that is building the tar
<mishac> @clever, i see. :P
<mishac> clever thanks!
<clever> mishac: also, @clever doesnt light up on this end
<clever> but that did
<philr> clever: ok so it turns out I am at fault for not reading the documentation, apologies for taking your time :) hopefully this solves the problem
<clever> philr: what was the solution?
sellout- has joined #nixos
mishac has quit [Remote host closed the connection]
<philr> clever: I haven't tried it yet but at the bottom of the nixos-rocm readme: "The rocblas and rocfft packages (and those that depend upon them) require a bit of additional configuration. The nix builder sandbox must be expanded to allow for build-time inspection of the current system for these packages to build."
<clever> philr: yuck!
<clever> philr: that kind of thing makes it imposible to reproduce the builds, or use build slaves
<philr> Yes well presumably if you have to build it to target a specific GPU it's going to be a tricky beast
<clever> philr: but if you specify which gpu in the nix config, it can build for that gpu, even on the "wrong" machine
<clever> and it wont use the "wrong" build from another machine, on your current one
<clever> Sep 30 15:34:05 amd-nixos kernel: amdgpu 0000:01:00.0: kfd not supported on this ASIC
<clever> and looks like i'm outa luck too
<philr> clever: Yes I had to move to nixos-unstable to get kfd which was a whole other thing
<clever> philr: already on unstable here
slack1256 has quit [Remote host closed the connection]
freecoder has quit [Quit: Leaving]
jersey[m] has joined #nixos
ornx has quit [Quit: No Ping reply in 180 seconds.]
<evils> clever: about my OUI file, is there a good reason i can't just make the latest and have nix hash it along with my source code?
ornx has joined #nixos
<evils> without shipping the actual file in my source code
mexisme has joined #nixos
<clever> evils: each derivation is hashed seperately
<clever> so thats not really possible
<evils> so the output of my script can't be part of the derivation?
<evils> i do suppose i couldn't remake historic versions if i just make the latest
dycan has joined #nixos
<evils> my current approach is to include the hash of my OUI file in the script that makes it and fail if the output doesn't match
<clever> evils: the script doing the download needs to be in a seperate derivation from the compile
<clever> the src = fetchFromGitHub is also a derivation, that is downloading source
mexisme has quit [Ping timeout: 252 seconds]
<evils> ah, because the build step can't download stuff?
<clever> correct
<evils> is there a way i can call `make oui` with internet access?
<clever> evils: put it into its own derivation, with the 3 attrs i mentioned before
<evils> right
<clever> i basically just dont support other distros :P
<clever> you can always do nix-build on arch or ubuntu :P
<evils> well, when nixos runs on my SoHo router...
<clever> evils: i run full nixos on my router...
<clever> and there is #nixos-on-your-router
<clever> but my router is a dual-socket rack-mount machine, with several gig of ECC ram....
<evils> i've got 16M storage there :P
<clever> 80gig mechanical sata in my router, it runs an entire hydra instance
<evils> admittedly, i've got a 500G hdd in my router xD
<Orbstheorem> Hello, I'm trying to install gst plugings in my system. I tried adding them to environment.systemPackages, but after I do `nixos-rebuild test`, I don't see the plugins in /run/current-system/sw/lib/gstreamer-1.0/. I have verified that the derivations have the lib files
<evils> does nixos currently support mips?
<Orbstheorem> Is there anything that prevents library files from being installed in current-system?
<evils> clever: i was under the impression nix only hashed inputs not outputs
<clever> evils: nix hashes all inputs, but a drv to fetch something, has curl as an input
<clever> evils: and you dont want to re-fetch (and re-build) EVERYTHING, when curl changes
<clever> evils: so a fixed-output drv puts a halt to that, and says "this tar always has this hash", and it wont care what the hash of curl is
<clever> also, network access is impure, so you could do naughty things that make a different build, defying the hash
<clever> so, you must declare the hash of the output, that ensures you always produce the same source
<evils> and if you're doing that anyway, who cares about the input :P
<evils> clever++
<{^_^}> clever's karma got increased to 212
<jersey[m]> hi. i'm trying to use ghc with nixpkg, and if i understand well, i need to use ghcWithPackages to have a shell with given packages available
<jersey[m]> but i get "variable $src or $srcs should point to the source" when running nix-shell -p (...)
<clever> jersey[m]: correct
<clever> jersey[m]: can you paste the full command you used?
<jersey[m]> nix-shell -p "haskellPackages.ghcWithPackages (packages: with packages; [xmonad xmonad-extras xmonad-contrib])"
<jersey[m]> (long story, i was trying to run xmonad, which fails when compiling config, so i figured i may need the special shell/env to run it properly)
<jersey[m]> (because it was failing with failing XMonad import)
iqubic has joined #nixos
dycan has quit [Ping timeout: 240 seconds]
<clever> jersey[m]: that command works perfectly here
<jersey[m]> interesting
<jersey[m]> i've installed nixpkg via curl
<jersey[m]> the simplest sh <(curl https://nixos.org/nix/install)
<clever> jersey[m]: can you paste the entire output of nix-shell, including the failure?
<jersey[m]> i've tried to debug it a bit, but i can't see where $srcs is supposed to come from exactly..
<jersey[m]> sure, let me make a gist
<clever> jersey[m]: oh, try `nix-shell -p .... --option sandbox false`
<jersey[m]> seems like it worked, wow
<clever> jersey[m]: thats a recent bug i discovered in docker, that i still need to report
<jersey[m]> "XMonad recompilation process exited with success!" as well
<jersey[m]> huh, Docker?
notarock has joined #nixos
<notarock> I just moved to NixOS 3 days ago and loving it so far <3
<jersey[m]> does it... use Docker underneath?
<jersey[m]> anyway, thanks a lot! :)
<jersey[m]> I'm just curious how it works
ebzzry has joined #nixos
<clever> jersey[m]: nope, i just happened to find the failure in docker
iqubic` has joined #nixos
Supersonic has quit [Disconnected by services]
Supersonic112 has joined #nixos
Supersonic112 is now known as Supersonic
iqubic has quit [Ping timeout: 245 seconds]
iqubic` has quit [Client Quit]
t58 has quit [Quit: Night]
iqubic has joined #nixos
<jersey[m]> ah, fair enough. well, i won't bother you for now, it's actually my first day using anything nixos-related so i probably won't help anyway ;)
inkbottle has quit [Ping timeout: 240 seconds]
inkbottle has joined #nixos
kleisli has joined #nixos
<contrun[m]> I want to bind xmonad and xmobar together. The xmonad-with-packages does not propogate xmobar bin. It only create symlink for xmonad. How can I make a derivation which contains both xmonad and xmobar binaries?
mla has quit [Ping timeout: 250 seconds]
mla has joined #nixos
<notgne2> contrun[m]: I have literally no idea what xmonad-with-packages is supposed to achieve but iirc you can combine paths with `symlinkJoin`
<notgne2> note that I actually do use xmonad, but with XFCE so never touched any extra stuff
abathur has quit [Ping timeout: 240 seconds]
<contrun[m]> notgne2: Thank you for the suggestion. I think xmonad-with-packages pack libraries together with xmonad so that I can use extra libraries in my xmoand config.
<notgne2> in my config somewhere I noticed I have `extraPackages` for xmonad, which works like `windowManager.xmonad.extraPackages = haskellPackages: [ haskellPackages.xmonad-extras ];` if that's any use, I'm not sure if xmobar is supposed to work as an xmonad library like I presume the stuff in this property is
<contrun[m]> notgne2: I am having problem with xmobar. Some of commands I configed didn't actually show up. I am wondering if I missed some libraries for xmobar. So I want to create a derivation which has both xmobar and xmonad dependencies.
felixfoertsch23 has quit [Quit: ZNC 1.7.3 - https://znc.in]
felixfoertsch has joined #nixos
<contrun[m]> I did set extraPackages in my configuration. But the cpu and memory sections did not show up in the bar.
* contrun[m] uploaded an image: screenshot-2019-10-06-12-31-57.png (23KB) < https://matrix.org/_matrix/media/r0/download/matrix.org/nooKgZQixqzUpWbgCuRjDYqW >
* contrun[m] uploaded an image: screenshot-2019-10-06-12-33-18.png (1KB) < https://matrix.org/_matrix/media/r0/download/matrix.org/jDKDMJHKMakpJkLtPJzEiKlw >
<{^_^}> [nixpkgs] @teto merged pull request #70478 → lkl: 2019-06-20 -> 2019-10-04 → https://git.io/JeCOi
<{^_^}> [nixpkgs] @teto pushed commit from @joachifm to master « lkl: 2019-06-20 -> 2019-10-04 »: https://git.io/JeClE
Zer0xp has joined #nixos
Rusty1 has quit [Quit: Konversation terminated!]
<{^_^}> [nixpkgs] @veprbl merged pull request #70497 → add some missing descriptions and homepages → https://git.io/JeCnS
<{^_^}> [nixpkgs] @veprbl pushed commit from @cko to master « treewide: add some missing meta: descriptions and homepages (#70497) »: https://git.io/JeClo
orivej has joined #nixos
<{^_^}> [nixpkgs] @tilpner opened pull request #70500 → groff: 1.22.3 -> 1.22.4 → https://git.io/JeClP
bikki[m]1 has left #nixos ["User left"]
<{^_^}> [nixpkgs] @hedning opened pull request #70501 → gnome3.gnome-session: always run /etc/set-environment on startup → https://git.io/JeClM
bahamas has joined #nixos
Havvy has quit [Ping timeout: 252 seconds]
mishac has joined #nixos
<mishac> clever. Hello again. I did what you said and successfully generated tarball with nix-store binaries in it. I see the registration-path file but it is empty, Any ideas?
<clever> mishac: what files are in the tar?
Havvy has joined #nixos
fusion809 has joined #nixos
<mishac> clever all the nix-* in bin, etc, lib, libexec, share
<clever> mishac: can you pastebin the output of `tar -tvf /path/to/tar` ?
<clever> mishac: something is not right with that, can you pastebin the nix file you used to build it?
<mishac> clever I hope i am not too far off; https://pastebin.com/zpEcevAq
<clever> mishac: yeah, theres the problem, you must put a nix expr in line 8
<clever> mishac: its just blindly copying a single directory, not a nix build and the things it depends on
<clever> 2019-10-05 23:54:58 < clever> mishac: you would want to use (import <nixpkgs> {}).pkgsCross.armv7l-hf-multiplatform.nix in the expr that is building the tar
<clever> mishac: that
<mishac> @clever, ohh,
<clever> mishac: you want object to contain that expr, and symlink to be a quoted path, and it has to go into storeContents, not contents
<mishac> @clever I am having a bit of a hard understanding. What exactly is the difference between contents and store conents. The description in nix files is a bit minimal
<mishac> clever if there is quick explanation.
bahamas has quit [Ping timeout: 240 seconds]
<clever> mishac: all sources/targets get copied here, from source to target
<clever> mishac: so, you told it to copy from the nix package, to whatever path /home/misha/Test hashes to
<clever> which explains why it was at a /nix/store/hash-Test
<clever> object/symlinks, is then a set of symlinks to make, pointing to those objects
<clever> mishac: and then seperate from both of those, everything in the closure info (explained later) gets copied into /nix/store/
<clever> mishac: and the closure info, is based purely on the list of objects you give it
<clever> mishac: so, sources/targets is just a list of things to blindly copy, from source to target, and target is a path that will exist within the tar
<clever> mishac: objects/symlinks, is a set of derivations to copy into the /nix/store of the tar (including deps) and add to the registration-path file, and create symlinks (within the tar) so you can figure out the hash
<mishac> clever so it would be whatever packages i want to include to the store
<clever> you want:
<clever> storeContents = [ { object = (import <nixpkgs> {}).pkgsCross.armv7l-hf-multiplatform.nix; symlink = "/nix-built"; } ];
<mishac> clever o.o
endformationage has quit [Ping timeout: 240 seconds]
palo1 has joined #nixos
<mishac> @clever thanks a bunch.
mishac has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @vbgl merged pull request #69889 → ocamlPackages.pgocaml: 3.2 → 4.0 → https://git.io/JeZXb
<{^_^}> [nixpkgs] @vbgl pushed to master « ocamlPackages.pgocaml: 3.2 → 4.0 »: https://git.io/JeC8v
palo has quit [Ping timeout: 264 seconds]
palo1 is now known as palo
<{^_^}> [nixpkgs] @jluttine opened pull request #70502 → surf: add run-time dependencies to PATH → https://git.io/JeC8U
dycan has joined #nixos
<{^_^}> [nixpkgs] @joachifm opened pull request #70503 → Remove blcr package & nixos module → https://git.io/JeC8L
kleisli has quit [Remote host closed the connection]
Havvy has quit [Ping timeout: 265 seconds]
<{^_^}> [nixpkgs] @vbgl opened pull request #70504 → ocamlPackages.ocsigen_server: 2.11.0 → 2.15.0; ocamlPackages.ssl: 0.5.5 → 0.5.9 → https://git.io/JeC8q
Havvy has joined #nixos
<tilpner> So what do we do if something triggers -Werror=format-overflow?
<tilpner> I guess a patch is better than silencing it, but then that needs to be maintained and sent to upstream :/
<clever> tilpner: you can also disable hardening flags
<samueldr> hardening doesn't disable -Werror
<samueldr> generally I think -Wno-error=the-flag is added to NIX_CFLAGS_COMPILE
<tilpner> I know how to silence it
<samueldr> good :)
<clever> /home/clever/apps/nixpkgs/pkgs/development/compilers/ocaml/4.08.nix: hardeningDisable = [ "strictoverflow" ];
<clever> tilpner: this is another option
<tilpner> samueldr: It just doesn't seem like a good idea
<samueldr> sometimes it's compilers adding new warnings
<samueldr> when going from gcc 7 to 8 I'm sure some things started throwing new warnings
<samueldr> ideally yeah, upstreaming the change
<tilpner> I guess it doesn't do *that* much harm in autogen?
<samueldr> maybe it's already fixed in an unreleased commit?
<tilpner> I'll check
aaa_ has joined #nixos
<tilpner> Yep, good call. Fetch and patch?
<tilpner> (Or use git over release version?)
<samueldr> fetchpatch
<clever> tilpner: you can also just slap a .patch onto the end of any github commit, to turn it into a patch
<clever> and then fetchpatch that, and shove into patches
<tilpner> It's... savannah
<samueldr> if it's autogen, not sure its upstream is at github
<samueldr> :)
<samueldr> I think *most* forges have the facility to show a raw patch
<samueldr> I generally grep in nixpkgs, there's maybe already one
nexgen has quit [Remote host closed the connection]
Havvy has quit [Ping timeout: 240 seconds]
m0rphism has joined #nixos
Havvy has joined #nixos
mirsal has joined #nixos
<{^_^}> [nixpkgs] @gnidorah closed pull request #70276 → nixos/theming: init → https://git.io/Jecqy
b has quit [Quit: Lost terminal]
mishac has joined #nixos
nexgen has joined #nixos
<mishac> @clever one last question. I almost got it working, in the last step when i run the command: sudo ./nix-env -i /nix/store/hash-nix, I get: error: path '/nix/store/hash-nix' is not in the Nix store
nexgen has quit [Remote host closed the connection]
nexgen has joined #nixos
<clever> mishac: you must use the actual path to the nix derivation, that nix-env itself is in
<mishac> clever omg, yeah
<clever> mishac: you should now have a profile under /nix/var/nix/profiles/
<clever> and then nix-env is in the bin dir of that profile
<clever> clever@c2d ~ $ ls -lh .nix-profile
<clever> lrwxrwxrwx 1 clever clever 29 Oct 8 2015 .nix-profile -> /nix/var/nix/profiles/default
floscr_ has quit [Read error: Connection reset by peer]
<clever> then throw a symlink like this into one (or more) of your users
<clever> and put ~/.nix-profile/bin/ into PATH
floscr has joined #nixos
cswl has joined #nixos
Heirlung has quit [Ping timeout: 240 seconds]
nexgen has quit [Remote host closed the connection]
nexgen has joined #nixos
Heirlung has joined #nixos
<mishac> clever last last question. I am getting this error with user groups. error: all build users are currently in use; consider creating additional users and adding them to the 'nixbld' group
mexisme has joined #nixos
<clever> mishac: that error will go away if you run nix without root, and give that user +w to /nix/store
<clever> mishac: or you can setup build users, if you do want to use nix as root
mexisme has quit [Ping timeout: 240 seconds]
revtintin has joined #nixos
kvda has joined #nixos
<clever> bbl
ajs124 has joined #nixos
<{^_^}> [nixpkgs] @vbgl opened pull request #70505 → ocamlPackages.labltk: init at 8.06.7 for OCaml ≥ 4.08 → https://git.io/JeC8V
orivej has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @danieldk opened pull request #70506 → rustracer: 2.1.22 -> 2.1.27 → https://git.io/JeC86
<{^_^}> [nixpkgs] @sikmir opened pull request #70507 → qtpbfimageplugin: 1.4 -> 2.0 → https://git.io/JeC89
Zer0xp has quit [Ping timeout: 250 seconds]
chloekek has joined #nixos
l33[m] has joined #nixos
<{^_^}> [nixpkgs] @peti pushed 0 commits to r-updates: https://git.io/JeC8F
mishac has quit [Ping timeout: 260 seconds]
<{^_^}> [nixpkgs] @sikmir opened pull request #70508 → gpxsee: 7.14 -> 7.15 → https://git.io/JeC8b
abrar has quit [Ping timeout: 276 seconds]
<{^_^}> [nixpkgs] @doronbehar opened pull request #70509 → snzip: init at 1.0.4 → https://git.io/JeC8A
ebzzry has quit [Ping timeout: 265 seconds]
sellout- has quit [Quit: Leaving.]
wfranzini has quit [Remote host closed the connection]
wfranzini has joined #nixos
sellout- has joined #nixos
foobarrred has joined #nixos
<foobarrred> I'm failling to install grub on a nixos 19.03 install with "warning: this GPT partition label contains no BIOS Boot Partition; embedding won't be possible.". What do I do next?
foobarrred has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @teto merged pull request #70503 → Remove blcr package & nixos module → https://git.io/JeC8L
<{^_^}> [nixpkgs] @teto pushed 3 commits to master: https://git.io/JeC4e
<{^_^}> [nixpkgs] @joachifm closed pull request #70480 → linuxPackages.blcr: mark as broken → https://git.io/JeC3J
bahamas has joined #nixos
orivej has joined #nixos
<{^_^}> [nixpkgs] @teto pushed commit from @esclear to master « fileshare: init at 0.2.4 »: https://git.io/JeC4U
<{^_^}> [nixpkgs] @teto merged pull request #70416 → fileshare: init at 0.2.4 → https://git.io/JeCef
toppler has quit [Ping timeout: 240 seconds]
asymptotically has joined #nixos
<{^_^}> [nixpkgs] @vcunat pushed 5 commits to master: https://git.io/JeC4T
<{^_^}> [nixpkgs] @vcunat merged pull request #70445 → firefox, firefox-bin: 69.0.1 -> 69.0.2 → https://git.io/JeCIp
dycan has quit [Read error: No route to host]
<{^_^}> [nixpkgs] @vcunat merged pull request #69463 → bird2: 2.0.5 -> 2.0.6 → https://git.io/JeGrG
dycan has joined #nixos
dycan has quit [Remote host closed the connection]
toppler has joined #nixos
Okinan has quit [Quit: Konversation terminated!]
<raboof> Hi! I'm shopping for a new Linux distro. After being with Debian for ~10 years, I'm looking for a distro where the feedback cycle between contributing a change (either upstream or to packaging) and seeing that change generally available is shorter. Would the NixOS unstable channel be a good fit for me?
<MichaelRaskin> What is your current best option?
<{^_^}> [nixpkgs] @peti pushed 2 commits to haskell-updates: https://git.io/JeC4m
<MichaelRaskin> I think one can run NixOS from a checkout after getting some experience (to be able to rollback or fix minor stuff easily)
toppler has quit [Remote host closed the connection]
toppler has joined #nixos
<MichaelRaskin> Right now nixos-unstable is 9 days behind master branch (I don't know what exactly is broken), nixos-unstable-small is just 18 hours behind master branch though (it checks less things before advancing)
m0rphism has quit [Quit: WeeChat 2.4]
<raboof> my current system is a "FrankenDebian" (mixing packages from different versions). I've been trying out Arch but am having mixed feelings about it so far.
<{^_^}> [nixpkgs] @peti pushed 3 commits to haskell-updates: https://git.io/JeC4s
<MichaelRaskin> Minor update PRs are typically merged to master, you can sample the Github closed PRs to see the real distribution of timing
<MichaelRaskin> Nix allows to run frankensystems in a very safe and transparent way, if something gets stuck
toppler has quit [Ping timeout: 240 seconds]
m0rphism has joined #nixos
<raboof> sounds like I should try it out, thanks ;)
<MichaelRaskin> (I think a lot of people run stable for the main system and install some applications or development environments from unstable, as the notion of packages conflict is reduced to the really minimal and unavoidable subset — which one can usually work around — it's not even hard)
<{^_^}> [nixpkgs] @vcunat pushed to master « bird, bird6: 1.6.6 -> 1.6.8 (security) »: https://git.io/JeC4n
<MichaelRaskin> If you want an upstream fix to get to Nixpkgs and it is not a tightly watched package (like Firefox), you need to wait for an upstream release (or convince upstream to release a patchlevel bump…), and then submit a version bump PR to Nixpkgs
<raboof> sounds reasonable. and I guess I could build the package from source myself from VCS if the upstream versioning is slow?
m0rphism has quit [Client Quit]
m0rphism has joined #nixos
<{^_^}> [nixpkgs] @vcunat pushed 2 commits to release-19.09: https://git.io/JeC4l
<MichaelRaskin> Building packages from VCS manually is actually complicated in NixOS. You can easily override the source expression with a VCS/nightly code version, though.
<MichaelRaskin> (Nix thinks in terms of having Nix expression language and package definitions written in this, and building what you need — binary packages are just a cache «oh, if you build _exactly_ this you could get _this_ output»)
<{^_^}> [nixpkgs] @bjornfor merged pull request #70398 → syncthingtray: 0.10.0 -> 0.10.1 → https://git.io/Jec7T
<{^_^}> [nixpkgs] @bjornfor pushed commit from @doronbehar to master « syncthingtray: 0.10.0 -> 0.10.1 »: https://git.io/JeC44
<{^_^}> [nixpkgs] @pasqui23 closed pull request #64137 → perlPackages.Catmandu:init at 1.2002 [WIP] → https://git.io/fjKXn
<{^_^}> [nixpkgs] @peti pushed to haskell-updates « hackage-packages.nix: automatic Haskell package set update »: https://git.io/JeC4z
mexisme has joined #nixos
<raboof> you mean you'd build it by writing a nixpkg for it and installing that instead of building 'manually' from the commandline?
<MichaelRaskin> Not always even writing — either patching an existing one, or maybe even writing a small expression that imports and modifies the package
<{^_^}> [nixpkgs] @geistesk opened pull request #70510 → zncModules.fish: fix build → https://git.io/JeC4w
mexisme has quit [Ping timeout: 264 seconds]
toppler has joined #nixos
noudle has joined #nixos
<raboof> right, so for a not-yet-packaged application a little more hassle, but also a good incentive to create the package and share it upstream :)
toppler has quit [Ping timeout: 240 seconds]
toppler has joined #nixos
<{^_^}> [nixpkgs] @peti pushed to master « haskell-regex-pcre-builtin: fix build with ghc 8.8.1 »: https://git.io/JeC4P
<{^_^}> [nixpkgs] @peti pushed 3 commits to haskell-updates: https://git.io/JeC41
cswl has quit [Quit: Connection closed for inactivity]
<MichaelRaskin> There were people saying that creating a Nix package is easier than creating a Debian package (well, if upstream source is easy and clean to build)
<MichaelRaskin> If upstream makes strong assumptions, then the Nix workarounds could add some complexity to the package, of course
revtintin has quit [Quit: WeeChat 1.9.1]
ris has joined #nixos
chloekek has quit [Ping timeout: 240 seconds]
astrall33 has joined #nixos
p8 has joined #nixos
bahamas has quit [Ping timeout: 240 seconds]
<raboof> to dual-boot between arch and nixos on an UEFI system, should/could I keep the Arch EFI system partition, create a second vfat partition to use as the NixOS /boot partition, and somehow configure the Arch EFI system to also be able to boot to the NixOS one?
<{^_^}> [nixpkgs] @peti pushed 2 commits to haskell-updates: https://git.io/JeCBf
<{^_^}> [nixpkgs] @peti pushed to haskell-updates « hackage-packages.nix: automatic Haskell package set update »: https://git.io/JeCBJ
<{^_^}> [nixpkgs] @bjornfor closed pull request #69531 → freeglut: 3.0.0 -> 3.2.0 → https://git.io/JeGMJ
civodul has joined #nixos
Ariakenom has joined #nixos
<{^_^}> [nixpkgs] @Kjuvi opened pull request #70512 → formatter: init at 0.3.0 → https://git.io/JeCBL
alex`` has joined #nixos
dermetfan has joined #nixos
alex`` has quit [Ping timeout: 240 seconds]
alex`` has joined #nixos
kaba00 has joined #nixos
<{^_^}> [nixpkgs] @marsam opened pull request #70513 → ibm-plex: 2.0.0 -> 3.0.0 → https://git.io/JeCBO
kaba00 has quit [Client Quit]
gagbo has quit [Quit: I'm out !]
WilliamHamilton has joined #nixos
bahamas has joined #nixos
<{^_^}> [nixpkgs] @peti pushed to haskell-updates « hackage2nix: disable broken builds to avoid evaluation errors on Hydra »: https://git.io/JeCBc
<{^_^}> [nixpkgs] @marsam opened pull request #70514 → gitAndTools.hub: 2.12.7 -> 2.12.8 → https://git.io/JeCBC
<{^_^}> [nixpkgs] @peti pushed to haskell-updates « hackage-packages.nix: automatic Haskell package set update »: https://git.io/JeCBW
knupfer has joined #nixos
<qyliss> Do we have a way to get nix-collect-garbage not to delete derivations? They take up such a small amount of disk, and could be useful to keep around...
chloekek has joined #nixos
<LnL> gc-keep-derivations :)
<qyliss> :D
<LnL> does mean it will also keep more build dependencies around however
Izorkin has quit [Quit: ZNC 1.7.4 - https://znc.in]
<qyliss> Oh yeah that's true
Izorkin has joined #nixos
<{^_^}> [nixpkgs] @peti opened pull request #70515 → gfortran: use version 8 by default to match our C and C++ compiler → https://git.io/JeCB0
mexisme has joined #nixos
<qyliss> Might just set it for automatic GCs
<{^_^}> [nixpkgs] @joachifm opened pull request #70516 → Remove bclr for 19.09 → https://git.io/JeCBu
p8 has quit [Ping timeout: 240 seconds]
mexisme has quit [Ping timeout: 265 seconds]
p8 has joined #nixos
Shell has quit [Quit: ZNC 1.7.4 - https://znc.in]
qyliss has quit [Quit: bye]
Shell has joined #nixos
qyliss has joined #nixos
Izorkin has quit [Quit: ZNC 1.7.4 - https://znc.in]
Izorkin has joined #nixos
<{^_^}> [nixpkgs] @marsam opened pull request #70517 → cascadia-code: 1909.16 -> 1910.04 → https://git.io/JeCB9
p8 has quit [Remote host closed the connection]
__monty__ has joined #nixos
orivej has quit [Ping timeout: 252 seconds]
hke has quit [Quit: The Lounge - https://thelounge.github.io]
<MichaelRaskin> qyliss: I think gc-keep-outputs set to false but gc-keep-derivations set to true might help
<MichaelRaskin> Not completely sure, as I try to have all the build-dependencies installed on my main system
hke has joined #nixos
<{^_^}> [nixpkgs] @peti pushed to haskell-updates « haskell-pango: patch to fix the build »: https://git.io/JeCRJ
Izorkin has quit [Quit: ZNC 1.7.4 - https://znc.in]
Izorkin has joined #nixos
<cyris212> Any xmonad/xmobar users here?
Ariakenom has quit [Read error: Connection reset by peer]
knupfer has quit [Remote host closed the connection]
<cyris212> I've the problem that new windows will cover up xmobar.
knupfer has joined #nixos
<infinisil> cyris212: #xmonad?
<cyris212> infinisil: I was not aware that xmonad has a channel, thx.
mexisme has joined #nixos
<{^_^}> [nixpkgs] @joachifm merged pull request #70447 → nixos/containers: explicitly load kernel modules for networking → https://git.io/JeCLR
<{^_^}> [nixpkgs] @joachifm pushed 2 commits to master: https://git.io/JeCR4
<{^_^}> [nixpkgs] @joachifm merged pull request #70481 → pythonPackages.openrazer-daemon: python3 only → https://git.io/JeC34
<{^_^}> [nixpkgs] @joachifm pushed 2 commits to master: https://git.io/JeCRB
<{^_^}> [nixpkgs] @joachifm merged pull request #70449 → graphene-hardened-malloc: constrain platforms to x64 linux → https://git.io/JeCLr
<{^_^}> [nixpkgs] @joachifm pushed 2 commits to master: https://git.io/JeCRR
m0rphism1 has joined #nixos
<{^_^}> [nixpkgs] @joachifm merged pull request #70451 → Pacman packaging enhancements → https://git.io/JeCLH
<{^_^}> [nixpkgs] @joachifm pushed 5 commits to master: https://git.io/JeCR0
<{^_^}> [nixpkgs] @joachifm merged pull request #70452 → Tinycc packaging improvements → https://git.io/JeCL7
<{^_^}> [nixpkgs] @joachifm pushed 5 commits to master: https://git.io/JeCRu
<{^_^}> [nixpkgs] @joachifm merged pull request #70493 → lispPackages.cl-mysql: fix build → https://git.io/JeCnL
<{^_^}> [nixpkgs] @joachifm pushed 2 commits to master: https://git.io/JeCRg
m0rphism1 has quit [Client Quit]
<aaa_> Hi, the "pkg-config --libs --cflags openssl" is telling me that openssl is not found - what do I need to install to get it ?
<aaa_> I have openssl package installed
<{^_^}> Channel nixpkgs-19.09-darwin advanced to https://github.com/NixOS/nixpkgs/commit/3976563ad92 (from 2 hours ago, history: https://channels.nix.gsc.io/nixpkgs-19.09-darwin)
<{^_^}> [nixpkgs] @telent opened pull request #70520 → build libinput to look for local quirks in /etc → https://git.io/JeCRy
freeman42xx has joined #nixos
<{^_^}> [nixpkgs] @fjallarefur opened pull request #70521 → oil: 0.7.pre3 -> 0.7.pre5 → https://git.io/JeCRb
<tilpner> ,library aaa_
<{^_^}> aaa_: Don't install libraries through nix-env or systemPackages, use nix-shell instead. See https://nixos.wiki/wiki/FAQ/Libraries for details.
<{^_^}> [nixpkgs] @lheckemann closed pull request #70521 → oil: 0.7.pre3 -> 0.7.pre5 → https://git.io/JeCRb
mexisme has quit [Ping timeout: 252 seconds]
<{^_^}> [nixpkgs] @lheckemann merged pull request #70415 → oil: 0.7.pre3 -> 0.7.pre5 → https://git.io/JecjQ
<{^_^}> [nixpkgs] @lheckemann pushed 2 commits to master: https://git.io/JeCRp
<aaa_> tilpner, yeah, found the answer, thank you !
Izorkin has quit [Quit: ZNC 1.7.4 - https://znc.in]
Izorkin has joined #nixos
kvda has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
aveltras has joined #nixos
toppler has quit [Ping timeout: 252 seconds]
<{^_^}> [nixpkgs] @noneucat opened pull request #70522 → leap-motion: init at 2.3.1 → https://git.io/JeC0U
Izorkin has quit [Client Quit]
Izorkin has joined #nixos
knupfer has quit [Quit: knupfer]
knupfer has joined #nixos
knupfer has quit [Client Quit]
knupfer has joined #nixos
knupfer has quit [Read error: Connection reset by peer]
knupfer has joined #nixos
<{^_^}> Channel nixos-19.09-small advanced to https://github.com/NixOS/nixpkgs/commit/3976563ad92 (from 3 hours ago, history: https://channels.nix.gsc.io/nixos-19.09-small)
<tilpner> Does anyone have good experiences with mixing modules between channels?
<tilpner> It seems like it would be very brittle, but federated services on stable channel get old fairly quickly
<tilpner> (E.g. matrix-synapse)
<tilpner> Just blacklisting the 19.09 version and importing the unstable module might bring all sorts of weird inconsistencies
<tilpner> Or worse, the unstable version has relative imports to other (non-blacklisted!) unstable modules
sb0 has joined #nixos
<LnL> it depends a lot on the module, but services usually are pretty self contained
orivej has joined #nixos
ixxie has joined #nixos
<tilpner> I'm mostly asking to learn about potential conflicts I didn't think of, _before_ actually mixing modules :)
silver has joined #nixos
<tilpner> But I suppose that's a little too specific
<LnL> modules are all global so there's not much you can guarentee
<tilpner> No, of course not
dansho has joined #nixos
l33[m] has quit [Remote host closed the connection]
ndarwincorn has quit [Remote host closed the connection]
Seb[m] has quit [Remote host closed the connection]
slabity has quit [Remote host closed the connection]
luftmensch[m] has quit [Read error: Connection reset by peer]
rycee has quit [Remote host closed the connection]
sylvie[m] has quit [Write error: Connection reset by peer]
JaakkoLuttinen[m has quit [Read error: Connection reset by peer]
worldofpeace has quit [Read error: Connection reset by peer]
tyx2q[m] has quit [Read error: Connection reset by peer]
bpye has quit [Write error: Connection reset by peer]
bkchr has quit [Write error: Connection reset by peer]
clacke[m] has quit [Remote host closed the connection]
domenkozar[m] has quit [Read error: Connection reset by peer]
Lisanna[m] has quit [Read error: Connection reset by peer]
MilkManzJourDadd has quit [Write error: Connection reset by peer]
laas has quit [Remote host closed the connection]
jonge[m] has quit [Read error: Connection reset by peer]
pachacuti[m] has quit [Write error: Connection reset by peer]
olejorgenb[m] has quit [Remote host closed the connection]
ptotter[m] has quit [Read error: Connection reset by peer]
fgaz has quit [Write error: Connection reset by peer]
atopuzov[m] has quit [Read error: Connection reset by peer]
Shyim[m] has quit [Read error: Connection reset by peer]
regnat[m] has quit [Remote host closed the connection]
yoho[m]1 has quit [Write error: Connection reset by peer]
eqyiel has quit [Read error: Connection reset by peer]
TravisRt2botio[m has quit [Write error: Connection reset by peer]
IslandUsurper has quit [Write error: Connection reset by peer]
vvbb[m] has quit [Write error: Connection reset by peer]
tokudan[m] has quit [Write error: Connection reset by peer]
Vskilet has quit [Remote host closed the connection]
syntaxtree[m] has quit [Write error: Connection reset by peer]
RobinKroonen[m] has quit [Write error: Connection reset by peer]
TheSirC[m] has quit [Write error: Connection reset by peer]
steshaw[m] has quit [Write error: Connection reset by peer]
rnhmjoj has quit [Write error: Connection reset by peer]
coniferous-cube[ has quit [Write error: Connection reset by peer]
craige[m] has quit [Write error: Connection reset by peer]
wrunt[m] has quit [Read error: Connection reset by peer]
KodiakIT[m] has quit [Read error: Connection reset by peer]
gudea[m] has quit [Read error: Connection reset by peer]
bohan[m] has quit [Read error: Connection reset by peer]
freddie_freeload has quit [Read error: Connection reset by peer]
am3on[m] has quit [Write error: Connection reset by peer]
white_bluff[m] has quit [Read error: Connection reset by peer]
das-g[m] has quit [Read error: Connection reset by peer]
haslersn[m] has quit [Remote host closed the connection]
jak[m] has quit [Read error: Connection reset by peer]
Sisyphe[m] has quit [Remote host closed the connection]
NfixEstrada[m] has quit [Remote host closed the connection]
haslersn has quit [Read error: Connection reset by peer]
zurdo has quit [Read error: Connection reset by peer]
Dandellion[m] has quit [Read error: Connection reset by peer]
Notkea[m] has quit [Read error: Connection reset by peer]
aterius has quit [Read error: Connection reset by peer]
kyleondy[m] has quit [Read error: Connection reset by peer]
Nyanloutre[m] has quit [Read error: Connection reset by peer]
ck3d[m] has quit [Read error: Connection reset by peer]
pop[m]1 has quit [Read error: Connection reset by peer]
neonfuz2 has quit [Remote host closed the connection]
arianvp[m] has quit [Read error: Connection reset by peer]
setthemfree[m] has quit [Read error: Connection reset by peer]
harkenedraven has quit [Remote host closed the connection]
NickHu has quit [Read error: Connection reset by peer]
schmittlauch[m]1 has quit [Read error: Connection reset by peer]
schmittlauch[m] has quit [Read error: Connection reset by peer]
wak-work has quit [Write error: Connection reset by peer]
corpix[m] has quit [Read error: Connection reset by peer]
fasd has quit [Read error: Connection reset by peer]
tonic0x539[m] has quit [Read error: Connection reset by peer]
sonercirit[m] has quit [Read error: Connection reset by peer]
sphalerit has quit [Read error: Connection reset by peer]
cgm[m] has quit [Read error: Connection reset by peer]
LinuXit has quit [Read error: Connection reset by peer]
seekerus3r[m] has quit [Write error: Connection reset by peer]
KarelWDingeldey[ has quit [Remote host closed the connection]
ma27[m] has quit [Read error: Connection reset by peer]
clefru has quit [Read error: Connection reset by peer]
sputny[m] has quit [Write error: Connection reset by peer]
timokau[m] has quit [Read error: Connection reset by peer]
Tony[m]3 has quit [Remote host closed the connection]
dominicusin[m] has quit [Read error: Connection reset by peer]
infinisil-m has quit [Remote host closed the connection]
simbergm has quit [Write error: Connection reset by peer]
tobim[m] has quit [Write error: Connection reset by peer]
kaychaks[m] has quit [Read error: Connection reset by peer]
abbafei[m] has quit [Read error: Connection reset by peer]
mirsal has quit [Write error: Connection reset by peer]
vdot0x23[m] has quit [Read error: Connection reset by peer]
dwagenk has quit [Write error: Connection reset by peer]
ronny has quit [Write error: Connection reset by peer]
tejok[m] has quit [Read error: Connection reset by peer]
arturo[m] has quit [Read error: Connection reset by peer]
midi[m] has quit [Read error: Connection reset by peer]
elais[m] has quit [Read error: Connection reset by peer]
Diamaths[m] has quit [Read error: Connection reset by peer]
contrun[m] has quit [Read error: Connection reset by peer]
jwaksbaum[m] has quit [Write error: Connection reset by peer]
ninjatrappeur[m] has quit [Read error: Connection reset by peer]
bkl[m] has quit [Read error: Connection reset by peer]
li_matrix has quit [Read error: Connection reset by peer]
peel1 has quit [Read error: Connection reset by peer]
abbradar[m] has quit [Read error: Connection reset by peer]
wildtrees[m] has quit [Read error: Connection reset by peer]
srid[m] has quit [Read error: Connection reset by peer]
EuAndreh[m] has quit [Read error: Connection reset by peer]
Dan[m]8 has quit [Read error: Connection reset by peer]
red[m] has quit [Read error: Connection reset by peer]
GerdFlaig[m] has quit [Read error: Connection reset by peer]
xavierm02 has quit [Read error: Connection reset by peer]
flip[m]1 has quit [Read error: Connection reset by peer]
badmutex[m] has quit [Read error: Connection reset by peer]
MichaelEden[m] has quit [Read error: Connection reset by peer]
alexoundos[m] has quit [Read error: Connection reset by peer]
philipp[m] has quit [Remote host closed the connection]
musicmatze has quit [Remote host closed the connection]
zaphar_ps[m] has quit [Read error: Connection reset by peer]
tilpner[m] has quit [Remote host closed the connection]
joelpet1 has quit [Read error: Connection reset by peer]
cornu has quit [Read error: Connection reset by peer]
xbreak[m] has quit [Read error: Connection reset by peer]
peterhoeg[m] has quit [Read error: Connection reset by peer]
thequux[m] has quit [Read error: Connection reset by peer]
Fabian[m]3 has quit [Read error: Connection reset by peer]
cyberwolf[m] has quit [Read error: Connection reset by peer]
hr[m] has quit [Read error: Connection reset by peer]
imj[m] has quit [Read error: Connection reset by peer]
rihardsk[m] has quit [Read error: Connection reset by peer]
nocent has quit [Read error: Connection reset by peer]
Victor[m]2 has quit [Read error: Connection reset by peer]
vxzero[m] has quit [Read error: Connection reset by peer]
grim_reaper[m] has quit [Read error: Connection reset by peer]
mariusz-kowalski has quit [Read error: Connection reset by peer]
stites[m] has quit [Read error: Connection reset by peer]
orospakr[m] has quit [Read error: Connection reset by peer]
nobbo[m] has quit [Read error: Connection reset by peer]
Yakulu[m] has quit [Read error: Connection reset by peer]
roberth has quit [Read error: Connection reset by peer]
MiloIgnis[m] has quit [Remote host closed the connection]
pinage404[m] has quit [Remote host closed the connection]
ajirx[m] has quit [Read error: Connection reset by peer]
alj[m] has quit [Remote host closed the connection]
frederic_chopwn[ has quit [Remote host closed the connection]
florianjacob has quit [Remote host closed the connection]
ejpcmac has quit [Remote host closed the connection]
klbrn[m] has quit [Read error: Connection reset by peer]
Minijackson[m] has quit [Read error: Connection reset by peer]
hpfr[m] has quit [Read error: Connection reset by peer]
fidgetspinoza[m] has quit [Remote host closed the connection]
sauyon[m] has quit [Remote host closed the connection]
otini has quit [Read error: Connection reset by peer]
thefloweringash has quit [Read error: Connection reset by peer]
DanP[m] has quit [Remote host closed the connection]
layus[m] has quit [Read error: Connection reset by peer]
offlinehacker has quit [Remote host closed the connection]
jschievink has quit [Read error: Connection reset by peer]
tindvik[m] has quit [Read error: Connection reset by peer]
Gopal[m] has quit [Read error: Connection reset by peer]
vaibhavsagar has quit [Read error: Connection reset by peer]
Ox4A6F has quit [Read error: Connection reset by peer]
sierraDelta has quit [Read error: Connection reset by peer]
anton-latukha[m] has quit [Read error: Connection reset by peer]
groggy[m] has quit [Read error: Connection reset by peer]
zmlww[m] has quit [Read error: Connection reset by peer]
balsoft has quit [Read error: Connection reset by peer]
escaP[m] has quit [Remote host closed the connection]
matthewbauer has quit [Remote host closed the connection]
nh2[m] has quit [Read error: Connection reset by peer]
bee[m]1 has quit [Write error: Connection reset by peer]
aquarial has quit [Write error: Connection reset by peer]
zmlww[m]1 has quit [Write error: Connection reset by peer]
MayeulC_backup has quit [Write error: Connection reset by peer]
frislie[m] has quit [Write error: Connection reset by peer]
yangm has quit [Write error: Connection reset by peer]
wangoe[m] has quit [Write error: Connection reset by peer]
smolboye[m] has quit [Write error: Connection reset by peer]
grahamc[m] has quit [Write error: Connection reset by peer]
ptival[m] has quit [Write error: Connection reset by peer]
hienergy[m] has quit [Write error: Connection reset by peer]
MerlinGttlinger[ has quit [Write error: Connection reset by peer]
info_supplicant[ has quit [Write error: Connection reset by peer]
goibhniu has quit [Write error: Connection reset by peer]
MarkOtaris has quit [Write error: Connection reset by peer]
danielrf[m] has quit [Write error: Connection reset by peer]
copy` has quit [Write error: Connection reset by peer]
mildred has quit [Write error: Connection reset by peer]
nilsirl[m] has quit [Write error: Connection reset by peer]
Guest99415 has quit [Write error: Connection reset by peer]
snupples[m] has quit [Write error: Connection reset by peer]
RIOTIM[m] has quit [Write error: Connection reset by peer]
Smith[m] has quit [Remote host closed the connection]
M0ddba11[m] has quit [Read error: Connection reset by peer]
ZD[m] has quit [Read error: Connection reset by peer]
codyopel has quit [Read error: Connection reset by peer]
Ericson2314 has quit [Write error: Connection reset by peer]
provessor[m] has quit [Read error: Connection reset by peer]
enick_536 has quit [Read error: Connection reset by peer]
spacekitteh[m] has quit [Write error: Connection reset by peer]
kraem[m] has quit [Write error: Connection reset by peer]
y0x3y[m] has quit [Write error: Connection reset by peer]
Noughtmare[m] has quit [Write error: Connection reset by peer]
sevcsik[m] has quit [Write error: Connection reset by peer]
siraben has quit [Read error: Connection reset by peer]
colemickens has quit [Read error: Connection reset by peer]
divansantana has quit [Read error: Connection reset by peer]
momack2[m] has quit [Read error: Connection reset by peer]
manveru[m] has quit [Remote host closed the connection]
submoo[m] has quit [Read error: Connection reset by peer]
bnasty[m] has quit [Read error: Connection reset by peer]
Moredread[m] has quit [Write error: Connection reset by peer]
jersey[m] has quit [Write error: Connection reset by peer]
Woland[m] has quit [Read error: Connection reset by peer]
ArtemVorotnikov[ has quit [Read error: Connection reset by peer]
jonreeve[m] has quit [Read error: Connection reset by peer]
boredom101[m]1 has quit [Remote host closed the connection]
Christian[m]4 has quit [Read error: Connection reset by peer]
bachp has quit [Read error: Connection reset by peer]
hackeryarn[m] has quit [Read error: Connection reset by peer]
bennofs[m] has quit [Write error: Connection reset by peer]
fulgjon has quit [Read error: Connection reset by peer]
alex[m]16 has quit [Write error: Connection reset by peer]
arcnmx has quit [Read error: Connection reset by peer]
jak_wolf[m] has quit [Read error: Connection reset by peer]
dnixty[m] has quit [Remote host closed the connection]
pingveno[m] has quit [Read error: Connection reset by peer]
Brio[m] has quit [Write error: Connection reset by peer]
attente[m] has quit [Read error: Connection reset by peer]
Bruno[m] has quit [Read error: Connection reset by peer]
v0id72[m] has quit [Read error: Connection reset by peer]
eddyb has quit [Write error: Connection reset by peer]
is0x3F has quit [Read error: Connection reset by peer]
malteof[m] has quit [Read error: Connection reset by peer]
BinkyTheClown has quit [Read error: Connection reset by peer]
isgy[m] has quit [Read error: Connection reset by peer]
sm[m] has quit [Write error: Connection reset by peer]
gspia[m] has quit [Write error: Connection reset by peer]
quiet_laika[m] has quit [Write error: Connection reset by peer]
alxev[m] has quit [Write error: Connection reset by peer]
weebull[m] has quit [Write error: Connection reset by peer]
VaNilLa[m] has quit [Write error: Connection reset by peer]
bendlas has quit [Write error: Connection reset by peer]
iceychris[m] has quit [Write error: Connection reset by peer]
macerbi[m] has quit [Write error: Connection reset by peer]
Thinkofname[m] has quit [Write error: Connection reset by peer]
alienpirate5 has quit [Write error: Connection reset by peer]
bricewge has quit [Write error: Connection reset by peer]
balsoft[m] has quit [Write error: Connection reset by peer]
aymenstudios[m] has quit [Write error: Connection reset by peer]
abbec has quit [Read error: Connection reset by peer]
chuzz_ has quit [Read error: Connection reset by peer]
truby has quit [Read error: Connection reset by peer]
Sascha[m]3 has quit [Read error: Connection reset by peer]
ilya-fedin has quit [Write error: Connection reset by peer]
jtojnar has quit [Write error: Connection reset by peer]
ctrl_shift_smtng has quit [Write error: Connection reset by peer]
marius851000[m] has quit [Write error: Connection reset by peer]
tyrion-mx has quit [Write error: Connection reset by peer]
kxlljoyy[m] has quit [Write error: Connection reset by peer]
hiroshi[m] has quit [Write error: Connection reset by peer]
b-m-f[m] has quit [Write error: Connection reset by peer]
bikki[m] has quit [Write error: Connection reset by peer]
icetan has quit [Write error: Connection reset by peer]
blitzclone_ has quit [Write error: Connection reset by peer]
tails[m] has quit [Write error: Connection reset by peer]
<tilpner> I should probably run nixosTests.matrix-synapse on this module mix before deploying
roadt[m] has quit [Write error: Connection reset by peer]
HappyEnt[m] has quit [Read error: Connection reset by peer]
alexarice[m] has quit [Read error: Connection reset by peer]
cab404[m] has quit [Remote host closed the connection]
craigevil[m] has quit [Read error: Connection reset by peer]
dtz has quit [Read error: Connection reset by peer]
<LnL> but I've been using unstable plex for most of the 19.03 release without any problems
<tilpner> Speaking of Matrix...
<raboof> :D
Mateon1 has quit [Remote host closed the connection]
Mateon1 has joined #nixos
<tilpner> LnL: Just blacklisted the native module and imported the new one?
<LnL> yeah
<LnL> that and an override for the package
foldingcookie has quit [Ping timeout: 240 seconds]
dontobey has quit [Ping timeout: 240 seconds]
toppler has joined #nixos
tsrt^ has quit [Ping timeout: 265 seconds]
<raboof> just installed nixos for the first time, was pretty smooth apart from having to boot back into the installer a couple of time because I hadn't installed enough packages to connect to my wifi ;)
dontobey has joined #nixos
tsrt^ has joined #nixos
<{^_^}> [nixpkgs] @markuskowa merged pull request #70508 → gpxsee: 7.14 -> 7.15 → https://git.io/JeC8b
<{^_^}> [nixpkgs] @markuskowa pushed 2 commits to master: https://git.io/JeC0B
toppler has quit [Ping timeout: 265 seconds]
kvda has joined #nixos
<{^_^}> [nixpkgs] @DianaOlympos opened pull request #70523 → rebar3: update documentation → https://git.io/JeC00
wangoe[m] has joined #nixos
knupfer has quit [Ping timeout: 245 seconds]
ebzzry has joined #nixos
toppler has joined #nixos
fendor has joined #nixos
Izorkin has quit [Quit: ZNC 1.7.4 - https://znc.in]
chloekek has quit [Ping timeout: 240 seconds]
Izorkin has joined #nixos
toppler has quit [Ping timeout: 246 seconds]
datakurre has quit [Ping timeout: 276 seconds]
ent has quit [Ping timeout: 240 seconds]
ent has joined #nixos
datakurre has joined #nixos
Astralix9 has joined #nixos
Astralix9 has quit [Client Quit]
kvda has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Astralix9 has joined #nixos
cptchaos83 has joined #nixos
<raboof> how is the kernel version determined when it is not set in `boot.kernelPackages`?
<Astralix9> hi all, should I set up ssh-agent as a service in configuration.nix? eval `ssh-agent` isn't working for me as expected.
kcalvinalvin has quit [Quit: ZNC 1.7.4 - https://znc.in]
toppler has joined #nixos
kcalvinalvin has joined #nixos
bahamas has quit [Ping timeout: 240 seconds]
<freeman42xx> how do I open port on NixOS? trying to get 2 OpenRA clients to connect over port 1234 but not working, they are both on same virtual LAN
<tilpner> freeman42xx: networking.firewall.allowedTCPPorts = [ 42 ];
knupfer has joined #nixos
toppler has quit [Ping timeout: 240 seconds]
<MichaelRaskin> raboof: there are defaults
<tilpner> > linux.name
<{^_^}> "linux-4.19.77"
waleee-cl has quit [Quit: Connection closed for inactivity]
<tilpner> raboof: nix-instantiate '<nixpkgs/nixos>' --eval -A config.boot.kernelPackages.kernel.modDirVersion
<tilpner> ^ to check with your own config
<{^_^}> [nixpkgs] @peti merged pull request #70514 → gitAndTools.hub: 2.12.7 -> 2.12.8 → https://git.io/JeCBC
<{^_^}> [nixpkgs] @peti pushed 2 commits to master: https://git.io/JeCEv
<{^_^}> [nixpkgs] @peti pushed 3 commits to master: https://git.io/JeCEf
<{^_^}> [nixpkgs] @peti closed pull request #70460 → R: Update CRAN and bioconductor packages → https://git.io/JeCqJ
<freeman42xx> tilpner, thank you, I think that works, getting a different error now though tilpner++
<{^_^}> tilpner's karma got increased to 45
boxscape has joined #nixos
<tilpner> Progress™
<{^_^}> [nixpkgs] @ryantm pushed 2 commits to master: https://git.io/JeCEU
<{^_^}> [nixpkgs] @ryantm merged pull request #69453 → _2bwm: 0.2 -> 0.3 → https://git.io/JeGwq
toppler has joined #nixos
Astralix9 has left #nixos ["Leaving"]
<{^_^}> [nixpkgs] @kampka opened pull request #70526 → spacegun: init at 0.3.3 → https://git.io/JeCEL
toppler has quit [Ping timeout: 264 seconds]
civodul has quit [Quit: ERC (IRC client for Emacs 26.3)]
bachp has joined #nixos
fgaz has joined #nixos
Dandellion[m] has joined #nixos
copy` has joined #nixos
cornu has joined #nixos
Ericson2314 has joined #nixos
bennofs[m] has joined #nixos
dtz has joined #nixos
zurdo has joined #nixos
clacke[m] has joined #nixos
alj[m] has joined #nixos
abbafei[m] has joined #nixos
Guest80363 has joined #nixos
bkl[m] has joined #nixos
corpix[m] has joined #nixos
aquarial has joined #nixos
attente[m] has joined #nixos
domenkozar[m] has joined #nixos
Noughtmare[m] has joined #nixos
M0ddba11[m] has joined #nixos
Brio[m] has joined #nixos
am3on[m] has joined #nixos
das-g[m] has joined #nixos
craige[m] has joined #nixos
MiloIgnis[m] has joined #nixos
escaP[m] has joined #nixos
ndarwincorn has joined #nixos
Minijackson[m] has joined #nixos
clefru has joined #nixos
cyberwolf[m] has joined #nixos
alexarice[m] has joined #nixos
colemickens has joined #nixos
DanP[m] has joined #nixos
florianjacob has joined #nixos
craigevil[m] has joined #nixos
balsoft[m] has joined #nixos
atopuzov[m] has joined #nixos
aterius has joined #nixos
bohan[m] has joined #nixos
bendlas has joined #nixos
EuAndreh[m] has joined #nixos
is0x3F has joined #nixos
frederic_chopwn[ has joined #nixos
abbec has joined #nixos
arcnmx has joined #nixos
blitzclone_ has joined #nixos
dwagenk has joined #nixos
MilkManzJourDadd has joined #nixos
alxev[m] has joined #nixos
danielrf[m] has joined #nixos
laas has joined #nixos
divansantana has joined #nixos
arturo[m] has joined #nixos
BinkyTheClown has joined #nixos
fulgjon has joined #nixos
bikki[m] has joined #nixos
balsoft has joined #nixos
coniferous-cube[ has joined #nixos
alienpirate5 has joined #nixos
vvbb[m] has joined #nixos
RobinKroonen[m] has joined #nixos
Ox4A6F has joined #nixos
chuzz_ has joined #nixos
abbradar[m] has joined #nixos
b-m-f[m] has joined #nixos
eddyb has joined #nixos
simbergm has joined #nixos
VaNilLa[m] has joined #nixos
dominicusin[m] has joined #nixos
philipp[m] has joined #nixos
kaychaks[m] has joined #nixos
nh2[m] has joined #nixos
ejpcmac has joined #nixos
jak[m] has joined #nixos
MerlinGttlinger[ has joined #nixos
IslandUsurper has joined #nixos
olejorgenb[m] has joined #nixos
ptotter[m] has joined #nixos
bkchr has joined #nixos
hiroshi[m] has joined #nixos
ninjatrappeur[m] has joined #nixos
codyopel has joined #nixos
nocent has joined #nixos
musicmatze has joined #nixos
momack2[m] has joined #nixos
isgy[m] has joined #nixos
neonfuz2 has joined #nixos
jschievink has joined #nixos
jonge[m] has joined #nixos
flip[m]1 has joined #nixos
icetan has joined #nixos
macerbi[m] has joined #nixos
malteof[m] has joined #nixos
luftmensch[m] has joined #nixos
bricewge has joined #nixos
Thinkofname[m] has joined #nixos
hackeryarn[m] has joined #nixos
roadt[m] has joined #nixos
manveru[m] has joined #nixos
NickHu has joined #nixos
JaakkoLuttinen[m has joined #nixos
harkenedraven has joined #nixos
MarkOtaris has joined #nixos
rihardsk[m] has joined #nixos
pingveno[m] has joined #nixos
pinage404[m] has joined #nixos
roberth has joined #nixos
cgm[m] has joined #nixos
freddie_freeload has joined #nixos
li_matrix has joined #nixos
nilsirl[m] has joined #nixos
otini has joined #nixos
iceychris[m] has joined #nixos
MayeulC_backup has joined #nixos
joepie91[m] has joined #nixos
Notkea[m] has joined #nixos
fasd has joined #nixos
fidgetspinoza[m] has joined #nixos
anton-latukha[m] has joined #nixos
eqyiel has joined #nixos
bnasty[m] has joined #nixos
matthewbauer has joined #nixos
goibhniu has joined #nixos
marius851000[m] has joined #nixos
ma27[m] has joined #nixos
HappyEnt[m] has joined #nixos
Lisanna[m] has joined #nixos
ajirx[m] has joined #nixos
arianvp[m] has joined #nixos
badmutex[m] has joined #nixos
hpfr[m] has joined #nixos
cab404[m] has joined #nixos
aymenstudios[m] has joined #nixos
elais[m] has joined #nixos
ck3d[m] has joined #nixos
boredom101[m]1 has joined #nixos
Diamaths[m] has joined #nixos
TheSirC[m] has joined #nixos
dnixty[m] has joined #nixos
grahamc[m] has joined #nixos
alexoundos[m] has joined #nixos
bpye has joined #nixos
Bruno[m] has joined #nixos
rnhmjoj has joined #nixos
Dan[m]8 has joined #nixos
Fabian[m]3 has joined #nixos
gudea[m] has joined #nixos
orospakr[m] has joined #nixos
jonreeve[m] has joined #nixos
Christian[m]4 has joined #nixos
mariusz-kowalski has joined #nixos
GerdFlaig[m] has joined #nixos
peterhoeg[m] has joined #nixos
pop[m]1 has joined #nixos
KarelWDingeldey[ has joined #nixos
NfixEstrada[m] has joined #nixos
frislie[m] has joined #nixos
pachacuti[m] has joined #nixos
hr[m] has joined #nixos
Nyanloutre[m] has joined #nixos
LinuXit has joined #nixos
ronny has joined #nixos
tails[m] has joined #nixos
Moredread[m] has joined #nixos
mildred has joined #nixos
imj[m] has joined #nixos
joelpet1 has joined #nixos
quiet_laika[m] has joined #nixos
MichaelEden[m] has joined #nixos
ilya-fedin has joined #nixos
ptival[m] has joined #nixos
peel1 has joined #nixos
jtojnar has joined #nixos
jak_wolf[m] has joined #nixos
KodiakIT[m] has joined #nixos
offlinehacker has joined #nixos
layus[m] has joined #nixos
ctrl_shift_smtng has joined #nixos
Vskilet has joined #nixos
sphalerit has joined #nixos
timokau[m] has joined #nixos
RIOTIM[m] has joined #nixos
mirsal has joined #nixos
jersey[m] has joined #nixos
vaibhavsagar has joined #nixos
bee[m]1 has joined #nixos
wak-work has joined #nixos
contrun[m] has joined #nixos
thefloweringash has joined #nixos
thequux[m] has joined #nixos
slabity has joined #nixos
worldofpeace has joined #nixos
weebull[m] has joined #nixos
zaphar_ps[m] has joined #nixos
TravisRt2botio[m has joined #nixos
spacekitteh[m] has joined #nixos
siraben has joined #nixos
sylvie[m] has joined #nixos
regnat[m] has joined #nixos
ArtemVorotnikov[ has joined #nixos
Smith[m] has joined #nixos
wrunt[m] has joined #nixos
Seb[m] has joined #nixos
yoho[m]1 has joined #nixos
Yakulu[m] has joined #nixos
haslersn has joined #nixos
steshaw[m] has joined #nixos
rycee has joined #nixos
zmlww[m]1 has joined #nixos
midi[m] has joined #nixos
tyx2q[m] has joined #nixos
white_bluff[m] has joined #nixos
sm[m] has joined #nixos
sauyon[m] has joined #nixos
zmlww[m] has joined #nixos
tokudan[m] has joined #nixos
truby has joined #nixos
schmittlauch[m] has joined #nixos
snupples[m] has joined #nixos
xavierm02 has joined #nixos
tejok[m] has joined #nixos
klbrn[m] has joined #nixos
kyleondy[m] has joined #nixos
Guest97061 has joined #nixos
Sisyphe[m] has joined #nixos
sevcsik[m] has joined #nixos
Victor[m]2 has joined #nixos
yangm has joined #nixos
srid[m] has joined #nixos
tyrion-mx has joined #nixos
gspia[m] has joined #nixos
grim_reaper[m] has joined #nixos
jwaksbaum[m] has joined #nixos
groggy[m] has joined #nixos
info_supplicant[ has joined #nixos
kraem[m] has joined #nixos
kxlljoyy[m] has joined #nixos
provessor[m] has joined #nixos
nobbo[m] has joined #nixos
infinisil-m has joined #nixos
hienergy[m] has joined #nixos
l33[m] has joined #nixos
haslersn[m] has joined #nixos
red[m] has joined #nixos
sputny[m] has joined #nixos
Gopal[m] has joined #nixos
submoo[m] has joined #nixos
smolboye[m] has joined #nixos
alex[m]18 has joined #nixos
vxzero[m] has joined #nixos
Woland[m] has joined #nixos
vdot0x23[m] has joined #nixos
syntaxtree[m] has joined #nixos
xbreak[m] has joined #nixos
tobim[m] has joined #nixos
tindvik[m] has joined #nixos
y0x3y[m] has joined #nixos
tonic0x539[m] has joined #nixos
Shyim[m] has joined #nixos
schmittlauch[m]1 has joined #nixos
ZD[m] has joined #nixos
v0id72[m] has joined #nixos
sierraDelta has joined #nixos
wildtrees[m] has joined #nixos
seekerus3r[m] has joined #nixos
sonercirit[m] has joined #nixos
stites[m] has joined #nixos
Tony[m]3 has joined #nixos
Sascha[m]3 has joined #nixos
calbrecht[mb] has quit [Remote host closed the connection]
toppler has joined #nixos
Mateon1 has quit [Ping timeout: 252 seconds]
calbrecht[mb] has joined #nixos
Mateon1 has joined #nixos
mirsal has joined #nixos
mirsal has quit [Changing host]
toppler has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @Izorkin opened pull request #70527 → unit: 1.11.0 -> 1.12.0 → https://git.io/JeCEC
toppler has joined #nixos
<{^_^}> [nixos-hardware] @globin merged pull request #124 → match specifically on the sound chip → https://git.io/Jecxq
<{^_^}> [nixos-hardware] @globin pushed 2 commits to master: https://git.io/JeCEB
toppler has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @eadwu opened pull request #70528 → bcachefs: 2019-10-04 → https://git.io/JeCER
freeman42xx has quit [Remote host closed the connection]
freeman42x has joined #nixos
leo_ has joined #nixos
toppler has joined #nixos
Rusty1 has joined #nixos
toppler has quit [Ping timeout: 268 seconds]
mexisme has joined #nixos
mexisme has quit [Ping timeout: 268 seconds]
freeman42xx has joined #nixos
freeman42xx has quit [Remote host closed the connection]
freeman42x has quit [Ping timeout: 268 seconds]
freeman42x has joined #nixos
xkapastel has joined #nixos
datakurre has quit [Ping timeout: 250 seconds]
datakurre has joined #nixos
stzsch has quit [Ping timeout: 252 seconds]
niksnut has quit [Ping timeout: 240 seconds]
stzsch has joined #nixos
freeman42xx has joined #nixos
<leo_> ++clever
<leo_> clever++
<{^_^}> clever's karma got increased to 213
<leo_> infinisil++
<{^_^}> infinisil's karma got increased to 145
freeman42x has quit [Read error: Connection reset by peer]
<leo_> gchristensen++
<{^_^}> gchristensen's karma got increased to 156
chloekek has joined #nixos
<leo_> elvishjerricco++
<{^_^}> elvishjerricco's karma got increased to 12
<{^_^}> [nixpkgs] @joncojonathan opened pull request #70529 → zim: 0.71.1 -> 0.72 → https://git.io/JeCE5
<leo_> samueldr++
<{^_^}> samueldr's karma got increased to 120
knupfer has quit [Remote host closed the connection]
knupfer has joined #nixos
leo_ has left #nixos [#nixos]
<aanderse> anyone here run a matrix server and understand the configuration of it? i've never ran a matrix server or even used matrix/riot, but i'm interested in checking it out. maybe if someone could post their config, or someone could take a look at my config and tell me if i'm completely off the mark?
aaa_ has quit [Quit: Leaving]
<tilpner> aanderse: Paste ahead
<aanderse> tilpner: thanks, just preparing relevant configs
<Yaniel> riot itself is just a bunch of html+js, dump it somewhere and have nginx/apache serve the directory
<tilpner> Yaniel: And a json config
<aanderse> Yaniel: glad to hear, as i was serving it through apache reverse proxy
<Yaniel> oh yeah it has some config now
<tilpner> Has had for at least a year
<Yaniel> and a .well-known json blob pointing to the actual host+port your homeserver is at
kindaro has joined #nixos
<aanderse> relevant configuration: http://ix.io/1XMQ
<kindaro> Hello. I am having trouble running a `freeglut`-based Haskell project with Nix over Arch Linux. Is it possible to get help here?
<tilpner> aanderse: My listeners: https://tx0.co/aKr
<PyroLagus> kindaro: you should explain what the issue is
<aanderse> tilpner: do you expose matrix directly to the internet? or only through proxy?
<aanderse> i'm assuming you can do it only through proxy?
<{^_^}> [nixpkgs] @worldofpeace closed pull request #70476 → cups-filter: 1.25.0 -> 1.25.6 → https://git.io/JeCOR
<tilpner> aanderse: Postgres works well here, haven't regretted it
<tilpner> aanderse: 8448 is directly exposed
<tilpner> aanderse: 8008 is reverse-proxied with nginx
<aanderse> do you have a SRV setup for that? i saw conflicting docs on whether i need that or not
<tilpner> That reports no SRV for me
<kindaro> When I run a trivial executable, I get `user error (unknown GLUT entry glutInit)`. In `strace`, I see that `libglut.so` is being searched for in all kinds of places like `/nix/store/...-gcc-7.4.0/...` where it obviously is not present. At the same time this very library is peacefully located in its own store entry under
<kindaro> `/nix/store/...-freeglut-3.0.0/lib`. I am running `nix-shell --packages ... freeglut`, so I expect it to be found, but it is not happening.
<tilpner> I think it was recommended during migration to .well-known, not sure
<Yaniel> SRV used to be necessary if your homeserver was on a different host than your matrix id suffix or on a non-default port
<{^_^}> [nixpkgs] @globin merged pull request #70358 → wayland_1_9: remove → https://git.io/Jeci1
<{^_^}> [nixpkgs] @globin pushed 2 commits to master: https://git.io/JeCEh
<Yaniel> I think you are now supposed to do it with the .well-known json blob
<tilpner> Yes, but IIRC there was a point where having both was good
knupfer has quit [Quit: knupfer]
<{^_^}> [nixpkgs] @c0bw3b merged pull request #70369 → podman: 1.5.1 -> 1.6.1 → https://git.io/JecMi
<{^_^}> [nixpkgs] @c0bw3b pushed 2 commits to master: https://git.io/JeCEj
<tilpner> Which I think has passed
<Yaniel> probably
knupfer has joined #nixos
<Yaniel> I haven't been following lately
<tilpner> "Keep the SRV record in place - it is needed for backwards compatibility with Synapse 0.34 and earlier."
<tilpner> Yeah, we're past that
<tilpner> aanderse: .well-known only
<red[m]> I'm SRV only
<tilpner> locations."= /.well-known/matrix/server".alias = pkgs.writeText "server.json" (builtins.toJSON { "m.server" = synapseDomain; });
<aanderse> tilpner: well given my proxy i assume i need to setup something for that?
<red[m]> do I need a .well-known for better compatibilty?
<aanderse> ah
<Yaniel> red[m]: yes
<tilpner> aanderse: That line was nginx specific, can't help with apache
<aanderse> tilpner: pretty straight forward to translate, thanks :)
dermetfan has quit [Ping timeout: 240 seconds]
<aanderse> synapseDomain = "matrix.domain.com" or just "domain.com" ?
<Yaniel> I think clients also check .well-known nowadays
__red__ has joined #nixos
<Yaniel> aanderse: whichever you want to be part of your username
<aanderse> Yaniel: thanks
<red[m]> afaik matrix.org doesn't know I exist
<red[m]> ?
<red[m]> can you guys seen me? @red:evil.red
<red[m]> ?
<tilpner> red[m]: See WellKnownResult.result for verification
<__red__> I know it isn't there, I guess it's just a case of whether it's needed if I have an SRV record
<tilpner> red[m]: Invited you to a room. If you can see that, I'd say it's working
<__red__> I guess I should just put one in anyways- it will only take me a few minutes anyways
<aanderse> i'm never really clear on these things... .well-known/matrix/server should be served over http or http+https?
<aanderse> from your config i might guess http only?
<Yaniel> I think I always redirect everything to https
<__red__> Your name came up tilpner - but my linux matrix client is buggy as hell so I ca't do anything with it
<__red__> honestly - I've not found a matrix client that works acceptably on nixos
<Yaniel> __red__: SRV is not needed anymore, well-known is required regardless of SRV
<aanderse> __red__: heya. with 19.09 out soon any interest in rewriting the wordpress wiki article? :)
<tilpner> aanderse: I serve it over both: http://tx0.co/.well-known/matrix/server
<aanderse> tilpner: thanks
<tilpner> __red__: I use weechat-matrix and Riot-web
<__red__> I try using nheko
<tilpner> The reborn variant?
<__red__> tried even - ythat's what red[m]? is currently
<__red__> but it's buggy
<__red__> I try to avoid webapps as much as I can - but I probably should
<tilpner> weechat is a TUI applicaiton
<{^_^}> [nixpkgs] @c0bw3b merged pull request #70307 → kubernetes: 1.15.3 -> 1.15.4 → https://git.io/JecW6
<{^_^}> [nixpkgs] @c0bw3b pushed 2 commits to release-19.09: https://git.io/JeCuk
<__red__> is riot-web "electron"-able?
<tilpner> Haven't tried
<tilpner> There is an electron version around though
<tilpner> chromium --app="https://riot.tx0.co" --user-data-dir=... is what I use
<tilpner> Riot is useless without an internet connection, so it's not a problem that it's in chromium
<tilpner> And chromium gives Riot fewer permissions than electron would
<__red__> I installed riot-web on my server
<__red__> I should probably just use it
__red__ has quit [Quit: trying weechat]
iyzsong has quit [Quit: ZNC 1.7.1 - https://znc.in]
<aanderse> so i try to join this channel with matrix
<aanderse> but get error
<aanderse> synapse.http.matrixfederationclient: [POST-121] {GET-O-2} [matrix.org] Request failed: GET matrix://matrix.org/_matrix/federation/v1/query/directory?room_alias=%23freenode_nixos%3Amatrix.org: HttpResponseException("401: b'Unauthorized'")
<aanderse> i'm able to login via android client
<aanderse> i assume this is still an issue with my nixos configuration for matrix
<aanderse> switched my listeners over according to tilpner
<aanderse> so directly exposing 8448
<tilpner> aanderse: Oh sorry, I got distracted. Will finish looking over your paste
<aanderse> no problem, i will update it
toppler has joined #nixos
kindaro has quit [Ping timeout: 260 seconds]
__red__ has joined #nixos
<aanderse> new config, according to your suggestions: http://ix.io/1XN4
<__red__> aanderse: you're missing the second #
<tilpner> aanderse: Does the federation tester accept you?
<MichaelRaskin> __red__: you do know about recommendation to have matrix endpoint and riot code on different sudomains, don't you?
<__red__> it needs to be #freenode_#nixos:matrix.org
<aanderse> tilpner: what is a federation tester?
<__red__> MichaelRaskin: I do, I'm just not sure I see the risk of XSS
dansho has quit [Remote host closed the connection]
<__red__> I understand that it's an additional attack surface, but it's non-trivial and I'm just not that interesting
toppler has quit [Ping timeout: 240 seconds]
dansho has joined #nixos
<tilpner> aanderse: Nitpick: I think DOMAIN should include a potential .net
<aanderse> __red__: ah, thanks. though still gives me the unauthorized error in my matrix-synapse server logs
<MichaelRaskin> Well, the hardening measure works if both endpoints are available both ways, but you happen to use different subdomains
<__red__> umm, lemme check my logs
<__red__> double-check my math as it were
<aanderse> tilpner: yeah that is just for demonstration, actually having the full domain in there
<aanderse> tilpner: thanks for link, issue might be dns at this point
<aanderse> i had the SRV in there, pointing to 443 (because a random web tutorial told me to)
<aanderse> then i found a better random web tutorial
<aanderse> and then you told me 8448
<aanderse> so...
<aanderse> i might just give this some time for the dns
* red[m] uploaded an image: Screenshot_20191006-104337.png (121KB) < https://matrix.org/_matrix/media/r0/download/evil.red/kgieFjmHBxsBJieOQtQSDwHE >
<__red__> so yes - that is the correct address
<aanderse> and all this hassle just because my name was taken on matrix.org ;-)
<__red__> I wanted to run my own homeserver anyways
<__red__> the only reason I'm not running my own irc bridge is that I refuse to run javascript as a server language on principle :-)
<{^_^}> [nixpkgs] @c0bw3b merged pull request #69959 → src: 1.26 -> 1.27 → https://git.io/JeZQp
<{^_^}> [nixpkgs] @c0bw3b pushed 2 commits to master: https://git.io/JeCu8
<tilpner> aanderse: There's still some you may want to configure, feel free to ping when it federates
<tilpner> (And if anyone has a working turn setup that's quiet in the logs, please paste)
<__red__> aanderse: feel free to ping at me too @red:evil.red
<aanderse> thanks team!
<{^_^}> [nixpkgs] @c0bw3b merged pull request #69944 → rambox-pro: 1.1.6 -> 1.1.7 → https://git.io/JeZQv
<tilpner> aanderse: Oh, I have .public_baseurl set too, might be important
<{^_^}> [nixpkgs] @c0bw3b pushed 2 commits to master: https://git.io/JeCu0
<tilpner> (But not to federation)
<tilpner> (And your clients are working, so...)
<aanderse> oh... dns just went through
<aanderse> new errors
Henson has joined #nixos
<aanderse> my domain.net is pointing to 1 ip address, and my matrix.domain.net is pointing to another
Izorkin has quit [Quit: ZNC 1.7.4 - https://znc.in]
<aanderse> when i run that federationtester now it is trying to access domain.net (which does not host matrix-synapse)
<tilpner> We'll all know your domain anyway after you join here
Izorkin has joined #nixos
<aanderse> ha ha ha yeah, i mean i wasn't specifically trying to hide it, its my email etc... anyways
__red__ has quit [Quit: WeeChat 2.6]
<aanderse> if i run https://federationtester.matrix.org/ on matrix.fosslib.net it is trying to hit fosslib.net, not matrix.fosslib.net
Izorkin has quit [Client Quit]
<tilpner> No, it needs to be on fosslib.net
<aanderse> matrix.fosslib.net is running everything, fosslib.net is a completely different ip/machine
<aanderse> ah, yeah... that makes sense
<tilpner> It's the mechanism that answers "where's the matrix server for the user at fosslib.net"
<tilpner> Your username will not include matrix.fosslib.net
siel has quit [Remote host closed the connection]
WilliamHamilton has quit [Remote host closed the connection]
<aanderse> oh... yeah i did that backward
<aanderse> i maded matrix.fosslib.net/well-known... point to fosslib.net but it should be that fosslib.net/well-known... points to matrix.fosslib.net
<aanderse> yeah, that is pretty obvious now that you point it out... thanks >_<
Izorkin has joined #nixos
<tilpner> I didn't catch it in your config either
<tilpner> (Why are you using apache anyway, so verbose)
toppler has joined #nixos
<aanderse> you mean apache config is verbose compared to nginx config, or nixos apache config is verbose compared to nixos nginx config?
<Henson> I've got a shell.nix file with a buildFHSUserEnv in it. Is there some way I can build an out path of this environment so when I do a garbage collection all of the packages referenced in the environment aren't cleaned up and have to be downloaded again?
<tilpner> I'm just referring to the letsencrypt acme-challenge blob you need to put everywhere
<tilpner> The nginx module does that for you
<tilpner> But of course NixOS could do that too for apache
<aanderse> tilpner: yeah the nixos apache module sucks, but i've been working on it
<tilpner> Henson: nix-build shell.nix
<aanderse> a goal of mine is to bring apache up to par with nginx, and hopefully similar/the same options
<tilpner> Henson: That should create a result symlink in your current directory
<m1cr0m4n> Hey folks. I'm trying to set up nextcloud on apache, and reuse as much of the existing service config as possible. However the nginx user/group is hard coded into a few places. Is there a way for me to load the nextcloud service nix script locally/within my configuration.nix? I can't just override some of these things the nice way.
<tilpner> Don't mind me then
<aanderse> :)
<aanderse> also i'm an apache sysadmin at work and that isn't changing any time soon, so why bother putting too much time into learning nginx :p
<Henson> tilpner: I get this error message: User chroot 'env' attributes are intended for interactive nix-shell sessions, not for building!
<tilpner> m1cr0m4n: You can try users.users.nextcloud.group = mkForce "foo";
<tilpner> m1cr0m4n: Or you can blacklist the nextcloud module, copy it into your config, and edit it as you wish
siel has joined #nixos
toppler has quit [Ping timeout: 265 seconds]
<m1cr0m4n> tilpner, Ah blacklisting is what I wanted thanks, but I will try mkForce first :)
<tilpner> Henson: Then I can't help you without seeing the shell.nix (and even then...)
<m1cr0m4n> This line was throwing me some bother: https://github.com/NixOS/nixpkgs/blob/master/nixos/modules/services/web-apps/nextcloud.nix#L436 but I think I figured out how to override it too
m0rphism1 has joined #nixos
<Henson> tilpner: ok, thank you
<tilpner> m1cr0m4n: services.phpfpm.pools.nextcloud.settings = { "listen.owner" = "foo"; "listen.group" = "bar"; };
<tilpner> m1cr0m4n: Though you still need to account for cfg.poolSettings
Izorkin has quit [Quit: ZNC 1.7.5 - https://znc.in]
<{^_^}> [nixpkgs] @samdoshi opened pull request #70530 → zathura 0.4.3 > 0.4.4 (and girara 0.3.2 -> 0.3.3) → https://git.io/JeCui
m0rphism has quit [Ping timeout: 240 seconds]
Izorkin has joined #nixos
<red[m]> aanderse works for me :-0
<aanderse> red[m]: what works for you?
<tilpner> red[m]: Huh? It can't
<m1cr0m4n> tilpner, that's a lot simpler than the one in the repo. Do you know why they add the "mappAttrs (name: mkDefault) { ..." part? I don't understand what that achieves
<tilpner> m1cr0m4n: That's just to set those values with a lower priority, so that the user doesn't have to mkForce over them
<m1cr0m4n> oh! ok yes that makes sense now :)
<tilpner> m1cr0m4n: But the // cfg.poolSettings part is important
<m1cr0m4n> tilpner, yeah I am keeping that.
<m1cr0m4n> tilpner, I understand the // syntax and its associates
<tilpner> m1cr0m4n: You don't have access to cfg if you're just a module user
<m1cr0m4n> tilpner, I can query config.services.nextcloud.poolSettings though right?
<tilpner> Yes
<red[m]> The principle that since you use "Tool A" at work all day, then spending time learning an equivalent "Tool B" doesn't make a huge amount of sense.
<tilpner> Oh, that
Izorkin has quit [Quit: ZNC 1.7.5 - https://znc.in]
Izorkin has joined #nixos
toppler has joined #nixos
toppler has quit [Read error: Connection reset by peer]
fenedor has joined #nixos
<simpson> But also the principle that both Tool A and Tool B are limited-extent and will someday go away, so that it's more important to be able to quickly learn and test new tools than it is to know a particular old tool.
toppler has joined #nixos
Izorkin has quit [Client Quit]
Izorkin has joined #nixos
polmaan has joined #nixos
polman has joined #nixos
<tilpner> aanderse: That looks better!
<aanderse> yeah just an error on MatchingServerName and FutureValidUntilTS
fendor has quit [Ping timeout: 252 seconds]
sb0 has quit [Quit: Leaving]
<aanderse> oh
<aanderse> nm
<aanderse> ignore me
<aanderse> :)
<{^_^}> [nixpkgs] @c0bw3b merged pull request #69512 → elementary-xfce-icon-theme: 0.13.1 -> 0.14 → https://git.io/JeGPn
<{^_^}> [nixpkgs] @c0bw3b pushed 2 commits to master: https://git.io/JeCu5
toppler has quit [Ping timeout: 265 seconds]
toppler has joined #nixos
acarrico has quit [Ping timeout: 265 seconds]
toppler has quit [Read error: Connection reset by peer]
<{^_^}> [nixpkgs] @fjallarefur opened pull request #70531 → oil: enable readline → https://git.io/JeCup
<m0rphism1> Hi, I want to write a parser for the nix expression language in rust. I've found a grammar specification for nix 0.5 [1], but the corresponding sections of the manual have been removed in more recent versions. Does this grammar still describe the current state of the nix language? If not, is there a recent specification?
m0rphism1 has quit [Quit: WeeChat 2.4]
m0rphism has joined #nixos
<m0rphism> sorry, had to relog
<alexarice[m]> m0rphism: Doesn't answer your question, but are you aware of https://github.com/nix-community/rnix-parser
<simpson> I could have sworn that somebody else had explored exactly this line of thought.
<simpson> Ah, there it is, nice.
<{^_^}> [nixpkgs] @risicle opened pull request #70532 → varnish6: 6.2.0 -> 6.2.1, fixing CVE-2019-15892 → https://git.io/JeCze
<m0rphism> alexarice[m]: thanks, wasn't aware of that! :)
<wrl> hey is there a way to uninstall nano?
<wrl> it's not really bothering me but i feel like this could be a fun rabbit hole to figure out
<wrl> i.e. how does it get installed in the first place and whatnot
leo_ has joined #nixos
philr has quit [Ping timeout: 276 seconds]
Izorkin has quit [Quit: ZNC 1.7.5 - https://znc.in]
<alexarice[m]> wrl: I think you want to take a look at `nixos/modules/config/system-path.nix`
Izorkin has joined #nixos
<wrl> alexarice[m]: excellent, thanks
<{^_^}> [nixpkgs] @c0bw3b merged pull request #68357 → ddgr: 1.6 -> 1.7 → https://git.io/JetRq
<{^_^}> [nixpkgs] @c0bw3b pushed 2 commits to master: https://git.io/JeCzq
<alexarice[m]> might be quite hard to get rid of it though by the looks of that. You could make an overlay `self: super: { nano = null; }` and see what happens
<alexarice[m]> wrl: ^
freeman42xx has quit [Ping timeout: 246 seconds]
orivej has quit [Ping timeout: 240 seconds]
aaron[m]5 has joined #nixos
mekeor has joined #nixos
<mekeor> hello. (how) can i use 19.09 beta-release as system.stateVersion? :)
Izorkin has quit [Quit: ZNC 1.7.5 - https://znc.in]
Izorkin has joined #nixos
<tilpner> mekeor: Do you already have NixOS installed?
<alexarice[m]> mekeor: You shouldn't really change `system.stateVersion`. Do you have a reason you want to
leo_ has quit [Remote host closed the connection]
toppler has joined #nixos
<mekeor> tilpner: yes
<mekeor> alexarice[m]: actually, i'd just like to try out a new service available in the 19.09 release (wordpress)
<alexarice[m]> mekeor: You do not need to change `system.stateVersion` to do this
<alexarice[m]> just change your channel
<alexarice[m]> and rebuild
<mekeor> alexarice[m]: like this?: sudo nix-channel --remove nixos; sudo nix-channel --add https://nixos.org/channels/nixos-19.09 nixos
<alexarice[m]> then `sudo nixos-rebuild --upgrade` and hope all goes well
toppler has quit [Ping timeout: 268 seconds]
<alexarice[m]> `sudo nixos-rebuild switch --upgrade` that should be (or boot instead of switch)
__red__ has joined #nixos
<__red__> sorry about that
o1lo01ol1o has quit [Remote host closed the connection]
niksnut has joined #nixos
<aaron[m]5> tilpner: __red__: thanks for help with matrix!
<tilpner> You have a weird 5 there
<aaron[m]5> hmm yeah whats that about
<tilpner> Seems like there are a few aarons
<tilpner> You can message the special bridge bot thing to change your nick
<aaron[m]5> maybe i should rename to aanderse[m] for compatibility...
<tilpner> Renaming to aanderse will work too
<tilpner> Modulo nickserv
<alexarice[m]> aaron: Your name shows up fine on riot
aaron[m]5 is now known as aaron[m7
<tilpner> alexarice[m]: Your name shows up as `alexarice[m]` here
aaron[m7 is now known as aanderse[m]
<alexarice[m]> think the matrix bridge plugs an [m] after everyone's name
<aanderse[m]> well, thanks again everyone, i really appreciate the matrix guidance :)
<__red__> glad you're up and running
tilpner[m] has joined #nixos
shibboleth has joined #nixos
tilpner[m] is now known as tilpner2
<tilpner> alexarice[m] aanderse[m] : It does not append [m]
<alexarice[m]> Maybe it's just because I'm using the matrix.org server?
<alexarice[m]> I don't know
<tilpner2> Possible
tilpner2 has left #nixos ["User left"]
wfranzini has quit [Remote host closed the connection]
endformationage has joined #nixos
wfranzini has joined #nixos
toppler has joined #nixos
<emily> you can set it with !nick ... to some appservice thingy
toppler has quit [Ping timeout: 240 seconds]
fenedor is now known as fendor
freeman42xx has joined #nixos
<{^_^}> [nixpkgs] @c0bw3b merged pull request #68271 → drone: 0.8.6 -> 1.3.1 → https://git.io/fjjNX
<{^_^}> [nixpkgs] @c0bw3b pushed 2 commits to master: https://git.io/JeCz9
<mekeor> alexarice[m]: thank you :)
<{^_^}> [nixpkgs] @c0bw3b merged pull request #68250 → gcsfuse: 0.23.0 -> 0.28.1 → https://git.io/fjjH1
<{^_^}> [nixpkgs] @c0bw3b pushed 2 commits to master: https://git.io/JeCzH
polmaan has quit [Ping timeout: 245 seconds]
freeman42xx has quit [Client Quit]
polmaan has joined #nixos
toppler has joined #nixos
freeman42x has joined #nixos
<{^_^}> [nixpkgs] @illegalprime closed pull request #70494 → sddm: add a themePackages module option so themes are not installed globally → https://git.io/JeCns
<freeman42x> using zerotierone on NixOS. I configure it to use the same network on 2 PCs and it worked fine. But now that I am logged in from another place my computer no longer appears online on the network. Also I see that in that list my former public IP is listed. How can I add my new location to use it also?
<__monty__> freeman42x: Sounds like you could get a similar setup using toxvpn and tinc. *If* you're interested in a more diy approach.
xkapastel has quit [Quit: Connection closed for inactivity]
<freeman42x> __monty__, maybe, but why not just use zerotierone?
<__monty__> I didn't say you shouldn't.
fendor_ has joined #nixos
<freeman42x> __monty__, is there a toxvpn / tinc tutorial or something anywhere? and why are 2 things required to do 1 thing?
<__monty__> Depending on what you want to achieve toxvpn might suffice.
<freeman42x> __monty__, I basically want what Hamachi does - some kind of common LAN for computers across the internet
<{^_^}> Channel nixos-19.09-small advanced to https://github.com/NixOS/nixpkgs/commit/4382a143214 (from 2 hours ago, history: https://channels.nix.gsc.io/nixos-19.09-small)
<freeman42x> zerotierone does exactly that
<freeman42x> __monty__, would toxvpn be enough?
<__monty__> Yes, but only point-to-point.
<freeman42x> __monty__, what does only point-to-point mean? my use case is that I need to access 1 computer from another to be able to pay Open Red Alert
<__monty__> That's point-to-point : )
<freeman42x> so one computer needs to be able to connect to the LAN IP and port of the other to play
<freeman42x> ok, cool
niksnut has quit [Ping timeout: 268 seconds]
<__monty__> Is the person on the other end either running nixos or somewhat techy?
<freeman42x> __monty__, where can I find instructions for settingup toxvpn for that?
<freeman42x> __monty__, I am using anydesk to remote control and set up that other laptop. It is also running NixOS
<freeman42x> currently we managed to play via zerotierone vpn, but now that I am in another location I no longer appear connected to the network... I need to investigate how to fix this
<freeman42x> or... use toxvpn
alex`` has quit [Quit: WeeChat 2.6]
polman has quit [Ping timeout: 240 seconds]
polmaan has quit [Ping timeout: 245 seconds]
polman has joined #nixos
alex`` has joined #nixos
<__monty__> freeman42x: All you need is `services.toxvpn.enable = true; services.toxvpn.localip = "some.local.ip, e.g. 10.0.0.x";`
<__monty__> freeman42x: Then you run toxvpn-remote to find out the ID on both sides and mutually add it.
<freeman42x> I opened a ticket with them: https://github.com/zerotier/ZeroTierOne/issues/1053
<{^_^}> zerotier/ZeroTierOne#1053 (by razvan-flavius-panda, 16 seconds ago, open): Getting new addres when changing physical IP / connected location
<freeman42x> __monty__, ok, but where did you get these steps from? could you link to some tutorial or something please?
<__monty__> The nixos manual and the toxvpn readme.
<alexbakker> does anyone know off-hand how to get thunar-volman to work without installing the whole xfce4 desktop environment?
<freeman42x> __monty__, I can not find anything in the nixos manual about toxvpn set up
<__monty__> freeman42x: I'm referring to the options documented in Appendix A.
<freeman42x> __monty__, oh, I see, it is there
polman has quit [Ping timeout: 245 seconds]
<omnipotententity> how do I access a passthru variable as an installation target?
<infinisil> omnipotententity: Not sure what you mean by that
polmaan has joined #nixos
polman has joined #nixos
<omnipotententity> infinisil, I'm trying to install geant4, but it requires data packages. The data packages are in a separate derivation located in a passthru
<aanderse[m]> freeman42x: sounds like a zerotier configuration issue
t58 has joined #nixos
<infinisil> omnipotententity: I see, passthru variables can be accessed through the derivation itself, like `passthru.foo` would be in `the-package.foo`
<aanderse[m]> I'm a big fan of zerotier because it was 2 lines in my configuration.nix and then the online setup was simple
<freeman42x> aanderse[m], sounds like an issue with my knowledge of how to use zerotierone :)
<omnipotententity> infinisil, that's what I thought, but `nix-env -i geant4 geant4.data` gives me an error "selector 'geant4.data' matches no derivations"
<infinisil> ,-A omnipotententity
<{^_^}> omnipotententity: You'll usually want to use nix-env -i with -A. It's faster and more precise. See https://nixos.wiki/wiki/FAQ/nix-env_-iA for details.
<omnipotententity> dang
<omnipotententity> thanks!
<infinisil> :)
polman has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @worldofpeace closed pull request #65886 → cups-filters: 1.25.0 -> 1.25.1 → https://git.io/fjHL5
polmaan has quit [Ping timeout: 245 seconds]
polmaan has joined #nixos
orivej has joined #nixos
polman has joined #nixos
ravndal has quit [Quit: WeeChat 2.6]
ravndal has joined #nixos
<omnipotententity> any tips for this error? "error: packages '/nix/store/k0pzlpr5fxm0zmj47kjig06m1q8rmsqb-G4PhotonEvaporation/data/z87.a218' and '/nix/store/d17q1jakcv66favhvpr47bjnm2kd55gm-G4RadioactiveDecay/data/z87.a218' have the same priority 5; use 'nix-env --set-flag priority NUMBER INSTALLED_PKGNAME' to change the priority of one of the conflicting packages (0 being the highest priority)"
niksnut has joined #nixos
<symphorien> you probably install -G4RadioactiveDecay a second time
<symphorien> uninstall it first
<omnipotententity> They're not separate packages.
<omnipotententity> This is a first install
<infinisil> symphorien: Installing it again shouldn't change anything?
<omnipotententity> also that, this is nix.
<infinisil> omnipotententity: You can do what the error says
<infinisil> But I'd look into what the file is and why they have the same name for different packages
<omnipotententity> Sure, but I'm trying to update geant4 to the latest version, so I'd like to fix the error.
<infinisil> You can set `meta.priority = 10` or so to decrease the packages priority declaratively
<infinisil> Is that what you're looking for perhaps?
<omnipotententity> yeah, thanks. The priority doesn't actually matter because you'd only ever access the files via the various environment variables.
<__monty__> freeman42x: systemctl status toxvpn, you might have something running on the interface toxvpn wants to bind to.
kaba00 has joined #nixos
polmaan has quit [Ping timeout: 245 seconds]
<{^_^}> [nixpkgs] @worldofpeace opened pull request #70533 → gnomeExtensions.arc-menu: 33.2 -> 33 → https://git.io/JeCgh
polmaan has joined #nixos
Izorkin has quit [Quit: ZNC 1.7.5 - https://znc.in]
Izorkin has joined #nixos
<__monty__> freeman42x: Ah, that's an existing issue. It won't time out *if* you add a friend but it needs to run before you can add a friend... I think running toxvpn as root and then "add other-instance's-id" on both will get you set up and running though.
mexisme has joined #nixos
<kaba00> Hi, I've written once about it, plasma 5 on nixos-unstable doesnt show the option to change screen brightness, nor does it support hotkeys for it - even though it does work on current nixos-19.03.
<freeman42x> __monty__, "running toxvpn as root" what does that mean?
<__monty__> freeman42x: sudo toxvpn -i ip-you-configured
<freeman42x> __monty__, ip-you-configured = IP I want this computer to have?
domogled has joined #nixos
tghume has quit [Quit: WeeChat 1.6]
<__monty__> Yeah, the same one you put in the configuration.nix
tghume has joined #nixos
<freeman42x> how does this relate with the fact that I am already specifying the IP in configuration.nix?
<freeman42x> oh ok
<freeman42x> __monty__, what does this mean "then "add other-instance's-id" on both" ?
<{^_^}> [nixpkgs] @ryantm merged pull request #69447 → python27Packages.addic7ed-cli: 1.4.5 -> 1.4.6 → https://git.io/JeGVn
<{^_^}> [nixpkgs] @ryantm pushed 2 commits to master: https://git.io/JeC2U
<__monty__> freeman42x: Run toxvpen on both hosts. Then run "add other-host's-id" on each. To mutually add a friend. So the service won't time out anymore.
<__monty__> The add is run from within toxvpn.
<freeman42x> __monty__, ok, but how do I "run "add other-host's-id"" that is what I do not understand
<freeman42x> ehm
mexisme has quit [Ping timeout: 276 seconds]
<__monty__> You literally type `add <paste the ID>`
<__monty__> Then enter.
<freeman42x> __monty__, currently I am running `sudo toxvpn -i 192.168.127.1` and it just does not end... it keeps writing stuff
<__monty__> Shouldn't be outputting all that much.
<freeman42x> __monty__, it still did not stop... keeps writing stuff
<__monty__> Paste?
tghume has quit [Quit: WeeChat 1.9.1]
<__monty__> freeman42x: Hmm, I *think* the problem is you're already on a 192.168.whatever network? Try 127.169.x.x or 10.x.x.x instead.
niksnut has quit [Ping timeout: 240 seconds]
tghume has joined #nixos
polmaan has quit [Ping timeout: 245 seconds]
polmaan has joined #nixos
tghume has quit [Client Quit]
Okinan has joined #nixos
tghume has joined #nixos
niksnut has joined #nixos
tghume has quit [Client Quit]
tghume has joined #nixos
polmaan has quit [Ping timeout: 245 seconds]
polmaan has joined #nixos
shibboleth has quit [Quit: shibboleth]
<inkbottle> "cachix" installation is usually done with adding it to configuration.nix?
<freeman42x> __monty__, tried with sudo toxvpn -i 127.169.0.1 and it gets stuck
<__monty__> What do you mean stuck? It doesn't output much.
<__monty__> Oh, and the range is 172.16-31.x.x
polmaan has quit [Ping timeout: 245 seconds]
polmaan has joined #nixos
<freeman42x> __monty__, what do you mean, the range is... ?
tghume has quit [Quit: WeeChat 2.4]
<freeman42x> __monty__, stuck as in output some stuff and then got stuck
<__monty__> 127.whatever is not a private IP range and you'll have a bad time.
tghume has joined #nixos
<__monty__> It doesn't continually output anything.
<freeman42x> stuck on udp connection established
<freeman42x> I used 127. because that is what you mentioned
drakonis has joined #nixos
<__monty__> And I corrected saying it's 172.
<red[m]> yup, it's a /12, not /8
<red[m]> hang on
<red[m]> i misread
<__monty__> And that's not stuck. You can still provide input and it'll occasionally output when it connects to a "friend."
freeman42x has quit [Quit: Leaving]
Heirlung has quit [Quit: ZNC 1.6.5+deb1+deb9u2 - http://znc.in]
polman has quit [Ping timeout: 246 seconds]
freeman42x has joined #nixos
freeman42x has quit [Remote host closed the connection]
polman has joined #nixos
polmaan has quit [Ping timeout: 245 seconds]
domogled has quit [Ping timeout: 276 seconds]
kindaro has joined #nixos
<{^_^}> [nixpkgs] @timothee-haudebourg opened pull request #70534 → Renoise version 3.2.0 → https://git.io/JeC26
kindaro has quit [Remote host closed the connection]
niksnut has quit [Remote host closed the connection]
niksnut has joined #nixos
polmaan has joined #nixos
Chiliparrot has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
wfranzini has quit [Remote host closed the connection]
aveltras has quit [Quit: Connection closed for inactivity]
<{^_^}> [nixpkgs] @OmnipotentEntity opened pull request #70535 → geant4: 10.4.1 -> 10.5.1 → https://git.io/JeC2P
wfranzini has joined #nixos
Heirlung has joined #nixos
polman has quit [Ping timeout: 245 seconds]
acarrico has joined #nixos
polman has joined #nixos
<astrall33> nixuser@host01:~$ nix search cowsay
<astrall33> error: no results for the given search term(s)!
<omnipotententity> works over here
<omnipotententity> also returns ponysay and tewisay
polmaan has quit [Ping timeout: 245 seconds]
polmaan has joined #nixos
otulp has joined #nixos
<astrall33> nixuser@host01:~$ nix search cowsay
<astrall33> error: no results for the given search term(s)!
<astrall33> warning: using cached results; pass '-u' to update the cache
<astrall33> nixuser@host01:~$ nix search -u
<astrall33> error: no results for the given search term(s)!
<omnipotententity> "nix search -u cowsay" perhaps?
<astrall33> nixuser@host01:~$ nix search -u cowsay
<astrall33> error: no results for the given search term(s)!
<astrall33> :-(
<omnipotententity> does any package show up?
<omnipotententity> like... nix search bash
polman has quit [Ping timeout: 245 seconds]
<astrall33> nixuser@host01:~$ nix-channel --list
polman has joined #nixos
<astrall33> maybe it doesn't work on unstable ;-)
<astrall33> nixuser@host01:~$ nix search bash
<astrall33> error: no results for the given search term(s)!
<astrall33> warning: using cached results; pass '-u' to update the cache
<astrall33> ??????????????????????????????????????????????????????
<astrall33> warning: Nix search path entry '/home/nixuser/.nix-defexpr/channels' does not exist, ignoring
<clever> astrall33: nix-channel --list?
<omnipotententity> weirdly, my nix-channel --list comes up empty, but I still have searching?
<astrall33> nixuser@host01:~/.nix-defexpr/channels$ nix-channel --list
<clever> astrall33: nix-channel --update
<clever> omnipotententity: root has its own channels, sudo nix-channel --list
<omnipotententity> that explains that small mystery
<clever> ]$ ls -lh ~/.nix-defexpr/channels
<clever> lrwxrwxrwx 1 clever users 46 Jun 6 2018 /home/clever/.nix-defexpr/channels -> /nix/var/nix/profiles/per-user/clever/channels
<clever> astrall33: it should be a symlink to this
<astrall33> nixuser@host01:~/.nix-defexpr/channels$ nix-channel --update
<astrall33> warning: using cached results; pass '-u' to update the cache
<astrall33> error: no results for the given search term(s)!
<astrall33> nixuser@host01:~/.nix-defexpr/channels$ nix search firefox
<astrall33> unpacking channels...
<clever> astrall33: did you do mkdir on that path?
<astrall33> ls -lh ~/.nix-defexpr/channels
<astrall33> lrwxrwxrwx 1 nixuser nixuser 47 Oct 6 18:22 /home/nixuser/.nix-defexpr/channels -> /nix/var/nix/profiles/per-user/nixuser/channels
<clever> ah, so that part is working
<astrall33> i'm not sure what you mean old chap.
<clever> astrall33: what about echo $NIX_PATH
<astrall33> nixuser@host01:~/.nix-defexpr/channels$ echo $NIX_PATH
<astrall33> ah!
<clever> thatll do it!
<clever> is this on nixos, or another distro?
<astrall33> nope it's the...cut and paste error
Havvy has quit [Read error: Connection reset by peer]
<astrall33> nixuser@host01:~/.nix-defexpr/channels$ echo $NIX_PATH
<astrall33> mangled!! sorry
<astrall33> echo $NIX_PATH
<astrall33> "/home/nixuser/.nix-defexpr/channels"
<clever> that should be working...
<clever> try `nix search -u` again?
<astrall33> nixuser@host01:~/.nix-defexpr/channels$ nix search -u
<astrall33> error: no results for the given search term(s)!
<astrall33> hmmmm...
Havvy has joined #nixos
<clever> `nix search -u firefox` ?
<astrall33> nixuser@host01:~/.nix-defexpr/channels$ nix search -u firefox
<astrall33> error: no results for the given search term(s)!
<astrall33> ???????????????????????????????
<clever> outa ideas then
<astrall33> clever...try it..
<clever> trace: warning: Public updates for Oracle Java SE 8 released after January 2019 will not be available for business, commercial or production use without a commercial license. See https://java.com/en/download/release_notice.jsp for more information.
<clever> error: no results for the given search term(s)!
<astrall33> ok....thanks any...
<astrall33> how..............
<clever> astrall33: next, id think you should check the source for `nix search` to see what its doing
<{^_^}> [nixpkgs] @symphorien opened pull request #70537 → xfce4-14: add xfce4-volumed-pulse when not using the desktop → https://git.io/JeCae
Izorkin has quit [Quit: ZNC 1.7.5 - https://znc.in]
Izorkin has joined #nixos
knupfer has quit [Ping timeout: 264 seconds]
Izorkin has quit [Client Quit]
Izorkin has joined #nixos
is_null has quit [Ping timeout: 240 seconds]
Henson has quit [Quit: KVIrc 5.0.0 Aria http://www.kvirc.net/]
Izorkin has quit [Client Quit]
Izorkin has joined #nixos
<clever> astrall33: i just tab-complete haskellPackages. under `nix repl '<nixpkgs>'`
<{^_^}> Channel nixpkgs-19.09-darwin advanced to https://github.com/NixOS/nixpkgs/commit/4382a143214 (from 4 hours ago, history: https://channels.nix.gsc.io/nixpkgs-19.09-darwin)
kindaro has joined #nixos
<astrall33> that's why we call you clever, clever
Izorkin has quit [Client Quit]
<clever> astrall33: also, nixpkgs has every single package on hackage, and with the same names
<clever> so you dont really need to search
<clever> > haskellPackages.aeson.description
Izorkin has joined #nixos
<kindaro> Hello. How can I add `glibc.static` to `buildInputs` when invoking `nix-shell` without `shell.nix` (only command-line arguments)?
<{^_^}> attribute 'description' missing, at (string):269:1
<astrall33> probably like to fix nix search however,seeming as i'm writing a tutorial for it.. can't write a tutorial for it , if the tool doesn't <work>
<clever> kindaro: nix-shell -p dynamically generates a stdenv.mkDerivation, and shoves all arguments into the buildInputs
otulp has quit [Remote host closed the connection]
<clever> kindaro: but you may want the muslc cross-compiler, which needs -E instead
<kindaro> @clever I am not following, can you explain simpler?
<clever> > haskellPackages.aeson.meta.description
<clever> astrall33: ah, i missed a meta
<{^_^}> "Fast JSON parsing and encoding"
<clever> kindaro: either `nix-shell -p glibc.static` or ....
<clever> kindaro: nix-shell -E 'with import <nixpkgs> {}; pkgsCross.musl64.stdenv.mkDerivation { name = "name"; buildInputs = []; }'
<clever> kindaro: that 2nd one will use a static muslc, (and static everything), rather then static glibc
<kindaro> clever: I have a problem statically building a trivial Haskell executable. Now with `glibc.static` it can link to most dynamic objects, but I still need to provide `GL`, `GLU` and `gmp`. How can I do that?
noudle has quit [Ping timeout: 252 seconds]
chloekek has quit [Quit: WeeChat 2.4]
<clever> kindaro: a: pkgsCross.musl64 will provide everything static without you having to do anything
<clever> kindaro: b: https://github.com/nh2/static-haskell-nix does exactly what you want
<clever> kindaro: and i stripped b down to the bare minimum here https://github.com/cleverca22/nix-tests/blob/master/haskell-init/default.nix#L3-L13
Ralith_ has quit [Remote host closed the connection]
fusion809 has quit [Remote host closed the connection]
<kindaro> clever: So what is this `muslc`? It actually worked, with the expression you provided.
<clever> kindaro: muslc is an alternative to glibc, that is more designed for static use
AstraAdria4_Ari has quit [Quit: Leaving]
AstraAdria4Ari has quit [Quit: Leaving]
otulp has joined #nixos
<kindaro> clever: But actually no, it did not work. It did not find any of the objects, like `tinfo`, `util`, `pthread`.
<astrall33> an alternative to glibc,...
<astrall33> now i've seen it all.
<kindaro> clever: I must be missing some basic knowledge about things?
<{^_^}> [nixpkgs] @peti pushed to haskell-updates « haskell-regex-tdfa: use latest version when compiling with ghc-8.8.1 »: https://git.io/JeCaE
<clever> kindaro: did you try something similar to the haskell-init code?
<kindaro> clever: I do not think so. I am really new to this business of building stuff with `nix`.
<simpson> astrall33: musl's author maintains a fun table: https://www.etalabs.net/compare_libcs.html
<clever> kindaro: just grab the entire default.nix file i linked, throw your code into hello_world.hs, and then `nix-build -A hello_world`
<clever> simpson: one fun (and security related) thing i learned, is that setuid (the syscall) only impacts the current thread
<astrall33> the great thing about STANDARD GLIBC, is that there's so many standards.
Astralix9 has joined #nixos
<astrall33> (I think that was a joke)
<clever> simpson: so you could drop root in a thread, then execute untrusted code, which screws with another threads stack, to regain root
<astrall33> you Astralix...
<clever> simpson: glibc emulates setuid being process wide, by interupting every thread, to run setuid in each of them!!
graf_blutwurst has quit [Remote host closed the connection]
<clever> simpson: but there are certain conditions that make a thread not possible to interupt
<simpson> clever: I've heard of this problem.
<clever> which can leave some root powers in your process, even if you think they are gone
<astrall33> oh...well.
<astrall33> make everyone root!
<clever> astrall33: i recently saw a video about the power of the new goto* in c/c++
<clever> astrall33: it can give you as much as a 40% speed boost in some cases
<astrall33> and you have to sudo to run users processes...
<astrall33> ;-)
<clever> astrall33: the guy doing the talk on it, may have been threaned by the c++ commitee, to stop talking about it :P
<astrall33> what is it , jmp 0x00000000000000000000000000000000000000000000000000000000000000000
<astrall33> blimey...
<astrall33> the c++ mafia....
<clever> astrall33: basically, you can put a label into a pointer
<clever> and then goto that pointer
<astrall33> out for blood again?
<clever> void *foo = &&label;
<astrall33> i really want c++ to go 40% slower...
<clever> goto* label;
<clever> label:
<astrall33> maybe then people will stop using it.
mishac has joined #nixos
<astrall33> but i guess, i'll always love C.
<clever> astrall33: in the example he found, switch/case blocks, that involve bytecode interpreting, is the major benefit
polman has quit [Ping timeout: 245 seconds]
freeman42x has joined #nixos
<clever> and its more a matter of the assembly is easy to write to be even faster
polman has joined #nixos
<clever> but the compiler doesnt generate such assembly
<mishac> clever I tried the first approach and did not work, I wonder I how to create a build user so i can run nix builds under root?
<clever> so you need goto label to be able to force the compiler to generate the fast code
<clever> mishac: create an array of users, nixbld1, nixbld2 .... up to some number of your choosing
<astrall33> the compiler can only optomise if it knows the op codes...
<clever> mishac: then create a group, nixbld, and add all users to it
<astrall33> and does all that compiler 'magic'.
<clever> astrall33: the trick, is that you have index relative jumps, via jump tables
<astrall33> wow..that channel reminds me of 1972.
<mishac> @clever. Ok, gonna try that
das_j has joined #nixos
<clever> astrall33: and the cpu will predict where a given jmp will go, based on where it has gone before
<astrall33> which is a good thing.
<astrall33> branch prediction?
<clever> astrall33: without goto*, the entire switch/case share a single jmp in assembly, so the cpu has to predict based on how often a single opcode occurs in the emulated language
<clever> astrall33: but with goto*, you have one jmp, at the end of each opcode
<clever> astrall33: so the cpu can predict, based on what the previous opcode was
<astrall33> hmmm...tasty
<clever> so if A is followed by B 100% of the time, the branch prediction can get it right
<astrall33> where the bit where this doesn't validate cache memory, and send your .ssh keys to <insert country here>
<clever> astrall33: you should still of course validate all input :P
<clever> this is more of a loop unrolling thing, then a major redesign
astralix_ has joined #nixos
<clever> the code that was shared at the top of a switch-case block, just got cut&pasted into the `break;` at the end of each case block
<clever> otherwise, its identical code
<astrall33> very clever...
<astrall33> toooooo clever...
niksnut has quit [Ping timeout: 240 seconds]
<clever> astrall33: now i'm stuck trying to figure out how to use this in nix, lol
Ralith_ has joined #nixos
abathur has joined #nixos
<clever> nix isnt a bytecode, so you cant just blindly apply this to it!
<clever> hmmmm, but maybe the existing AST nodes and virtual eval functions, already form the exact same kind of structure this guy was forcing?....
<clever> its got more function prolog to deal with, but the relative calls could still be predicted the same way
Astralix9 has quit [Ping timeout: 276 seconds]
astralix_ has quit [Ping timeout: 240 seconds]
<astrall33> blimey....
<astrall33> sounds like a compiler modification..
<astrall33> ;-)
wfranzini has quit [Remote host closed the connection]
<astrall33> after seeing some stuff about clang, you might have a 'chance' of doing it with that.
<clever> astrall33: yeah, you could just make it a optimization pass in gcc, to make all switch blocks do this
wfranzini has joined #nixos
polman has quit [Ping timeout: 245 seconds]
polman has joined #nixos
nexgen has quit [Remote host closed the connection]
<clever> astrall33: but ive heard that llvm's optimizer is very flexible, and could likely do this more easily...
<astrall33> nix repl '<nixpkgs>'
<astrall33> NOW PRESS TAB key, to tab complete.... rather nice....
<astrall33> haskellPackages.
<astrall33> llvm...clang...it's all the same to me
<clever> with llvm, you have 100's of seperate optimize functions
nexgen has joined #nixos
<clever> and then for a given arch, the maintainers select which ones actually help (or even work)
<astrall33> yes..it optomises it quantum assembly now.
<astrall33> I'm liking this tab completion in nix repl..
<astrall33> :-)
nexgen has quit [Remote host closed the connection]
<clever> mishac: make-system-tarball.nix auto-generates a hydra-build-products file, so if you build it on hydra, you get a link to the tar, right on hyra
ixxie has quit [Ping timeout: 240 seconds]
nexgen has joined #nixos
<mishac> clever thats preetty neat
<astrall33> i'm still trying to get my head around hydra
<astrall33> ____________________________________
<astrall33> | tab-complete haskellPackages. from |
<astrall33> ------------------------------------
<astrall33> \ inside nix repl /
<astrall33> \ ^__^
<astrall33> \ (oo)\_______
<astrall33> (__)\ )\/\
<astrall33> ||----w |
<astrall33> || ||
<mishac> clever You said 06:58 <clever> mishac: you should now have a profile under /nix/var/nix/profiles/ 06:58 <clever> and then nix-env is in the bin dir of that profile
<clever> mishac: yeah, after you nix-env -i /nix/store/something-nix
<mishac> @clever, i got /nix/var/nix/profiles/ direct but its contents are different
<clever> mishac: what are the contents?
<mishac> clever 1 sec
<mishac> @1 min, i think i did something wrong
<gchristensen> astrall33: please don't do that anymore.
waleee-cl has joined #nixos
<astrall33> okay, no more cows.
<astrall33> this channel is now 1969.
<kindaro> clever: Thank you!
kindaro has left #nixos [#nixos]
kindaro has joined #nixos
ekleog has quit [Quit: back soon]
abathur has quit [Ping timeout: 250 seconds]
is_null has joined #nixos
polman has quit [Ping timeout: 245 seconds]
polman has joined #nixos
<mishac> clever, i messed things its working now, i got the nix-env in bin of the directory.
<mishac> clever clever@c2d ~ $ ls -lh .nix-profile 06:58 <clever> lrwxrwxrwx 1 clever clever 29 Oct 8 2015 .nix-profile -> /nix/var/nix/profiles/default
<mishac> clever did you mean i need to create my own nix-profile directory and them symlink it?
<clever> mishac: you should just symlink .nix-profile to the dir
<mishac> clever its not created, so i have to create it?
<clever> mishac: ln will create it
<{^_^}> [nixpkgs] @Luz opened pull request #70538 → librepcb: 0.1.0 -> 0.1.2 → https://git.io/JeCa5
<{^_^}> [nixpkgs] @kampka opened pull request #70539 → drone: 1.3.1 -> 1.6.0 → https://git.io/JeCad
<mishac> clever so i need to symlink bin directory?
<clever> mishac: you need to symlink to default
<clever> ls -lh should show exactly what i gave above
<mishac> clever ls -lh .nix-profilels: cannot access '.nix-profile': No such file or directory
<clever> then create it with ln
noudle has joined #nixos
niksnut has joined #nixos
polman has quit [Ping timeout: 245 seconds]
mishac has quit [Ping timeout: 260 seconds]
polman has joined #nixos
<peanutbutter144> hello, does anyone know how to set the default gnupg pinentry?
ekleog has joined #nixos
<{^_^}> [nixpkgs] @kampka opened pull request #70540 → drone-cli: 0.8.6 -> 1.2.0 → https://git.io/JeCVT
oscarvarto has joined #nixos
dansho has quit [Read error: Connection reset by peer]
knupfer has joined #nixos
<inkbottle> I've already said that, but I do not have file preview in Dolphin. Even though it is set in Preferences>General>Preview. If it were Debian, I'd say one package is missing, but it is NixOS and I'm new, and I don't know how to fix that
niksnut has quit [Ping timeout: 240 seconds]
niksnut has joined #nixos
<jtojnar> peanutbutter144 you can set it in gpg-agent.conf
<peanutbutter144> jtojnar: do i use the full path (/nix/store/*-pinentry-*/bin/pinentry-gnome3) or is there some other path i can use which i won't have to update when pinentry is updated?
<jtojnar> Ideally, https://github.com/NixOS/nixpkgs/pull/49270/files would get merged, so that it can be set declaratively.
niksnut has quit [Ping timeout: 276 seconds]
<jtojnar> I think you can use just pinentry-gnome3
niksnut has joined #nixos
<peanutbutter144> thanks
<jtojnar> Or maybe /run/current-system/sw/bin/pinentry-gnome3 if it needs absolute path
<jtojnar> Not at computer, so cannot check now
growpotkin has joined #nixos
<peanutbutter144> ok
<peanutbutter144> that path doesn't exist, so i'll try using just pinentry-gnome3
<inkbottle> I've add kdeApplications.kdegraphics-thumbnailers to configuration.nix and now I have "images" preview; pdf preview not yet showing, maybe after some logout
<clever> peanutbutter144: does `which pinentry-gnome3` find it?
<peanutbutter144> clever: no
<clever> peanutbutter144: then gnupg wont find it either
<peanutbutter144> ok
<peanutbutter144> yeah i put just pinentry-gnome3 into gpg-agent.conf and it didn't find it
doublex has joined #nixos
<clever> peanutbutter144: you likely need to install it first
<clever> ,locate pinentry-gnome3
<{^_^}> Found in packages: pinentry_qt4, pinentry_qt5, pinentry_emacs, pinentry_gnome, pinentry_ncurses
<kindaro> clever: I added `GLUT` to the list of Haskell packages in that `default.nix` and now it cannot build one of the dependencies. It says `meson.build:330:9: ERROR: Program(s) ['nm'] not found or not executable`. What can I do about it?
Ariakenom has joined #nixos
<clever> kindaro: i dont think opengl stuff is really going to work in a static binary
<clever> kindaro: you need a lot of dynamic libraries, to deal with driver stuff
knupfer has quit [Ping timeout: 250 seconds]
niksnut has quit [Ping timeout: 265 seconds]
<kindaro> clever: Well, I managed to build it dynamically previously via `nix-shell --packages cabal-install ghc zlib pkg-config libglvnd mesa_glu freeglut --run 'ghc -package GLUT Glut.hs'`, but then it does not run. I described the problem I had earlier today in this very channel, but then I after some time waiting for answer I left with none.
niksnut has joined #nixos
<clever> kindaro: can you pastebin the haskell code your trying to build?
<kindaro> clever: This is that earlier message I am referring to: `https://logs.nix.samueldr.com/nixos/2019-10-06#2654271`
<kindaro> clever: I will make the code available in a minute.
<clever> *looks*
mounty has quit [Quit: Konversation terminated!]
lopsided98 has quit [Quit: Disconnected]
<clever> [clever@amd-nixos:~/apps/kindaro]$ ./result/bin/thing
<clever> X Error of failed request: BadValue (integer parameter out of range for operation) Major opcode of failed request: 1 (X_CreateWindow)
<clever> kindaro: thats what i get when i run it, anything i should check?
<kindaro> clever: Well this is not the error I was getting.
Astralix9 has joined #nixos
lopsided98 has joined #nixos
<kindaro> clever: However, it looks like your run goes farther, so how can I too get to this point?
<clever> [clever@amd-nixos:~/apps/kindaro]$ strace -f -e openat ./result/bin/thing 2>&1 | grep opengl | grep -v ENOENT
<clever> openat(AT_FDCWD, "/run/opengl-driver/lib/libGL.so.1", O_RDONLY|O_CLOEXEC) = 3
<clever> openat(AT_FDCWD, "/run/opengl-driver/lib/dri/radeonsi_dri.so", O_RDONLY|O_CLOEXEC) = 5
<clever> kindaro: i can clearly see it opening gpu specific files, so that half of things is working
<kindaro> This is the error I see when I build with your `default.nix`: `freeglut (thing): ERROR: Internal error <FBConfig with necessary capabilities not found> in function fgOpenWindow`
<clever> kindaro: does /run/opengl-driver exist? which nixpkgs rev are you on?
<kindaro> No, it does not.
<clever> kindaro: are you on nixos?
<kindaro> Not at all.
<clever> ,
<{^_^}> Special commands: find tell locate expand - Commands sorted by use count, page 0 (use ,<n> to view page <n>): tofu help libraries unstable escape'' library unfree declarative howoldis ping escape" callpackage paste overlay -a ask pinning profiling pr which-channel nixlang++ imperative xy cache fancy-uninstall xml exec pills wololo botsnack invite channels haskell loot stateversion home-manager stuck pointers escape-special tias timer dontask ifd nur
<kindaro> I am just using Nix from an Arch linux.
<Yaniel> regardless, apparently you are supposed to link gl stuff into your nix packages some other way nowadays
<clever> ,1
<{^_^}> Page 1: pure-eval runtimedeps thesis cloak configsearch error flakes upgrade whomademe context feeds jdwhat logs matrixbridge mime nix-bundle nixossearch quickstart smart-questions worldofyumminess wrapper bootfull cloudfront helpout info nix-env-r nix-info nixeval nixgl orginvite the-pr-with-initially-1152-new-nixos-options unstable-man wrapnix zip zol activationscripts arm avoid-the-review-spam dnw docbook github hardware nix-repl nixcon
<clever> infinisil: at least sort things!!!
<clever> ,2
<{^_^}> Page 2: nixpkgsversion not-os notfound ops outpath proot python qt releasenotes replacemodule root todeclarative wrapgappshook
<infinisil> They are sorted!
<worldofpeace> ,worldofyumminess
<{^_^}> Worldofwarmth(trill every r) + a dash of extra sweetness
<clever> infinisil: why is an a after a z? lol
<clever> ,nixgl kindaro
<{^_^}> kindaro: nixGL is a bunch of wrappers for getting OpenGL programs to work for your graphics card, https://github.com/guibou/nixGL
<infinisil> Because the sort order isn't alphabetical, but by use count :)
<infinisil> Oh it even says it lol
<clever> infinisil: ahh
<worldofpeace> lol, I think the bot might've reidentified me
doublex has quit [Ping timeout: 245 seconds]
<infinisil> <{^_^}> [...] Commands sorted by use count [...]
<clever> kindaro: opengl stuff doesnt always work outside of nixos, due to complications of how opengl itself works
niksnut has quit [Ping timeout: 246 seconds]
niksnut has joined #nixos
<kindaro> clever: I also have an AMD CPU with integrated GPU. I should probably stop at this point?
<clever> kindaro: your probably going to have better luck if your testing it in nixos, even if it was inside a vm
<kindaro> clever: Can I possibly build stuff with nix-provided `ghc`, but configure it so it uses Arch's GL infrastructure?
<clever> kindaro: not easily, the compilers nix generates, are configured to never look in places like /usr/lib/
<clever> kindaro: and the glibc used by it may not even be compatible
Astralix9 has quit [Ping timeout: 276 seconds]
<{^_^}> [nixpkgs] @romildo merged pull request #70052 → Update a few mate packages → https://git.io/Jenm9
<{^_^}> [nixpkgs] @romildo pushed 6 commits to master: https://git.io/JeCwn
polmaan has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @romildo merged pull request #70169 → enlightenment.enlightenment: 0.23.0 -> 0.23.1 → https://git.io/Jenix
<{^_^}> [nixpkgs] @romildo pushed 2 commits to master: https://git.io/JeCwW
<{^_^}> [nixpkgs] @worldofpeace merged pull request #70537 → nixos/xfce4-14: add xfce4-volumed-pulse when not using the desktop → https://git.io/JeCae
<{^_^}> [nixpkgs] @worldofpeace pushed 2 commits to master: https://git.io/JeCw0
Rusty1 has quit [Quit: Konversation terminated!]
polmaan has joined #nixos
<kindaro> clever: Thank you. I think I will lay this stuff aside for now.
kindaro has left #nixos [#nixos]
<{^_^}> [nixpkgs] @worldofpeace pushed commit from @symphorien to release-19.09 « nixos/xfce4-14: add xfce4-volumed-pulse when not using the desktop »: https://git.io/JeCwE
fendor_ has quit [Quit: Leaving]
o1lo01ol1o has joined #nixos
boxscape has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @c0bw3b merged pull request #70426 → cmatrix: set license attribute (gpl3) → https://git.io/JeCJX
<{^_^}> [nixpkgs] @c0bw3b pushed 2 commits to master: https://git.io/JeCww
doublex has joined #nixos
Ariakenom has quit [Read error: Connection reset by peer]
<ekleog> Anyone has feedback on elk vs. graylog+elasticsearch for a nixos install? I've heard good things about graylog, but they also sound like “you can configure with GUIs,” which sounds like something relatively antithetic to NixOS's configuration.nix
<oscarvarto> Hi! How can I make sbt (Scala Build Tool) use JDK 11 as default Java? It is pointing to JDK 8. Thanks in advance
<astrall33> antithetic?
<ekleog> astrall33: basically, I can't have my configuration in my configuration.nix if it's all in state files (in the same way that nextcloud's config is, and it's kind of causing issues in practice)
<ekleog> oscarvarto: sbt.override { jre = jdk11.jre; } should do the trick
<oscarvarto> ekleog: I am completely new to Nixos (just installed it yesterday). Can I put that configuration in my Global configuration.nix?
freeman42x has quit [Ping timeout: 265 seconds]
<ekleog> oscarvarto: You should basically use it instead of the place where you used `sbt` to install sbt ; don't know where this is :)
doublex has quit [Ping timeout: 240 seconds]
asymptotically has quit [Quit: Leaving]
o1lo01ol1o has quit [Remote host closed the connection]
o1lo01ol1o has joined #nixos
o1lo01ol1o has quit [Remote host closed the connection]
jb55 has quit [Quit: jb55]
o1lo01ol1o has joined #nixos
<evils> anyone know what's blanking my screen at 10 minutes inactivity? i think it's default behaviour
Olgierd has joined #nixos
Olgierd has joined #nixos
Olgierd has quit [Changing host]
<clever> evils: if you run `xset q`, you can see the current config, and other xset flags can change it
<kraem> evils: could be systemd idleaction
<evils> clever: ah, i had found DPMS to be ineffective, it's the screen saver setting
<clever> evils: ah, then run xscreensaver-config or something, and adjust cfg
<evils> xset s off
<evils> thanks
<clever> i tend to be doing the reverse, `xset dpms force off` to turn the screen off at night
<clever> not sure why, but forcing it off breaks the sleep sometimes, and then it never goes off by itself
<clever> synergy is also messing with things
<evils> i just lock i3 and switch off power to the monitors
<kraem> always thought that was systemd defaulting to suspending the system, never tried to change it since I like it - learn something new everyday..
<clever> i dont bother with locking on the desktop, i literally sleep beside it :P
niksnut has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @fpletz merged pull request #69973 → varnish6: 6.2.0 -> 6.3.0 → https://git.io/JeZ5k
<{^_^}> [nixpkgs] @fpletz pushed 2 commits to master: https://git.io/JeCr9
<evils> same here, but it's a bad habit from my laptop, wouldn't be the first time i type my password into some random window
<evils> anyway, another papercut, nixos isn't loading the pcspkr module
<clever> evils: thats been bothering me for years, bel character just doesnt work
<clever> but its better then it was before, the older machines have an ear-splitting bel noise, with no volume adjustment
noudle has quit []
<clever> if i had headphones on, and hit tab at the wrong time, i practically leaped out of my chair
<evils> i can load it manually with modprobe pcspkr
<clever> evils: holy crap, that works, and actually comes from the motherboard speaker!
<clever> boot.kernelModules
<clever> The set of kernel modules to be loaded in the second stage of the boot process. Note that modules that are needed to mount the root file system should be added to boot.initrd.availableKernelModules or boot.initrd.kernelModules.
<evils> i've got boot.kernelModules = [ "pcspkr" "nct6775" ];
<evils> the nct6775 module does get loaded
<clever> evils: anything in dmesg?
<clever> [529204.880242] input: PC Speaker as /devices/platform/pcspkr/input/input32
<clever> i got that when i loaded it
niksnut has joined #nixos
<evils> same here :P
<clever> after that, i think its up to the X server, to map that event to the hardware
polmaan has quit [Ping timeout: 240 seconds]
<clever> interesting, `tput bel` beeps, but tab doesnt
polman has quit [Ping timeout: 245 seconds]
<oscarvarto> How can I make $JAVA_HOME environment variable point to JDK11? I am using `programs.java.enable = true;` and $JAVA_HOME is pointing to JDK8 :(
<clever> oscarvarto: programs.java.package says what java package to use
nexgen has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @fpletz merged pull request #70532 → [r19.09] varnish6: 6.2.0 -> 6.2.1, fixing CVE-2019-15892 → https://git.io/JeCze
<{^_^}> [nixpkgs] @fpletz pushed 2 commits to release-19.09: https://git.io/JeCrx
<clever> evils: ok, maybe i dont want beep working, {^_^} just went off, lol
jb55 has joined #nixos
o1lo01ol1o has quit [Remote host closed the connection]
<clever> evils: another anoying thing, the beep is coming out of the motherboard, not the headset, so its not wireless-y
<{^_^}> [nixpkgs] @veprbl pushed 2 commits to master: https://git.io/JeCov
<{^_^}> [nixpkgs] @veprbl merged pull request #70161 → gildas: 20190901_a -> 20191001_a → https://git.io/Jenrx
kvda has joined #nixos
<oscarvarto> clever: Thanks a lot!
<evils> ah, searching through the channel's history, apparently adding pcspkr to boot.initrd.kernelModules should work
<clever> evils: the difference is just wether it loads before or after mounting /
is_null has quit [Ping timeout: 265 seconds]
<{^_^}> [nixpkgs] @veprbl merged pull request #70523 → rebar3: update documentation → https://git.io/JeC00
<{^_^}> [nixpkgs] @veprbl pushed commit from @DianaOlympos to master « doc/beam: rebar3-open is now removed (#70523) »: https://git.io/JeCo3
jol has quit [Remote host closed the connection]
multun has quit [Ping timeout: 265 seconds]
<{^_^}> [nixpkgs] @jitwit opened pull request #70541 → add chez-scmutils with its dependencies chez-srfi and chez-mit → https://git.io/JeCoc
kaba00 has quit [Quit: Quit]
niksnut has quit [Ping timeout: 265 seconds]
niksnut has joined #nixos
<{^_^}> [nixpkgs] @dsg22 opened pull request #70542 → transmission: Don't trample directory permissions → https://git.io/JeCou
niksnut has quit [Ping timeout: 240 seconds]
inkbottle has quit [Quit: Konversation terminated!]
inkbottle has joined #nixos
palo has quit [Quit: WeeChat 2.4]
inkbottle has quit [Client Quit]
__monty__ has quit [Quit: leaving]
palo has joined #nixos
inkbottle has joined #nixos
<clever> evils: odd, tab-complete over ssh to gentoo beeps, but tab-complete on nixos doesnt...
<clever> needs more investigation!
doublex has joined #nixos
o1lo01ol1o has joined #nixos
doublex has quit [Ping timeout: 250 seconds]
o1lo01ol1o has quit [Ping timeout: 240 seconds]
inkbottle has quit [Quit: Konversation terminated!]
<evils> clever: i don't think there's a standard for when a shell emmits a beep xD
inkbottle has joined #nixos
doublex has joined #nixos
<clever> evils: they are both bash, but they are versions 4.2 and 4.4
<fuzen> Hello, I’m trying to install NixOS with LUKS on lvm, and root storing the key for the home volume. How do I configure NixOS’s hardware to work with this? I didn’t see any documentation for lvm + LUKS
<inkbottle> How can I have spell checking in KDE?
<clever> fuzen: if you set preLVM, then the initrd will open the luks device before it tries to search for LVM devices
niksnut has joined #nixos
<clever> fuzen: for /home, it normally gets mounted by systemd, after / is mounted, so the keyFile paths can be relative to /, and you can use the boot.luks, rather then boot.initrd.luks
<clever> fuzen: ah, there is no boot.luks, so all luks devices get opened in the initrd
<fuzen> It’s post lvm, the lvm each lvm group is LUKS so it can span disks
<clever> fuzen: that will be difficult to support...
sondr3 has joined #nixos
multun has joined #nixos
<clever> fuzen: id say just ditch lvm, and use zfs to span multiple disks, you can do zfs on luks, or zfs native crypti
<sondr3> I'm looking to move my server from Debian to NixOS, are there any hosts that have first party support for NixOS that I should be aware of? Currently using Linode
pbb has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.]
pbb has joined #nixos
<fuzen> clever: I wasn’t aware zfs had this, I’ll look into that route
<clever> sondr3: aws allows anybody to make disk images public, so there are pre-made images with nixos you can select from
niksnut has quit [Read error: Connection reset by peer]
<clever> sondr3: packet.net has support to install nixos on dedicated hardware
<clever> sondr3: you can also use kexec to force nixos onto any hardware, so you could just reinstall over your existing server
<sondr3> clever: yeah, I've seen some tutorials for it, just wondering what people here use
<sondr3> I really just need something in the 5-10$ range
<clever> sondr3: for most of my stuff, i just host it out of my router or nas, lol
<misuzu> i'm using nixos on hetzner cloud
<misuzu> and on oracle cloud
<fuzen> Clever: do you know if it will generate zfs crypt config?
<sondr3> fuzen: I've skimmed it quickly before, but yeah, looks like I might as well just stick with Linode
<sondr3> thanks though peeps
<aanderse> linode + nixos = pretty good
<clever> fuzen: i think https://nixos.org/nixos/options.html#zfs.requ is the only config flag you need
Rusty1 has joined #nixos
<clever> fuzen: and zfs will then prompt on bootup
<aanderse> linode + nixos + nixops + zerotier vpn = pretty decent setup :)
<fuzen> Cool, I’ll have to do the math to see if the ram requirements make sense
<astrall33> can i create a shippable nixos container???
<astrall33> with docker?
<clever> fuzen: zfs will (by default) use no more then 50% of the ram, and it will dynamically use much less (as low as ~5mb) if it detects things wanting more
<clever> astrall33: ive done that recently, but getting the nixos services to run in docker is tricky
<sondr3> aanderse: any tutorials or guides that I can follow for it or did you just use the documentation?
<clever> astrall33: this creates a single container, that spins up postgresql, prometheus, nginx, grafana, oauth2_proxy, and a few other things
<aanderse> sondr3: the documentation on installing nixos on linode is pretty good, i don't think i had any issues with it
<clever> astrall33: but depending on what you want done, things can be simpler
<astrall33> ok...
<{^_^}> Channel nixos-19.09-small advanced to https://github.com/NixOS/nixpkgs/commit/a0b69c12e28 (from 59 minutes ago, history: https://channels.nix.gsc.io/nixos-19.09-small)
<{^_^}> Channel nixpkgs-19.09-darwin advanced to https://github.com/NixOS/nixpkgs/commit/a0b69c12e28 (from 59 minutes ago, history: https://channels.nix.gsc.io/nixpkgs-19.09-darwin)
<astrall33> i don't really like docker...but.....
<clever> astrall33: what exactly do you want done?
<{^_^}> [nixpkgs] @d-goldin opened pull request #70544 → qt5.{qtwebengine, qtwebkit}: fix build on clang → https://git.io/JeCoh
<fuzen> astrall33: You can make NixOS compose docker images too that are slim for pckages too
<astrall33> over katacoder... they only have certain images.... i've managed to mutate thier ubuntu to run just the nix package manager
<astrall33> but i want full blown nixos...as that's more fun.
<astrall33> did i just say 'fun;
<astrall33> '
<m1cr0m4n> Hi. Has anyone managed to configure php-fpm and apache mod_proxy_fcgi?
<m1cr0m4n> Really struggling to find even examples of this config online
niksnut has joined #nixos
<astrall33> hmmm....
<astrall33> i've not play with the php stuff in nixos... so no idea what's it like.
nixhost has quit [Ping timeout: 240 seconds]
o1lo01ol1o has joined #nixos
<aanderse> m1cr0m4n: i use php/phpfpm with apache on nixos very often
<astrall33> cool!
<astrall33> how is it?
nixhost has joined #nixos
<aanderse> astrall33: in 19.09 i would say the experience is pretty good
<aanderse> it is reasonable in 19.03, but better in 19.09
<aanderse> it will be even better in 20.03
<astrall33> :-)
<astrall33> would you be willing to share a config?
<m1cr0m4n> aanderse: Ok I'm going to set up a simple test to make sure it's not the application I'm deploying. I'll get back to you in 5 mins
<astrall33> so i can have a play? i presume it's for nixos? ...
<aanderse> there are a number of examples i wrote which are in 19.09
<aanderse> unfortunately apache module still sucks so the examples aren't awesome
<aanderse> but apache will be better 20.03
boxscape has joined #nixos
<astrall33> i see.
<clever> ive been sticking to nginx lately, and has nice config in nixos
<astrall33> sometimes, you can't choose.
<astrall33> (legacy).... but perhaps it's time to change.
niksnut has quit [Remote host closed the connection]
<aanderse> clever: yes, much better than apache. but the plan is to make apache nice like nginx as well
<astrall33> cool!
niksnut has joined #nixos
<aanderse> nothing wrong with apache, good ol' reliable ;-)
<astrall33> it's a bit 'patchy'
NoctisLabs has quit [Quit: WeeChat 2.6]
<fuzen> I don’t use php code so I don’t use reverse proxies or anything like that. Just one statically linked binary to handle it all
doublex has quit [Ping timeout: 246 seconds]
<fuzen> It’s quite the luxury
silver_ has joined #nixos
<astrall33> fuzen........ i agree!
NoctisLabs has joined #nixos
<clever> fuzen: ive been a fan of haskell and servant lately
silver has quit [Ping timeout: 240 seconds]
o1lo01ol1o has quit [Remote host closed the connection]
<fuzen> I haven’t learned Haskell yet, i plan on doing that soon
<fuzen> I chose rust over Haskell
<astrall33> you don't learn it, you experiencing it.
<{^_^}> [nixpkgs] @veprbl opened pull request #70545 → pythonPackages.awkward: 0.12.6 -> 0.12.12 → https://git.io/JeCKO
<astrall33> ;-)
doublex has joined #nixos
<m1cr0m4n> aanderse: So I actually do have php-fpm working lol. The problem seems to be my nextcloud vhost. I guess the hunt continues for what's actually going wrong
<aanderse> ah ok. good luck
<m1cr0m4n> Got it! All I was missing was this: https://gist.github.com/m1cr0man/e7bad73b1c934d31979bb9c76638e98e
<fuzen> clever: that seems accurate
risson has quit [Quit: Pouet. WeeChat 2.4]
<m1cr0m4n> oh man after all that...I finally read the arch wiki and find a snippet that helps
<m1cr0m4n> aanderse: Have you seen any spam in your logs about ModRewrite + FollowSymlinks issues? I haven't been able to figure htis one out, despite my attempts to enable FollowSymlinks even globally
<sondr3> having a lot of fun with our functional programming course at my uni, Haskell is blowing my mind almost every week
<m1cr0m4n> aanderse: For example: `AH00670: Options FollowSymLinks and SymLinksIfOwnerMatch are both off, so the RewriteRule directive is also forbidden due to its similar ability to circumvent directory restrictions : /nix/store/8y5l7rbgadzn3an83p6fam28jm8sspc3-apache-httpd-2.4.39/error/include/bottom.html`
<m1cr0m4n> I've tried so hard to make sure they are not off, but to no avail. it seems to be set somewhere outside of httpd.conf
<fuzen> m1cr0m4n: Arch wiki is honestly one of the first places I look
<m1cr0m4n> fuzen: Yeah like I had my fair share of time with Arch that now if I'm setting up something weird in Nix like this it's a good source of info :)
risson has joined #nixos
<m1cr0m4n> Most OSes (including arch) seem to have a php-fpm.conf that you import into httpd.conf and I'm guessing it does all the SetHandler magic
<notgne2> clever: I've always wondered what's with the correlation between haskell and nix users
<notgne2> every nix user I previously knew prior to switching, has been a fan of haskell
<clever> i started learning both at the same time, but finished the basics of nix first
<sondr3> I had no experience with Haskell or functional programming before switching to NixOS
freeman42x has joined #nixos
<freeman42x> anyone know how I can add this mystical miso-jsaddle package to a cabal file? https://github.com/dmjio/miso/blob/master/default.nix#L196
<freeman42x> it does not seem to exist on hackage
wfranzini has quit [Remote host closed the connection]
<clever> freeman42x: if its not in hackage, then you must load it with callCabal2nix
wfranzini has joined #nixos
evils has quit [Remote host closed the connection]
<aanderse> m1cr0m4n: sorry, haven't had any issues with that... sounds strange. if you paste actual config i could take a look
<{^_^}> [nixpkgs] @dylex opened pull request #70546 → ghc modules: use specific commit to fetch patches → https://git.io/JeCK4
mekeor has left #nixos ["ERC (IRC client for Emacs 26.1)"]
<m1cr0m4n> aanderse: I will try commit my config soon and you can see. It's actually occuring on the error pages. The top and bottom partial pages are not being imported
fendor has quit [Quit: Leaving]
<notgne2> a haskell user got me to use NixOS in the first place, then a few days later searching for some errors I had with NixOS a guy I knew in real life who loves haskell (and got me into computers in the first place) turned up on the results. and I've seen numerous reddit posts indicating that a surprising amount of haskell users use nix
<freeman42x> clever, sorry, I don't really understand. I need a non-Nix solution basically. I just need to change the cabal file somehow so that it uses the miso-jsaddle so that HIE works
<notgne2> and that's not mentioning how I knew clever from toxvpn, who I now know uses nix and haskell
<clever> freeman42x: for a non-nix solution, you have to add it to either stack.yaml or cabal.project, as a normal pinned version thing
<freeman42x> clever, ok, but how? I really do not understand how
<clever> freeman42x: are you using stack or cabal?
joebobjoe has joined #nixos
<joebobjoe> what is the replacement to the nix-env command and why does it not have an "update" feature yet
<clever> joebobjoe: i dont think there is a replacement for nix-env
<joebobjoe> then why is it so terrible?
evils has joined #nixos
<clever> joebobjoe: i prefer doing everything in a declarative manner
<freeman42x> clever, I am using cabal only
<clever> freeman42x: then you need to do it in cabal.project, like this: https://github.com/input-output-hk/cardano-explorer/blob/master/cabal.project#L54-L63
<notgne2> what if we also added a kernel and make it bootable and add a nix daemon and stuff too
sondr3 has quit [Quit: WeeChat 2.4]
<notgne2> :^}
<freeman42x> clever, how does that help add miso-jsaddle to a cabal project? I do not understand. I really need a concrete example
<clever> freeman42x: have you read the cabal docs on cabal.project?
<clever> notgne2: have you seen not-os or haskell-init before?
<notgne2> I came across not-os while making continix (it was a very good reference), not quite sure what haskell-init is, though I have seen the nix expr
aanderse has quit [Quit: ZNC 1.7.4 - https://znc.in]
<clever> notgne2: this is a single haskell binary, and some nix code to compile it (with muslc), jam it into an initrd (at /init), and then run it with qemu+linux
<clever> notgne2: its basically an example of how to make linux boot directly into a single haskell binary, with no OS above it
aanderse[m] is now known as aanderse
<notgne2> oh neat, I might copy some of that code eventually to make Continix bootable, right now it's only able to generate docker contains
<{^_^}> [nixpkgs] @veprbl merged pull request #70546 → ghc modules: use specific commit to fetch patches → https://git.io/JeCK4
<{^_^}> [nixpkgs] @veprbl pushed commit from @dylex to master « ghc modules: use specific commit to fetch patches (#70546) »: https://git.io/JeCKo
<notgne2> pop-up Nix "OS"s are something I find very fun
guest123131 has joined #nixos
o1lo01ol1o has joined #nixos
<notgne2> right now I'm making a "service manager" that I can drop into Continix so it can be able to run services properly (not just one), and without rewriting or modifying any of them
guest123131 has left #nixos [#nixos]
<notgne2> I don't think I'll bother making it a real service manager by giving it a bus and a client or anything, I'm just trying to make it replicate the core service functionality NixOS expects from SystemD
<clever> the biggest problem i ran into, is that postgresql refuses to even start, if its ran as "root"
<clever> (even when in docker fake root)
niksnut has quit [Ping timeout: 246 seconds]
niksnut has joined #nixos
<freeman42x> clever, I did read about the cabal.project file a while ago. But that does not tell me how that connects to an inexistant hackage package called miso-jsaddle
<clever> freeman42x: cabal.project lets you point cabal towards any package, in hackage or not
o1lo01ol1o has quit [Ping timeout: 240 seconds]
<clever> freeman42x: so you can either force change the version of something, or add missing things
<freeman42x> clever, yeah, I know that but... mixo-jsaddle is nowhere that I know of
<clever> freeman42x: this line says that miso-jsaddle, is just miso.cabal, but compiled with -fjsaddle passed to it
<clever> freeman42x: and that is a flag in the cabal file
jluttine has quit [Ping timeout: 240 seconds]
lord| has quit [Read error: Connection reset by peer]
o1lo01ol1o has joined #nixos
risson has quit [Quit: Pouet. WeeChat 2.4]
lord| has joined #nixos
mbrgm_ has joined #nixos
<freeman42x> clever, ok, I see. So then how do I use miso-jsaddle in a cabal project?
risson has joined #nixos
<clever> freeman42x: reference miso, and turn on the jsaddle cabal flag
doublex has quit [Ping timeout: 265 seconds]
mbrgm has quit [Ping timeout: 276 seconds]
mbrgm_ is now known as mbrgm
<freeman42x> and in response to trying that I was told: https://i.imgur.com/vx3clVk.png
ris has quit [Ping timeout: 250 seconds]
<clever> freeman42x: that doesnt enable jsaddle in miso, that creates a new jsaddle flag for app, that does absolutely nothing
<astrall33> clever, i fixed nix search
<clever> astrall33: what did it?