<jasom> pxc: make sure you set prefix to be $out by whatever means the installer lets you specify a prefix, that should fix 99% of the issues.
<pxc> it seems like patchelf will do a good job of showing me most library deps, but strace will probably still be necessary in case other assets are required and maybe for some runtime weirdness
<jasom> pxc: yup
<jasom> I had to patch shell scripts, and strace helped me find that. Also the binary assumes it is installed one directory up from /etc (probably /opt or /usr) and uses a path equivalent to $prefix/../etc internally. I'm not joking :(
<pxc> that is terrible!
<pxc> is that NoMachine's client?
<jasom> yeah
<pxc> 'enterprise grade' lolll
<jasom> so I set the prefix to $out/NX and everything was happy; the installer created a $out/etc for configuration
<pxc> is that a private expression you have or is it now in Nixpkgs?
<jasom> pxc: private, it *only* is tested with the client
aanderse_ has quit [(Ping timeout: 252 seconds)]
aanderse has joined #nixos
<pxc> ah, cool. I witch winswitch were still more actively maintained
<jasom> and make fun all you want, it's remote desktop experience is lightyears ahead of anything opensourece
<pxc> and that it worked on macOS
<jasom> s/it's/its
<pxc> Winswitch used to be awesome!
<pxc> xpra is pretty good
<pxc> but you're right, the jankiness of the open-source tools in that arena hurts.
<jasom> xpra is what I was using prior to going to nxplayer. It's so-so and is not great for "mostly local, occasionally remote"
<pxc> it's frustrating because most of the pieces are already there
<jasom> yeah
<pxc> VirtualGL, the TurboVNC jpeg compression stuff, rootless remote windows, SSH auth...
<jasom> freerdp-shadow is more stable than x11vnc but both are very crashy
* jasom rand x11vnc under valgrind once and it was spamming output with memory errors :(
<simpson> It *is* on my list to write an X11 server which is also an X11 client, kind of like xpra, but less flaky.
<simpson> It's not very high on the list though. :c
<pxc> simpson: what's at the top of your list these days? haven't heard from you in a while
<jasom> simpson: X11 server or X11 window manager? xpra is a window manager (unless they've added a server too)
<jasom> My plan was to make a compositing window manager that also served up window contents over the network, but design it to run on a real desktop, so that it's better for my situation
<simpson> jasom: Not sure TBH. Honestly a lot of work first needs to be done to make X11 clients that use Xlib/XCB be okay with reconnecting. There's a lot of ossified scar tissue around that area.
<jasom> I've got one that works with xrender, but I need to switch to GL for usable performance
<jasom> the other advantage is that an X11 compositing WM can be made into a wayland compositor fairly easily so it would hopefully be useful in the future as well
<simpson> pxc: Right now, I'm working on the Monte language, currently hoping that my paper got in for the SPLASH conference. I've also been managing my small business, Matador Cloud, and trying to get products built and out the door.
<simpson> *Right* right now I'm working on a Matador product.
<jasom> but getting the little things right is hard (e.g. clipboard, optionally blank the local monitors when a remote is connected, ...)
<pxc> right on, dude
<pxc> I gotta go for now, but thanks y'all for your help and I'll see you again tomorrow
zraexy has quit [(Ping timeout: 255 seconds)]
zraexy has joined #nixos
<jasom> but right now I'm finishing up getting ql2nix to a state where I can publish an overlay... I'm close to having something "okay" at which point I'll publish, but I have ideas to make it much better...
mudri has quit [(Ping timeout: 260 seconds)]
pxc has quit [(Ping timeout: 248 seconds)]
endformationage has joined #nixos
erasmas has quit [(Quit: leaving)]
<U007D> In trying to create a KVM virtual machine on my NixOS installation, virtual machine manager reports "could not detect a default hypervisor. Make sure that the appropriate virtualization packages are installed (kvm qemu, libvirt, etc.) and that libvirtd is running.
<U007D> I've set virtualisation.enable = true, which should enable kvm according to nixos.org
<U007D> qemu and libvirt are set as environment.systemPackages in my configuration.nix
_ris has quit [(Ping timeout: 246 seconds)]
<U007D> ps -ef | grep "libvirtd" shows a daemon running
pie_ has quit [(Ping timeout: 240 seconds)]
<U007D> And libvirtd.enable documentation on nixos.org indicates that a user must be a member of the libvirtd group to interact with the daemon, so I've added libvirtd to extraGroups[] for my user
ertes has joined #nixos
<U007D> Any thoughts on what I'm missing/doing wrong?
eacameron has joined #nixos
<Ralith> did you actually set libvirtd.enable?
eacameron has quit [(Ping timeout: 240 seconds)]
hamishmack has joined #nixos
sellout- has joined #nixos
takle has quit [(Remote host closed the connection)]
sellout-1 has joined #nixos
<U007D> Ralith virtualisation.libvirtd.enable = true;
takle has joined #nixos
sellout- has quit [(Ping timeout: 260 seconds)]
takle has quit [(Remote host closed the connection)]
takle has joined #nixos
takle has quit [(Ping timeout: 240 seconds)]
ericsagnes has joined #nixos
phreedom has quit [(Ping timeout: 240 seconds)]
aanderse_ has joined #nixos
aanderse has quit [(Ping timeout: 248 seconds)]
ison111 has quit [(Ping timeout: 252 seconds)]
thc202 has quit [(Ping timeout: 240 seconds)]
Supersonic112 has quit [(Disconnected by services)]
Supersonic112_ has joined #nixos
Supersonic112_ is now known as Supersonic112
bennofs has quit [(Read error: Connection reset by peer)]
aanderse has joined #nixos
eacameron has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] peterhoeg pushed 2 new commits to master: https://git.io/v560f
<NixOS_GitHub> nixpkgs/master b21778f Peter Hoeg: neomutt: 20170714 -> 20170907
<NixOS_GitHub> nixpkgs/master 608fe16 Peter Hoeg: neovim-qt: 0.2.7 -> 0.2.8...
NixOS_GitHub has left #nixos []
mbrgm has quit [(Ping timeout: 248 seconds)]
eacameron has quit [(Remote host closed the connection)]
mbrgm has joined #nixos
aanderse_ has quit [(Ping timeout: 248 seconds)]
fresheyeball has joined #nixos
johnsonav has quit [(Read error: Connection reset by peer)]
MarcelineVQ has quit [(Quit: q)]
derchris has quit [(Ping timeout: 264 seconds)]
<fresheyeball> yo
<fresheyeball> nix homies
<fresheyeball> how can I clear out the dns on my nixos box?
<fresheyeball> I get DNS_PROBE_FINISHED_NXDOMAIN
<fresheyeball> in chome
derchris has joined #nixos
ericsagnes has quit [(Ping timeout: 248 seconds)]
johnsonav has joined #nixos
vaibhavsagar has joined #nixos
ison111 has joined #nixos
eacameron has joined #nixos
cpennington has quit [(Remote host closed the connection)]
eacameron has quit [(Ping timeout: 240 seconds)]
eacameron has joined #nixos
eacameron has quit [(Ping timeout: 248 seconds)]
jellowj has quit [(Ping timeout: 248 seconds)]
Capprentice has joined #nixos
orivej has quit [(Ping timeout: 248 seconds)]
eacameron has joined #nixos
fresheyeball has quit [(Remote host closed the connection)]
eacameron has quit [(Ping timeout: 240 seconds)]
eacameron has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] abbradar pushed 1 new commit to master: https://git.io/v56Eb
<NixOS_GitHub> nixpkgs/master b3c35a3 Nikolay Amiantov: openbrf: fix build
NixOS_GitHub has left #nixos []
eacameron has quit [(Ping timeout: 248 seconds)]
eacameron has joined #nixos
eacameron has quit [(Ping timeout: 240 seconds)]
drakonis has joined #nixos
zeus___ has quit [(Remote host closed the connection)]
ericsagnes has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] abbradar pushed 1 new commit to master: https://git.io/v56uw
<NixOS_GitHub> nixpkgs/master 75b3113 Nikolay Amiantov: gfortran: default to gfortran6...
NixOS_GitHub has left #nixos []
MarcelineVQ has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] abbradar pushed 2 new commits to release-17.09: https://git.io/v56uD
<NixOS_GitHub> nixpkgs/release-17.09 4652e1c Nikolay Amiantov: openbrf: fix build...
<NixOS_GitHub> nixpkgs/release-17.09 85567a0 Nikolay Amiantov: gfortran: default to gfortran6...
NixOS_GitHub has left #nixos []
ericsagnes has quit [(Ping timeout: 260 seconds)]
eacameron has joined #nixos
eacameron has quit [(Remote host closed the connection)]
dfranke has quit [(Ping timeout: 246 seconds)]
pxc has joined #nixos
eacameron has joined #nixos
DavidEGrayson has joined #nixos
pxc has quit [(Ping timeout: 240 seconds)]
ericsagnes has joined #nixos
eacameron has quit [(Ping timeout: 240 seconds)]
eacameron has joined #nixos
eacameron has quit [(Ping timeout: 240 seconds)]
eacameron has joined #nixos
iyzsong has joined #nixos
dfranke has joined #nixos
eacameron has quit [(Ping timeout: 240 seconds)]
eacameron has joined #nixos
griff_ has quit [(Quit: griff_)]
eacameron has quit [(Ping timeout: 240 seconds)]
Capprentice has quit [(Killed (Sigyn (Spam is off topic on freenode.)))]
griff_ has joined #nixos
fresheyeball has joined #nixos
griff_ has quit [(Client Quit)]
griff_ has joined #nixos
griff_ has quit [(Client Quit)]
griff_ has joined #nixos
griff_ has quit [(Client Quit)]
griff_ has joined #nixos
griff_ has quit [(Client Quit)]
griff_ has joined #nixos
ericsagnes has quit [(Ping timeout: 260 seconds)]
griff_ has quit [(Client Quit)]
griff_ has joined #nixos
griff_ has quit [(Client Quit)]
<disasm> fresheyeball: depends on what dns cache your using. Typically just restart the service will clear it. My service is dnsmasq.
MP2E has quit [(Quit: leaving)]
<fresheyeball> disasm: thank you
<clever> some dns caches also have a reload command, that will wipe the cache without causing an outage of service
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] vbgl closed pull request #28886: aften: init at 0.0.8 (master...aften) https://git.io/v5RNq
NixOS_GitHub has left #nixos []
Arcaelyx_ has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
jsgrant has quit [(Quit: jsgrant)]
jsgrant has joined #nixos
fresheyeball has quit [(Quit: WeeChat 1.9)]
ericsagnes has joined #nixos
nix-gsc-io`bot has joined #nixos
<nix-gsc-io`bot> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/b776cd02bf (from 9 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
nix-gsc-io`bot has quit [(Client Quit)]
jonafato has quit [(Ping timeout: 246 seconds)]
ShalokShalom has joined #nixos
Mateon3 has joined #nixos
Mateon1 has quit [(Ping timeout: 260 seconds)]
Mateon3 is now known as Mateon1
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] eqyiel opened pull request #29138: transmission.nix: make it possible to use a different home directory (master...transmission-with-variable-home-dir) https://git.io/v562l
NixOS_GitHub has left #nixos []
zeus_ has joined #nixos
justbeingglad has joined #nixos
hamishmack has quit [(Read error: Connection reset by peer)]
hamishmack has joined #nixos
justbeingglad has left #nixos []
proteusguy has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] danielfullmer opened pull request #29141: k2pdfopt: 2.32 -> 2.42 (master...k2pdfopt) https://git.io/v56aN
NixOS_GitHub has left #nixos []
<mbrock> I feel unsure about how and whether to maintain a semi-parallel nixpkgs channel for an organization that does many different open source projects
<mbrock> maybe I'll just write some bash scripts and it will be easy
drakonis has quit [(Quit: Leaving)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] vcunat pushed 1 new commit to staging: https://git.io/v56Vl
<NixOS_GitHub> nixpkgs/staging 9d6ac8e Vladimír Čunát: mesa: maintenance 17.1.8 -> 17.1.9
NixOS_GitHub has left #nixos []
eacameron has joined #nixos
oida has joined #nixos
eacameron has quit [(Ping timeout: 240 seconds)]
griff_ has joined #nixos
griff_ has quit [(Client Quit)]
oida_ has quit [(Ping timeout: 248 seconds)]
jsgrant has quit [(Remote host closed the connection)]
<sphalerite> mbrock: you can use an overlay, in the style of https://github.com/mozilla/nixpkgs-mozilla
proteusguy has quit [(Remote host closed the connection)]
<mbrock> ahhh, yes, I really should do that
<mbrock> the presence of the "nix-channel" command made me want to have a channel
proteusguy has joined #nixos
<sphalerite> That is also an option but I don't think it's as easy to maintain, and it doesn't combine with nixpkgs as nicely
<mbrock> yeah, I've been noticing that it's kind of painful
<mbrock> I'd really want to be able to provide a script that sets up all the things for a user, like making sure the binary cache is trusted and stuff
<mbrock> maybe it's okay to just say "please make sure that this binary cache public key is in your Nix configuration" but that's slightly annoying
Ivanych has joined #nixos
<sphalerite> U007D: I think I had a problem like that which was caused by having KVM in my user environment as well as the system config.
<sphalerite> mbrock: sounds not very declarative :p personally I'd prefer a nix file that I can download and stick into my imports in /etc/nixos/configuration.nix
<mbrock> ah, that's a great option
<mbrock> yeah, it's a separate concern that I also want to be convenient for people who literally installed Nix 10 seconds ago and don't care about it because they're trying to learn a whole other thing already
<mbrock> but to some extent it's good to gently teach them what's going on too
<sphalerite> Of course that option only works with nixos
<mbrock> yeah, almost all my users are on other distros or Mac
<sphalerite> What about integrating the software in question into nixpkgs?
<sphalerite> Then you get a binary cache for free and no extra setup
<mbrock> we've been integrating a few of the packages, which is nice
<clever> mbrock: you can also make a channel, that just imports <nixpkgs> and passes it an overlay
<clever> mbrock: that is what the default.nix in nixpkgs-mozilla does
<mbrock> ah!!
<clever> but you also have to keep in mind, will your overlay be compatible with the nixpkgs the end-user has?
<clever> does that nixpkgs even support an overlay?!
<clever> it may be more stable for your channel's default.nix to import a hard-coded nixpkgs revision, and overlay that
<mbrock> I'd like to keep merging into nixpkgs master, but for some more experimental or niche-y stuff I want my own fantasy world (I also have a separate binary cache with stuff like 10 old versions of a certain compiler)
<mbrock> ah, yeah, I saw something about nixpkgs pinning in the Mozilla repo
<mbrock> so that seems easier to maintain, I pinpoint the nixpkgs revision but modify it with an overlay... and structure the overlay so that I can merge some things to nixpkgs master...
<mbrock> it's so awesome that Nix can do things like have one package import a whole other nixpkgs from GitHub and then just use it as part of an expression
<mbrock> lol such a parsimonious and amazing design
<clever> you can even do cross-os imports
<clever> import <nixpkgs> { system = "x86_64-darwin"; } will force this nixpkgs to produce darwin executables
<mbrock> by cross-compiling?!
<clever> and i686-linux for 32bit linux, and x86_64-linux for 64bit linux
<clever> nope, native compiling
<clever> it will ssh into a build-slave of the correct type, and do a remote build
<mbrock> haha, what! can I set up such a build slave?
<clever> but you can have a single nix expression that refers to both builds
<mbrock> omg, that sounds amazing
<clever> and you could then have a single derivation, that tar's up the resulting binary, from both OS's
<clever> and nix-build would just spit out a tar containing elf and mach-o files
<mbrock> haha, wow
<mbrock> I run a little script to update my binary cache
<mbrock> because I was too afraid to set up Hydra
<mbrock> and it just ssh:s into a hosted Mac box and runs some nix-build and nix-push commands
<clever> that has to go into /etc/nix/machines (nixos also has an option to make it for you, https://nixos.org/nixos/options.html#nix.build )
<clever> in total, that just tells nix what arch the slave can support, the ssh key path, and the user@host
<clever> hydra is also capable of using that config to do its own builds
<mbrock> I should probably set up Hydra
<clever> its relatively simple
<mbrock> I feel better about it now that I know how a binary cache server thingy works basically
<clever> hydra also has its own built-in binary cache
<mbrock> presumably there is some hook to make it sync with an S3 bucket
<clever> mbrock: this is how i had setup my hydra
<clever> though lines 6-12 and 18 are optional, to enable some more advanced features from a pending PR
<clever> so is 31-38
<mbrock> cool, that looks pretty easy
<clever> after that, you need a release.nix file, which imports several versions of nixpkgs
<clever> all it has to do, is return an attrset of jobname = derivation;
<clever> how you do that, is up to you and the power of nix
<mbrock> ok! sweet!
<clever> in the toxvpn example, it generates linux and darwin builds for the supplied default.nix: https://hydra.angeldsis.com/jobset/toxvpn/toxvpn-unstable#tabs-jobs
<mbrock> can't wait to get this set up 8)
<mbrock> one thing I kind of like about my current setup is that it only flips the `nixexprs.tar.xz` once the binary cache is completely finished
Ivanych has quit [(Ping timeout: 240 seconds)]
<clever> the scripts maintaining nix-channel's on nixos.org also do that, and they wait for hydra to finish building
<clever> for a channel like nixos-unstable, it waits for every test to pass, and for every job to finish
<clever> failed non-test stuff is allowed
<clever> for nixos-unstable-small, it checks a smaller subset of tests, and doesnt wait for jobs to finish
ericsagnes has quit [(Ping timeout: 240 seconds)]
JosW has joined #nixos
nix-gsc-io`bot has joined #nixos
<nix-gsc-io`bot> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/75b3113a4d (from 5 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
nix-gsc-io`bot has quit [(Client Quit)]
eacameron has joined #nixos
eacameron has quit [(Ping timeout: 248 seconds)]
phreedom has joined #nixos
Capprentice has joined #nixos
pxc has joined #nixos
Itkovian has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
eacameron has joined #nixos
odi has joined #nixos
orivej has joined #nixos
pxc has quit [(Ping timeout: 252 seconds)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] vbgl pushed 1 new commit to master: https://git.io/v56rI
<NixOS_GitHub> nixpkgs/master 7977013 dywedir: minidlna: 1.1.5 -> 1.2.1
NixOS_GitHub has left #nixos []
eacameron has quit [(Ping timeout: 252 seconds)]
Wizek has quit [(Quit: Connection closed for inactivity)]
vaibhavsagar has quit [(Ping timeout: 252 seconds)]
Capprentice has quit [(Quit: Leaving)]
FRidh has joined #nixos
takle has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] FRidh pushed 5 new commits to master: https://git.io/v56rB
<NixOS_GitHub> nixpkgs/master 721aba3 Nikolay Amiantov: protobuf3_4: init at 3.4.0
<NixOS_GitHub> nixpkgs/master 6f7b62e Nikolay Amiantov: protobuf: default to 3.4
<NixOS_GitHub> nixpkgs/master 4bdcb22 Nikolay Amiantov: protobufc: 1.1 -> 1.3
NixOS_GitHub has left #nixos []
eacameron has joined #nixos
eacameron has quit [(Ping timeout: 240 seconds)]
zeus_ has quit [(Remote host closed the connection)]
eacameron has joined #nixos
odi has quit [(Ping timeout: 246 seconds)]
eacameron has quit [(Ping timeout: 252 seconds)]
eacameron has joined #nixos
LateKnight has joined #nixos
<LateKnight> Is anyone using SELinux on NixOS? How hard is it to maintain the policy yourself, as the system gets updated, etc?
eacameron has quit [(Ping timeout: 252 seconds)]
NightTrain has quit [(Quit: Lost terminal)]
pie_ has joined #nixos
<LateKnight> Why does firefox reject this cert? https://www.nixos.org/
<vandenoever> LateKnight: KDE also rejects it
<vandenoever> LateKnight: it's not the right cert for the host, something's up
silver_hook has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] bjornfor pushed 1 new commit to release-17.09: https://git.io/v56oO
<NixOS_GitHub> nixpkgs/release-17.09 a342d6d Samuel Leathers: slic3r: fix build with gcc6...
NixOS_GitHub has left #nixos []
hook has joined #nixos
georges-duperon has joined #nixos
endformationage has quit [(Quit: WeeChat 1.9)]
freeman42x has quit [(Ping timeout: 252 seconds)]
hook has quit [(Ping timeout: 240 seconds)]
<makefu> vandenoever: cert is only for nixos.org not www.
akamaus has joined #nixos
orivej has quit [(Ping timeout: 248 seconds)]
orivej has joined #nixos
<vandenoever> ah, so should be listening on https://www.nixos.org
<JosW> Anyone running Drupal websites on NixOS and would like to share their setup?
<akamaus> Hi, folks. Can you please explain why unpackPhase issued inside a nix-shell ignores custom unpackPhase code specified in nix-expression?
Infinisi1 has quit [(Remote host closed the connection)]
eacameron has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] bjornfor pushed 2 new commits to master: https://git.io/v56oH
<NixOS_GitHub> nixpkgs/master 34c76e4 timor: perl-ExtUtils-ParseXS: 3.24 -> 3.35
<NixOS_GitHub> nixpkgs/master dd07d9a timor: perl-ExtUtils-XSpp: 0.1700 -> 0.18
NixOS_GitHub has left #nixos []
<taaperotassu> Erm I am new with nixos and especielly new to kde. How do I connect to wifi? as nmtui says NetworkManager is not running?
Capprentice has joined #nixos
eacameron has quit [(Read error: Connection reset by peer)]
eacameron has joined #nixos
<taaperotassu> and loadkeys fi -> invalid argument? I thought I defined it in my /mnt/etc/nixos/configuration.nix
<akamaus> taaperotassu, usually it just works. First of all, is your wifi adapters shown by ifconfig -a?
<taaperotassu> I thinks its wwp0s26u1u5 .. its running
<taaperotassu> broadcast, running,multicast
Capprentice has quit [(Ping timeout: 240 seconds)]
<akamaus> taaperotassu, does it have IP address assigned, by chance?
<taaperotassu> 169.254.255.255
eacameron has quit [(Ping timeout: 248 seconds)]
<taaperotassu> but I tried to ping 8.8.8.8 .. and host unreachable
<akamaus> taaperotassu, something is wrong then, it is the address which is assigned when something is wrong with dhcp
<taaperotassu> I am using laptop and just installed nixos.. with only enabling /etc/nixos/configuration.nix
<akamaus> but at least your nic seems to be alive, which is good
<taaperotassu> and nixos-install .. wondering if I missed something
<taaperotassu> also I defined i18n consolekeymap ="fi" , but my keyboard settings are definitely not the same as I did loadkeys fi in installation..
<LateKnight> Anyone running a custom kernel? How much effort does it take compared to arch?
<taaperotassu> I think my systemctl networkmanager is not running.
<dtzWill> aw man the extra information about nixos generations shown in the boot menu is sa-weeeeettt
freeman42x has joined #nixos
<akamaus> taaperotassu, did you set networking.wireless.enable = true in your configuration.nix, by the way?
<taaperotassu> yeah
Itkovian has joined #nixos
<taaperotassu> thought now that I read it.. its for wpa_supplicant? I have normally used network manager.. so I have no clue how to set this up
<clever> is the network protected with wpa?
<LnL> dtzWill: yeah! gchristensen added that
<taaperotassu> yeah.. but installation worked by wifi and network-manager.. now I dont even see any applets etc.. for how to connect wifi
<taaperotassu> I think I should re-install this and somehow ad network-manager package if its not installed
<clever> taaperotassu: ah, i think you need to set services.networkmanager.enable = true;
<clever> taaperotassu: and re-installing is painless and at zero loss
<akamaus> taaperotassu, section 11.6 of nixos manual says you should manually add needed keys to wpa_supplicant.conf
<clever> taaperotassu: re-mount all the filesystems under /mnt/ and re-run nixos-install, and it will update it to match configuration.nix
<taaperotassu> thanks akamaus and clever .. So I could now reboot and mount /dev/disk/by-label/nixos /mnt .. edit and reinstall?
<clever> and if you have a boot partition, that must also be at /mnt/boot
<taaperotassu> I installed it all into sda1 and after the command: mount /dev/disk/by-label/nixos /mnt leads me into having near zero /mnt/etc/nixos/configuration.nix configuration?
<clever> try mounting sda1 instead?
<clever> maybe your looking at the cd by mistake
<taaperotassu> okay mount /dev/sda1 /mnt says its busy
iyzsong has quit [(Read error: Connection reset by peer)]
<clever> what does "realpath /dev/disk/by-label/nixos" say?
<taaperotassu> /dev/sda1
<clever> ah, then that was the right path
<clever> how much is missing from that configuration.nix?, did you properly shutdown?
<taaperotassu> yeah
<taaperotassu> XD sorry my bad
<taaperotassu> I cd to wrong directory by vim
<taaperotassu> didn't go the /mnt path
<clever> ah
<clever> so it WAS the cd's configuration.nix, but not via the path i thought it was
<clever> i thought it was mounting the iso to /mnt
<taaperotassu> I just used vim :Explore.. so
<taaperotassu> mount /dev/disk/by-label/nixos /mnt .. so the iso is in the /mnt
<clever> realpath says thats sda1, so its not the iso
<taaperotassu> but I just accidently went to my other path instead of /mnt.. but yeah mounting worked
eacameron has joined #nixos
<taaperotassu> And I have booted to my iso
<clever> so i guessed wrong and was still write, heh
<taaperotassu> my bad.. :D
<taaperotassu> oh so there wasn't networking.networkmanager.enable = true; .. in the config.. have to define it first..
<clever> services.networkmanager.enable
Itkovian has quit [(Ping timeout: 255 seconds)]
<clever> oh wait
<clever> your right, misread the https://nixos.org/nixos/options.html#networkmana page
<clever> 6am
<taaperotassu> yup
<clever> i should probably sleep
<taaperotassu> this is actually a bit stressing as u cant copy past
<taaperotassu> clever: thanks for the help tho!!!
<clever> one of the first things i do is enable sshd and then ssh in from another more capable machine
<clever> but that still needs network
<clever> though in my case, i have brought the network up manually (no services to help) on a display-less laptop (blindly typing into the shell)
mudri has joined #nixos
eacameron has quit [(Ping timeout: 240 seconds)]
<taaperotassu> I normally ssh to install arch, but this is first time trying nixos :D .. felt a bit stressed out as its kinda different
<taaperotassu> loadkeys fi is obviously something u cant set by editing i18n consolekeymap I suppose..
<clever> yeah
<taaperotassu> probably its the xserver layout
<taaperotassu> oh networkmanager and neworking.wireless cant be installed together
phreedom has quit [(Ping timeout: 248 seconds)]
<clever> one does it via wpa_supplicant, the other does it via network manager
adisbladis has quit [(Read error: Connection reset by peer)]
adisbladis has joined #nixos
<taaperotassu> nixos-install says squashfs error
<taaperotassu> unable to read fragment cache enty
<taaperotassu> are there some rules.. for reinstall or changing this settings?
<clever> did anything happen to the cd/usb your booting from?
<clever> maybe you bumped it by mistake?
<taaperotassu> should not
<taaperotassu> input/output error
<taaperotassu> well I try to reboot and hopefully goes right
<clever> yeah, that should fix it
<clever> sounds like the usb key just came uplugged for a moment
Capprentice has joined #nixos
<akamaus> clever, are *phase variables automatically copied from nix-expression to nix-shell environment?
<clever> akamaus: every variable in the derivation becomes an environment variable
<clever> akamaus: but bash allows functions and variables by the same name, so "unpackPhase" and "eval $unpackPhase" can potentialy do different things
Capprentice has quit [(Ping timeout: 246 seconds)]
<clever> akamaus: one trick is to run this: phases=unpackPhase genericBuild
<akamaus> i'm trying to debug cudatoolkit in 17.09. It probably need to be patched, but I cannot do unpackPhase, the source file is weird self-extracting shell script. And there is a custom unpackPhase in expression, but it seems to be ignored
<clever> have you tried the above command yet?
<akamaus> clever, nope, I started to type before you :)
<akamaus> will try now
<taaperotassu> Thanks clever now my wifi works and keyboard language is fixed.
<clever> taaperotassu: yay
<akamaus> taaperotassu, good news :)
<taaperotassu> Thanks to both of you! :)
<akamaus> taaperotassu, so turned out basically you made install with a wrong config?
<akamaus> clever, thats works :)
<taaperotassu> yup :D .. or more likely didn't know the right options
<taaperotassu> but yeh wrong config!
<akamaus> taaperotassu, I remember I had big troubles with wifi in nixos too, but the reason turned out to be a buggy driver for realtek chipset :(
<taaperotassu> oww I can relate.. built a ryzen cpu computer for linux.. didn't expect it to have some gcc issues.. etc.
eacameron has joined #nixos
ison111 has quit [(Ping timeout: 246 seconds)]
orivej has quit [(Ping timeout: 240 seconds)]
eacameron has quit [(Ping timeout: 240 seconds)]
jellowj has joined #nixos
Capprentice has joined #nixos
thblt has quit [(Remote host closed the connection)]
martinb has joined #nixos
nwuensche has joined #nixos
<nwuensche> Hi! So I configured my Brother Printer with Cups, and it does print. However, it has the wrong layout. It prints without borders, so it looks like the page is lifted up 2cm and the first 2cm are missing when it prints. I tried to change the layout to A4, which should be right, but it doesn't work. Anyone knows how I can do this?
thc202 has joined #nixos
eacameron has joined #nixos
Curiontice has joined #nixos
eacameron has quit [(Ping timeout: 240 seconds)]
erictapen has joined #nixos
Capprentice has quit [(Ping timeout: 260 seconds)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Mic92 closed pull request #29127: vscode: 1.15.1 -> 1.16.0 (master...vscode_1_16_0) https://git.io/v5Kuj
NixOS_GitHub has left #nixos []
<makefu> nwuensche: normally it should be configureable in cups. otherwise this does not sound like a nixos issue, more like a general bug. have you checked out other forums for this error? like ubuntu-forum or archlinux
eacameron has joined #nixos
<nwuensche> makefu: I will try this, thank you.
Filystyn has joined #nixos
eacameron has quit [(Ping timeout: 248 seconds)]
<taaperotassu> I have set my timezone in my .config in to right one Europe/helsinki , but what else should I change if I want to get the right time?
zarel has joined #nixos
ryantrinkle has joined #nixos
nwuensche has quit [(Ping timeout: 246 seconds)]
<LateKnight> How complete is nix repository? Do i need to resort to horrible insecure user repos, like with arch's aur?
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] bachp opened pull request #29145: uwsgi: enable plugins by default (master...uwsgi-plugins) https://git.io/v56PE
NixOS_GitHub has left #nixos []
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] primeos pushed 1 new commit to master: https://git.io/v56Pu
<NixOS_GitHub> nixpkgs/master 40e5382 Michael Weiss: android-studio-preview: 3.0.0.12 -> 3.0.0.13
NixOS_GitHub has left #nixos []
stanibanani has joined #nixos
eacameron has joined #nixos
ShalokShalom_ has joined #nixos
<makefu> LateKnight: there is nixpkgs if that is what you mean. a dedicated security team is working on keeping this repo clean
<makefu> all changes arrive via PRs and get reviewed before becoming part of the repo
eacameron has quit [(Ping timeout: 260 seconds)]
ShalokShalom has quit [(Ping timeout: 252 seconds)]
ShalokShalom_ is now known as ShalokShalom
eacameron has joined #nixos
ThatDocsLady has quit [(Remote host closed the connection)]
ThatDocsLady has joined #nixos
eacameron has quit [(Ping timeout: 240 seconds)]
jellowj has quit [(Ping timeout: 240 seconds)]
gnuhurd has joined #nixos
ixxie has joined #nixos
eacameron has joined #nixos
LateKnight has left #nixos []
georges-duperon has quit [(Ping timeout: 255 seconds)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] fuzzy-id opened pull request #29147: haproxy: 1.7.8 -> 1.7.9, download source via https (master...master) https://git.io/v56Xi
NixOS_GitHub has left #nixos []
eacameron has quit [(Ping timeout: 248 seconds)]
_ris has joined #nixos
proteusguy has quit [(Remote host closed the connection)]
ThatDocsLady has quit [(Ping timeout: 264 seconds)]
_ris is now known as ris
cfricke has joined #nixos
gnuhurd has quit [(Remote host closed the connection)]
ArtebMan has joined #nixos
<ArtebMan> Hello! I can't install dictd with Mueller english-russian dictionary.
<ArtebMan> I use expression: services.dictd = { enable = true; DBs = [pkgs.dictdDBs.mueller_eng2rus_pkg]; };
<ArtebMan> And get error message https://pastebin.com/q0uPw6gm
<ArtebMan> What should I do?
<ixxie> ArtebMan: why does it say nixos 18.03 :O
<ArtebMan> I use nixos-unstable channel.
erictapen has quit [(Ping timeout: 240 seconds)]
<ixxie> never noticed that xD
<the-kenny> Anyone here using Libreoffice? There's a bug on my nixos install that drives me crazy
<ixxie> no idea >.<
<the-kenny> when I click in a document the click is actually registered about 30px below my cursor
pxc has joined #nixos
<the-kenny> It's driving me crazy
pxc has quit [(Ping timeout: 260 seconds)]
ryantrinkle has quit [(Ping timeout: 252 seconds)]
Wizek has joined #nixos
takle has quit [(Remote host closed the connection)]
takle has joined #nixos
jellowj has joined #nixos
takle has quit [(Ping timeout: 240 seconds)]
<ArtebMan> @ixxie and who MAY have idea?
cfricke has quit [(Quit: WeeChat 1.9)]
<ixxie> ArtebMan: lets have a look who maintains that package
georges-duperon has joined #nixos
mudri has quit [(Ping timeout: 248 seconds)]
thblt has joined #nixos
<thblt> Hi! Does anyone have any success in running Intero (Emacs haskell development environment) on NixOs?
<ixxie> ArtebMan: domenkozar might know? He did something this last year with that one
<thblt> The issue here is that intero build in new projects fails with a missing ncurses
<thblt> I've tried running emacs in a nix-shell -p ncurses, to no avail.
cpennington has joined #nixos
<LnL> ls
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] bjornfor pushed 2 new commits to master: https://git.io/v56MM
<NixOS_GitHub> nixpkgs/master dfbb710 Bjørn Forsman: kicad: put the full version string in name
<NixOS_GitHub> nixpkgs/master 15c18ce Bjørn Forsman: kicad: 4.0.6 -> 4.0.7
NixOS_GitHub has left #nixos []
martinb has quit [(Ping timeout: 240 seconds)]
<ixxie> ArtebMan: maybe just post an issue on github
<mbrock> terminological question: in nixpkgs, is it reasonable to say that a "package" is a function that returns a derivation?
iyzsong has joined #nixos
mudri has joined #nixos
<sphalerite> yeah I'd say so
<sphalerite> particularly given the name of the callPackage function
jellowj has quit [(Ping timeout: 246 seconds)]
<mbrock> yep
<sphalerite> not sure there's really a properly clear-cut terminology for all this stuff though
eacameron has joined #nixos
Curiontice has quit [(Quit: Leaving)]
Capprentice has joined #nixos
eacameron has quit [(Ping timeout: 248 seconds)]
nh2 has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] MasseGuillaume opened pull request #29148: Scala-native does not support sbt 1.X yet (master...fix-scala-native) https://git.io/v56Da
NixOS_GitHub has left #nixos []
LysergicDreams has quit [(Ping timeout: 240 seconds)]
LysergicDreams has joined #nixos
nh2 has quit [(Client Quit)]
freeman42x has quit [(Ping timeout: 246 seconds)]
Mateon1 has left #nixos []
* mbrock wonders how to add new pythonPackages in an overlay...
<mbrock> ah, I would probably use the `overrides` feature of the pythonPackages function
jellowj has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] bjornfor pushed 2 new commits to release-17.09: https://git.io/v56yL
<NixOS_GitHub> nixpkgs/release-17.09 2195b6b Bjørn Forsman: kicad: put the full version string in name...
<NixOS_GitHub> nixpkgs/release-17.09 cc60167 Bjørn Forsman: kicad: 4.0.6 -> 4.0.7...
NixOS_GitHub has left #nixos []
socksy has joined #nixos
cpennington has quit [(Ping timeout: 248 seconds)]
<socksy> has anyone here surmounted troubles with connecting to bluetooth speakers?
<socksy> I keep getting `a2dp-source profile connect failed for 04:52:C7:BC:51:2D: Protocol not available`
<socksy> but `hardware.pulseaudio.package = pkgs.pulseaudioFull;` and i am in the `lp` group
phinxy has joined #nixos
<socksy> i am kinda flummoxed at this point
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] jagajaga closed pull request #29098: minikube: 0.21.0 -> 0.22.0 (master...minikube_0_22) https://git.io/v5oGb
NixOS_GitHub has left #nixos []
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] jagajaga closed pull request #29085: rr: 4.5.0 -> 5.0.0 (master...update/rr-5.0) https://git.io/v5r24
NixOS_GitHub has left #nixos []
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] abbradar pushed 1 new commit to master: https://git.io/v56yW
<NixOS_GitHub> nixpkgs/master 0d55804 Nikolay Amiantov: protobufc: add missed file
NixOS_GitHub has left #nixos []
phinxy has left #nixos []
<FRidh> mbrock: its in the Nixpkgs manual,just check the latest version
LysergicDreams has quit [(Ping timeout: 240 seconds)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] bjornfor pushed 3 new commits to release-17.03: https://git.io/v56y7
<NixOS_GitHub> nixpkgs/release-17.03 081da93 Daniel Frank: kicad: update to 4.0.6...
<NixOS_GitHub> nixpkgs/release-17.03 1405e36 Bjørn Forsman: kicad: put the full version string in name...
<NixOS_GitHub> nixpkgs/release-17.03 694529e Bjørn Forsman: kicad: 4.0.6 -> 4.0.7...
NixOS_GitHub has left #nixos []
LysergicDreams has joined #nixos
JosW has quit [(Quit: Konversation terminated!)]
python476 has joined #nixos
<moredhel1> Good day all, I'm busy trying to setup wsgidav in a system service, but am having issues with `sys.stdout.encoding` causing it to crash. It only crashes as a systemd service. I found docs saying I can set the LC_CTYPE variable and it should work, how do I set environment variables on a system service?
ArtebMan has quit [(Quit: Page closed)]
<moredhel1> nvm, I think I found it through trial and error :)
eacameron has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] vbgl pushed 1 new commit to master: https://git.io/v56Sr
<NixOS_GitHub> nixpkgs/master b5c9a47 Vincent Laporte: smplayer: 17.8.0 -> 17.9.0
NixOS_GitHub has left #nixos []
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] primeos pushed 1 new commit to master: https://git.io/v56S6
<NixOS_GitHub> nixpkgs/master 8e3681d Michael Weiss: pythonPackages.glances: 2.11 -> 2.11.1
NixOS_GitHub has left #nixos []
Filystyn has quit [(Quit: Konversation terminated!)]
bennofs has joined #nixos
eacameron has quit [(Ping timeout: 240 seconds)]
gnuhurd has joined #nixos
zetok has quit [(Ping timeout: 260 seconds)]
takle has joined #nixos
jensens has joined #nixos
takle has quit [(Ping timeout: 248 seconds)]
zetok has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] joachifm pushed 3 new commits to master: https://git.io/v569a
<NixOS_GitHub> nixpkgs/master fd84128 Thomas Bach: haproxy: haproxy.org is now accessible via https
<NixOS_GitHub> nixpkgs/master d343867 Thomas Bach: haproxy: 1.7.8 -> 1.7.9
<NixOS_GitHub> nixpkgs/master 3df16e8 Joachim F: Merge pull request #29147 from fuzzy-id/master...
NixOS_GitHub has left #nixos []
takle has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] joachifm closed pull request #29132: lxqt-session: fix the build (master...lxqt-session) https://git.io/v56vz
NixOS_GitHub has left #nixos []
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] joachifm pushed 5 new commits to master: https://git.io/v569y
<NixOS_GitHub> nixpkgs/master 5bc38fc Niklas Hambüchen: glusterfs service: Ensure dirs needed by `glusterfind` exist
<NixOS_GitHub> nixpkgs/master 8e329da Niklas Hambüchen: glusterfs: Fix wrong xattr package: xattr -> pyxattr....
<NixOS_GitHub> nixpkgs/master e7325f8 Niklas Hambüchen: glusterfs: Patch upstream bug preventing glusterfind from running....
NixOS_GitHub has left #nixos []
Judson has quit [(Remote host closed the connection)]
thaega` has quit [(Remote host closed the connection)]
thaega has joined #nixos
ambro718 has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] LnL7 pushed 1 new commit to master: https://git.io/v569b
<NixOS_GitHub> nixpkgs/master 6058539 Daiderd Jordan: re2: fix dylib library id
NixOS_GitHub has left #nixos []
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] LnL7 pushed 1 new commit to release-17.09: https://git.io/v569x
<NixOS_GitHub> nixpkgs/release-17.09 ab0d743 Daiderd Jordan: re2: fix dylib library id...
NixOS_GitHub has left #nixos []
ryantrinkle has joined #nixos
griff_ has joined #nixos
oida_ has joined #nixos
hotfuzz has quit [(Quit: WeeChat 1.7.1)]
hotfuzz has joined #nixos
hook has joined #nixos
rauno has quit [(Ping timeout: 252 seconds)]
hook has quit [(Client Quit)]
oida has quit [(Ping timeout: 240 seconds)]
randude123 has joined #nixos
<randude123> How does nix enforce integrity when fetching the package database? Is it signed, or does it just rely on git via https?
python476 has quit [(Ping timeout: 240 seconds)]
<makefu> randude123: pachages from the binary cache are signed
<makefu> if you build stuff yourself then checksums of binaries will be used for validation
<randude123> so nix doesn't need to fetch/sync the package tree to disk first?
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] LnL7 pushed 1 new commit to master: https://git.io/v56Hu
<NixOS_GitHub> nixpkgs/master 6226fd0 Daiderd Jordan: dibbler: fix darwin build
NixOS_GitHub has left #nixos []
tmaekawa has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] abbradar pushed 1 new commit to master: https://git.io/v56H2
<NixOS_GitHub> nixpkgs/master 35c1e70 Nikolay Amiantov: seeks: use protobuf 3.1...
NixOS_GitHub has left #nixos []
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] LnL7 pushed 1 new commit to release-17.09: https://git.io/v56H6
<NixOS_GitHub> nixpkgs/release-17.09 7ccda60 Daiderd Jordan: dibbler: fix darwin build...
NixOS_GitHub has left #nixos []
WinchellsM has joined #nixos
<WinchellsM> What is meant by the nix term "manifest"?
<makefu> randude123: exactly
<randude123> makefu: but that means i need internet to query packages, etc?
<makefu> randude123: if you build by source, yes. if you fetch pages from binary cache, then also yes
<makefu> because for building by source you will need to fetch the sources
gnuhurd has quit [(Ping timeout: 248 seconds)]
<makefu> randude123: for chaning configuration on nixos it is normally not necessary to fetch sources from the internet.
<tokudan[m]> nix uses channels. these channels contain the expressions for all packages, so once you've updated the channel once, nix can calculate all available packages without network access
<tokudan[m]> getting the packages (source or cached version) requires network access
<randude123> but how does it verify whether the updated channel is legit or not? Using https for access and hoping everything is fine?
<WinchellsM> If one purely manages NixOS through the configuration.nix, and doesn't use nix-env, then (like me so far :), then running the command `nix-env -q` shows 0 installed derivations.
<WinchellsM> Is there a way to run `nix-env -q` at the system configuration level? To see which globally installed packages you have?
<tokudan[m]> WinchellsM: cat /etc/nixos/configuration.nix ?
<tokudan[m]> randude123: I'm don#t know if the channel is signed as well
<silver_hook> Is there anything special I have to do to make KTP (KDE/Plasma Telepathy) work on NixOS?
<ixxie> is there a nice explanation somewhere of the steps Nix takes in parsing expressions? I know Nix produces derivations, but I don't really know how derivates turn into store addresses
<silver_hook> I installed all the ktp packages, but when I launch it it complains about an issue with the IM kernel (I imagine it means the Telepathy backend)
<tokudan[m]> WinchellsM: maybe you could also check the dependencies of the active configuration...
vaibhavsagar has joined #nixos
civodul has joined #nixos
eacameron has joined #nixos
eacameron has quit [(Ping timeout: 240 seconds)]
iyzsong has quit [(Ping timeout: 246 seconds)]
acarrico has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] primeos pushed 1 new commit to master: https://git.io/v567k
<NixOS_GitHub> nixpkgs/master 498e3a9 Michael Weiss: androidenv: Update all packages using fetch.sh
NixOS_GitHub has left #nixos []
<mbrock> whoa, what's the syntactic difference between [import ./foo] and [(import ./foo)] ?
<mbrock> the former gives me a really obscure infinite recursion error, the latter works fine :)
<mbrock> oh, `import` evaluates to a primop value
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Lassulus opened pull request #29150: mupen64plus: 1.5 -> 2.5 (master...mupen64-update) https://git.io/v567c
NixOS_GitHub has left #nixos []
jensens has quit [(Ping timeout: 255 seconds)]
randude123 has left #nixos []
oahong has quit [(Ping timeout: 248 seconds)]
oahong has joined #nixos
<mbrock> clever & sphalerite: thanks for your help with overlays! I've figured out a structure that works for me: https://github.com/dapphub/nixpkgs-dapphub
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] NeQuissimus pushed 1 new commit to master: https://git.io/v565q
<NixOS_GitHub> nixpkgs/master 84e34d4 Tim Steinbach: tests: xmonad less dependent on timings
NixOS_GitHub has left #nixos []
ryantrinkle has quit [(Ping timeout: 252 seconds)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] NeQuissimus pushed 1 new commit to release-17.09: https://git.io/v565m
<NixOS_GitHub> nixpkgs/release-17.09 e3fa7ef Tim Steinbach: tests: xmonad less dependent on timings...
NixOS_GitHub has left #nixos []
<mbrock> I put the overlay in a subdirectory, and beside that there's a pinned nixpkgs as a submodule, and the root default.nix combines the two
<mbrock> this should make it "backwards compatible" with my existing channel setup
hightower2 has joined #nixos
<mbrock> Mozilla's overlay uses a `fetchFromGitHub` for their pinned nixpkgs, but I think I don't want that, because I want the nixexprs.tar.xz to contain the whole tree
eacameron has joined #nixos
bbarker has quit [(Ping timeout: 240 seconds)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] joachifm pushed 1 new commit to release-17.09: https://git.io/v565a
<NixOS_GitHub> nixpkgs/release-17.09 a6bba83 Aleksey Kladov: lxqt-session: fix the build...
NixOS_GitHub has left #nixos []
<jluttine> i'd like to do something like: config = mapAttrs' someFunction config.some.attributes
<jluttine> in my configuration.nix
<jluttine> but i get infinite recursion error
<jluttine> i understand why, but i can't figure out how to solve it
<jluttine> basically, i have a function (someFunction) which map to some global configuration (services etc), and i want to call this function for multiple inputs and then combine the results into a single config attribute
ted_ has joined #nixos
ted_ has quit [(Read error: Connection reset by peer)]
<jluttine> someFunction sets up a webapp (database, vhost, socket) and i can have multiple instances of the webapp
bbarker has joined #nixos
<U007D> sphalerite thank you for the tip. I'll take a look to see if that's what's going on for me
<jluttine> and i have the config of each instance in an attribute set. thus, i'm mapping that attribute set with someFunction so i get the configuration of all the webapp instances
acarrico has quit [(Ping timeout: 240 seconds)]
<jluttine> but i don't know how to do that without infinite recursion..
ixxie has quit [(Quit: Lost terminal)]
<mbrock> jluttine: it sounds like maybe you should have the inputs to `someFunction` somewhere outside of `config`, to avoid this recursion?
phreedom has joined #nixos
bbarker has quit [(Ping timeout: 240 seconds)]
<jluttine> mbrock: hmm.. perhaps. i'll think if that would work
<jluttine> it's just a convenient way to let the user pass the configuration of each web app instance :/
hotfuzz has quit [(Quit: WeeChat 1.7.1)]
hotfuzz has joined #nixos
Arcaelyx has joined #nixos
Arcaelyx_ has joined #nixos
Filystyn has joined #nixos
Filystyn has quit [(Changing host)]
Filystyn has joined #nixos
Arcaelyx has quit [(Ping timeout: 248 seconds)]
Itkovian has joined #nixos
vaibhavsagar_ has joined #nixos
ambro718 has quit [(Ping timeout: 240 seconds)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] primeos pushed 1 new commit to master: https://git.io/v56Fs
<NixOS_GitHub> nixpkgs/master af78d76 Michael Weiss: androidenv: Add the Android Instant Apps SDK
NixOS_GitHub has left #nixos []
acarrico has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] timor opened pull request #29152: perl-Filter-Simple: 0.91 -> 0.94 (master...perl-Filter-Simple-0.94) https://git.io/v56FZ
NixOS_GitHub has left #nixos []
Itkovian has quit [(Ping timeout: 255 seconds)]
iyzsong has joined #nixos
Capprentice has quit [(Ping timeout: 240 seconds)]
Arcaelyx_ has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
vaibhavsagar_ has quit [(Remote host closed the connection)]
vaibhavsagar_ has joined #nixos
nh2 has joined #nixos
vaibhavsagar_ has quit [(Ping timeout: 240 seconds)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] timor opened pull request #29153: perl-File-Modified: 0.07 -> 0.10 (master...perl-File-Modified-0.10) https://git.io/v56FF
NixOS_GitHub has left #nixos []
timor has joined #nixos
ixxie has joined #nixos
nh2 has quit [(Client Quit)]
ris has quit [(Ping timeout: 246 seconds)]
gnuhurd has joined #nixos
freeman42x has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] rycee pushed 1 new commit to master: https://git.io/v56bR
<NixOS_GitHub> nixpkgs/master 4bf61ab timor: perl-Filter-Simple: 0.91 -> 0.94
NixOS_GitHub has left #nixos []
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] rycee closed pull request #29152: perl-Filter-Simple: 0.91 -> 0.94 (master...perl-Filter-Simple-0.94) https://git.io/v56FZ
NixOS_GitHub has left #nixos []
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] peti pushed 1 new commit to master: https://git.io/v56bg
<NixOS_GitHub> nixpkgs/master e960eb0 Peter Simons: haskell-text-zipper: disable test suite to fix the build
NixOS_GitHub has left #nixos []
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] peti pushed 1 new commit to release-17.09: https://git.io/v56b2
<NixOS_GitHub> nixpkgs/release-17.09 f366faa Peter Simons: haskell-text-zipper: disable test suite to fix the build...
NixOS_GitHub has left #nixos []
zarel has quit [(Quit: Leaving)]
freeman42x has quit [(Ping timeout: 240 seconds)]
freeman42x has joined #nixos
phinxy has joined #nixos
phinxy has quit [(Read error: Connection reset by peer)]
ryanartecona has joined #nixos
<mbrock> I feel a bit confused about Nix and Guix :)
georges-duperon has quit [(Ping timeout: 252 seconds)]
acarrico has quit [(Ping timeout: 248 seconds)]
<mbrock> I'm really sympathetic to the notion of Scheme + Nix as a new base for GNU
<mbrock> and papers like this have a really nice vibe: https://hal.inria.fr/hal-01580582/document
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] joachifm pushed 4 new commits to master: https://git.io/v56NM
<NixOS_GitHub> nixpkgs/master c8f2dba Joachim Fasting: tor-browser-bundle-bin: hard-code path to desktop Icon
<NixOS_GitHub> nixpkgs/master f84125c Joachim Fasting: tor-browser-bundle-bin: runtime purity improvements...
<NixOS_GitHub> nixpkgs/master 2bce0b1 Joachim Fasting: nixos/hardened: set mmap_min_addr...
NixOS_GitHub has left #nixos []
hightower3 has joined #nixos
<makefu> mbrock: the biggest issue is the requirement for "freedom" and that the scheme syntax does not really support you with getting stuff done
<mbrock> yeah I see what you mean
<mbrock> I'm happy about cool stuff happening within GNU because on a basic level I think the goal of maintaining a fully free operating system or user land or whatever is really good
hightower2 has quit [(Ping timeout: 260 seconds)]
<mbrock> also I'm a bit sentimental about how GNU was planned to have Scheme as the base language but then it just kinda never happened
ixxie has quit [(Quit: Lost terminal)]
<mbrock> and I know that S-expressions are even more offputting to most people than Nix's syntax
<mbrock> basically syntax in general is a nightmare though
<makefu> true
<noam> i like that they use scheme as the language better than the nix dsl. sexps are sexy :) also a lot of exsisting editor support
ryanartecona has quit [(Quit: ryanartecona)]
ktf has joined #nixos
<mbrock> I realized recently that my JavaScript code looks just like Nix code
<makefu> for nix editor modes: https://nixos.wiki/wiki/Editor_Modes
<mbrock> functions like ({ a, b, c } => ({
<mbrock> ugh
<makefu> nix is c-style, so this could happen :)
<mbrock> functions like ({ a, b, c }) => ({ d: b + a, e: f(c) })
ison111 has joined #nixos
<mbrock> (just pure record transformations, basically)
<mbrock> it's kind of like... higher order JSON :P
<noam> the real question is which system will get a bigger community
<noam> hard to decide what to invest time into
<makefu> mbrock: you are totally right, JSON + lambdas
<makefu> also, lazy evaluation
Itkovian has joined #nixos
<mbrock> this Dhall language by Gabriel Gonzalez is really interesting
freeman42y has joined #nixos
<noam> i actually wondered yesterday if there is a serialization format for nix, like javascript has json, nix could have ..um, "nixon" ;) ?
<mbrock> haha!
<noam> as a subset that is just data without execution
<makefu> noam: for most of the times just render to json is enough
freeman42y has quit [(Read error: Connection reset by peer)]
<noam> sure
<noam> json has problems like no trailing commas and no comments though. but will that be fixed sometime? i'm not sure.
<the-kenny> Why would one need *another* serialization format? Nix doesn't have any special data structures that aren't mappable to json, msgpack, edn, or whatever
<makefu> the-kenny: lambdas?
freeman42x has quit [(Ping timeout: 255 seconds)]
freeman42x has joined #nixos
<the-kenny> Ah, then our serialization format is the nix programming language ;)
<ktf> hi, i'd like to have nix setup a few packages, including their development part (e.g. include files) so that I can then use a separate tool to build a package which does not have a nix expression. Is there a way to do so?
<makefu> di di diiiii
<the-kenny> ktf: I think you want a shell.nix to use with nix-shell.
<noam> the-kenny: ah i actually think i don't meant really serialization, but more like a non executable format for user configuration.
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] rycee pushed 1 new commit to master: https://git.io/v56Ag
<NixOS_GitHub> nixpkgs/master e480b4b timor: perl-File-Modified: 0.07 -> 0.10
NixOS_GitHub has left #nixos []
<makefu> i also think json is sufficent for data serialization
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] rycee closed pull request #29153: perl-File-Modified: 0.07 -> 0.10 (master...perl-File-Modified-0.10) https://git.io/v56FF
NixOS_GitHub has left #nixos []
<Isorkin_> containers.name.hostBridge not work with openvswitch. How to fix?
<ktf> the-kenny: thanks! I will have a look
<timor> rycee: Are you responsible for the perl packages?
<rycee> no!
<makefu> hahaha
<rycee> I just worked with Perl some years ago and needed to update some packages. Afterwards I just kept updating them and keeping an eye on it in general.
thblt has quit [(Ping timeout: 246 seconds)]
<timor> rycee: I tried building all of them (except the ones marked broken), and found a couple that would not build, mainly because of failing tests. If I encounter one which does not build even though it is the latest, should I mark it broken?
georges-duperon has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] rycee pushed 2 new commits to release-17.09: https://git.io/v56Ax
<NixOS_GitHub> nixpkgs/release-17.09 23b4aa1 timor: perl-Filter-Simple: 0.91 -> 0.94...
<NixOS_GitHub> nixpkgs/release-17.09 376eb14 timor: perl-File-Modified: 0.07 -> 0.10...
NixOS_GitHub has left #nixos []
<mbrock> oh god, I just realized I have an issue where https://example.com/nixexprs.tar.xz is a different file than https://example.com//nixexprs.tar.xz
<rycee> timor: Sure. Sometimes it is enough to just delete the failing test. For example, the `Connector` package has `rm t/01-proxy-http.t` in `prePatch`.
<mbrock> because I set up my web server to redirect /nixexprs.tar.xz to a CDN, but apparently the web server's matching doesn't consider those URLs identical
<mbrock> why is nix-channel --update using that double slash ;(
<rycee> There are a few similar example in perl-packages.nix.
* rycee will be afk for a while
<yorick> is the release sprint all day?
ambro718 has joined #nixos
jellowj has quit [(Ping timeout: 248 seconds)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] teh closed pull request #29136: Python fixes (master...master) https://git.io/v56Yi
NixOS_GitHub has left #nixos []
ktf has quit [(Ping timeout: 255 seconds)]
jellowj has joined #nixos
U007D has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
<aristid> yorick: i almost forgot that that's tomorrow
<yorick> aristid: meetup.com keeps reminding me
<aristid> yorick: hah
<aristid> i should finally install a screen locker on my laptop
<aristid> recommendations?
ShalokShalom has quit [(Read error: Connection reset by peer)]
mudri has quit [(Ping timeout: 260 seconds)]
ShalokShalom has joined #nixos
<S0rin> aristid: slock is fine and very light
Ivanych has joined #nixos
<yorick> aristid: I'm running xss-lock -l i3lock-color, also locks on suspend (and waits with suspending until locked)
<yorick> can anyone try `nix-build https://pub.yori.cc/mailpile.tar`
<yorick> it works for me but fails for bjornfors
<julm> aristid: I'm using xautolock+slock (it's not the most user-friendly setup, but it works)
<aristid> julm: why is it not user-friendly?
Jackneilll has joined #nixos
<yorick> okay, figured it out
<julm> aristid: when the screen is lock, the screen does not show a prompt, and when you fail your password, it just does some lagging unhelpful blinking, such that I may have to re-enter my password multiple times until it accepts it. But just try it and see by yourself if it does this for you too, or if it's just my setup which is failed :]
hightower3 has quit [(Remote host closed the connection)]
<yorick> julm: yeah, the solution is to use a password that takes longer to type than the delay
<julm> /o\
<yorick> julm: alternatively, hit enter again once the delay is over
<yorick> but yeah, that sucks, it should maybe queue the submit too
Ivanych has quit [(Ping timeout: 260 seconds)]
<julm> yes I just get angry nowadays and brute force my keyboard, until I just take time to find a better setup
<aristid> yorick: how does xss-lock work with i3lock? i3lock says it forks and xss-lock says it does not support forking?
<aristid> yorick: one of the two must be lying in the docs
<yorick> aristid: oh, maybe I disabled the forking in i3lock
<aristid> yorick: or maybe the -l makes it work
<aristid> yorick: ah "A script is provided to use i3lock's forking mode with the --tranfer-sleep-lock option (see above)."
<aristid> in xss-lock docs
<aristid> yorick: what does the dpms stuff do?
<julm> Question. When I am NOT on NixOS, can I replace https://nixos.org/channels/nixpkgs-unstable by https://nixos.org/channels/nixos-17.09 without worrying? To reduce download and space consumption, I'd like nixops to reuse the packages already used by my non-NixOS host, when it provides a NixOS-17.09 VM. Hence somehow pinpoint the nixpkgs channel. I've found some way to do this for a package, but not for
<julm> ~/.nixpkgs/config.nix.
endformationage has joined #nixos
<aristid> "xss-lock-git-2014-03-02" <- that is not a confidence-inspiring version number
zeus_ has joined #nixos
<julm> but I'm unable to incorporate this nix code into my ~/.nixpkgs/config.nix
orivej has joined #nixos
bulldog has joined #nixos
marusich has joined #nixos
<bulldog> hello! What is the customary way to mount an ntfs partition on boot?
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] timor opened pull request #29155: perl-ApacheTest: mark broken (master...perl-ApacheTest-broken) https://git.io/v56hk
NixOS_GitHub has left #nixos []
Itkovian has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
<aristid> bulldog: i don't think you can make ntfs your root partition, if that's what you're asking, as the common driver is fuse-based (the in-kernel one is read-only AFAIK)
<bulldog> oh, not as root
<bulldog> it is just a data partition
<bulldog> but do want it mounted every time I log in
<aristid> bulldog: then i think you should be able to just add it to your fileSystems
<aristid> bulldog: after adding ntfs to your boot.supportedFileSystems
<timor> viric: ping
<aristid> i3lock looks funny
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nix] Anton-Latukha opened pull request #1565: install-nix: Full progress (master...installFullProgress) https://git.io/v56hH
NixOS_GitHub has left #nixos []
U007D has joined #nixos
mudri has joined #nixos
cmcdragonkai1 has quit [(Ping timeout: 246 seconds)]
ris has joined #nixos
cmcdragonkai1 has joined #nixos
vaibhavsagar_ has joined #nixos
vaibhavsagar_ has quit [(Remote host closed the connection)]
vaibhavsagar_ has joined #nixos
Filystyn has quit [(Quit: Konversation terminated!)]
Filystyn has joined #nixos
vaibhavsagar_ has quit [(Ping timeout: 240 seconds)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] rycee pushed 2 new commits to release-17.03: https://git.io/v5iek
<NixOS_GitHub> nixpkgs/release-17.03 86956b9 timor: perl-Filter-Simple: 0.91 -> 0.94...
<NixOS_GitHub> nixpkgs/release-17.03 7eb1a42 timor: perl-File-Modified: 0.07 -> 0.10...
NixOS_GitHub has left #nixos []
freeman42x has quit [(Ping timeout: 255 seconds)]
<aristid> looks like my nixos is more bokred than i thought
<WinchellsM> Does `import <nixpkgs> {}` call the function in this file with the empty set?
<aristid> dbus appears not to run properly
freeman42x has joined #nixos
<tilpner> WinchellsM - What's the content of your NIX_PATH?
<WinchellsM> nixpkgs=/nix/var/nix/profiles/per-user/root/cahnnels/nixos/nixpkgs:nixos-config=/etc/nixos/configuration.nix:/nix/var/nix/profiles/per-user/root/channels
<tilpner> WinchellsM - Okay, so <nixpkgs> is /nix/var/nix/profiles/per-user/root/cahnnels/nixos/nixpkgs. When you import a directory (as opposed to a file), default.nix of that directory is imported
<tilpner> WinchellsM - We're importing /nix/var/nix/profiles/per-user/root/cahnnels/nixos/nixpkgs/default.nix, which should look similar to the link above
jellowj has quit [(Ping timeout: 240 seconds)]
<bulldog> Another question: I just installed NixOS alongside Windows. I am using the same boot partition (EFI) from my previous install. But I haven't been able to figure out how to make grub rescan for OSs
<bulldog> Windows does not show up on grub at boot
<julm> copumpkin: it looks like your thread https://github.com/NixOS/nixpkgs/issues/7659 was somehow diverted to another topic at the end :\ Has your proposal of unifying nixos-* and nixpkgs-* channel structures somehow landed in upstream?
<aristid> it is most weird that my system works mostly OK despite user d-bus being broken
gnuhurd has quit [(Ping timeout: 240 seconds)]
<U007D> I can query the packages currently installed in my user environment using `nix-env -q` and other variations. Is there an equivalent for the system configuration?
<aristid> U007D: that's a good question!
jellowj has joined #nixos
<bulldog> what should I do to make grub rescan my partitions?
<tilpner> U007D - Something like this works in nix-repl tx0.co/_Fh-
<U007D> aristid :) yeah, trying to debug why Virtual Machine Manager claims it can't find a default hypervisor. It would be great to confirm with the OS if qemu, libvirt & kvm are installed (VMM claims one or more are missing...)
<U007D> tilpner wow. thanks!
<tilpner> (But I can't get it to work with nix-instantiate for some reason)
nwuensche has joined #nixos
bulldog has quit [(Quit: http://www.kiwiirc.com/ - A hand crafted IRC client)]
<nwuensche> Hi! I want to override nitrogen to also download my wallpaper. However, the default package doesn't import wget, but I need it. Is there a way to pkgs.nitrogen.overrideAttrs the imports, so that I can add wget?
<tilpner> U007D - Instead of /cfg/nixos/config.nix you would use <nixpkgs/nixos>
marusich has quit [(Ping timeout: 246 seconds)]
zarel has joined #nixos
<tilpner> nwuensche - What do you mean by imports?
ryanartecona has joined #nixos
<nwuensche> I mean the first line: {stdenv, ...} stuff
<tilpner> That alone wouldn't change anything. What do you do after you added another argument there?
<tilpner> (Do you add it to *buildInputs?)
<tilpner> (Do you use it to fetch your wallpaper right there?)
iyzsong has quit [(Ping timeout: 248 seconds)]
marusich has joined #nixos
<U007D> tilpner nix-repl gives "error: getting status of '/cfg/nixos/config.nix' : no such file or directory". And indeed I have no /cfg/... directory. A quick search reveals I don't have a `config.nix` outside of a /nix/store/... directory. Did you mean /etc/nixos/configuration.nix?
<tilpner> "U007D - Instead of /cfg/nixos/config.nix you would use <nixpkgs/nixos>"
revtintin has joined #nixos
<yorick> aristid: i3lock-color has the lock thing builtin
<U007D> ah. ok thanks
<yorick> aristid: it locks on dpms
<nwuensche> tilpner: I just want to use wget in postInstall :)
<tilpner> nwuensche - And you're providing the postInstall via overrideAttrs? Why not fetchurl?
<nwuensche> tilpner: Because I don't know how to do a fetchUrl inside pkgs.nitrogen.overrideAttrs
<tilpner> Use pkgs.fetchurl
Ivanych has joined #nixos
<tilpner> (If you're still not sure, paste the expression)
<nwuensche> tilpner: Seems to work now, thanks! However, is there a way to use the package cache from nitrogen, even thought I override something? I don't change something while installing the package, I just want to add the wallpaper in the end.
<nwuensche> tilpner: Right now, nitrogen just completely builds from scratch.
<tilpner> I don't think it's possible if you add the postInstall
bulldog has joined #nixos
<tilpner> Actually, what does your postInstall look like now?
noobly has joined #nixos
<noobly> What's the easiest way to find info on your wifi module?
<tilpner> U007D - Ahh, I was missing strict evaluation. Does nix-instantiate --strict --eval -E 'map (p: p.name) (import <nixos/config> {}).config.environment.systemPackages' work for you?
<noobly> none of the commands for other distros was working (lshw, lspci, etc)
<tilpner> Did lspci not list it, or was it not available, noobly?
<noobly> tilpner: command not found
<tilpner> Try nix-shell -p pciutils --run lspci
<tilpner> (Or you could install it)
<noobly> :-) the above worked, ty
<noobly> and yeah I probably should just install it lol
<tilpner> U007D - Sorry, not sure why I put <nixos/config> in there. It's supposed to be <nixpkgs/nixos> of course
<mpcsh> hey yall so I'm trying to modular-ize my configuration.nix, and I've got a question. if I declare environment.systemPackages in multiple places (say with one list of packages for development, and another for the DE), and then import both of those files, will the lists get merged?
<mpcsh> (and does the same thing happen with sets?)
<U007D> tilpner indeed it does! thank you!!
<U007D> tilpner clearly, I have a lot to learn
<tilpner> mpcsh - Yes, they will get merged if you declare them in different modules
<mpcsh> tilpner: for both sets and lists?
<tilpner> Yes
<mpcsh> sweet!
Jackneilll has quit [(Remote host closed the connection)]
<nwuensche> tilpner: It is now just cp $wallpaper $out/wallpaper.jpg, where $wallpaper is my wallpaper. It works, so thank you!
<tilpner> nwuensche - Do you insist on using nitrogen for this? If you used a program that takes a path, you could call that program with the result of fetchurl during startup, and avoid any rebuilds or overrides
<tilpner> (And you could change your wallpaper without recompiling nitrogen)
<nwuensche> tilpner: No, was just the one that worked. Which program do you mean?
<U007D> I'm trying to create a KVM virtual machine on my NixOS installation, virtual machine manager reports "could not detect a default hypervisor. Make sure that the appropriate virtualization packages are installed (kvm qemu, libvirt, etc.) and that libvirtd is running."
<tilpner> nwuensche - You could put "${pkgs.feh}/bin/feh --bg-scale ${fetchurl https://some.url/}" into your startup script. You may want to extract the fetchurl with a let, and add this to the startup script via (untested) services.xserver.dispalyManager.sessionCommands or DM-specific options like services.xserver.windowManager.i3.extraSessionCommands
<tilpner> *WM-specific
<U007D> I've set virtualisation.enable = true, which should enable kvm according to nixos.org. I set enableKVM to true, too, because I was still seeing the above error.
<nwuensche> tilpner: Couldn't I do the same with nitrogen --set-centered FILENAME?
<U007D> kvm, qemu and libvirt are set as environment.systemPackages in my configuration.nix
<tilpner> nwuensche - Maybe. The manpage didn't specify that those options take paths
<U007D> `nixos-rebuild switch` is happy.
JosW has joined #nixos
<U007D> BUT: dumping my system configuration today shows lib
ktf has joined #nixos
<tilpner> U007D - Do you have things like "virtualisation.libvirtd = { enable = true; enableKVM = true; }" in your config?
<U007D> shows `libvirt-3.1.0`, `qemu-2.8.1.1`, `qemu-x86-only-2.8.1.1`, but *no kvm package is listed*. I assume this is the problem?
<U007D> tilpner yes
<tilpner> U007D - Usually these enable options install the packages for you already, so you don't need to manually install required packages
<nwuensche> tilpner: Now my config says: attribute ‘fetchurl’ missing, after I added your command to services.xserver.dispalyManager.sessionCommands. How can I get it in scope
<ktf> s
<U007D> tilpner should kvm show up in the dump from `nix-instantiate`? Or is there another way I can find out if it is installed and running as expected? (Virtual Machine Manager seems to think it isn't)
ryanartecona has quit [(Quit: ryanartecona)]
<tilpner> U007D - What does "systemctl status libvirtd" say?
<tilpner> nwuensche - Use pkgs.fetchurl again
<tilpner> nwuensche - (Or import it into the local scope, but that's not really useful or shorter here)
<nwuensche> tilpner: Of course, thank you.
AndreasO has joined #nixos
<U007D> tilpner it says loaded, active, running. One line from the log says no servers found in /etc/resolv.conf, will retry; everything else seems happy.
nwuensche has quit [(Quit: Leaving)]
<makefu> anyone else has issues with steam and Virtualbox in the latest unstable? also it might be a good idea to have a channel for unstable-related issues (as there are many all the time) in #nixos-unstable ?
nwuensche has joined #nixos
<tilpner> U007D - For some reason I have boot.kernelModules = [ "kvm-intel" ]; in my config. KVM works with QEMU, didn't try libvirt
<mpcsh> hey anyone know if there's a makefile variable corresponding to the target called on the command line? that is, if I call make shblah, is there a variable that will expand to shblah regardless of what rule it's being referenced in?
<tilpner> makefu - What issue?
<makefu> tilpner: steam does not start, virtualbox says "no kernel module"
AndreasO has quit [(Quit: Found more important stuff than irc!)]
nwuensche has quit [(Remote host closed the connection)]
<WinchellsM> I've read the Nix Pills series on the difference between nix-shell and nix-build, and it's still not clear to me how the environment is different between the two.
<tilpner> makefu - I've had an issue with steam a few days ago, not sure if it's the same. It was "solved" with "rm -rf .steam" and using steam with newStdcpp = true;
<U007D> tilpner ok, I'll try that. BTW, here's a gist of the systemctl output https://gist.github.com/U007D/54d4fba7015571aab9f3787f8f03472b
<WinchellsM> "nix-shell is able to drop us in a shell with (almost) the same environment used by nix-build" -- a quote from Nix Pills. But how are they different?
<U007D> tilpner so you have no mention of libvirt in your config?
<tilpner> U007D - I don't use libvirt, but you don't need libvirt to use KVM
<makefu> tilpner: okay i will try that even though i don't really like that option :D
<tilpner> makefu - I agree. Don't actually remove it, "mv .steam old-steam" or something
<makefu> sure :)
noobly has left #nixos []
<U007D> tilpner ok, I'll take it out then. less is more...
ktf has quit [(Ping timeout: 260 seconds)]
<tilpner> U007D - That may be the wrong conclusion. I just qemu with KVM from time to time, libvirt will still be more comfortable. You should see if you can get KVM working without libvirt, to rule out that libvirt is a culprit, but that doesn't mean you need to/should uninstall it
<U007D> tilpner agreed. I'll try to get it working with the simplest possible config, then build from there if it turns out more is needed.
<avn> WinchellsM: nix-shell set IN_NIX_SHELL=1, and execute shellHook's
nwuensche has joined #nixos
<avn> so hooks can behave differently, based on IN_NIX_SHELL (but it usually prety uncommon)
phreedom has quit [(Ping timeout: 240 seconds)]
bennofs has quit [(Read error: Connection reset by peer)]
<WinchellsM> Is that the only difference?
<nwuensche> tilpner: So I tried windowManager.i3.extraSessionCommands = "${pkgs.feh}/bin/feh --bg-scale ${pkgs.fetchurl
<nwuensche> {url = "...";
<nwuensche> sha256 = "...";
<nwuensche> }} ";
<WinchellsM> Or the only one I should care about at the noobie phase?
<nwuensche> But it doesn't work. Do you know why?
<U007D> tilpner boot.kernelModules = [ "kvm-intel" ] is added'. environment.systemPackages = with pkgs; [ ... kvm qemu ... ]; has libvirt removed. fingers crossed! :)
sigmundv__ has joined #nixos
<zarel> I have troubles registering for nixcon2017, isn't public registration open yet?
<bulldog> does grub.extraEntries work with EFI?
<bulldog> Im trying to get my Windows install to show on grub
<tilpner> nwuensche - Oh, extraSessionCommands are executed before i3 starts. I don't know how feh --bg-scale actually works, so I'm not sure how bad that is. Do you set your i3 config file via Nix too?
<makefu> tilpner: i will open an issue for steam with the workaround (if there isn't one already)
<nwuensche> tilpner: Nope, I have it in a seperat file.
revtintin has quit [(Ping timeout: 260 seconds)]
<tilpner> makefu - Did that work?
<makefu> steam is still stiching itself together
<makefu> yep seems to work
<tilpner> zarel - Someone said it wasn't open two days ago
<mbrock> hmm, I wonder how to integrate hydra with S3
<pbogdan> bulldog: have you tried "boot.loader.grub.useOSProber = true;"? it should try and detect other systems and add them to boot menu
<nwuensche> tilpner: Can I do something like i3config = /home/nwuensche/.i3/config; windowManager.i3.configFile = "$i3config" + "exec feh....";?
<makefu> tilpner: no need to move .steam it seems
<zarel> tilpner: thank you. According to the calendar it should be open starting from today
<bulldog> pbogdan: nope, let me try it
<bulldog> pbogdan: omg it worked! Thank you!
<tilpner> nwuensche - You can do something like that, if you're okay with having to nixos-rebuild in order for i3 config changes to apply
<tilpner> It's disappointing that there are services.xserver.desktopManager.wallpaper options without a way to set the source of that wallpaper
<nwuensche> tilpner: It is ok, but how is the correct syntax to do something like this? windowManager.i3.configFile wants a path, but I want to add this exec feh line too
bulldog has quit [(Quit: http://www.kiwiirc.com/ - A hand crafted IRC client)]
<tilpner> nwuensche - configFile = builtins.readFile /home/nwuensche/.i3/config + "exec feh ..."; should work
apostolis has joined #nixos
freeman42x[nix] has joined #nixos
<tilpner> (Looks ugly, yes. You can make that prettier by inheriting readFile, using a let to pull the path out, and proper formatting)
bulldog has joined #nixos
<tilpner> nwuensche - Oh, and I think you actually want "exec_always --no-startup-id feh --bg-scale ..."
<apostolis> When I perform nix-build -A agda-beta inside nixpkgs, I get an error that blaze-html and uri-encode are missing. What should I do?
<bulldog> pbogdan: just successfully booted into Windows. Thanks again!
<clever> apostolis: do it again with --show-trace, and then look at the path its pointing to
<makefu> tilpner: there is https://github.com/NixOS/nixpkgs/issues/25957 open since may 21st
<nwuensche> tilpner: The option value `services.xserver.windowManager.i3.configFile' in `/etc/nixos/configuration.nix' is not a null or path.
<pbogdan> bulldog: glad I could help :)
<nwuensche> tilpner: Should I Gist it?
<tilpner> Oh... we'll need another writeText
<tilpner> :/
<nwuensche> tilpner: Where exactly?
bulldog has quit [(Client Quit)]
<apostolis> clever : path ? the building path? It is a custom package and they recently changed the dependencies but forgot to update default.nix.
<clever> apostolis: --show-trace will spit out the path of the nix expression that is giving the error
<tilpner> nwuensche - configFile = let original = /home/nwuensche/.i3/config; wallpaper = pkgs.fetchurl { ... }; fehSnippet = "exec_always --no-background-id ${pkgs.feh} --bg-scale ${wallpaper}; modified = builtins.readFile original + modified; in pkgs.writeText "config" modified;
<apostolis> /nix/store/9fpxygqkash4l5pxmfi120gb5nshmki8-Agda-beta-2.6.0.drv
vaibhavsagar has quit [(Ping timeout: 260 seconds)]
<tilpner> nwuensche - Correction: configFile = let original = builtins.readFile /home/nwuensche/.i3/config; wallpaper = pkgs.fetchurl { ... }; fehSnippet = "exec_always --no-background-id ${pkgs.feh} --bg-scale ${wallpaper}; in pkgs.writeText "config" (original + fehSnippet);
<mbrock> clever: hey, do you have some clue regarding how hydra would integrate with s3? or maybe I need some script that uses the hydra JSON API or something
marusich has quit [(Ping timeout: 246 seconds)]
<nwuensche> tilpner: Should the first configFile be windowManager.i3.configFile?
<aristid> yorick: can you explain in detail how the dpms stuff does what it does? it's a bit of black magic to me still
marusich has joined #nixos
<tilpner> nwuensche - Yes, I didn't want to write the full path
<aristid> yochai[m]: other than that, i got the i3lock to work after fixing some stupid issues in my nixos install (i had some useless failing unit delay the starting of the some essential services)
<aristid> sorry i meant yorick
<tilpner> nwuensche - And I made another mistake. Instead of ${pkgs.feh} you want ${pkgs.feh}/bin/feh
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] joachifm closed pull request #28723: notion: 3-2015061300 -> 3-2017050501 (master...master) https://git.io/v5cyJ
NixOS_GitHub has left #nixos []
bennofs has joined #nixos
<nwuensche> tilpner: Is there a bracket error in here: https://gist.github.com/NWuensche/b86154f523e901c6c40450142dd368b0 ? It says it expects a {, but I can't find an error
<nwuensche> tilpner: Whoops, it expects a }, not a {
<tilpner> I don't see it
ktf has joined #nixos
<nwuensche> tilpner: There is a " missing before the in part
nwuensche has quit [(Remote host closed the connection)]
<julm> wow, this is useful: https://github.com/NixOS/nix/pull/1124#issuecomment-287844151 NIX_PATH=$HOME/.nix-defexpr/channels/
<clever> mbrock: hydra has a config option where you just give it the accesskeys
nwuensche has joined #nixos
<nwuensche> tilpner: So now it built, but it still doesn't show the background after reboot
<clever> mbrock: i think you need a clause like this in the hydra.extraConfig: https://github.com/NixOS/hydra/pull/501/files#diff-807928d9773c33624c2ebdca7a37d24aR298
nix-gsc-io`bot has joined #nixos
<nix-gsc-io`bot> Channel nixos-17.03 advanced to https://github.com/NixOS/nixpkgs/commit/13b0e47ed6 (from 28 hours ago, history: https://channels.nix.gsc.io/nixos-17.03)
nix-gsc-io`bot has quit [(Client Quit)]
<clever> mbrock: not entirely sure where the accesskey gets configured, we would have to dig thru the source on the repo i linked
<tilpner> nwuensche - Any errors in the log? What happens when you reload the config via the i3 keybinding?
<clever> mbrock: although..., i think it might just expect it as an env variable (system.services.hydra-queue-runner.Environment)
rauno has joined #nixos
<nwuensche> tilpner: Shortcut doesn't do anything. Which journal stuff should I search for?
<tilpner> nwuensche - Oh, and does your .i3/config end in a newline?
<clever> brb
<mbrock> clever: ahh, cool thanks!!
<tilpner> nwuensche - If not, we should add one, so probably "\nexec_always..."
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Lassulus opened pull request #29156: bitcoin-classic: 1.2.5 -> 1.3.6 (master...bitcoin-classic) https://git.io/v5iIg
NixOS_GitHub has left #nixos []
nwuensche has quit [(Remote host closed the connection)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] joachifm closed pull request #25271: Cleanup tahoe module (master...patch-1) https://git.io/v9G0Y
NixOS_GitHub has left #nixos []
nwuensche has joined #nixos
<nwuensche> tilpner: It shows the wallpaper for a moment of a second, but then it goes black again.
<tilpner> Any other programs trying to set the wallpaper? Just to make sure, you could manually add the feh line to the end of your config
<nwuensche> tilpner: That worked, I tried this already
<clever> tilpner: there is already some code in nixos to handle the wallpaper for you, one min
<clever> it uses ~/.background-image
<tilpner> clever - I know about that, but it doesn't allow to use fetchurl to set the src
<clever> ahhhh
marusich has quit [(Ping timeout: 246 seconds)]
<clever> tilpner: my first guess, use https://nixos.org/nixos/options.html#sessioncommands to copy the fetchurl to home
<clever> bbl
sary has quit [(Ping timeout: 240 seconds)]
marusich has joined #nixos
<nwuensche> clever: This .background-image should be better documented. I never heared of it!
<nwuensche> clever: But thank you!
<tilpner> That could work too. Though I really don't know why this didn't work...
nwuensche has quit [(Remote host closed the connection)]
nwuensche has joined #nixos
<nwuensche> clever: I will just download the file and do it like this. Thank you!
<nwuensche> tilpner: And you too!
criley has joined #nixos
nix-gsc-io`bot has joined #nixos
<nix-gsc-io`bot> Channel nixos-17.03-small advanced to https://github.com/NixOS/nixpkgs/commit/694529e45d (from 7 hours ago, history: https://channels.nix.gsc.io/nixos-17.03-small)
nix-gsc-io`bot has quit [(Client Quit)]
nwuensche has quit [(Remote host closed the connection)]
criley is now known as Nergal
<aristid> yorick: i think i3lock is unsafe: xss-lock actually attempts to lock on suspend, but i3lock just says it can't grab the screen and gives up. maybe there's a way around it, but i feel it's better to try other lockers.
stepcut has joined #nixos
<stepcut> Is there a way to get nix-build to only use a single core when building Haskell packages? I tried nix-build '<nixpkgs>' -j1 -A mypackage, but it still passes --ghc-options=-j8 to cabal
justbeingglad has joined #nixos
<aristid> julm: slock seems to want setuid
justbeingglad has left #nixos []
griff_ has quit [(Quit: griff_)]
<stepcut> oh, nm, I need --cores 1
<julm> aristid: my Debian's slock is not setuid, only -rwxr-xr-x
<aristid> julm: which version? perhaps they disabled the OOM-killer-disabling feature
athan has quit [(Remote host closed the connection)]
<julm> aristid: suckless-tools 42-2
athan has joined #nixos
<aristid> hah, programs.slock.enable sets up the setuid wrapper
Filystyn has quit [(Quit: Konversation terminated!)]
Filystyn has joined #nixos
Filystyn has quit [(Changing host)]
Filystyn has joined #nixos
athan has quit [(Ping timeout: 240 seconds)]
phreedom has joined #nixos
<aristid> sooo... slock seems to be more reliable than i3lock
<aristid> it just takes like 2 seconds after opening the lid to kick in, which isn't great
<aristid> but better than nothing i suppose
athan has joined #nixos
<sphalerite> U007D: did you get the libvirt thing working?
Nergal has quit [(Quit: Nergal)]
zarel has quit [(Quit: Leaving)]
anon999 has joined #nixos
<anon999> hello
<anon999> I have a problem with GDM, it goes into a weird loop, from tty to a black screen, I'm using the nvidia drivers if that helps
<anon999> I can successfuly use lightdm or slim and it doesn't go into a strange loop
<sphalerite> anon999: probably nvidia drivers fault, I think it uses Wayland now and nvidia's Wayland "support" is nonsense from what I've heard
sary has joined #nixos
<anon999> how big of a performance difference between nouveau and the proprietary drivers?
<sphalerite> Very, usually, simply because nouveau doesn't support power management on reasonably recent nvidia hardware
<sphalerite> So it's stuck on the lowest clock rate
<sphalerite> Or something like that
<sphalerite> Why do you need gdm?
stanibanani1 has joined #nixos
<anon999> it's integrated with GNOME well
<anon999> I will see if it works with nouveau, brb
anon999 has quit [(Quit: Page closed)]
<sphalerite> sddm might also do the job
Ivanych has quit [(Ping timeout: 260 seconds)]
AndreasO has joined #nixos
<julm> aristid: thx :)
thblt has joined #nixos
stanibanani1 has quit [(Remote host closed the connection)]
<mbrock> can't get hydra to send jobs to my mac, but nix-build can do it :(
<U007D> sphalerite nope; I just took out libvirt and added a kvm kernel module (helpful suggestions from tilpner), but there's no change in behavior. So strange!
<mbrock> it just seems to fail immediately with a "transient failure ... unexpected end-of-file" (which I see in journalctl for hydra-queue-runner)
<tilpner> U007D - Have you looked through https://www.linux-kvm.org/page/FAQ#How_can_I_check_that_I.27m_not_falling_back_to_QEMU_with_no_hardware_acceleration.3F ?
<sphalerite> U007D: do you have KVM/qemu in your user environment? And what are you running and what is it saying?
<mbrock> ahhh, found a better place to view the log, and there's an error that says "you are not privileged to build derivations"
oida has joined #nixos
<civodul> cd
marusich has quit [(Ping timeout: 252 seconds)]
<civodul> hmm, hi!
stanibanani1 has joined #nixos
<U007D> sphalerite I did have qemu in my user env--thank you for that clue. I removed it, and verified it was gone
<Moredread> is there a way to rebuild a package when it already exists (and/or skipping pulling it from the binary cache)?
<tilpner> Or maybe overrideAttrs to preferLocalBuild
<U007D> sphalerite I'm running Virtual Memory Manager via Plasma 5 (initially want to build the VM's in a GUI until I get more familiar with all the options). When I start VMM, it reports "could not detect a default hypervisor. Make sure that the appropriate virtualization packages are installed (kvm qemu, libvirt, etc.) and that libvirtd is running."
oida_ has quit [(Ping timeout: 240 seconds)]
<Moredread> tilpner: thx, that seems to work :)
<U007D> sphalerite I'm open to running another manager, even command line, if necessary; what do you use to configure your VM's?
stanibanani1 has quit [(Ping timeout: 248 seconds)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] joachifm pushed 1 new commit to master: https://git.io/v5iYt
<NixOS_GitHub> nixpkgs/master 4ff9e9e Ruben Maher: nixos/transmission: make it possible to use a different home directory (#29138)
NixOS_GitHub has left #nixos []
oida_ has joined #nixos
<U007D> tilpner I've haven't looked through that faq... reading the link now
oida has quit [(Ping timeout: 260 seconds)]
<U007D> tilpner *sigh* the link doesn't say how to check for those messages. :( But lsmod does indeed show the kvm kernel module, 503k in size with 0 users. It does not list qemu (though I'm not sure that it should)
<U007D> `qemu-system-x86_64` just brought up a VM, though--so that's awesome!
<tilpner> U007D - With something like $ qemu-system-x86_64 -enable-kvm -cdrom nixos-graphical-17.03.1769.da2159dafb-x8, do you get the "Could not initialize KVM, will disable KVM support" message?
MP2E has joined #nixos
<U007D> I guess Virtual Machine Manager isn't designed to work with kvm/qemu. everything I've read suggests I'm configured correctly. I just need to know how to configure a VM for qemu.
<U007D> tilpner i'll check
<tilpner> (The specific ISO doesn't matter, just a way of checking if everything works)
<WinchellsM> Consider 12.5 of https://nixos.org/nixos/nix-pills/inputs-design-pattern.html (Nix Pills). At the top of this section (12.5) it is asserted "note the use of the with expression in buildInputs to avoid repeating pkgs". What's going on here? I thought pkgs was already in scope in the let block. So why does it need to be repeated here again?
<U007D> tilpner "could not access KVM kernel module: No such file or directory. failed to initialize KVM: no such file or directory"
<tilpner> U007D - file /dev/kvm ?
<U007D> tilpner nope
<U007D> ls /dev/k* -> /dev/kmsg
<U007D> that's it
FRidh has quit [(Quit: Konversation terminated!)]
<tilpner> (You were supposed to run "file /dev/kvm", but this works too)
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] nlewo opened pull request #29158: pythonPackages.ofxclient: remove argparse from requirements (master...ofxclient) https://git.io/v5iYb
NixOS_GitHub has left #nixos []
<mbrock> YAY, got the Mac to remote build from Hydra, I needed to add my administrator user as a trusted user in /etc/nix/nix.conf and then restart the nix-daemon
<tilpner> But hey, this is progress. You now know that the problem occurs before libvirt or qemu even matter
<U007D> tilpner `file /dev/kvm` -> command not found: file :)
anon999 has joined #nixos
<U007D> tilpner yeah--so the ? is where is my /dev/kvm? Is it strange that `lsmod | grep kvm` returns the kvm module?
<anon999> with nouveau gdm did start but I couldn't login (I'm sure I used the right password), then when I restarted it the same problem as with the proprietary drivers happened
<U007D> (when I don't have a /dev/kvm, I mean)
<tilpner> U007D - Sounds very strange indeed. Note that lsmod lists kvm and kvm_intel for me
<tilpner> U007D - Check that your CPU supports KVM, and if it's disabled in the BIOS
<anon999> this is very frustrating, now I added displayManager.auto
<silver_hook> In Konsole (and Yakuake) htop and cfdisk (and I guess other ncurses apps) look glitched – instead of the whole screen refreshing, only a few characters are.
<silver_hook> Any idea how to fix that?
Filystyn has quit [(Remote host closed the connection)]
Itkovian has joined #nixos
mudri has quit [(Ping timeout: 240 seconds)]
<U007D> tilpner interesting. It's a threadripper--so I *assume* that could be why kvm_intel is missing. I'll look into whether I need a kmd_amd and will also check my bios--thanks--great suggestions
apostolis has quit [(Quit: WeeChat 1.7.1)]
<tilpner> U007D - Did you try to add kvm-intel to it while not on an Intel CPU?
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] timor opened pull request #29159: coin3d: include fix for newer compilers (master...coin3d-sbhashentry-fix) https://git.io/v5iOz
NixOS_GitHub has left #nixos []
athan has quit [(Ping timeout: 248 seconds)]
<U007D> tilpner yes
<tilpner> :/
georges-duperon has quit [(Ping timeout: 252 seconds)]
<tilpner> "If modprobing kvm_intel or kvm_amd fails but modprobing kvm succeeds, (and lscpu claims that hardware acceleration is supported), check your BIOS settings"
aristid has quit [(Ping timeout: 255 seconds)]
georges-duperon has joined #nixos
aristid has joined #nixos
<ktf> the-kenny: so the shell.nix trick seems to work for everything but cmake FindX11.cmake, which has hardcoded paths and cannot find X11. Is there any workaround to that?
<anon999> wrz 09 21:39:53 ThinkPad-W510 /nix/store/86rqwx5h4szvsnlwxq22hg1aysr5qkhi-gdm-3.22.0/libexec/gdm-x-session[1307]: (WW) xf86OpenConsole: VT_ACTIVATE failed: Operation not permit ted
<anon999> this is the error I get
AndreasO has quit [(Quit: Found more important stuff than irc!)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] nh2 opened pull request #29160: glusterfs glusterfind fixes cherry-pick for 17.09 (release-17.09...glusterfs-glusterfind-dirs-17.09) https://git.io/v5i3l
NixOS_GitHub has left #nixos []
<catern> argh #nixos help
<catern> I don't understand how to use nix-shell
<catern> what am I doing wrong?
<catern> (no it's not python3 either)
<tilpner> That would give you a shell where you can build python35, not one where you can use it
<catern> ohhhh
dejanr has quit [()]
ryanartecona has joined #nixos
<tilpner> (I think)
<catern> yes, you're right
<catern> (I think)
dejanr has joined #nixos
<simpson> catern: What you'd do instead is create a dummy derivation and fill its buildInputs with packages you want.
anon999 has quit [(Quit: Page closed)]
<MP2E> "nix-shell -p python35" would also work. but creating a derivation is the better way imo
athan has joined #nixos
<catern> ahhh
<catern> silly me
<catern> everything works now
<U007D> is there a list of kernel modules somewhere?
<catern> all that suffering, resolved :)
<catern> thanks #nixos
mudri has joined #nixos
justanotheruser has joined #nixos
justanotheruser has quit [(Client Quit)]
justanotheruser has joined #nixos
civodul has quit [(Quit: ERC (IRC client for Emacs 25.2.1))]
Olgierd has quit [(Ping timeout: 246 seconds)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] LnL7 pushed 1 new commit to master: https://git.io/v5isL
<NixOS_GitHub> nixpkgs/master 479c15b Daiderd Jordan: eggdrop: fix tcllib reference on darwin
NixOS_GitHub has left #nixos []
drakonis has joined #nixos
pmade has quit [(Quit: ZNC - http://znc.in)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] LnL7 pushed 1 new commit to release-17.09: https://git.io/v5is1
<NixOS_GitHub> nixpkgs/release-17.09 150195b Daiderd Jordan: eggdrop: fix tcllib reference on darwin...
NixOS_GitHub has left #nixos []
Olgierd has joined #nixos
EastAPOLO[m] has joined #nixos
<EastAPOLO[m]> !help
<tilpner> ...Hi?
<sphalerite> U007D: are you in the libvirt group? Does libvirtd run?
griff_ has joined #nixos
<U007D> sphalerite I'm not (didn't know about the group). It appears it does run, but following tilpner's config, I wanted to try without libvirt. libvirt did (seem) to run for me, but VMM was unhappy. I've since seen an additional error message from VMM re: libvirtd not running, so that leads me to believe it was working as intended, and the problem was kvm
stepcut has quit [(Remote host closed the connection)]
stepcut has joined #nixos
pmade has joined #nixos
<U007D> sphalerite I got qemu to boot the graphical nixos iso, but attempting to start the display manager gives all kinds of crash (out of memory featured prominently). I assume this is because the VM is not configured correctly (but I don't know yet). At this point, it looks like KVM and QEMU are responding, and I'm now learning a bit more about libvirt vs kvm vs qemu and now they work together to determine what config I should go with. Once that's done,
<U007D> I'll need to build a VM with enough memory to see if all is working well).
freeman42x[nix] has quit [(Ping timeout: 252 seconds)]
pmade has quit [(Quit: ZNC - http://znc.in)]
pmade has joined #nixos
<drakonis> libvirt is a fun layer of indirection
<drakonis> makes handling VMs much better
<drakonis> brb
stepcut has quit [(Ping timeout: 240 seconds)]
drakonis has quit [(Read error: Connection reset by peer)]
Olgierd has quit [(Quit: WeeChat 1.5)]
mudri has quit [(Quit: WeeChat 1.9)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Lassulus opened pull request #29161: bitcoin-xt: 0.11F -> 0.11G2 (master...bitcoin-xt) https://git.io/v5iZ3
NixOS_GitHub has left #nixos []
<EastAPOLO[m]> !whois EastAPOLO
<tilpner> U007D - The OOM is not a problem with KVM
EastAPOLO[m] has left #nixos ["User left"]
<Profpatsch> ghcWithPackages is BROKEN >[(}=/[>}{-)}
<Profpatsch> Why are there no tests that catch stuff like that?
<tilpner> U007D - Add "-m 4G" to the arguments if you want to provide more memory
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] LnL7 pushed 1 new commit to master: https://git.io/v5iZD
<NixOS_GitHub> nixpkgs/master c0e7983 Daiderd Jordan: et: fix build with clang
NixOS_GitHub has left #nixos []
apostolis has joined #nixos
<apostolis> Is there a 3.2.3 version of haskellPackages.alex ?
hiratara has quit [(Ping timeout: 246 seconds)]
hiratara has joined #nixos
<U007D> tilpner ty, will do. kids are hungry, so i'll be afk 4 a bit
sigmundv__ has quit [(Ping timeout: 240 seconds)]
jb55 has joined #nixos
<U007D> tilpner sphalerite success--with more memory the VM was able to give me a graphical desktop! Thank you both so much for your help! Now it's all about tuning.
<tilpner> U007D - But wait. Does it still give the missing /dev/kvm message?
<tilpner> (Did you load kvm_amd?)
apostolis has quit [(Quit: WeeChat 1.7.1)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nix] Anton-Latukha closed pull request #1565: install-nix: Full progress (master...installFullProgress) https://git.io/v56hH
NixOS_GitHub has left #nixos []
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nix] Anton-Latukha reopened pull request #1565: install-nix: Full progress (master...installFullProgress) https://git.io/v56hH
NixOS_GitHub has left #nixos []
<U007D> tilpner - no, kvm is there now.
<tilpner> lsmod kvm | grep kvm now?
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] LnL7 pushed 1 new commit to master: https://git.io/v5inh
<NixOS_GitHub> nixpkgs/master 2317a07 Daiderd Jordan: fontforge-fonttools: use $CC
NixOS_GitHub has left #nixos []
<U007D> and yes, I couldn't find a list of kernel mods, so I just guessed that kvm_amd was a thing and nothing complained. I'd still like to find a list of kernel modules, for NixOS, though, because for all I know there's a kvm_amd64 out there or a kvm_amd_ryzen which might be better. I'll keep looking, though.
<U007D> tilpner lsmod shows a `kvm` and a `kvm_amd` entry
<U007D> tilpner my bios had virtualization disabled so I think that's why I had "silent" failures
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] LnL7 pushed 2 new commits to release-17.09: https://git.io/v5icf
<NixOS_GitHub> nixpkgs/release-17.09 830b121 Daiderd Jordan: et: fix build with clang...
<NixOS_GitHub> nixpkgs/release-17.09 4075187 Daiderd Jordan: fontforge-fonttools: use $CC...
NixOS_GitHub has left #nixos []
python476 has joined #nixos
<tilpner> Oh, interesting. I never actually saw a bios that allowed disabling virtualisation (or the discrete GPU...)
thblt has quit [(Ping timeout: 240 seconds)]
griff_ has quit [(Quit: griff_)]
griff_ has joined #nixos
griff_ has quit [(Client Quit)]
<pikajude> okay
<pikajude> so until recently
<pikajude> my nix-shell command was aliased to nix-shell --command "IN_NIX_SHELL=1 zsh"
<pikajude> which launched zsh
<pikajude> on a recent build of nixUnstable, that command no longer does anything
<pikajude> but if I remove IN_NIX_SHELL=1 it works
griff_ has joined #nixos
griff_ has quit [(Client Quit)]
<pikajude> but obviously the environment variable doesn't get set
<tilpner> Huh, that works for me
griff_ has joined #nixos
griff_ has quit [(Client Quit)]
<pikajude> cool
<pikajude> what version of nix
<tilpner> 1.12pre5511_c94f3d55
<pikajude> wow, same!
griff_ has joined #nixos
griff_ has quit [(Client Quit)]
griff_ has joined #nixos
<tilpner> What's the default.nix/shell.nix you're running it with
griff_ has quit [(Client Quit)]
griff_ has joined #nixos
phdoerfler has quit [(Quit: Leaving.)]
griff_ has quit [(Client Quit)]
<pikajude> nix-shell --command "IN_NIX_SHELL=1 zsh" -E "$(cabal2nix --shell .)"
<tilpner> Ehh, don't have a cabal project at hand
<pikajude> i don't have any non-cabal projects at hand
<pikajude> just realized i can also merely run zsh and the envar will still be set
<pikajude> sooooooo, guess that works
<tilpner> Still curious why it wouldn't work before
<pikajude> oh, it's because i'm using nix-darwin which has a wacky zshrc going on
<pikajude> no idea why this is here
<LnL> it does?
<pikajude> i don't know if zshrc does what you intended it to do LnL
<pikajude> or it does
<pikajude> i have no idea
<pikajude> i'll check the history of the zshrc
<yorick> aristid: I've never seen it fail to grab the screen
georges-duperon has quit [(Ping timeout: 252 seconds)]
hiratara has quit [(Quit: ZNC - http://znc.in)]
hiratara has joined #nixos
<pikajude> wow
<pikajude> i think i just got trolled
<pikajude> i should put this stuff in loginShellInit i guess
<pikajude> all of my init code is in zshrc, which changes PROMPT and a bunch of stuff when i'm inside the nix shell
<pikajude> it's actually running zsh, it's just that none of my setup code is run so i was being confused
<LnL> ah yes, the interactive/login shell configuration should still get loaded
JosW has quit [(Ping timeout: 240 seconds)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] bjornfor pushed 1 new commit to release-17.03: https://git.io/v5iCf
<NixOS_GitHub> nixpkgs/release-17.03 a0e6a89 Vincent Laporte: ImageMagick: fix Magick-config...
NixOS_GitHub has left #nixos []
<LnL> but zshrc would mess with PATH and other stuff so that's skipped
<pikajude> yeah it should still run promptinit
<pikajude> which is what i was using
oida has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] timor opened pull request #29162: openafsClient: 1.6.20.2 -> 1.6.21 (master...openafs-client-1.6.21) https://git.io/v5iCq
NixOS_GitHub has left #nixos []
<pikajude> LnL: i should also still get syntax highlighting in the nix-shell, but i don't
<pikajude> it's skipping a lot of useful stuff
oida_ has quit [(Ping timeout: 248 seconds)]
Itkovian has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
<LnL> hmm yeah, those probably shouldn't get loaded in zshrc anyway
ryanartecona has quit [(Quit: ryanartecona)]
ryanartecona has joined #nixos
<silver_hook> How can I figure out what’s the actual difference between the TexLive packages in NixOS?
timor has quit [(Ping timeout: 240 seconds)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] izuk opened pull request #29163: plex: 1.7.5 -> 1.8.4 (master...plex) https://git.io/v5iWv
NixOS_GitHub has left #nixos []
stepcut has joined #nixos
silver_hook has quit [(Quit: Konversation terminated!)]
justanotheruser has quit [(Ping timeout: 264 seconds)]
silver_hook has joined #nixos
stepcut has quit [(Ping timeout: 248 seconds)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nix] Anton-Latukha closed pull request #1565: install-nix: Full progress (master...installFullProgress) https://git.io/v56hH
NixOS_GitHub has left #nixos []
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nix] Anton-Latukha reopened pull request #1565: install-nix: Full progress (master...installFullProgress) https://git.io/v56hH
NixOS_GitHub has left #nixos []
takle has quit [(Remote host closed the connection)]
fuzzy_id has joined #nixos
takle has joined #nixos
justanotheruser has joined #nixos
justanotheruser has quit [(Client Quit)]
<fuzzy_id> when is public registration for NixCon possible
<fuzzy_id> according to the website it's scheduled for this week-end
takle has quit [(Ping timeout: 252 seconds)]
<Profpatsch> fuzzy_id: If that is still accurate, _c_ should enable it tomorrow.
<Profpatsch> fuzzy_id: It’s 1am in Germany atm.
<pikajude> aagh who keeps messing with the haskell builders
<pikajude> my ghc-with-packageses don't have anything in them
<Profpatsch> pikajude: Yes, I noticed that an hour ago as well.
<pikajude> stop breaking haskell :'(
<Profpatsch> A first bisect gave me 676362494d54b8ee1c7411a8963aaa72041fa91e
<pikajude> it's something to do with the multiple outputs i bet Profpatsch
<Profpatsch> Yes, that’s the commit3
<pikajude> ah ok
<Profpatsch> But it might not be the commit that caused the current breakage.
<pikajude> probably an easy fix
<pikajude> someone is missing a "getOutput lib" somewhere
<Profpatsch> There need to be tests for crucial basic functionality like this.
<Profpatsch> *automatic* tests.
<pikajude> yeah, really
<Profpatsch> With a big deeply-red-colored *TESTS BROKE* on the PR.
<pikajude> also, i don't know if this is just me, but haskell builder output now has a BUNCH of newlines in it
<pikajude> that shouldn't be there
<pikajude> that may be a nixUnstable issue
moet_ has joined #nixos
moet_ has quit [(Client Quit)]
ktf has quit [(Ping timeout: 246 seconds)]
ShalokShalom is now known as haywire
haywire is now known as heywire
ryanartecona has quit [(Ping timeout: 248 seconds)]
stepcut has joined #nixos
silver_hook has quit [(Ping timeout: 252 seconds)]
<mpcsh> hey, anyone know if system.autoUpgrade.dates can take a relative time (e.g. 6h), or only timestamps?
<tilpner> mpcsh - Everything described by "man systemd.time"
Infinisil has joined #nixos
ambro718 has quit [(Ping timeout: 240 seconds)]
<mpcsh> tilpner: well yeah I saw that, when I try "14:00" it works fine, but when I try "6h" it says "Failed to start nixos-upgrade.timer: Unit nixos-upgrade.timer is not loaded properly: Invalid argument."
<tilpner> mpcsh - Try +6h
<tilpner> "6h left" may work too
<mpcsh> tilpner: will that correspond to "6 hours from the time you run nixos-rebuild" or "every 6 hours, starting 6 hours from the time you run nixos-rebuild"?
sigmundv__ has joined #nixos
heywire is now known as ShalokShalom
sigmundv__ has quit [(Ping timeout: 248 seconds)]
<Infinisil> mpcsh: I just came here, what exactly are you trying to do?
<mpcsh> Infinisil: trying to make the nixos-upgrade script run, say, every 6h instead of at a specified time
<tilpner> Infinisil - Trying to set OnCalendar with a relative timestamp
<tilpner> I don't know what that even should do
<mpcsh> tilpner: I actually looked through the source, it's not OnCalendar, it's startAt that they're using
<tilpner> mpcsh - No, it's OnCalendar
mpcsh has quit [(Quit: ZNC 1.6.5 - http://znc.in)]
<Infinisil> Have you had a closer look at `man systemd.time` already? I'm pretty sure there's a way to specify "every 6 hours"