00:08
<switchy>
forgive me if this is rtfm-able, but e.g. the hdf5 package has 'cpp' and 'mpi' options -- how do I specify things like that (and see what's available without looking at the package derivations themselves)

00:28
<adamantium>
Hey, I've never made a nixos systemd service before, or really any serious systemd service either. I have a one liner while loop I need to be running by root 24/7. Any good idea for how to turn this into a nix service?

00:28
<pie__>
switchy, i think you generally do have to read the source

00:28
<switchy>
pie__, fair enough, and how do I install a derivation (?) with those attributes (?)

00:29
<pie__>
adamantium, havent done it myself but i recommend looking at some existing service to see how to use the nix side of things (i think it corresponds pretty directly to the systemd options though)

00:34
<pie__>
switchy, good luck \o/ the community is very positive in my experience so do stick around, and when you git gud, give a hand ;D

00:35
<switchy>
I'm more than happy to get involved, if I ever get my head around what I'm doing ;)

00:36
<infinisil>
Yeah that's very customary, make sure to give the left hand if you're right-handed though, otherwise life will be tough!

00:36
<jackdk>
seconding pie__ 's statement. I've had a lot of help packaging stuff an getting PRs done. People are good but overloaded, but even so it's been one of the smoothest onboardings I've ha across packaging systems

00:41
<adamantium>
joehh: thanks!!! this actually is what I had started before you messaged me, http://ix.io/1Ntl/nix , but maybe I should do it your way might be better? (I haven't tested either, yet)

01:04
<allenj12>
http://markelov.org/wiki/index.php?title=Warning:_The_resulting_partition_is_not_properly_aligned_for_best_performance. this is my exact scenario, but the result does not make sense, if im trying to make a swap at -8GiB... how is it still not aligned?

03:53
<allenj12>
ty, one more question, how does nix deal with things like i3 it seems that there is still a config file for that in home, can that be automated in a nix script? it seems like you can only set the config home directory

08:21
<chris___>
I've just done a fresh install of Nixos. Suddenly when I change one parameter relating to xserver.synaptic - on the next nixos rebuild I've got 7GB pending to be download... What just happened? It seems to be pulling in all sorts of packages included an unneeded / older linux kernel (4.19)?

08:21
<clever>
chris___: sounds like nix-channel wasnt in sync with what was installed, so its upgrading (or downgrading?) everything

08:22
<dminuoso>
Just out of curiosity, how can it be that a package in the unstable nixpkgs channel fails to outright build? Im getting errors on some undefined references to symbols from gnome libraries when I try to build nixos-unstable.networkmanager?

08:23
<chris___>
I'm fairly certain I had the channels updated. I've just updated those channels again - and it's once again pulling all those packages along with an older Linux kernel. Why would it need to pull an older Linux kernel?

08:38
<clever>
arianvp: the second layer, is that nix-env will recursively search ~/.nix-defexpr/ for either foo.nix or foo/default.nix, (stopping recursion once it finds one), and that becomes foo in nix-env -iA foo.hello

08:39
<asheshambasta>
So, I'm new to NixOS and a user of Emacs. My current work-systems are a desktop at home and a laptop for on the go (I work remotely 3 days a week). I just copy over the .emacs and .emacs.d directories between the machines to get my emacs setup equivalent on both machines. Now, given the appeal of NixOS in the first place, I'd like to do away with emacs.d and .emacs and move it all to within NixOS. What is the sugges

09:30
<m1cr0man>
kraem, I've been googling for a solution to systemd-timesyncd failing to start (state_directory error) and I came across irc logs where you removed the /var/lib/systemd/timesync symlink to resolve the issue. Was this the only solution in the end? I'm curious as to how it was even working before

09:31
<aveltras>
m1cr0man: i think you read my answer yesterday, i don't remembner having to do anything else

09:32
<aveltras>
asheshambasta: if you want some example, i'm in the process of getting all my configuration on a github repo (i too have 2 computers), you can see it here https://github.com/aveltras/nix, i've not put emacs config on github yet but i guess it'll just be a symlink to a emacs.d folder there

