05:56
<srhb>
Again, I'm a proponent of not using channels for anything but the simplest of basicaly one-channel cases. And in that case, both NIX_PATH and ~/.nix-defexpr should probably point ot root's channels for simplicity.

05:57
<pjt_014>
So in the future should I just only do package stuff w/ sudo? That's looking like the ideal answer here

05:58
<srhb>
pjt_014: No, but you should maybe only manipulate channels with sudo.

06:06
<spinlock[m]>
I have a pretty odd error with home-manager. Using `services.picom.enable = true;` results in this error: `The option `services.picom' defined in `/etc/nixos/user/home/picom.nix' does not exist.`

06:06
<spinlock[m]>
* I have a pretty odd error with home-manager. Using `services.picom.enable = true;` results in this error: `The option 'services.picom' defined in '/etc/nixos/user/home/picom.nix' does not exist.`

06:13
<spinlock[m]>
Is there a proper way to specify additional channels in your `configuration.nix`? I'm apparently too dumb to remember that I have to manually add the channels before `nixos-install` and then once again once I first login to my live system.

06:26
<drozdziak1[m]>
Git is unable to sign commits on my machine. gpg is visible from my shell and can be used for manual operations, it is enabled in my `configuration.nix`. How can I debug this, or what may I be missing?

07:30
<danderson>
there are some OSS decoders, but they don't support all of the format's features or versions

07:31
<makefu>
i tried to build the p7zip from master, however when i try to create a rar archive i get "E_NOTIMPL"

07:31
<spinlock[m]>
fair enough. I suppose it's only really used for newsgroups these days

07:31
<danderson>
meanwhile, there has been a lot of great compression research in the past several years, so there's not much advantage to using a proprietary format+program when there's plenty of OSS compressors that can beat it

07:34
<danderson>
fgaz: guessing the decompressor is a fairly simple virtual machine, like most compression formats. If you make that VM flexible enough, you can do the hard stuff in compression and just generate a more fancy decompression program

07:34
<makefu>
Zakkor: so in short, you cannot pack rar with p7zip even when unfree is enabled

07:35
<pjt_014>
danderson: yep. the comp. language was frozen at version 1.0, so backwards AND forwards compat is guaranteed.

07:35
<fgaz>
danderson: almost like one of those self-extracting archives

07:36
<danderson>
fgaz: pretty much! It's a very interesting mind-twist to think of compressed files as a program for a specialized virtual machine

07:52
<wedens[m]>
at some point I started getting `Settings schema 'org.gtk.Settings.FileChooser' does not contain a key named 'show-type-column'` error in rambox when file chooser is being summoned. is it some nix specific issue?

08:24
<fgaz>
does `nix-store --realise --add-root` do anything besides creating the link in the case of an already realised path?

08:25
<lightandlight>
I find myself wishing for a command that evaluates a nix expression of type `path` and executes the referenced file. Does this exist? I can't get the behaviour I want with `nix-shell` or `nix run`

08:32
<Bryan[m]>
I'd really like it if I could disallow building certain packages rather than pulling them from cache. E.g. every time ghc tries to build itself locally (like right now on the 20.03 channel for some reason), I'd rather Nix just gave up. I can go back and use an older version

09:35
<jonge[m]>
hi there. if i want to create a .nar archive from a derivation *in* a derivation (i.e. i get a NAR file as the derivation's output so i can download it from hydra), i get weird errors when running `nix-store --export $(list of files)`, as it tries to access not-existing paths like /nix/var etc.

11:18
<jumper149>
You could ask a maintainer that usually merges PRs speficically to review your PR. You could just go through some recent commits to find someone. I would advise you to make some changes to your configuration.nix probably though.

13:19
<exarkun>
I hope it is. It makes sense to me, I think. buildPythonPackage translates `checkPhase` and `doCheck` into `installCheckPhase` (if that's the right name) and `doInstallCheck` but if I want to override then I don't get that logic applied because it happened already

13:51
<kraem>
found weechat-matrix is packaged in nixpkgs. since the attribute doesn't exist in all-package.nix, do i need to pass it in as `extraBuildInputs` to weechat/default.nix in an overlay to activate the plugin?

15:42
<Henson>
I know with nixops it's possible to overlay the nixpkgs that you're using to define your network, but say I wanted to define a machine that had nixos containers inside it. I'm having trouble getting the overlaid nixos options that appear in the network definition scope to appear in the configuration scope of the container that's being defined.

15:44
<cole-h>
exarkun: No, it's not. If you run that script locally, it'll drop you into a `nix-shell`. If you add `-i bash`, it'll actually run the codecov stuff.

15:52
<CRTified[m]>
Hi, is anyone here who as an SDRPlay running on NixOS? I was given one (SDRplay RSPdx) and I'm looking for a place to start software-wise. I was able to start gnu radio after fixing the PYTHONPATH, but I guess that I won't get the SDRPlay running with it (as it looks like the api/driver is closed source)

15:57
<cole-h>
I think simpson is right on the money: I think it's treating that entire block as a single command, and the newlines are messing stuff up. I bet if you were to use `--run 'cp ....; python -m coverage combine; python -m coverage report; codecov --file .coverage`, things would work just fine

16:32
<evanjs>
icetan: but yeah it seems to be a mix of misconfigured remotes/repos and jq dying because mavenix ended up pulling in a bunch of 404 pages (i.e. html). The "content" attributes under "metas" aren't properly escaped (?) and jq just can't

16:56
<duairc>
Is it possible to override a whole set of configuration from a NixOS module? Let's there's an attrset at foo.bar with a bunch of configuration that's set by another module that I don't have control over. In my module, I want to override that and say "foo.baz = config.foo.bar" and then completely unset foo.bar. Can you do stuff like that?

19:50
<Woutifier>
I'm having a quite basic issue I believe. I have spun up a NixOS, and now for the first act I would like to add Grafana to it. Bear in mind that this is the first time I touch Nix/NixOS.

19:52
<thoughtpolice>
Woutifier: I'm not sure how experienced you are, but. When you write a NixOS module, it takes a 'config' parameter (first line of file), and one of the useful things this offers is access to the settings defined in that module, that you can access.

19:53
<Woutifier>
but how do these config parameters end up in grafana's configuration

19:53
<thoughtpolice>
So you could ask for something like, `config.options.grafana.security.adminUser` in your module

19:54
<thoughtpolice>
A very common idiom is to write a NixOS module so it says something like `let cfg = config.options.grafana; in ...` and you can reference `cfg` from there on out. That's just a shortened form

19:54
<thoughtpolice>
Woutifier: So, it is used and put into the attribute set named `envOptions` on line 9.

19:55
<thoughtpolice>
envOptions is basically a key value pair set. It says things like `FOO = "bar"`. We utilize systemd's features to set environments for a service to set all of the environment variables in envOptions to what they specify

19:58
<Woutifier>
I was pretty impressed by the install, a few partitioning steps and that was basically all there was to it

19:59
<thoughtpolice>
The even better part is when you write a configuration and reformat your machine. Because it comes down to "a few partition steps and copy one file into place" and you basically have the exact same system. In other words, it takes 5 more seconds to get a carbon copy and resume where you left off.

20:00
<thoughtpolice>
That sold me on NixOS the first time I did it many years ago.

20:01
<Woutifier>
yes that is indeed the part that is very likeable. I have struggled with keeping my systems clean in the past, as I like to experiment with different things.

20:04
<thoughtpolice>
As an example of this I recently switched from an nvidia card (and the nvidia driver + many x11 packages built for that nvidia configuration) to an amd gpu using the upstream amdgpu driver in my headless machine. This was a one line change and worked instantly on reboot by just swapping out the cards.

20:05
<thoughtpolice>
(You can tell NixOS to both "switch to a new version of the system" right now, or "switch to a new version on boot". So you just move to amdgpu "for the next boot" and then shutdown, swap cards, and turn everything back on.)

20:43
<Henson>
is there some way I can get Nix to import every *.nix file in a directory without explicitly specifying each file? What I'm currently doing is importing a default.nix file which explicitly imports every file in the directory.

20:44
<numkem>
is it possible that a new version of stdenv broken go 1.14.2? I have an override for it and it was running well for weeks than I did a channel update yesterday which triggered the rebuild and ever since I get weird behaviors

20:51
<cole-h>
The changelog doesn't appear to be an "impending doom" change, so I don't think it's necessary. Do you need 1.8.31p1?

20:53
<cole-h>
asbachb: If you have a real reason for needing 1.8.31p1, feel free to open a backport PR and see what the people who can actually merge it say. If you explain your position, it might be more likely to be accepted.

20:54
<cole-h>
(That said, I don't think we really have a backport "standard" -- up to individual committers whether it gets merged or not.)

21:11
<numkem>
cole-h: I'm not super familiar with the profile thing, what could be different between root and my user that could cause this. I do know that `go run` or `go test` writes in `/tmp` if that gives you any ideas

21:39
<chris_>
I kinda have a question (I'm new to NixOS, but not to Linux): I've installed NixOS, but I made a typo in the configuration file fileSystems."/boot". I fixed it and mounted it manually again, but whenever I try to run 'nixos-rebuild switch`, grub-install complains about /boot not being a efi partition and '/boot/' is unmounted once again. Am I doing something wrong or is there a way to prevent the unmounting of '/boot' while rebuilding the configuration?

22:30
<hr[m]>
Does anyone have experience setting up wireguard on NixOS with all traffic routed through the vpn? I attempted it a few months ago but remember there was an issue with routing all traffic.

22:46
<hr[m]>
pistache great to hear that it can be done. Do you know if there's any example configuration available online that I could look at? I just remember looking over a bunch of examples a few months ago and none of them seemed to work for routing all traffic. Thanks

23:18
<adisbladis>
And smushed to fit in to the number of max layers configured

23:18
<adisbladis>
You can't really customise this as things are right now.

23:18
<lc>
Is there any way I can install a debian package manually, because this the rescuetime package is broken and none of the tutorials that teach you how to install a single unstable package don't work either, and instead try to install the old package

23:27
<lc>
pistache: I'm saying I have yet to try it in unstable because my home-manager refuses to download the unstable version :(. I assume that unstable might fix it because the problem is that the site has changed versions since the hash was written down

23:54
<Henson>
when I'm adding custom filewall rules via networking.firewall.extraCommands, should I use the nixos-fw and similar chains? I noticed that rules I just add to the INPUT and OUTPUT chains don't get deleted when I reload the system, they just keep piling up. If so, I noticed that the filter OUTPUT chain doesn't have an equivalent nixos-output chain.

23:56
<spinlock[m]>
I have a strange issue where none of the autostart items added by packages to `/etc/xdg/autostart/` are being executed by xsession. For sure it's happening with at least `ibus` and `lightlocker`. Makes me feel that I'm missing some key option somewhere