10:19
<asheshambasta>
under what circumstances can notify-send hang? `notify-send foo` hangs for a long time and when it returns, nothing really has happened. I'm missing its dependency but I cannot see what.

13:56
<jabranham>
ivan: thanks for responding yesterday about my gpu failing. I didn't get your responses until just now because my gpu crashed :-( anyway, long story short is that after a very thorough cleaning, everything seems to be working today. Hopefully that was all that was needed.

14:39
<codedmart>
If I have my normal 19.03 channel and added an unstable channel that I can use for certain packages. How can I write a nix file that everything I reference in it is using the unstable channel? Ie on the top you have `{ gtk3, glib, ...}` then the rest of the derivation.

14:40
<Gopal[m]>
I'm on a ZFS Native encryption setup where I login at boot (dropbear) to load they key of the ZFS pool. Thing is Dropbear's host key keeps changing so I need to add `boot.initrd.network.ssh.hostECDSAKey = /path/to/key;` to my configuration. Since that key needs to exist, I would need to manually generate

15:57
<devalot>
lordcirth: The key being "simple"? I've been using Prometheus and netdata. Prometheus is anything but simple. netdata is awesome for performance monitoring but Prometheus is much better for reporting application errors.

16:04
<TheGamingBarrel>
Netdata is being weird for me, systemctl status shows it working perfectly but it doesn't try to run anything on port 19999 and all the other listening ports don't do anything /shrug

17:06
<Henson>
hi everyone, I'm trying to run a nix-shell with a the old gcc49 compiler. However when I run nix shell, even with something like "nix-shell --pure -p which" it ends up putting a bunch of things in the environment, include gcc version 7 which I don't want. I thought --pure was supposed to be a clean environment with nothing. How can I get adjust this behaviour?

17:55
<boeg>
Hey guys, I'm using nix on macos for development environments using nix-shell, and was wondering; is there a "best" way to use python and python packages not in the nix package repository on a nix environment? I see lots of different recommendations using pipenv, virtualenv, and then installing via pip, but they all seem a bit iffy, especially because then you have to load a nix env and then inside load a (python) virtual

17:55
<boeg>
environment and they aren't necessarily tied to each other, so existing the nix env doesn't necessarily exit the (python) virtual environment.

19:04
<blumenkranz>
Hello. Does somebody know how does NixOS package signing work? I mean, does Nix check whether packages are signed by Hydra, or is it vulnerable to MITM at some point of the upgrade process? I recall reading about this some time ago, but I can't for the life of me find it now

20:56
<Henson>
I just discovered something interesting. I'm trying to use a library from a really old nixpkgs commit, and it depends on the "curl" program. However this derivation is so old that the URL to download the curl source no longer exists. Does that mean it's impossible to use these derivations? You can't fake out a derivation that can no longer be built, and any change to the old curl derivation...

20:56
<Henson>
would break its hash and thus all the hashes of dependent programs. So you'd have to fork the nixpkgs at that point and edit the curl derivation, right?

20:56
<samueldr>
Henson: if you have the archive (e.g. tar.gz) it could be done, considering it's likely using a fixed output derivation for the source input

20:58
<alienpirate5>
I'm trying to write a nix build file for my program that uses meson and requires gcc9, but when I run `nix-build` it runs meson and meson detects gcc 7 only. I am using `gcc9Stdenv.mkDerivation`, what could be causing this issue?

22:02
<alienpirate5>
I'm trying to write a nix build file for my program that uses meson and requires gcc9, but when I run nix-build it runs meson and meson detects gcc 7 only. I am using gcc9Stdenv.mkDerivation, what could be causing this issue?

22:08
<m1cr0man>
Hi folks. Having an issue with acme.PreliminiarySelfsigned. It doesn't seem to create the preliminary certs and I can't start my web server. I looked at the nix config for acme and it's supposed to create some systemd targets but I can't see them either