worldofpeace_ changed the topic of #nixos to: NixOS stable: 20.03 ✨ https://discourse.nixos.org/t/nixos-20-03-release/6785 || https://nixos.org || Latest NixOS: https://nixos.org/nixos/download.html || Latest Nix: https://nixos.org/nix/download.html || Logs: https://logs.nix.samueldr.com/nixos/ || use ,channels for a list of Nix* related channels || nixcon videos: https://tinyurl.com/nixcon2019 || Link to the output of nix-info
AlpineLlama has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.]
AlpineLlama has joined #nixos
hspak has joined #nixos
<{^_^}> [nixpkgs] @ryantm merged pull request #94503 → hcxdumptool: 6.0.7 -> 6.1.0 → https://git.io/JJVPz
<{^_^}> [nixpkgs] @ryantm pushed 2 commits to master: https://git.io/JJwut
justanotheruser has joined #nixos
<eyJhb> Can I get fetchFromGithub to NOT remove the .git dir?
<matthewcroughan> Hey hey, do y'all think you could help me? I was wanting to make a video on Alpine but turns out it's just not set up for what I wanted to do in a lot of ways.
<{^_^}> [nixpkgs] @xrelkd opened pull request #94581 → eksctl: 0.24.0 -> 0.25.0 → https://git.io/JJwun
<matthewcroughan> "Lightweight Audio Workstation with Alpine Linux" was going to be the video title, but as I dug into it, it's just so much harder than I thought it was going to be for lots of reasons, regarding not using standard linux stuff like linux-pam.
<matthewcroughan> Not using linux-pam meant I couldn't set limits.conf, could never figure that out. A lot of set up and state was therefore required to be enstated by the user. So it's not exactly lightweight if it requires so much mental work/.
<matthewcroughan> The benefit of alpine however was that I could pre-generate it using a tool called pmbootstrap, which means I can generate the OS on my laptop, then flash it to an SD card, and boot it on the machine. How can I do this with NixOS?
<matthewcroughan> I saw this. https://github.com/cleverca22/not-os, is it any good, does anyone know if this is the way forward?
justanotheruser has quit [Ping timeout: 244 seconds]
<wucke13> matthewcroughan: It is possible to generate an iso for nixos from nixos with any confige baked into it.
<wucke13> And there is musnix, which is a nixos tailored to audio mixing needs
<ivan> my hydra-unstable + missing signature problem yesterday may have been caused by `store_uri = daemon`
<wucke13> I'd suggest that you start of by giving musnix a try. IIRC is already includes quite some deep changes for good audio behaviour, like realtime patches and so on
<matthewcroughan> wucke13 have you got a link?
<matthewcroughan> found it
<{^_^}> [nixpkgs] @peti pushed to haskell-updates « hackage-packages.nix: automatic Haskell package set update »: https://git.io/JJwuo
<hexa-> eyJhb: fetchgit has leaveDotGit, I don't see anything similiar for fetchFromGitHub
<matthewcroughan> That is so incredibly interesting x_x
<cole-h> eyJhb: AFAIK that isn't possible, because fetchFromGitHub just pulls the tarball from GitHub -- GitHub would need to add the .git to the tarball
<clever> cole-h: but if you tell fetchFromGitHub to fetchSubmodules, it cheats and uses fetchgit instead
<cole-h> Right
<eyJhb> cole-h and hexa- almost correct! You can get fetchFromGithub to have the .git, if you use fetchSubmodules, as it will then use fetchGit
<eyJhb> But then might delete it
<eyJhb> But I was using fetchFromGitlab with even LESS options....
<eyJhb> So ended with fetchGit
<eyJhb> Another app down
<eyJhb> I think I can start to pretty up the build process by now
<eyJhb> Night! 02:30 here
<eyJhb> I am a idiot.
<colemickens> I'll say.
<colemickens> Not really, of course :P.
<cole-h> colemickens: You've switched to flakes, right? How pain{less,ful} was it?
<colemickens> cole-h: I love flakes. I have a number of friction points with the Nix CLI. I kept my custom system and flakes side-by-side for a week, but it quickly became obvious that it was pointless.
<colemickens> I am still on the fence about certain other aspects of flakes (url syntax, registries) but the core concept is a big step forward for Nix project composability.
<colemickens> All in all, once I got the hang of what a flake.nix should look like (thanks bqv, and others), it was painless.
<cole-h> Do you have your config public somewhere?
<colemickens> I've converted my personal repo, nixpkgs-wayland, started flake-firefox-nightly and two other private new flake-based projects. :)
<colemickens> flake.nix -> nixosConfigurations will lead you into machines/xeep/configuration.nix
<{^_^}> [nixpkgs] @Ericson2314 merged pull request #87234 → gnu-config: 2019-04-15 -> 2020-05-04 → https://git.io/JfcG3
<{^_^}> [nixpkgs] @Ericson2314 pushed 2 commits to staging: https://git.io/JJwuD
<colemickens> each machine loads a profile/{gui/interactive/base.nix} which then load mixins/*.nix for gpg/sway/bash/etc config
<colemickens> more or less you should be able to write a flake.nix and leave most of your existing config in place (upgrading your overlay usages to consume them via their flake input instead). There are examples of that in my config. I'm happy to point out anything more specifically too if it would help at all :)
<{^_^}> [nixpkgs] @Ericson2314 merged pull request #91293 → treewide: Get rid of `cc.gcc` → https://git.io/JfA7m
<{^_^}> [nixpkgs] @Ericson2314 pushed 2 commits to staging: https://git.io/JJwuQ
<cole-h> colemickens: Ah, I didn't even look at your GH at all because of your "my GitHub will transition to being a mirror of my own Git repos" :P
<cole-h> Thanks, I'll have a look.
<colemickens> cole-h: once upon a time that was higher on my priority list
<cole-h> Heh
higemaru has quit [Ping timeout: 245 seconds]
<cole-h> colemickens: Immediate feedback: it's cool to see all the channels being able to be declared at once (master, stable, unstable, etc)
<cole-h> colemickens: Also, probably want to update your nix.url, now that flakes is in master ;)
<colemickens> I think it's time to give ti the boot. I never actually wound up consuming anything from that flake.
<colemickens> There's a #????????? line later on that's commented out :P
<cole-h> hahaha, I see it
<colemickens> Other cool things: flake evals are fast, just a nice thing every time.
<cole-h> Yeah, that's one of the reasons I wanna switch
<cole-h> No more 1038219083 seconds after running a command before I get feedback
<bqv> colemickens: it works for me (nix)
<bqv> But theres always nixUnstable
<cole-h> colemickens: Is your home input pointing to your fork because your fork has some flakes integration that ryc*e doesn't yet?
<colemickens> this reminds me zimbatm gave me some awesome tips/feedback that I want to re-inspect and apply to my repos.
<colemickens> cole-h: H-M master doesn't have flakes merged in, and yes, I'm carrying the waybar PR on top of bqv-flakes on top of master right now.
<cole-h> Got it
<colemickens> I've seen other people be cooler and more sophisticated about keeping a clean channel and then pulling patches from PRs for specific patches, but... I'm happy with the level of complexity I have now.
<colemickens> (pulling the patches with more nix in the flake.nix, that is)
<colemickens> definitely give this a look too: https://github.com/bqv/nixrc
<bqv> I spent most of today thinking of ways to clean up my flake.nix…
<bqv> It's a mess
<colemickens> It's very non-trivial. I don't know if I mean that as praise or just an observation or ... :)
<{^_^}> [nixpkgs] @Ericson2314 opened pull request #94582 → clang, cc-wrapper: Move `--gcc-toolchain` logic into CC wrapper → https://git.io/JJwzJ
<bqv> Heh
BaD_CrC has quit [Quit: Leaving]
Rusty1 has joined #nixos
simba1 has quit [Ping timeout: 260 seconds]
codygman has quit [Ping timeout: 240 seconds]
codygman has joined #nixos
<cole-h> colemickens: So, how do overlays work with flakes? Is my ~/.config/nixpkgs/overlays now defunct, and I have to import pkgs with `overlays = [ ... ]`?
<colemickens> I guess you were using the trick from the wiki to have your overlays apply to both nix-env and nixos-rebuild ?
<colemickens> I think you would need to stop doing that, yes.
<cole-h> Is that a trick? Never knew :P
<colemickens> I don't think nix will let you do that in pure eval mode.
<colemickens> I think having your system config load a bunch of stuff from ~/.config/nixpkgs at build time is weird IMO. It means if you clone your nixcfg on some other machien and do a build you're not guaranteed to get teh same result
Neo--- has quit [Ping timeout: 260 seconds]
<colemickens> Hence why I called it a trick, but there's not anything necessarily tricky or bad about it, no.
<cole-h> Unless I commit the entirety of ~/.config/nixpkgs :P
<colemickens> well, that is a strategy and I don't think you'd be alone. also not what I would do :P
<cole-h> Anyway, my overlays are basically in one large file, so it wouldn't be that hard to make it be `overlays = [ (final: super: { ... }) ]`
<matthewcroughan> wucke13 can you join #musnix for a discussion? :D
<colemickens> but actually I don't really have a good story for what I do if I need to nix-env something from an overlay. I guess I just don't.
<cole-h> I don't ever plan on invoking nix-env manually, anyways, so no problems there :P
<colemickens> I think what I would do, is move the overlays into my nixcfg, and then have ~/.config/nixpkgs/* symlink to my config, if I needed to nix-env.
<superbaloo> is there a way to get rid of those messages or eanble the features in nix-unstable builds? "experimental Nix feature 'nix-command' is disabled; use '--experimental-features nix-command' to override"
<colemickens> cole-h: for sure, that's what I was going to say about hte fast eval times. It's so nice to just "always rebuild my whole system, why not" even when I'm just updating a single package sha256.
<cole-h> add `experimental-features = nix-command` to your nix.conf
<cole-h> I guess I'll have to experiment with the nixops flakes story, though. It merged a while ago, but I dunno if there's anything special I need to do
<matthewcroughan> Do you need NixOS to run this against a .nix ? https://github.com/nix-community/nixos-generators
<matthewcroughan> I am making a video about NixOS, because I want to make an embedded DAW on a small X86 computer and run some piano samples on it. I feel Nix is probably the best way to go about doing this.
<matthewcroughan> Musnix exists, but I want to generate it, I don't want an installer step.
<matthewcroughan> Installation of NixOS would be a waste of time if it could be generated by a nixos-generator into an iso that is flashed, without an installer. How can we do this without a NixOS machine to utilise?
<superbaloo> cole-h: that woks, thank you!
<matthewcroughan> Maybe we can run this in Docker, for example? Or is Nix all that is required?
<superbaloo> works*
<cole-h> superbaloo: Darn, I thought you were going to make me a dish with that wok :P
<superbaloo> haha
<colemickens> matthewcroughan: you can build the installer iso, sure, and even do it from a Nix container, but you're going to need KVM, if I recall.
<colemickens> *do it with Nix from a (docker) container
<superbaloo> cole-h: I could, but I'm not sure that'd be a good idea
* cole-h is patiently waiting for the kernel to finish building, so he can begin experimenting with flakes
<matthewcroughan> colemickens So all that people will require is Nix? O.o
<colemickens> I think I actually did this for someone a few weeks ago in #nixos. Let me see if I can find the command again.
<matthewcroughan> So I don't even need docker?
<colemickens> matthewcroughan: if they can install Nix, then yeah, no need for Docker.
markus1199 has joined #nixos
<matthewcroughan> Ideally this is the flow I want. 1. People install one tool that requires no configuration to their laptop 2. They apply my changes to musnix.nix 3. They run it against musnix.nix 4. They get a .ISO to flash to SD 5. They boot the SD and it is configured, they can SSH in, etc. 6. Done
<matthewcroughan> Is there a flaw in this plan?
<colemickens> I don't really know anything about musnix, so 1-3 is fuzzy.
<superbaloo> "nix-instantiate -E 'with import <nixpkgs> {}; tmux.out'" and "nix eval --impure --raw --expr 'with import <nixpkgs> {}; tmux.out'" do not give similar results. The first one yields the derivation, the second one gives the out output
<colemickens> But this page shows how to build a custom ISO: https://nixos.org/nixos/manual/#sec-building-cd
<superbaloo> I'm not sure I understand why
<colemickens> And there's a similar command for an SD Card image (or the ISO image burned to an SD Card will likely work)
<matthewcroughan> Why does it being an SD card change matters?
simba1 has joined #nixos
<colemickens> matthewcroughan: it's mostly that we configure the SD Card images differently (it's more of a stateful-in-place install vs a readonly installer image).
<superbaloo> matthewcroughan: the sd card builder embeds a script that resizes the partition on first boot
<colemickens> and/or some of it is based around the SD Card images being targeted at SBCs as well.
<matthewcroughan> Again, I want to eliminate the installer step. No installer, just a rootfs on a disk, all choices made in the .nix, 0 interactivity. Just flash the SD, done, all has hopefully been configured by the user in .nix via their laptop keyboard :P
<{^_^}> Channel nixpkgs-unstable advanced to https://github.com/NixOS/nixpkgs/commit/181179c53b7 (from 19 hours ago, history: https://channels.nix.gsc.io/nixpkgs-unstable)
<colemickens> matthewcroughan: right, that's what the installer CD is though, it just happens to preinlcude the installer package
markus1189 has quit [Ping timeout: 256 seconds]
<matthewcroughan> so when that image is booted, what happens?
<colemickens> So if you read that Ch47 section, you can write a Nix file for them, and then yeah, presto, get a new read-only CD.
<matthewcroughan> The installer does not show up, right?
<colemickens> matthewcroughan: the non-GUI installer image now? just boots to a prompt and tells you default login creds.
<matthewcroughan> Ah, so how can I avoid that?
<colemickens> and when you customize your image, you could just... customize that out, etc.
<colemickens> I assume you'll want to configure autologin, that will probably be in the same options.
<matthewcroughan> I see. Can you imagine a way of allowing a default login via ssh with a hostname configured in the .nix?
stankenfrein has joined #nixos
<colemickens> Have you poked around inside Nix files much yet? Trying to get a sense of how fresh you are to nix/nixos?
<matthewcroughan> Armbian for example allows root login with no passwd, initially. You then change the passwd.
<matthewcroughan> Oh I'm unbelievably fresh :D
<matthewcroughan> I understand it conceptually, I've read a bit of the paper.
<colemickens> matthewcroughan: yeah, our installer image currently doesn't configure a root password, but that would literally be a one line change
<colemickens> and then we don't start SSH by default, but again, a one line change
maier has joined #nixos
<colemickens> this is probably one of hte most common reasons people build their own ISOs.
<colemickens> that or because they need the installer image but with a patched kernel, or some extra driver available, etc.
stankenfrein has quit [Client Quit]
<colemickens> matthewcroughan: here we go, https://nixos.wiki/wiki/Creating_a_NixOS_live_CD
<colemickens> I think that will quickly give you a more concrete idea of what I'm describing.
<matthewcroughan> All of this doc is presuming that it is being followed on a system that is nixOS?
<colemickens> No
<matthewcroughan> nix-build for example, I'm not going to have that anywhere else, right?
<colemickens> None of this requires NixOS, just Nix and KVM enabled.
<colemickens> nix-build is part of Nix.
<matthewcroughan> Oh, I think my install on Arch is busted :D
<superbaloo> .> tmux
<colemickens> Or you could run it from https://hub.docker.com/r/nixos/nix/ even.
abathur has quit [Ping timeout: 264 seconds]
stankenfrein has joined #nixos
<superbaloo> >tmux
<superbaloo> > tmux
<{^_^}> "<derivation /nix/store/20bi8ipp9myl6qyjyvnhc3cfj63584az-tmux-3.1b.drv>"
<superbaloo> > tmux.out
<{^_^}> "<derivation /nix/store/20bi8ipp9myl6qyjyvnhc3cfj63584az-tmux-3.1b.drv>"
<superbaloo> > tmux.out.outPath
<{^_^}> "/nix/store/jwlbzilcvj4g008hb6j91290iizjrfk7-tmux-3.1b"
<matthewcroughan> bot too useful
<colemickens> matthewcroughan: mayhaps, I tend to not like Nix-on-other-OS, and tend to reach for the Nix docker image in that case.
<superbaloo> is there a source code for {^_^} available?
<superbaloo> I'm not too sure how it evaluates that
<superbaloo> I can't reproduce it in my env :(
<matthewcroughan> Yeah, so maybe I should rephrase my video title. "Audio Workstation with NixOS and Docker"
<bqv> Different nixpkgs version, probably
<matthewcroughan> Since Docker is going to be used to generate the NixOS we're flashing to the board.
<matthewcroughan> Since not everyone is running nixOS yet, therefore we need to use the Docker tooling.
<colemickens> matthewcroughan: maybe? In theory just nix should work, but if it didn't for you -_-
h0m1 has quit [Ping timeout: 260 seconds]
<colemickens> matthewcroughan: if you want too, we can try to figure out what went wrong with your Nix install.
maier has quit [Ping timeout: 264 seconds]
<colemickens> if nix-build is just flat out missing it might be something easy?
<matthewcroughan> Sure, it was to do with the path.
<bqv> error: --- Error --- nix
<bqv> cannot open connection to remote store 'daemon': error: --- SysError --- nix
<bqv> reading from file: Connection reset by peer
<bqv> Oh
<colemickens> I'm not sure I'm equipped to debug through that though, I'm not very familiar with the nix installer!
<matthewcroughan> Arch in particular is an odd one, it is at odds with what the nix installer wants to do.
<bqv> Sorry, nvm
nixy37179 has quit [Quit: The Lounge - https://thelounge.chat]
<superbaloo> bqv: no I mean, either the expression is invalid, or I dont get the expected resul
<superbaloo> t
<colemickens> matthewcroughan: if you want to be super accurate, QEMU is involved too :P
<colemickens> actually scratch that
h0m1 has joined #nixos
<colemickens> I'm not sure we use qemu for the installer iso, a different builder does though.
<bqv> superbaloo: works for me. What are you running
nixy37179 has joined #nixos
<matthewcroughan> Alright how about ""Generating an Audio Workstation with NixOS and Docker"
<superbaloo> bqv: what command are you using :D
<superbaloo> nix-instantiate -E 'with import <nixpkgs> {}; tmux.out,outPath' does not work
<bqv> Mine won't work for you, flakes
<superbaloo> nix-instantiate -E 'with import <nixpkgs> {}; tmux.out.outPath' does not work
<colemickens> matthewcroughan: I'm biased but I think Nix is pulling more weight than Docker :P
<colemickens> matthewcroughan: but that gets to be quite wordy, so
jonringer has joined #nixos
<bqv> superbaloo: that would be because it's not a derivation :p
<superbaloo> nix repl does not work either
<colemickens> anyway, I think you get the idea :)
<matthewcroughan> colemickens can we do this on Windows and MacOS then?
<bqv> Try nix-build --eval
<bqv> I think
<matthewcroughan> does nix run on windows?
CodeSpelunker has joined #nixos
<infinisil> ,whomademe superbaloo
<{^_^}> superbaloo: #<prnumber>, ',command' and '> nix' are implemented in infinisil's backend <https://github.com/infinisil/nixbot> utilizing gchristensen {^_^} frontend <https://github.com/grahamc/ircbot/>. The rest of the features are done by other people's backends
<colemickens> matthewcroughan: I don't know about MacOS (darwin), and not natively on Win10, but maybe with WSL2, I'm not sure.
<matthewcroughan> Yes, for sure it will run in the WSL2
<matthewcroughan> but the problem here you must see is that the other stuff is appealing since you can actually interface with it, without Linux.
<matthewcroughan> I'm aiming to make this appear the *simplest* possible way of doing this in 2020.
<bqv> superbaloo: `nix eval --impure --expr 'with import <nixpkgs> {}; tmux.out.outPath'` this works
<matthewcroughan> Nix is simple, when you are shown how it works. But it's a broad topic otherwise. I just want to show people how they can deterministically generate a system, and was hoping this could be done on any platform due to qemu.
<superbaloo> yeah, this is the only on that works for me
<bqv> Or, use `nix repl '<nixpkgs>'` and then tmux.out.outPath will work
<superbaloo> but I'm unsure about the "stability" between nix-version
<superbaloo> nix versions
<colemickens> matthewcroughan: Hm, I don't quite have all the context you have for what you're building. I don't know what "the other stuff" or "interfacing without linux" means.
<colemickens> matthewcroughan: I shouldn't have distracted us with the qemu talk, we should forget it in this context.
<colemickens> Currently, Nix doesn't use virtualization for sandboxing or doing builds.
<matthewcroughan> colemickens "interfacing without linux" means that they can do all these things without any Linux experience, just by following my steps. That includes not running Linux on their laptop.
* colemickens nods
<matthewcroughan> Kind of like how one can flash raspbian, modify the boot partition, make a file on it called "ssh" to enable ssh.
<matthewcroughan> even on windows, that's possible, since their boot partition is fat32.
nixy has joined #nixos
<matthewcroughan> connect to the wifi by making a file called wpa_supplicant.conf and filling in the details.
<colemickens> I guess to give more advice I'd have to understand what your goal is.
<matthewcroughan> Yknow, these are nice ways of operating. And it's exactly how nix operates with the .nix files. It's declarative.
<colemickens> Are you trying to make an easy to follow tutorial, or are you trying to build like a product-like thing out of it or?
<matthewcroughan> I just wish that it was possible to generate the OS image on any platform, but you need nix-build.
<matthewcroughan> I'm trying to make an easy to follow tutorial, that does not require linux
<matthewcroughan> If it's not possible, I'll give up, but if it's possible I'm interested :P
<colemickens> I just don't know.
<colemickens> You say it's possible in WSL2. I think it's possible on Darwin.
<colemickens> Someone else might be able to confirm, or I can go read the source and give you a better guess on Darwin.
<matthewcroughan> Yeah at this stage, redirecting to WSL2 seems sensible.
<stankenfrein> Noob question here (I've been learning nix for about a week): the purpose and function of the 'options' and 'config' arguments don't fully make sense to me. How are they related to one another/where are they defined? I've looked through the docs for quite some time now and I haven't had much luck finding more info on this. Would anyone be willing to direct my to some relevant documentation or explain
<matthewcroughan> I want to make a decent SPHINX Doc per video I make, so this will be no exception. Redirecting to WSL2 should be the simple solution.
<stankenfrein> it themselves?
<colemickens> matthewcroughan: I'm just skimming but I think you can build the iso image on Darwin with nix-build, yeah.
<colemickens> matthewcroughan: wow, that's pretty cool, I didn't know if wsl2 was really capable enough of being a good Linux VM, but that's convincing.
<matthewcroughan> Hayden Barnes man :P
<matthewcroughan> You know what's even scarier?
nixy37179 has quit [Quit: The Lounge - https://thelounge.chat]
nixy has quit [Quit: ZNC 1.7.5 - https://znc.in]
<matthewcroughan> I run MacOS, Linux and Win10 in QEMU with PCI-E passthrough. This reddit post tells me I can run MacOS on that Win10 VM I have.
<matthewcroughan> So it gets worse, and worse, and worse.
nixy37179 has joined #nixos
nixy37179 has quit [Client Quit]
nixy has joined #nixos
nixy37179 has joined #nixos
nixy37179 has quit [Client Quit]
nixy has quit [Client Quit]
bbennett371 has joined #nixos
stankenfrein has quit [Quit: leaving]
cr4y1 has joined #nixos
cr4y1 has quit [Remote host closed the connection]
nixy has joined #nixos
terribleArtist has joined #nixos
<terribleArtist> howdy, im getting an error building python2.7 when i nixos-rebuild switch --upgrade, which i believe is related to lightdm. i dont care for having lightdm, so i disabled it in my config, but its telling me theres a conflict with that option in `/nix/var/nix/profiles/per-user/root/channels/nixos/nixos/modules/services/x11/xserver.nix', im not sure how to go about resolving this conflict, any ideas?
bbennett371 has quit [Ping timeout: 272 seconds]
cole-h has quit [Quit: Goodbye]
cole-h has joined #nixos
bbennett371 has joined #nixos
abathur has joined #nixos
kalbasit has quit [Ping timeout: 240 seconds]
orivej has joined #nixos
bbennett371 has quit [Ping timeout: 244 seconds]
<{^_^}> [nixpkgs] @mweinelt opened pull request #94583 → zigbee2mqtt: 1.14.1 -> 1.14.2 → https://git.io/JJw2l
WRMilling has joined #nixos
growpotk- has joined #nixos
<matthewcroughan> colemickens I don't understand the doc you sent here https://nixos.wiki/wiki/Creating_a_NixOS_live_CD
<matthewcroughan> So I got nix working afaik on my arch install.
<colemickens> Ok
<matthewcroughan> Sorry, sec, getting output.
<matthewcroughan> error: file 'nixpkgs/nixos' was not found in the Nix search path (add it using $NIX_PATH or -I)
<matthewcroughan> I am of course following verbatim. I am not trying to be dense :P
<colemickens> so that sounds like NIX_PATH is not set.
<colemickens> I wish I had someone else more familiar with nix-on-other-distros here.
<colemickens> I would assume that in a functional nix install, NIX_PATH Would be set.
<colemickens> Did you open a new shell instance since fixing Nix?
<colemickens> and/or did you follow this by chance? https://wiki.archlinux.org/index.php/Nix
<matthewcroughan> No, I just installed the aur packages.
growpotkin has quit [Quit: ZNC 1.8.1 - https://znc.in]
<matthewcroughan> `yay -S nix`
<matthewcroughan> it then says "You should install archlinux-nix"
growpotkin has joined #nixos
<matthewcroughan> so I `yay -S archlinux-nix2
<matthewcroughan> s/2/`/g
<colemickens> the nix channel commands are important too, if the installer didn't bootstrap channels
<matthewcroughan> too many moving parts :P
proofofkeags has joined #nixos
<{^_^}> [nixpkgs] @zowoq pushed to master « .editorconfig: add node-packages.nix »: https://git.io/JJw2K
<matthewcroughan> colemickens yeah no, the ArchWiki instructions do not work
<matthewcroughan> error: the group 'nixbld' specified in 'build-users-group' does not exist
<matthewcroughan> no matter what order things are ran in, it just fails at every stage, it's just bad
<matthewcroughan> e.g archlinux-nix install even fails with sha hash mismatch for some reason
<cole-h> bqv: Do you know if there's a reason the flakes branch isn't merged into h-m master yet?
<bqv> owner hasn't had time to dig into flakes yet, for the most part
<cole-h> Got it.
<bqv> Theres also a few flake-related efforts still vaguely in progress afaik
<matthewcroughan> colemickens got it working, just playing, man my root partition is surely going to burst into flames at some point this year from playing with scripts like this :P
<matthewcroughan> however, my nix-build still aint working haha
<cole-h> I just updated nixos-unstable, and apparently the fontconfig update made it through, because my Firefox fonts changed lol
<matthewcroughan> what is the "nix daemon" ?
<colemickens> did you run the steps?
<colemickens> archlinux-nix setup-build-group, etc?
<clever> matthewcroughan: the nix-daemon binary
<matthewcroughan> Do I need it?
<colemickens> lol
<colemickens> yes
<matthewcroughan> colemickens yes, though it was not explained that they were steps 1 and 2 lol so I ran them in the wrong order thinking one was optional
<matthewcroughan> it's also not explained that the daemon is required
<matthewcroughan> it's also not explained whether you need to run nix-channel --update either.
<colemickens> idk, all of that is on the wiki page afaict
<matthewcroughan> All in all a terrible experience. We don't want people running Nix on Non-NixOS distros lol.
<colemickens> I'm also not affiliate with that page and havent touched arch in years so idk.
<matthewcroughan> This is just asking for trouble. Docker is certainly the way forward for this.
<cole-h> I dunno about that.
<colemickens> I mean, I'm pretty sure if you run each of the commands on htat page, in order, it will work.
<cole-h> I ran Nix on Arch for a while perfectly fine.
<matthewcroughan> Ya, but the setup is more than you'd want.
<matthewcroughan> it's not just a package, right? Think about it.
<colemickens> The page could use some copy-edit and some more text for someone unfamiliar with nix.
<matthewcroughan> It's asking for trouble, believe me :D
<matthewcroughan> Unless it's JUST a package and position independent, it's just troublesome.
<cole-h> A while being from March -> May-ish?
<matthewcroughan> Yes, you can get it to work. But I can't make a youtube video about all cases.
<matthewcroughan> Installing it on every distribution is very different per distribution. It's troublesome.
<matthewcroughan> It's non polynomial. It's a problem.
<matthewcroughan> It's not declarative.
<colemickens> there's this too https://matthewbauer.us/blog/static-nix.html
orivej has quit [Quit: No Ping reply in 180 seconds.]
orivej has joined #nixos
raoul has quit [Read error: Connection reset by peer]
raoul has joined #nixos
nonickname has quit [Ping timeout: 264 seconds]
nonickname has joined #nixos
judson has joined #nixos
<colemickens> Alright, I took a pass at the wiki page. It's more explicit and the order of the steps is more clear.
benedikt93 has joined #nixos
bbennett371 has joined #nixos
growpotk- has quit [Ping timeout: 256 seconds]
orivej has quit [Quit: No Ping reply in 180 seconds.]
bbennett371 has quit [Ping timeout: 272 seconds]
orivej has joined #nixos
<matthewcroughan> colemickens even following all those steps, I still get this
<matthewcroughan> error: file 'nixpkgs/nixos' was not found in the Nix search path (add it using $NIX_PATH or -I)
<matthewcroughan> Ah, I didn't do the source step
<matthewcroughan> Seems to be doing something now that I've done that
<{^_^}> [nixpkgs] @zowoq opened pull request #94584 → .github/workflows/wait-ofborg.yml: double timeout if base branch is staging → https://git.io/JJwa3
WRMilling has quit [Remote host closed the connection]
spacefrogg has quit [Quit: Gone.]
aw has quit [Quit: Quitting.]
aw has joined #nixos
Fare has quit [Ping timeout: 260 seconds]
spacefrogg has joined #nixos
orivej has quit [Ping timeout: 240 seconds]
orivej has joined #nixos
<colemickens> https://github.com/grahamc/netboot.nix I think I understand that this avoids rebuilding initrd every time something in the stage-2+ changes.
<colemickens> But I don't understand why recursive nix is needed to achieve it (is it, or is it just how it is built ?)
justanotheruser has joined #nixos
pjt_tmp has joined #nixos
<colemickens> Oh I think I see it now. It's using nix recursively so that nix-build can be called inside another derivation build in effect to sort of cache build steps when composing the initrd. And then splits the store path in the manifest to prevent initrd being tainted by other system changes.
WRMilling has joined #nixos
proofofkeags has quit [Remote host closed the connection]
proofofkeags has joined #nixos
user_0x58 has quit [Quit: Leaving]
user_0x58 has joined #nixos
<{^_^}> [nixpkgs] @Ericson2314 merged pull request #93905 → pkgs/top-level: add x86_64-redox to release-cross.nix → https://git.io/JJRDZ
<{^_^}> [nixpkgs] @Ericson2314 pushed 2 commits to master: https://git.io/JJwaQ
<{^_^}> [nixpkgs] @c00w opened pull request #94585 → Add goDeps handling to go-modules. → https://git.io/JJwax
<WRMilling> ,channels
<{^_^}> Largest Nix channels: #nixos, #nixos-dev, #nixos-chat, #nixos-aarch64, #nixos-security, #nixcon, #nixos-officehours, #nixops, #haskell.nix, #nix-darwin, #nixos-de, #nixos-emacs, #nixos-on-your-router, #nixos-nur, #nix-lang, #nixos-fr, #nixos-systemd, #nixos-borg, #nixos-wiki
orivej has quit [Quit: No Ping reply in 180 seconds.]
proofofkeags has quit [Ping timeout: 256 seconds]
orivej has joined #nixos
pjt_tmp has quit [Ping timeout: 246 seconds]
pjt_tmp has joined #nixos
Supersonic112 has joined #nixos
Supersonic has quit [Ping timeout: 246 seconds]
Supersonic112 is now known as Supersonic
<cole-h> emily: Any chance you could share your font-related config, please? After the recent fontconfig bump, my color emoji are all messed up :( (in mako, numbers show up as their emoji counterpart, and in Firefox, they show up black and white)
mrosenbe has joined #nixos
<cole-h> Example: 😂 is b&w for me :(
<bqv> 🐼
cyraxjoe has quit [Quit: I'm out!]
maier has joined #nixos
cyraxjoe has joined #nixos
orivej has quit [Ping timeout: 246 seconds]
Izorkin has quit [Ping timeout: 264 seconds]
Izorkin has joined #nixos
<colemickens> um okay: https://i.imgur.com/Rbe2ilu.jpg
orivej has joined #nixos
maier has quit [Ping timeout: 246 seconds]
nsnc has quit [Quit: Ping timeout (120 seconds)]
nsnc has joined #nixos
<{^_^}> [nixpkgs] @kini opened pull request #94586 → ccl: 1.11.5 -> 1.12 → https://git.io/JJwwf
greymalkin has joined #nixos
johnnyfive has joined #nixos
rixed_ has quit [Ping timeout: 264 seconds]
<cole-h> I hate fontconfig
rixed has joined #nixos
* colemickens has never seen proof of someone with that page working in nixos
gordon1 has joined #nixos
nonickname has quit [Ping timeout: 265 seconds]
<cole-h> colemickens: You mean like https://i.imgur.com/z7Q6aBd.png
<colemickens> that's not what that page should look like though
<cole-h> What should it look like?
<colemickens> the spacing should look more like mine
<colemickens> does it look the same in your other browser too, id be curious
nonickname has joined #nixos
orivej has quit [Ping timeout: 260 seconds]
<cole-h> Ah, I see.
<colemickens> looks closer than mine though so what do I know lol!
<colemickens> tbh, all of the spacing looks wrong though, evne the text at the top is ... .really weird
<cole-h> Yeah, no it definitely is
<cole-h> It's part of the weirdness since the fontconfig upgrade
<colemickens> haha, the Chromium one is also another version I've hit before :P
<colemickens> where it's almost perfect except one or two >_<
<cole-h> lmao
<colemickens> probably the hardest thing I've tried to do in linux in a decade tbh
<colemickens> oh I just giggled a bunch, wasn't expecting that
<cole-h> I haaaaaaaaaate it so much. It's why I asked emily for her config -- https://github.com/NixOS/nixpkgs/issues/86601#issuecomment-623108041 seems like she has some stuff working relatively well and I want it
<cole-h> Since just copying that into my `~/.config/fontconfig/fonts.conf` did not help
<cole-h> No matter what I do, `fc-match -s monospace | head -1` always returns the emoji font first >:(
<cole-h> (That said, I hate XML so I haven't tried much)
devalot has joined #nixos
<{^_^}> [nixpkgs] @matthewbauer pushed 3 commits to gyp-mac: https://git.io/JJww8
<colemickens> I promised myself I wouldn't touch those files manually and would only do it with nix so there'd be no risk of having to do it twice or ever again
kalbasit has joined #nixos
justanotheruser has quit [Quit: WeeChat 2.7.1]
<colemickens> I had gotten myself tripped up once where I had fontconfig in the legacy spot, the new spot, and fontconfig.d and was so confused. A messy affair all around.
justanotheruser has joined #nixos
<cole-h> I touched it once manually (back on Arch) and never had to do anything again... until fontconfig 2.13.92 rolled around x) Something changed enough that I'd rather have b&w emoji than `123` show up as emoji.
<cole-h> (Aside from changing my fonts every once in a while, the rest of the stuff is mostly untouched)
<{^_^}> [nixpkgs] @matthewbauer pushed 0 commits to gyp-mac: https://git.io/JJwwu
<{^_^}> [nixpkgs] @matthewbauer opened pull request #94587 → Fix nss on macOS → https://git.io/JJwwz
mrosenbe has quit [Ping timeout: 265 seconds]
orivej has joined #nixos
codygman has quit [Read error: Connection reset by peer]
codygman has joined #nixos
mukayu[m] has joined #nixos
leungbk has joined #nixos
Fare has joined #nixos
orivej has quit [Ping timeout: 246 seconds]
orivej has joined #nixos
CodeSpelunker has quit [Quit: CodeSpelunker]
zupo has joined #nixos
pmwhite has quit [Ping timeout: 244 seconds]
acarrico has quit [Ping timeout: 240 seconds]
mrosenbe has joined #nixos
Fare has quit [Ping timeout: 260 seconds]
orivej has quit [Ping timeout: 256 seconds]
orivej has joined #nixos
mrosenbe has quit [Ping timeout: 264 seconds]
mrosenbe has joined #nixos
mrosenbe has quit [Ping timeout: 265 seconds]
bbennett371 has joined #nixos
<{^_^}> [nixpkgs] @kalbasit pushed to add-swm « swm: init at 0.4.0-alpha1 »: https://git.io/JJwrg
bbennett371 has quit [Ping timeout: 246 seconds]
zyklotomic has quit [Quit: WeeChat 2.7.1]
<{^_^}> [nix] @Ericson2314 opened pull request #3885 → `addToStore` in terms of `addToStoreFromDump` is not local-store-specific → https://git.io/JJwri
<{^_^}> [nixpkgs] @kalbasit opened pull request #94588 → swm: init at 0.4.0-alpha1 → https://git.io/JJwrX
jonringer has quit [Remote host closed the connection]
simba1 has quit [Read error: Connection reset by peer]
simba1 has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #94589 → gensio: 2.0.5 -> 2.1.3 → https://git.io/JJwrA
Rusty1 has quit [Quit: WeeChat 2.3]
leungbk has quit [Ping timeout: 244 seconds]
orivej has quit [Quit: No Ping reply in 180 seconds.]
mrosenbe has joined #nixos
orivej has joined #nixos
mallox has joined #nixos
mrosenbe has quit [Ping timeout: 240 seconds]
rajivr has joined #nixos
mallox has quit [Client Quit]
orivej has quit [Ping timeout: 246 seconds]
orivej has joined #nixos
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
maier has joined #nixos
growpotkin has quit [Quit: ZNC 1.8.1 - https://znc.in]
cmk_zzz_ has joined #nixos
cmk_zzz has quit [Ping timeout: 260 seconds]
terribleArtist has quit [Ping timeout: 240 seconds]
maier has quit [Ping timeout: 256 seconds]
maier has joined #nixos
kalbasit has quit [Ping timeout: 240 seconds]
user_0x58 has quit [Quit: Leaving]
palo1 has joined #nixos
malook has joined #nixos
palo has quit [Ping timeout: 264 seconds]
palo1 is now known as palo
mrosenbe has joined #nixos
simba1 has quit [Ping timeout: 272 seconds]
<{^_^}> [nixpkgs] @vbgl merged pull request #93958 → coq_8_5: fix build (use gnumake 4.2) → https://git.io/JJ0uP
<{^_^}> [nixpkgs] @vbgl pushed to master « coq_8_5: fix build (use gnumake 4.2) »: https://git.io/JJwox
mrosenbe has quit [Ping timeout: 240 seconds]
Orbstheorem has joined #nixos
alexherbo2 has joined #nixos
alexherbo2_ has joined #nixos
Habbie has joined #nixos
spudly- has joined #nixos
spudly- has joined #nixos
spudly- has quit [Changing host]
cjpbirkbeck has quit [Quit: Goodbye, take care]
matthewcroughan has quit [Ping timeout: 265 seconds]
malook has quit [Quit: malook]
orivej has quit [Quit: No Ping reply in 180 seconds.]
sangoma has joined #nixos
ardumont has joined #nixos
drakonis has quit [Quit: WeeChat 2.8]
orivej has joined #nixos
ddellacosta has quit [Ping timeout: 246 seconds]
orivej has quit [Quit: No Ping reply in 180 seconds.]
orivej has joined #nixos
sangoma has quit [Read error: Connection reset by peer]
nixuser has joined #nixos
bbennett371 has joined #nixos
<{^_^}> [nixpkgs] @CMCDragonkai opened pull request #94590 → WIP: flask-restx: init at 0.2.0 → https://git.io/JJw6c
sangoma has joined #nixos
bbennett371 has quit [Ping timeout: 256 seconds]
mrosenbe has joined #nixos
zupo has joined #nixos
bbennett371 has joined #nixos
zupo has quit [Client Quit]
mrosenbe has quit [Ping timeout: 256 seconds]
zupo has joined #nixos
bbennett371 has quit [Ping timeout: 272 seconds]
<{^_^}> [nixpkgs] @CMCDragonkai opened pull request #94591 → WIP: altair-transform: init at 0.2.0 → https://git.io/JJwiT
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
orivej has quit [Ping timeout: 264 seconds]
orivej_ has joined #nixos
<{^_^}> [nixpkgs] @vcunat pushed 2 commits to master: https://git.io/JJwim
<{^_^}> [nixpkgs] @vcunat merged pull request #94160 → swift: fix cflags for finding C++ headers → https://git.io/JJu77
cfricke has joined #nixos
<{^_^}> [nixpkgs] @nthorne opened pull request #94592 → virtualbox: 6.1.10 -> 6.1.12 → https://git.io/JJwi8
ashkitten has joined #nixos
<{^_^}> [nixpkgs] @nthorne closed pull request #94592 → virtualbox: 6.1.10 -> 6.1.12 → https://git.io/JJwi8
gthm has joined #nixos
sangoma has quit [Read error: Connection reset by peer]
dbg[m] has joined #nixos
<{^_^}> [nixpkgs] @dependabot[bot] pushed to dependabot/github_actions/technote-space/get-diff-action-v2.0.3 « build(deps): bump technote-space/get-diff-action from v2.0.2 to v2.0.3 »: https://git.io/JJwPU
<{^_^}> [nixpkgs] @dependabot[bot] opened pull request #94593 → build(deps): bump technote-space/get-diff-action from v2.0.2 to v2.0.3 → https://git.io/JJwPT
<{^_^}> Channel dependabot/github_actions/technote-space/get-diff-action-v2.0.3 advanced to https://github.com/NixOS/nixpkgs/commit/75e0f977f4e (from 2 minutes ago, history: https://channels.nix.gsc.io/dependabot_github_actions_technote-space_get-diff-action-v2.0.3)
mrosenbe has joined #nixos
lsix has joined #nixos
mariatsji has joined #nixos
orivej has joined #nixos
orivej_ has quit [Ping timeout: 264 seconds]
mrosenbe has quit [Ping timeout: 256 seconds]
<{^_^}> [nixpkgs] @lsix closed pull request #94175 → bison: 3.6.4 -> 3.7 → https://git.io/JJzGf
gxt has joined #nixos
<Ke> is binutils2.34 upgrade progress being tracked somewhere?
alexherbo2_ has quit [Ping timeout: 265 seconds]
<Ke> it seems it was last reverted due to numpy
alexherbo2 has quit [Ping timeout: 264 seconds]
delan_ has joined #nixos
sangoma has joined #nixos
<{^_^}> [nixpkgs] @danieldk merged pull request #94572 → chibi: 0.8 -> 0.9 → https://git.io/JJwlj
<{^_^}> [nixpkgs] @danieldk pushed 2 commits to master: https://git.io/JJwPH
enderdays[m] has joined #nixos
<{^_^}> [nixpkgs] @nthorne opened pull request #94594 → virtualbox: 6.1.10 -> 6.1.12 → https://git.io/JJwPN
itshaydendev has joined #nixos
justanotheruser has quit [Ping timeout: 244 seconds]
cr4y1 has joined #nixos
cr4y1 has quit [Client Quit]
Kakky has joined #nixos
hyper_ch2 has joined #nixos
Kakky has quit [Client Quit]
<typetetris> Is there some up to date list, which companies use nixos?
siers has joined #nixos
cole-h has quit [Ping timeout: 260 seconds]
o1lo01ol1o has joined #nixos
o1lo01ol1o has quit [Ping timeout: 246 seconds]
fendor has joined #nixos
graf_blutwurst has joined #nixos
alexherbo2_ has joined #nixos
alexherbo2 has joined #nixos
nature has joined #nixos
lsix has quit [Ping timeout: 260 seconds]
Cale has quit [Remote host closed the connection]
craftyguy has joined #nixos
mrosenbe has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #94595 → imlib2: 1.6.1 -> 1.7.0 → https://git.io/JJwXX
mrosenbe has quit [Ping timeout: 246 seconds]
craftyguy has quit [Ping timeout: 256 seconds]
<{^_^}> [nixpkgs] @zowoq pushed to dependabot/github_actions/technote-space/get-diff-action-v2.0.3 « .github/workflows/editorconfig.yml: full fetch »: https://git.io/JJwXA
lsix has joined #nixos
<{^_^}> [nixpkgs] @zowoq pushed to dependabot/github_actions/technote-space/get-diff-action-v2.0.3 « .github/workflows/editorconfig.yml: full fetch »: https://git.io/JJw1q
<zimbatm> typetetris: it hasn't been done in a while
<zimbatm> the last time was on Reddit, a long long time ago
gxt has quit [Remote host closed the connection]
ManiacOfMadness has quit [Ping timeout: 244 seconds]
alexherbo2_ has quit [Ping timeout: 256 seconds]
alexherbo2 has quit [Ping timeout: 240 seconds]
karantan has joined #nixos
gxt has joined #nixos
sangoma has quit [Ping timeout: 264 seconds]
sangoma has joined #nixos
fendor has quit [Read error: Connection reset by peer]
Jonas15 has joined #nixos
ManiacOfMadness has joined #nixos
__monty__ has joined #nixos
craftyguy has joined #nixos
kreyren has quit [Remote host closed the connection]
mrosenbe has joined #nixos
asymptotically has joined #nixos
kreyren has joined #nixos
<Jonas15> Hey there, quick question: How do I actually configure the conf object of element-web? It is passed as a module argument into the derivation module [1]
<Jonas15> but I'm unsure how to specify it in my system configuration.
<Jonas15> In all-packages.nix it gets pulled from config.element-web.conf, so I tried putting element-web.conf into my system config but that config option can't be found.
<{^_^}> [nix] @edolstra merged pull request #3885 → `addToStore` in terms of `addToStoreFromDump` is not local-store-specific → https://git.io/JJwri
<Jonas15> I don't use IRC often O:3
<{^_^}> [nix] @edolstra pushed 2 commits to master: https://git.io/JJwM7
mrosenbe has quit [Ping timeout: 256 seconds]
enderdays[m] has quit [Quit: authenticating]
enderdays[m] has joined #nixos
knupfer has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #94596 → imagemagick7: 7.0.10-19 -> 7.0.10-25 → https://git.io/JJwDX
thc202 has joined #nixos
<{^_^}> [nixpkgs] @kampka opened pull request #94597 → trilium: 0.43.2 -> 0.43.3 → https://git.io/JJwyY
bbennett371 has joined #nixos
craftyguy has quit [Ping timeout: 256 seconds]
alexherbo2_ has joined #nixos
knupfer1 has joined #nixos
alexherbo2 has joined #nixos
jakob_rs has joined #nixos
<jakob_rs> Does any of the manpages describe the Nix language?
bbennett371 has quit [Ping timeout: 260 seconds]
knupfer has quit [Ping timeout: 265 seconds]
knupfer1 is now known as knupfer
pjt_tmp has quit [Ping timeout: 240 seconds]
nikita` has joined #nixos
knupfer1 has joined #nixos
knupfer has quit [Ping timeout: 256 seconds]
knupfer1 is now known as knupfer
bbennett371 has joined #nixos
knupfer1 has joined #nixos
gs93 has quit [Quit: Idle for 30+ days]
knupfer has quit [Ping timeout: 246 seconds]
knupfer1 is now known as knupfer
bbennett371 has quit [Ping timeout: 256 seconds]
jameshjacksonjr4 has quit [Quit: Idle for 30+ days]
knupfer1 has joined #nixos
MawKKe[m] has quit [Quit: Idle for 30+ days]
acys[m] has left #nixos ["Kicked by @appservice-irc:matrix.org : Idle for 30+ days"]
aleph9[m] has quit [Quit: Idle for 30+ days]
apple_at_cha[m] has quit [Quit: Idle for 30+ days]
atgo[m] has left #nixos ["Kicked by @appservice-irc:matrix.org : Idle for 30+ days"]
chmod222[m] has left #nixos ["Kicked by @appservice-irc:matrix.org : Idle for 30+ days"]
d3c[m] has left #nixos ["Kicked by @appservice-irc:matrix.org : Idle for 30+ days"]
dammndot[m] has left #nixos ["Kicked by @appservice-irc:matrix.org : Idle for 30+ days"]
dbirks[m] has quit [Quit: Idle for 30+ days]
dpc has quit [Quit: Idle for 30+ days]
easamuilov[m] has left #nixos ["Kicked by @appservice-irc:matrix.org : Idle for 30+ days"]
efra[m] has quit [Quit: Idle for 30+ days]
emmanuelrosa[m] has quit [Quit: Idle for 30+ days]
etrigan63[m] has quit [Quit: Idle for 30+ days]
evanjs[m] has quit [Quit: Idle for 30+ days]
exel[m] has quit [Quit: Idle for 30+ days]
faewenys[m] has quit [Quit: Idle for 30+ days]
finnwww[m] has quit [Quit: Idle for 30+ days]
frobenius[m] has left #nixos ["Kicked by @appservice-irc:matrix.org : Idle for 30+ days"]
grahamc[m] has quit [Quit: Idle for 30+ days]
wolfshappen has quit [Ping timeout: 256 seconds]
guiber[m] has quit [Quit: Idle for 30+ days]
haaksmash[m] has left #nixos ["Kicked by @appservice-irc:matrix.org : Idle for 30+ days"]
hleb[m] has quit [Quit: Idle for 30+ days]
ibinzari[m] has quit [Quit: Idle for 30+ days]
icetan has quit [Quit: Idle for 30+ days]
idontgetoutmuch[ has quit [Quit: Idle for 30+ days]
Nacho[m]2 has quit [Quit: Idle for 30+ days]
infinisil-m has left #nixos ["Kicked by @appservice-irc:matrix.org : Idle for 30+ days"]
Caleb[m]1 has left #nixos ["Kicked by @appservice-irc:matrix.org : Idle for 30+ days"]
Hayden[m] has left #nixos ["Kicked by @appservice-irc:matrix.org : Idle for 30+ days"]
JameySharp[m] has quit [Quit: Idle for 30+ days]
jjwatt[m] has quit [Quit: Idle for 30+ days]
jlv[m] has left #nixos ["Kicked by @appservice-irc:matrix.org : Idle for 30+ days"]
jonreeve[m] has left #nixos ["Kicked by @appservice-irc:matrix.org : Idle for 30+ days"]
koozz[m] has left #nixos ["Kicked by @appservice-irc:matrix.org : Idle for 30+ days"]
kuznero[m] has left #nixos ["Kicked by @appservice-irc:matrix.org : Idle for 30+ days"]
kai_w has left #nixos ["Kicked by @appservice-irc:matrix.org : Idle for 30+ days"]
lalala56756[m] has left #nixos ["Kicked by @appservice-irc:matrix.org : Idle for 30+ days"]
leonardp has left #nixos ["Kicked by @appservice-irc:matrix.org : Idle for 30+ days"]
logan12358[m] has left #nixos ["Kicked by @appservice-irc:matrix.org : Idle for 30+ days"]
mbick[m] has left #nixos ["Kicked by @appservice-irc:matrix.org : Idle for 30+ days"]
mdlayher1 has quit [Quit: Idle for 30+ days]
michael[m]3 has quit [Quit: Idle for 30+ days]
mkfart[m] has quit [Quit: Idle for 30+ days]
mlatus[m] has quit [Quit: Idle for 30+ days]
mlvzk[m] has quit [Quit: Idle for 30+ days]
movsxd[m] has left #nixos ["Kicked by @appservice-irc:matrix.org : Idle for 30+ days"]
mullein[m] has quit [Quit: Idle for 30+ days]
nlgila[m] has quit [Quit: Idle for 30+ days]
pablo1107[m] has quit [Quit: Idle for 30+ days]
ptol3my[m] has left #nixos ["Kicked by @appservice-irc:matrix.org : Idle for 30+ days"]
pucilpet[m] has left #nixos ["Kicked by @appservice-irc:matrix.org : Idle for 30+ days"]
quiet_laika[m] has left #nixos ["Kicked by @appservice-irc:matrix.org : Idle for 30+ days"]
rascencio[m] has left #nixos ["Kicked by @appservice-irc:matrix.org : Idle for 30+ days"]
rawas[m] has left #nixos ["Kicked by @appservice-irc:matrix.org : Idle for 30+ days"]
knupfer has quit [Ping timeout: 260 seconds]
knupfer1 is now known as knupfer
redcedar[m] has left #nixos ["Kicked by @appservice-irc:matrix.org : Idle for 30+ days"]
rk04[m] has left #nixos ["Kicked by @appservice-irc:matrix.org : Idle for 30+ days"]
<eyJhb> Dammn, wave
sayanarijit[m] has quit [Quit: Idle for 30+ days]
billsun has left #nixos ["Kicked by @appservice-irc:matrix.org : Idle for 30+ days"]
Stphan[m] has quit [Quit: Idle for 30+ days]
sputny[m] has quit [Quit: Idle for 30+ days]
sty86[m] has left #nixos ["Kicked by @appservice-irc:matrix.org : Idle for 30+ days"]
terrymunro[m] has left #nixos ["Kicked by @appservice-irc:matrix.org : Idle for 30+ days"]
thequux[m] has left #nixos ["Kicked by @appservice-irc:matrix.org : Idle for 30+ days"]
therivercass[m] has quit [Quit: Idle for 30+ days]
vtest[m] has left #nixos ["Kicked by @appservice-irc:matrix.org : Idle for 30+ days"]
Vykook[m] has left #nixos ["Kicked by @appservice-irc:matrix.org : Idle for 30+ days"]
yusdacra[m] has left #nixos ["Kicked by @appservice-irc:matrix.org : Idle for 30+ days"]
Markus[m]3 has left #nixos ["Kicked by @appservice-irc:matrix.org : Idle for 30+ days"]
kueckieben[m] has left #nixos ["Kicked by @appservice-irc:matrix.org : Idle for 30+ days"]
nanashi0x74[m]1 has quit [Quit: Idle for 30+ days]
un-cons-cionable has left #nixos ["Kicked by @appservice-irc:matrix.org : Idle for 30+ days"]
HackerFoo[m] has quit [Quit: Idle for 30+ days]
vojta001[m] has left #nixos ["Kicked by @appservice-irc:matrix.org : Idle for 30+ days"]
chris[m]6 has quit [Quit: Idle for 30+ days]
user51[m] has quit [Quit: Idle for 30+ days]
vpfeiffer[m] has left #nixos ["Kicked by @appservice-irc:matrix.org : Idle for 30+ days"]
Wouter[m]2 has quit [Quit: Idle for 30+ days]
graf_blutwurst has quit [Ping timeout: 272 seconds]
knupfer1 has joined #nixos
knupfer has quit [Ping timeout: 240 seconds]
knupfer1 is now known as knupfer
<{^_^}> [nixpkgs] @kampka opened pull request #94598 → kops_1_18: init at 1.18.0 → https://git.io/JJwSr
<{^_^}> [nixos-homepage] @github-actions[bot] pushed commit from GitHub Actions to master « Update flake.lock and blogs.xml [ci skip] »: https://git.io/JJwSo
ehmry has joined #nixos
<jakob_rs> If I add Hyper-V support to libvirt, should I have it be enabled by default?
<jakob_rs> It adds a dependency with a closure size of 64M, I'll check the increase in the closure size of libvirt itself when it's finished building.
craftyguy has joined #nixos
knupfer1 has joined #nixos
cfricke has quit [Ping timeout: 240 seconds]
knupfer has quit [Ping timeout: 260 seconds]
knupfer1 is now known as knupfer
mrosenbe has joined #nixos
alp has joined #nixos
knupfer1 has joined #nixos
itshaydendev has quit [Ping timeout: 256 seconds]
orivej_ has joined #nixos
orivej has quit [Ping timeout: 264 seconds]
wolfshappen has joined #nixos
mrosenbe has quit [Ping timeout: 246 seconds]
knupfer has quit [Ping timeout: 256 seconds]
knupfer1 is now known as knupfer
<jakob_rs> The closure size increases by 1.7M
<jakob_rs> And libvirt itself increases by 0.3M.
jb55 has quit [Ping timeout: 240 seconds]
asbachb has joined #nixos
knupfer has quit [Ping timeout: 256 seconds]
wolfshappen has quit [Ping timeout: 265 seconds]
wolfshappen has joined #nixos
<{^_^}> [nixpkgs] @Mic92 merged pull request #94593 → build(deps): bump technote-space/get-diff-action from v2.0.2 to v2.0.3 → https://git.io/JJwPT
<{^_^}> [nixpkgs] @Mic92 pushed 3 commits to master: https://git.io/JJwHG
<{^_^}> [nixpkgs] @Mic92 pushed 0 commits to dependabot/github_actions/technote-space/get-diff-action-v2.0.3: https://git.io/JJwHn
<asbachb> Anyone running gitea I don't get it to run.
<{^_^}> [nixpkgs] @jakobrs opened pull request #94599 → libvirt: add hyperv driver → https://git.io/JJwHr
Neo--- has joined #nixos
jb55 has joined #nixos
wolfshappen has quit [Ping timeout: 246 seconds]
<balsoft> asbachb: I do run gitea.
<{^_^}> [nixpkgs] @lsix merged pull request #94570 → python27Packages.autopep8: 1.5.3 -> 1.5.4 → https://git.io/JJwlZ
<{^_^}> [nixpkgs] @lsix pushed 2 commits to master: https://git.io/JJwQ4
<balsoft> asbachb: https://code.balsoft.ru/balsoft/nixos-config/src/branch/master/modules/gitea.nix is where most of the magic happens
<balsoft> asbachb: ttps://code.balsoft.ru/balsoft/nixos-config/src/branch/master/modules/nginx.nix#L26 is the nginx config.
wolfshappen has joined #nixos
<asbachb> balsoft: Thanks I check the config. But the gitea service fails to start without any error message.
jakob_rs has left #nixos ["WeeChat 2.8"]
<balsoft> asbachb: what's your config?
alp has quit [Ping timeout: 240 seconds]
sigmundv has joined #nixos
<immae> the process doesn’t have right to open port 80
mrosenbe has joined #nixos
<immae> systemctl status gitea should tell you that I think
<immae> (NB: it’s a guess, not an affirmatoin)
<immae> asbachb: you should add systemd.services.gitea.serviceConfig.AmbientCapabilities = [ "CAP_NET_BIND_SERVICE" ];
<asbachb> immae: Good idea. But even without httpPort no service is coming up.
orivej_ has quit [Ping timeout: 256 seconds]
mrosenbe has quit [Ping timeout: 246 seconds]
orivej has joined #nixos
<immae> asbachb Ah. Does systemctl status gitea or journalctl -u gitea say anything?
teto has joined #nixos
sangoma has quit [Quit: WeeChat 2.9]
wolfshappen has quit [Ping timeout: 246 seconds]
<immae> ah coredump is not reassuring...
wolfshappen has joined #nixos
knupfer has joined #nixos
wolfshappen has quit [Client Quit]
cfricke has joined #nixos
fling_ has joined #nixos
fling has quit [Ping timeout: 240 seconds]
kreyren has quit [Ping timeout: 240 seconds]
malook has joined #nixos
cfricke has quit [Client Quit]
cfricke has joined #nixos
fling_ is now known as fling
alp has joined #nixos
knupfer1 has joined #nixos
<asbachb> immae: I wonder if there should be an entry in `coredumpctl list`?!
<immae> that will depend on your configuration
knupfer has quit [Ping timeout: 256 seconds]
knupfer1 is now known as knupfer
CMCDragonkai1 has joined #nixos
qyliss has joined #nixos
<{^_^}> [nixpkgs] @liff opened pull request #94600 → nixos/manual: Fix reference to send_key → https://git.io/JJw5S
knupfer1 has joined #nixos
knupfer has quit [Ping timeout: 265 seconds]
knupfer1 is now known as knupfer
kreyren has joined #nixos
jmeredith has quit [Quit: Connection closed for inactivity]
polezaivsani has joined #nixos
knupfer1 has joined #nixos
<srxl> Is it possible to change the python interpreter buildPythonPackage wraps command-line tools with? I have a withPackages python environment I want the script to use.
knupfer has quit [Ping timeout: 240 seconds]
knupfer1 is now known as knupfer
knupfer1 has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #94601 → groonga: 10.0.4 -> 10.0.5 → https://git.io/JJwdr
knupfer has quit [Ping timeout: 240 seconds]
knupfer1 is now known as knupfer
<polezaivsani> Hey folks! Not sure if it belongs here - on ~1w old NixOS unstable, running Haskell's `cabal build` said it's missing ar(1) from binutils; adding that to my env solved it, but how do i proceed towards a proper fix?
malook has quit [Ping timeout: 265 seconds]
knupfer1 has joined #nixos
<kloenk> I'm trying to use a function to create inputs of a flake. but i get the error: "expected a set but got a thunk at /nix/store/gm5xswrcxv5cl4j564mafyf0n0rrvxvz-source/flake.nix:4:3"
knupfer has quit [Ping timeout: 256 seconds]
knupfer1 is now known as knupfer
o1lo01ol1o has joined #nixos
<kloenk> any idea what the problem is? is it not supported?
<manveru> kloenk: you cannot use any functions there
<kloenk> manveru: thats unfortuned. why? why is it not allowed?
<manveru> i assume to ensure fast evaluation
orivej has quit [Ping timeout: 240 seconds]
<kloenk> I'm not a fan of that xD
<manveru> :)
cjpbirkbeck has joined #nixos
orivej has joined #nixos
<manveru> i also tried generating flake files instead... but i guess a few thousand inputs were too much for it to handle
n9nes has quit [Quit: ZNC 1.8.1 - https://znc.in]
<kloenk> for my work every host needs a different nixpkgs input, to be sure everything works. tried to build the input via a makeInput funciton
<manveru> how would that even work? you can't get any arguments in flakes
quinn has quit [Quit: ZNC 1.8.1 - https://znc.in]
<kloenk> with the nixpkgs.lib.nixosSystem function out of every input (quiet a bit of code, yes)
<manveru> well, then you might have to move that inside the outputs?
knupfer has quit [Ping timeout: 240 seconds]
<manveru> alternatively give each host its own flake
n9nes has joined #nixos
asbachb has quit [Remote host closed the connection]
knupfer has joined #nixos
meh` has joined #nixos
<kloenk> ok, will see
nixbitcoin_ has joined #nixos
<kloenk> is there something like nix syntax highlithing for xcode?
nixbitcoin has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @RohanHart opened pull request #94602 → cups-brother-hl1210w: init at 3.0.1-1 → https://git.io/JJwFM
<{^_^}> [nixpkgs] @asbachb opened pull request #94603 → backport: openjdk: 11.06 -> 11.08 → https://git.io/JJwFF
n9nes has quit [Quit: ZNC 1.8.1 - https://znc.in]
knupfer has quit [Ping timeout: 256 seconds]
knupfer has joined #nixos
marsh has quit [Ping timeout: 272 seconds]
maier has quit [Ping timeout: 256 seconds]
alp has quit [Ping timeout: 240 seconds]
knupfer has quit [Ping timeout: 264 seconds]
bbennett371 has joined #nixos
whald has joined #nixos
<lejonet> srhb: ping
bbennett371 has quit [Ping timeout: 244 seconds]
glomorg has joined #nixos
<srhb> lejonet: pong!
alp has joined #nixos
cosimone has joined #nixos
<lejonet> srhb: Have you gotten this message when compiling ceph? "error: boost::bad_format_string: format-string is ill-formed"
<srhb> lejonet: I have gotten every possible error message while building ceph. :P
<srhb> lejonet: Is it broken in master?
<lejonet> I'm trying to install the 14.2.10 that you backported, and it just refuses, and I was thinking before I dig into making it use another boost or so, see if you had any neat fix for it first :P
<srhb> huh, 20.03?
<lejonet> I've run it from both 20.03 and master (or more correctly, checking out just the ceph nix-files from master in another-wise release-20.03 checkout)
<srhb> lejonet: It builds for me without overlays.
<srhb> Let me check if I have an impurity in my test...
<lejonet> and let me check if I set any weird deps... not impossible either :P
cfricke has quit [Quit: WeeChat 2.9]
cfricke has joined #nixos
<lejonet> Hmm, weird, I don't override anything with it, shouldn't it just fetch it from cache.nixos.org then?
<{^_^}> [nixpkgs] @dotlambda opened pull request #94604 → spaceship-prompt: install prompt_spaceship_setup → https://git.io/JJwby
<srhb> lejonet: Yes.
<lejonet> so why does it insist on trying to build it locally then O.o
bbennett371 has joined #nixos
<lejonet> let me try with forcing nixops to use the checkout dir just to ensure its not just some wonkiness with NIX_PATH or so
maier has joined #nixos
<srhb> lejonet: Try this, please: nix-build -E 'with (import (builtins.fetchTarball https://github.com/NixOS/nixpkgs/archive/d971fd7cbaa7794b4cb632ad17ecbfbe3c17f8ee.tar.gz) { config = {}; overlays = []; }); ceph'
<lejonet> srhb: then it just fetched it from cache.nixos.org O.o
<srhb> lejonet: Try omitting explicit config and overlays then
<lejonet> still just points to the one it just downloaded
<srhb> lejonet: Or if you want to be more systematic about it, compare the nix-diffs of that derivation and the one you got :)
<srhb> lejonet: Which nixpkgs commit are you on?
<lejonet> I'm on the release-20.03 tag
<srhb> lejonet: That's the commit above ^
<glomorg> Hello, I'm trying NixOS for the first time and I'm wondering about the boot setup of NixOS. I am currently using debian, so I'd like to try NixOS alongside it on a separate partition as the documentation suggests you can do. I have four existing partitions on debian: /dev/nvme0n1p1, /dev/nvme0n1p2, /dev/nvme0n1p3, /dev/nvme0n1p4 for a GPT setup
<glomorg> with the EFI mount, root filesystem, swap and home partitions respectively. My plan was to use the swap partition as a try-out space for nixos, so I converted that to an ext filesystem. Now my issue is regarding the boot mount. The installation manual seems to suggest this is possible, but I obviously have no existing /boot partition on my debian,
<glomorg> only /boot/efi. It also mentions that you need a FAT filesystem for /boot, which I obviously do not have. Can I somehow re-use the /dev/nvme0n1p1 (mounted on /boot/efi in debian) partition for NixOS?
<clever> lejonet: use nix-instantiate instead of nix-build on what srhb last gave, then `nix-instantiate -A ceph` against your release-20.03 tag
<srhb> lejonet: (Just making sure: You usually want nixos-20.03, not release-20.03. The former is the tested version.)
<clever> lejonet: and nix-diff the 2 drv files
<srhb> But that's head of release-20.03, so it should be fine :)
<lejonet> srhb: ah, I am on release-20.03, tbh I don't remember why I'm on that instead of nixos-20.03
<srhb> Probably impatient at some point :P
<{^_^}> [nixpkgs] @r-ryantm opened pull request #94605 → haproxy: 2.1.7 -> 2.2.2 → https://git.io/JJwNk
<lejonet> or blind :P
Jonas15 has quit [Remote host closed the connection]
bbennett371 has quit [Ping timeout: 272 seconds]
<srhb> I have to go for a bit, but nix-diff should make the difference clear :)
bbennett371 has joined #nixos
cfricke has quit [Quit: WeeChat 2.9]
<glomorg> anyone?
cfricke has joined #nixos
<lejonet> clever: nix-diff doesn't show any difference in the ceph derivation when I nix-diff what I got from nix-instantiate from what nixops tried to build
<srhb> lejonet: Oh, I have an idea of what's wrong.
<lejonet> srhb: do tell :)
<srhb> lejonet: Try nix-building ceph.doc ?
<srhb> Eh no, just checked, that's not it. I was thinking one of the outputs didn't get built by hydra and your system was pulling it in
<clever> lejonet: can you pastebin the full output from `nixops deploy --build-only` ?
glomorg has left #nixos [#nixos]
<lejonet> clever: will do, I'm more and more thinking it might be some crap in my NIX_PATH var
<clever> lejonet: oh, `nixops info -d FOO --no-eval` into a pastebin
cizra has quit [Quit: leaving]
<lejonet> clever: https://dpaste.com/BRVEFV695 it would seem that even if I point nixops with -I nixpkgs=/path/to/checkout/nixpkgs, it still tries to build
<lejonet> and even locally I don't do any packageOverrides for ceph O.o
<clever> lejonet: where is ceph being referenced in the nixos configs?
<lejonet> clever: I pull it in with environment.systemPackages for the machine in question
<lejonet> and libvirt and qemu enables the ceph support
<clever> lejonet: do you have the .drv thats failing?
sangoma has joined #nixos
<lejonet> so like, I can understand why it builds libvirt and qemu but not ceph
<lejonet> sure, its currently trying to build but iirc its the same one as this: https://dpaste.com/37QTESRU4
alexherbo2_ has quit [Quit: alexherbo2_]
<clever> what was the path to that drv?
alexherbo2_ has joined #nixos
<lejonet> '/nix/store/vmqpcz0lnsqrgq3s2c3nlcvx66n171lr-ceph-14.2.10.drv'
<clever> lejonet: does /nix/store/sn40r4qg1crwnyflgbqk55m67iv8hdqz-ceph-14.2.10.drv also exist?
<{^_^}> [nixpkgs] @doronbehar closed pull request #94560 → pjsip: split outputs to reduce closure → https://git.io/JJw3g
<lejonet> clever: yeah, thanks to the nix-build/instantiate line that srhb gave me
<clever> lejonet: now run nix-diff on both of those drv files
<lejonet> https://dpaste.com/4BBHKZLXU the output doesn't really mean anything to me, it shows the diff in sudo I have for my nixops env
<lejonet> I really can't see why its insisting on building ceph
<clever> lejonet: you used an overlay to change sudo, which then changes zfs-user, which then triggered the rebuild of ceph
<clever> lejonet: if you stop changing sudo, then ceph wont have to rebuild
<lejonet> uh, no, all I've done with sudo is packageOverride to enable withInsults and withSssd
<srhb> That's sufficient.
<srhb> (it still changes sudo)
<srhb> And thus zfs, and then ceph.
<lejonet> and the funny thing is, the machine that I'm trying to deploy to doesn't even have ZFS
<srhb> lejonet: ceph depends on zfs.
<srhb> So it does, in a sense :)
<lejonet> Ah true
<{^_^}> [nixpkgs] @r-ryantm opened pull request #94606 → hivex: 1.3.18 -> 1.3.19 → https://git.io/JJwAL
<lejonet> This puts me in an annoying catch 22 tho, because I want sssd support in sudo, but that is stopping me from deploying ceph apparently
<srhb> lejonet: Not stopping, you just need to rebuild if you want it.
arjen-jonathan has joined #nixos
<clever> you could override zfs-user, and force it to use the old sudo
<srhb> lejonet: Or you can pass it an unaltered version of zfs, but think carefully when breaking the chain :)
<clever> so zfs-user wont rebuild, and then ceph wont rebuild either
<srhb> Right..
<lejonet> srhb: well, effectively stopping, because the build fails :P
<srhb> oh, right, sorry
<srhb> I forgot about that :P
<lejonet> Otherwise this would be a none issue :P
<lejonet> but as I don't get any of the build log messages that caused the error in the ceph build, I don't know more precisely what is breaking in ceph
<srhb> Right, do what clever suggested then :)
<lejonet> maybe it is a stupid thing about zfs or sudo using another boost version than the one that ceph forces (boost167 is given it in all-packages.nix)
<srhb> lejonet: No, it's literally the addition of sssd. The diff tells you so.
<lejonet> Hmm yeah, that could work, I wonder what in sudo that ZFS depends on
<lejonet> srhb: I'm thinking about the error message from the build
<srhb> Yes, that's.. mystifing and worrying tbh
<clever> [root@amd-nixos:~]# nix-store -qR /nix/store/7pmjm9wzqchwbh43pi82mmq3rv0jdxkf-zfs-user-0.8.4 | grep sudo
<clever> /nix/store/n0k7kk82jjg6aw6n8rb7k5izzs0yj5wx-sudo-1.8.31p1
<clever> ╚═══libexec/zfs/zpool.d/ata_err: …j-sysstat-12.3.2/bin:/nix/store/n0k7kk82jjg6aw6n8rb7k5izzs0yj5wx-sudo-1.8.31p1/bin.#.# Show SMAR…
<clever> [root@amd-nixos:~]# nix why-depends /nix/store/7pmjm9wzqchwbh43pi82mmq3rv0jdxkf-zfs-user-0.8.4 /nix/store/n0k7kk82jjg6aw6n8rb7k5izzs0yj5wx-sudo-1.8.31p1
<clever> 83 raw_out=$(eval "sudo $smartctl_path -a $VDEV_UPATH")
<lejonet> Its whining that there is a bad format string from boost, so maybe its a format string that differs between boost versions
<clever> the shell script calls sudo, and shoves a sudo into $PATH
<clever> but the sudo in $PATH isnt setuid, so it will never work
<clever> that PATH thing will make it worse, not better
<lejonet> oh wow, that is beautifully far-fetched and convoluted :P
<clever> only the sudo in /run/wrappers/bin can function
<lejonet> so you're saying that the zfs-user package is needlessly depending on sudo?
<clever> correct
<clever> its dependency on sudo, breaks its ability to actually use sudo
<lejonet> lol
xourt has joined #nixos
<lejonet> so doing sudo = null in a packageOverride for zfs-user could be the more "correct" way to solve this then
<clever> maybe, but that will still make zfs-user and ceph rebuild
<clever> it would isolate sudo from ceph more, so the sssd cant leak in
<clever> you can also test things without involving nixops, one sec
<clever> [root@amd-nixos:~]# nix-instantiate -E 'import (builtins.fetchTarball https://github.com/NixOS/nixpkgs/archive/d971fd7cbaa7794b4cb632ad17ecbfbe3c17f8ee.tar.gz) { config = {}; overlays = [ (self: super: { sudo = super.sudo.override { withInsults = true; withSssd = true; }; zfs-user = super.zfs-user.override { sudo = null; }; }) ]; }' -A sudo
<clever> lejonet: this will apply your sudo override, and force zfs to not depend on sudo, then you can use -A to pick any package, and see what the effect is
alp has quit [Ping timeout: 256 seconds]
orivej has quit [Ping timeout: 256 seconds]
orivej has joined #nixos
<lejonet> Worth a shot
<lejonet> clever: well, it gave me another ceph drv than the first nix-instatiate and nixops (doing -A ceph)
<clever> yep, because you changed zfs-user in a different way
<clever> but now you can try building that one
__monty__ has quit [Quit: leaving]
<lejonet> Weird note, doing the same override for the nixops machine, made it want to build the same ceph drv still (but doing it with a packageOverride instead of an overlay)
codygman has quit [Ping timeout: 256 seconds]
<lejonet> I'm currently building the ceph drv that instatiate gave me tho, so hopefully we'll know in like 15 min s:P
<clever> lejonet: id recomend always using overlays
codygman has joined #nixos
<lejonet> clever: what is the practical difference? I have some machines that have overlays, but that is to add packages from a private git and such
meh` has quit [Ping timeout: 265 seconds]
<clever> lejonet: overlays let you easily access super (the previous pkgs tree) and self (the final, after applying every overlay)
<clever> lejonet: overlays also let you specify multiple, in different nixos modules, and they chain together sanely
<clever> packageOverrides, can only be set once
johnnyfive has quit [Quit: I quit now.]
<lejonet> clever: and you showed how overlays can be done in pure nix without having to setup the whole filesystem part (that is why I've used packageOverride, cuz lazy) so I guess I'll just switch to that then :P
johnnyfive has joined #nixos
<clever> a second example, more baked into a module
mrosenbe has joined #nixos
<{^_^}> [nixpkgs] @zowoq pushed to master « .editorconfig: add nixos/ircd-hybrid, dotnetenv/Wrapper »: https://git.io/JJwxe
<lejonet> Very neat, I think I'll convert my stuff to overlays then :P
Fare has joined #nixos
<lejonet> I'm doing a complete overhaul of the logging across the entire env anyway so xD
<lejonet> its just the 4 machines that touch ceph that are in the way of finalizing that
mrosenbe has quit [Ping timeout: 264 seconds]
<{^_^}> [nixpkgs] @zowoq opened pull request #94607 → nixos/{lib,maintainers,tests}: editorconfig fixes → https://git.io/JJwxR
voidless has joined #nixos
proofofkeags has joined #nixos
cosimone has quit [Quit: Quit.]
Extends has joined #nixos
<lejonet> clever: well, that made it build just fine, lets see if I can replicate that with nixops, if so, everything is solved lol
<{^_^}> [nixpkgs] @marsam merged pull request #94601 → groonga: 10.0.4 -> 10.0.5 → https://git.io/JJwdr
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/JJwxo
<{^_^}> [nixpkgs] @marsam merged pull request #94581 → eksctl: 0.24.0 -> 0.25.0 → https://git.io/JJwun
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/JJwx6
n9nes has joined #nixos
julm has quit [Ping timeout: 256 seconds]
proofofkeags has quit [Remote host closed the connection]
knupfer has joined #nixos
proofofkeags has joined #nixos
proofofkeags has quit [Read error: Connection reset by peer]
asymptotically has quit [Remote host closed the connection]
codygman has quit [Read error: Connection reset by peer]
<evanjs> *gets "locale.Error: unsupported locale setting"* *searches on nixpkgs repo* I am _not_ liking how this looks :D
codygman has joined #nixos
asymptotically has joined #nixos
<evanjs> for reference, I was asked to update the PR for #59900, so I figured I could take another look at it
<{^_^}> https://github.com/NixOS/nixpkgs/issues/59900 (by dtzWill, 1 year ago, open): [request] sclack (CLI slack client)
knupfer1 has joined #nixos
knupfer has quit [Ping timeout: 240 seconds]
knupfer1 is now known as knupfer
<dtz> Oooo ty evanjs
<{^_^}> [nixpkgs] @aanderse merged pull request #94551 → nixos/dokuwiki: fix https redirect → https://git.io/JJwUP
<{^_^}> [nixpkgs] @aanderse pushed 2 commits to master: https://git.io/JJwp0
julm has joined #nixos
<lejonet> clever: yep, that solved it, big thanks for the help :) (and thanks srhb too)
<srhb> lejonet: great :)
<evanjs> dtz: but now I'm seeing issues with urwid_readline lol (and https://github.com/NixOS/nixpkgs/pull/94034#issuecomment-667858825 should not affect sclack as it is already py3k+ only)
knupfer1 has joined #nixos
<evanjs> i.e. that's where the test failure is
<evanjs> based on what I'm seeing from other package expressions in handling these locale errors... 🤮
jb55 has quit [Ping timeout: 240 seconds]
jb55 has joined #nixos
itshaydendev has joined #nixos
knupfer has quit [Ping timeout: 256 seconds]
knupfer1 is now known as knupfer
smatting_ has joined #nixos
<evanjs> though... nothing changed with the package since then. what in the world.
<evanjs> lemme grab the output for pb
<voidless> hey there, I hope this is the right place for my question... I have patched a binary with the help of the guide in the nixos wiki. Unfortunately it runs into a debug trap. With steam run I have no Problem in getting it running. Does someone know a method to find out which shared object causes the problem?
<evanjs> some things that immediately come to mind are LD_DEBUG=all (might be too verbose), `patchelf --print-needed` and then ldd, make sure it has the right interpreter, etc
knupfer1 has joined #nixos
<evanjs> and then of course there is strace :P though I often find ltrace helpful in this sort of case, IIRC
<evanjs> but clever and others would probably have a better idea of what to check
<{^_^}> [nixpkgs] @peterhoeg merged pull request #94278 → kwin-tiling: 2.2 -> 2.4 → https://git.io/JJ20q
<{^_^}> [nixpkgs] @peterhoeg pushed 2 commits to master: https://git.io/JJwhi
knupfer has quit [Ping timeout: 240 seconds]
knupfer1 is now known as knupfer
<evanjs> mmkay here's the python locale weirdness https://pastebin.com/fGKmnKxu
<evanjs> Dunno who I can ping for python in IRC :P
julm has quit [Ping timeout: 240 seconds]
knupfer1 has joined #nixos
Rusty1 has joined #nixos
proofofkeags has joined #nixos
xelxebar_ has quit [Read error: Connection reset by peer]
xelxebar has joined #nixos
whald_ has joined #nixos
orivej has quit [Quit: No Ping reply in 180 seconds.]
knupfer has quit [Ping timeout: 265 seconds]
knupfer1 is now known as knupfer
whald has quit [Remote host closed the connection]
Extends has quit [Quit: leaving]
orivej has joined #nixos
knupfer has quit [Ping timeout: 256 seconds]
<exarkun> is there a way to specify multiple ExecStartPre for a systemd service with some nixos option?
<exarkun> looks like setting serviceConfig.ExecStartPre to a list is supported and does the right thing
acarrico has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #94608 → keycloak: 10.0.2 -> 11.0.0 → https://git.io/JJrvZ
pmwhite has joined #nixos
<voidless> I was trying to step by step exchange shared objects from using steam run to other ones. I hoped to isolate the problem that way although im not sure how to do this exactly.
n9nes has quit [Quit: ZNC 1.8.1 - https://znc.in]
evanjs has quit [Quit: ZNC 1.8.1 - https://znc.in]
n9nes has joined #nixos
evanjs has joined #nixos
<srxl> Nix is giving me stack overflow errors when I reference a package in a local flake from a different flake. Any ideas what's up there?
julm has joined #nixos
<srxl> ie. flake1 has `inputs.flake2.url = "/path/to/flake/directory";` and I'm trying to add `flake2.packages.x68_64.package` to a `mkShell` derivation in `devShell.x86_64-linux`
<infinisil> exarkun: You can also assign `systemd.services.foo.preStart`
<infinisil> All the assignments to that option are joined together to a single script which is then used in ExecStartPre
<exarkun> they can only be merged if they're defined in different modules, right? this is illegal or nonsense: `foo = { preStart = a; preStart = b; };`?
sigmundv has quit [Read error: Connection reset by peer]
<dminuoso> Mmm, is there a way to control the merging strategy of nixos options?
sigmundv has joined #nixos
<dminuoso> Say, if multiple foo.bar are specified, could I configure the option with some fold over all overlapping foo.bar options?
alp has joined #nixos
jmeredith has joined #nixos
lejonet has quit [Ping timeout: 240 seconds]
lejonet has joined #nixos
<evanjs> I use mkForce all the time lol
<srxl> Stack overflows sorted, looks like it was an instance of https://github.com/NixOS/nix/issues/3462
<{^_^}> nix#3462 (by edolstra, 17 weeks ago, open): Stack overflow in Derivation::unparse()
<evanjs> *checks source language*
<evanjs> oh thank God it's not in the rs modules :P
lejonet has quit [Ping timeout: 256 seconds]
<dminuoso> evanjs: Mmm not quite. Let's say I want to combine two settings with some elaborate merging strategy.
<evanjs> oh so like priorities but with logic or something lol
<dminuoso> As a contrived example, let's say `foo.color = "Red";` and `foo.color = "Yellow";` to produce "foo.color = "Orange"; as determined by some `mixColors = l: r: ...`
<dminuoso> (Imagine those options being set in two separate places, of course)
<evanjs> and false alarm on the python locale error.... I was putting the preCheck stuff in the parent application, not the dep that was failing... 😪
<exarkun> dminuoso: random googling tells me `mkTypeOption` accepts a `merge` parameter
<infinisil> exarkun: `foo = mkMerge [ { preStart = ...; } { preStart = ...; } ]` works
<exarkun> dminuoso: So I guess you would define a color type and give it your merge function
<infinisil> (but you could just assign it once then)
<exarkun> I guess preStart also accepts either a str or a list of str?
<dminuoso> exarkun: mkTypeOption does not appear to be a thing in either nixpkgs or the entirety of google. Is it possible you made a typo?
<infinisil> dminuoso: exarkun: Yeah indeed, mkOptionType lets you define your own options with custom merge functions
<exarkun> dminuoso: yea sorry, mkOptionType
<infinisil> This file contains a lot of examples: https://github.com/NixOS/nixpkgs/blob/master/lib/types.nix
<dminuoso> infinisil, exarkun: That's precisely what I was looking for. Cheers! :)
<dminuoso> Also, that file contains also contains further information I was after. Perfect!
n9nes has quit [Quit: ZNC 1.8.1 - https://znc.in]
n9nes has joined #nixos
Extends has joined #nixos
<nil> hi, where's the documentation for mkIf?
<nil> ah thanks
karantan has quit [Ping timeout: 260 seconds]
mrosenbe has joined #nixos
zyklotomic has joined #nixos
Extends has quit [Quit: leaving]
ddellacosta has joined #nixos
voidless has quit [Ping timeout: 245 seconds]
sangoma has quit [Quit: WeeChat 2.9]
proofofkeags has quit [Remote host closed the connection]
<evanjs> alright... so a few weird things... sclack (#72994) seems to be running the tests for urwid/urwid_readline..? I'm not sure if I am seeing that correctly
<{^_^}> https://github.com/NixOS/nixpkgs/pull/72994 (by evanjs, 38 weeks ago, open): sclack: init at unstable-2019-07-15
<evanjs> but anyway, once I add e.g. https://github.com/veehaitch/nixpkgs/blob/2c7646b1f3229e115ddfa7bf3599034c3df32cae/pkgs/development/python-modules/urwid/default.nix#L12 to sclack, the locale error stops throwing, but now it can't find slackclient, which _is_ in propagatedBuildInputs x_x
lejonet has joined #nixos
<evanjs> okay, I think it's because the util.py (urwid) uses setlocale
<evanjs> so I _will_ need that fix in sclack, as the tests calls methods from util.py
<{^_^}> [nixpkgs] @mmahut merged pull request #94166 → release-notes/rl-2009: amend bitcoind incompatibility → https://git.io/JJuj3
<{^_^}> [nixpkgs] @mmahut pushed 2 commits to master: https://git.io/JJrcN
<evanjs> ooo I see a lot of things patching out `find_packages`. lemme try that
n9nes has quit [Quit: ZNC 1.8.1 - https://znc.in]
n9nes has joined #nixos
<evanjs> mmmnope. doesn't seem to be that, either :D
<angerman> ,locate hexdump
albakham has joined #nixos
sigmundv has quit [Read error: Connection reset by peer]
<{^_^}> Found in packages: wcc, busybox, hexdump, utillinux, factor-lang, libuuid.bin, utillinux.bin, unixtools.utillinux, perl528Packages.DataHexDump, perl530Packages.DataHexDump
domogled has quit [Remote host closed the connection]
sigmundv has joined #nixos
<kloenk> Is nix on mac realy so slow? or is that because of my old setup?
domogled has joined #nixos
<polezaivsani> I feel stupid, but how do you query packages installed in system profile in NixOS? `nix-env -q -p /nix/var/nix/profiles/system` produces no output
n9nes has quit [Quit: ZNC 1.8.1 - https://znc.in]
MightyJoe has joined #nixos
n9nes has joined #nixos
<srhb> polezaivsani: There isn't really a concept of "installed" for nixos system profiles, but you can get all the dependencies of your system profile with nix-store -qr /nix/var/nix/profiles/system
<srhb> polezaivsani: This includes all indirect dependencies due to services etc. too thoug
cyraxjoe has quit [Ping timeout: 264 seconds]
<srhb> polezaivsani: nix-env, in imperative mode, does some special tracking of installed packages to support the imperative workflow.
<srhb> polezaivsani: Another answer may be nixos-option environment.systemPackages
orivej has quit [Ping timeout: 256 seconds]
orivej has joined #nixos
<polezaivsani> srhb: thanks! is system profile somehow special in that it doesn't have a concept of installed packages?
<srhb> polezaivsani: It's actually more like nix-env is special.
<polezaivsani> srhb: i'll keep digging then, thanks! :)
<albakham> hello
<srhb> polezaivsani: Any specific information you need? We may have another way to go about getting it
<evanjs> so anyway, here's what I'm running into with sclack https://pastebin.com/dmVYDpJz
oldsk00l has quit [Remote host closed the connection]
proofofkeags has joined #nixos
oldsk00l has joined #nixos
<albakham> It's been a few weeks that my keyboard and touchpad stopped working on my laptop. I'm using libinput...
oldsk00l has quit [Remote host closed the connection]
<albakham> if I don't enable libinput, the keyboard works again (not the touchpad though, that's expected since I would need libinput for that)
oldsk00l has joined #nixos
<polezaivsani> srhb: i wanted to check out what packages (or rather versions thereof) got installed via `environment.systemPackages`, just following along the manual
gv has quit [Remote host closed the connection]
<polezaivsani> srhb: `nix-store -qR` does it nicely
<{^_^}> [nixpkgs] @1000101 opened pull request #94609 → nixos/dokuwiki: drop SSL forcing and document incompatibility → https://git.io/JJrBG
<srhb> polezaivsani: Ah, good :)
<evanjs> here is the current expression and related build output for sclack https://gist.github.com/evanjs/a88814e596fb83d4ca70ef2785ca2843
<evanjs> I have encountered this issue (with module imports failing) before, but am unsure what the cause is in the case
<evanjs> *this case
gv has joined #nixos
proofofkeags has quit [Ping timeout: 264 seconds]
mariatsji has quit [Remote host closed the connection]
Extends has joined #nixos
<{^_^}> [nixpkgs] @zowoq merged pull request #94607 → nixos/{lib,maintainers,tests}: editorconfig fixes → https://git.io/JJwxR
<{^_^}> [nixpkgs] @zowoq pushed 3 commits to master: https://git.io/JJr0T
albakham_ has joined #nixos
albakham has quit [Ping timeout: 260 seconds]
<{^_^}> [nixpkgs] @kwohlfahrt opened pull request #94610 → nixos/openldap: switch to slapd.d configuration with structured settings → https://git.io/JJr0N
kaiha[m] has joined #nixos
domogled has quit [Ping timeout: 256 seconds]
<ornxka> why does inkscape pull in network-manager
domogled has joined #nixos
<dminuoso> , glib-networking
<{^_^}> Invalid command syntax
<dminuoso> Perhaps?
<ornxka> bleugh
<evanjs> `nix why-depends nixpkgs.inkscape nixpkgs.networkmanager`
<ornxka> whoa can you do that?
<evanjs> shws GIO_EXTRA_MODULES -> glib-networking, yes
<evanjs> shows*. but yeah
<dminuoso> Im old school, I just open up the derivation in emacs.
<evanjs> it does have to build all relevant expressions, tho
<ornxka> holy crap thats amazing, i was just thinking i wish there was some way to visualize this
<evanjs> well sometimes it can be difficult to trace the deps
<dminuoso> evanjs: Now if only nix had a tool for the current *environment* :P
<evanjs> like, why the heck is conduit's closure 2GB+? :P
<dminuoso> that is, `nix why-depends nixpkgs.foo <my_environment>`
<evanjs> I mean there's nix-du
<evanjs> although a bit less indirect and more of an full system view
marsh has joined #nixos
<dminuoso> Curious: 'nixpkgs.inkscape' does not depend on 'nixpkgs.networkmanager'
<dminuoso> Is that a bleeding edge change in 20.09?
<ornxka> hm
<ornxka> oh im on unstable
<bqv> dminuoso: actually i can do that system why-depends
<dminuoso> bqv: Mm. How?
<bqv> i just did `nix why-depends /run/current-system/ 'self#vim'` and it worked
<bqv> i am on a flake, though
<bqv> and "self" refers to the current running instance of the flake
<dminuoso> bqv: Ohh interesting
<bqv> output gave me that the system derivation depends on the activation script, depends on system-path, depends on ex which is vim
<evanjs> oh right derp
<evanjs> just needs a drv so that will work, yeah
<bqv> don't see why it wouldn't
xourt has quit [Ping timeout: 245 seconds]
<bqv> hmm, that might actually be useful...
__monty__ has joined #nixos
itshaydendev has quit [Quit: itshaydendev]
orivej has quit [Ping timeout: 256 seconds]
zyklotomic has quit [Quit: WeeChat 2.7.1]
<{^_^}> [nixpkgs] @Ma27 opened pull request #94611 → nixos/manual: improve error message for invalid values in `relatedPackages' → https://git.io/JJrE7
orivej has joined #nixos
stephaneyfx has joined #nixos
Extends has quit [Ping timeout: 240 seconds]
sangoma has joined #nixos
<{^_^}> [nixpkgs] @Ma27 pushed to master « nixos/tests/systemd-networkd-vrf: fix test »: https://git.io/JJruS
domogled has quit [Ping timeout: 256 seconds]
alp has quit [Ping timeout: 256 seconds]
orivej has quit [Ping timeout: 256 seconds]
proofofkeags has joined #nixos
<{^_^}> [nixpkgs] @Ma27 merged pull request #94600 → nixos/manual: Fix reference to send_key → https://git.io/JJw5S
cfricke has quit [Ping timeout: 256 seconds]
<{^_^}> [nixpkgs] @Ma27 pushed 2 commits to master: https://git.io/JJrzU
orivej has joined #nixos
albakham_ has quit [Quit: Leaving]
o1lo01ol1o has quit []
<{^_^}> [nixpkgs] @zowoq pushed to master « .editorconfig: add nixos/tests/systemd-networkd-vrf »: https://git.io/JJrzb
alp has joined #nixos
<{^_^}> [nixpkgs] @Ma27 merged pull request #94580 → bspwm: 0.9.9 -> 0.9.10 → https://git.io/JJwEz
<{^_^}> [nixpkgs] @Ma27 pushed 2 commits to master: https://git.io/JJrg3
<{^_^}> [nixpkgs] @mweinelt merged pull request #94475 → homeassistant: 0.113.0 -> 0.113.3 → https://git.io/JJVBL
<{^_^}> [nixpkgs] @mweinelt pushed 3 commits to master: https://git.io/JJrgW
<{^_^}> [nixpkgs] @OmnipotentEntity opened pull request #94612 → katago: 1.4.4 -> 1.5.0 → https://git.io/JJrVb
<{^_^}> [nixpkgs] @mweinelt merged pull request #94575 → .github/workflows/editorconfig.yml: separate fetch and check steps → https://git.io/JJwBm
<{^_^}> [nixpkgs] @mweinelt pushed 2 commits to master: https://git.io/JJrVj
adyatlov has joined #nixos
<adyatlov> Anyone using KiCAD on NixOS and also getting these errors? Failed to retrieve file times for '/nix/store/c1qv0knv8h7cp3ya089pjcmdzvrgs2dv-kicad-5.1.2/share/kicad/library/nix/store/fb7aigyh7fsnpkhzp2lvb2bxw41xc73k-kicad-symbols-5.1.2/share/kicad/library/Battery_Management.lib' (error 2: No such file or directory)
<adyatlov> All my paths are configures correctly, I have no clue
<evanjs> ahhhh
<{^_^}> slackapi/python-slackclient#471 (by dewei12138, 1 year ago, closed): not found slack
wfranzini has joined #nixos
whald_ has quit [Remote host closed the connection]
domogled has joined #nixos
orivej has quit [Quit: No Ping reply in 180 seconds.]
orivej has joined #nixos
knupfer has joined #nixos
<evanjs> mmmyup. rename seems to work. yay different errors
dermetfan has joined #nixos
itshaydendev has joined #nixos
pamplemousse has joined #nixos
fendor has joined #nixos
knupfer1 has joined #nixos
leungbk has joined #nixos
orivej has quit [Quit: No Ping reply in 180 seconds.]
wfranzini has quit [Quit: wfranzini]
orivej has joined #nixos
knupfer has quit [Ping timeout: 256 seconds]
knupfer1 is now known as knupfer
maier has quit [Ping timeout: 246 seconds]
matthewcroughan has joined #nixos
CMCDragonkai1 has quit [Quit: CMCDragonkai1]
knupfer1 has joined #nixos
o1lo01ol1o has joined #nixos
work__ has joined #nixos
ManiacOfMadness has quit [Ping timeout: 272 seconds]
knupfer has quit [Ping timeout: 264 seconds]
knupfer1 is now known as knupfer
<nbathum> with poetry2nix, how can I add a python library that is not currently packaged? the app I'm trying to build is missing a dep. I have added it to pyproject.toml, but how can I add the python derivation for it?
<evanjs> updated with le new errors I'm getting https://gist.github.com/evanjs/a88814e596fb83d4ca70ef2785ca2843
<nbathum> all of the examples show overriding (a package that is already present)
<evanjs> adisbladis: ^ nbathum
domogled1 has joined #nixos
knupfer1 has joined #nixos
domogled has quit [Ping timeout: 240 seconds]
domogled1 is now known as domogled
fendor_ has joined #nixos
knupfer has quit [Ping timeout: 256 seconds]
knupfer1 is now known as knupfer
fendor has quit [Ping timeout: 246 seconds]
alp has quit [Ping timeout: 240 seconds]
knupfer has quit [Ping timeout: 246 seconds]
fendor_ has quit [Quit: Leaving]
<patagonicus> I have a few machines and set them up to use each other as builders and substituters, but now if one machine is down, doing any nix building on the others fails with "error: unexpected end-of-file". Is there a way to have nix just ignore unreachable builders/substituters?
erasmas has joined #nixos
waleee-cl has joined #nixos
itshaydendev has quit [Ping timeout: 260 seconds]
<evanjs> lolll okay I'm disabling these tests. They prompt for user input for an api token... >.>
zupo has joined #nixos
alp has joined #nixos
<{^_^}> [nixpkgs] @Ma27 pushed to master « nixos/tests/systemd-networkd-vrf: add comment about trailing whitespaces in test script »: https://git.io/JJrP0
<{^_^}> [nixpkgs] @mweinelt merged pull request #94583 → zigbee2mqtt: 1.14.1 -> 1.14.2 → https://git.io/JJw2l
<{^_^}> [nixpkgs] @mweinelt pushed 5 commits to master: https://git.io/JJrPw
etu has joined #nixos
drakonis has joined #nixos
domogled has quit [Remote host closed the connection]
domogled has joined #nixos
ManiacOfMadness has joined #nixos
noudle has joined #nixos
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
endformationage has joined #nixos
<{^_^}> [nixpkgs] @primeos merged pull request #94578 → chromium: Add missing dependency on coreutils → https://git.io/JJwEL
<{^_^}> [nixpkgs] @primeos pushed commit from @f4814 to master « chromium: Add missing dependency on coreutils (#94578) »: https://git.io/JJr1a
pamplemousse has quit [Quit: leaving]
bdesham has left #nixos [#nixos]
codygman has quit [Read error: Connection reset by peer]
codygman has joined #nixos
simba1 has joined #nixos
user_0x58 has joined #nixos
kalbasit has joined #nixos
<betaboon> zimbatm: is there any good way to use a different ssh port when using terraform-nixos ?
kalbasit has quit [Ping timeout: 256 seconds]
<Fare> In dockerTools, is it possible (and if so, how?) to use a buildImage as the base for a buildLayeredImage?
cosimone has joined #nixos
<zimbatm> betaboon: not really
<betaboon> zimbatm: would it be picked up from ssh-config ?
<zimbatm> it would basically require to change the nixos-deploy.sh script if you wanted to pass it from terraform
<zimbatm> yes
<betaboon> zimbatm: thanks for the headsup. will go the ssh-config route for now. might send a PR at some point xD
<zimbatm> ssh is slightly inconsistent with port selection, and nix also doesn't make that easy
<zimbatm> and then figure out how to pass the port to the script from terraform, and then add the variable to the terraform module
orivej has quit [Ping timeout: 256 seconds]
orivej has joined #nixos
<betaboon> zimbatm: doesnt seem to pick up ~/.ssh/config :/
turlando has quit [Ping timeout: 240 seconds]
smatting_ has quit [Ping timeout: 240 seconds]
alp has quit [Ping timeout: 256 seconds]
sigmundv has quit [Ping timeout: 246 seconds]
<zimbatm> betaboon: I haven't touched it for a while but I don't remember adding something that would prevent it
<zimbatm> `Host <hostname>\nPort <port>`
<zimbatm> this is the format in ~/.ssh/config
<zimbatm> double-check that the hostname matches what is being passed to terraform
Heirlung has quit [Ping timeout: 260 seconds]
<betaboon> zimbatm: nope. wont budge
alp has joined #nixos
<betaboon> zimbatm: keeps running into `timeout - last error: dial tcp [redacted-IP]:22: i/o timeout`
<Fare> and/or how do I manually layer things using buildImage ?
<{^_^}> [nix] @edolstra pushed to master « Delete compressed NARs »: https://git.io/JJryY
asymptotically has quit [Remote host closed the connection]
growpotkin has joined #nixos
codygman has quit [Ping timeout: 256 seconds]
Heirlung has joined #nixos
codygman has joined #nixos
zupo has joined #nixos
proofofkeags has quit [Remote host closed the connection]
ManiacOfMadness has quit [Ping timeout: 272 seconds]
knupfer has joined #nixos
cole-h has joined #nixos
asymptotically has joined #nixos
alexherbo2 has quit [Ping timeout: 246 seconds]
alexherbo2_ has quit [Ping timeout: 260 seconds]
cosimone has quit [Remote host closed the connection]
cosimone has joined #nixos
knupfer1 has joined #nixos
knupfer has quit [Ping timeout: 246 seconds]
knupfer1 is now known as knupfer
jakob_rs has joined #nixos
teto has quit [Ping timeout: 256 seconds]
<jakob_rs> Does NixOS support Intel RST?
<jakob_rs> It's not too important since I can just set it to AHCI in the firmware setup, but it would be interesting to know if it's possible to get it to work without this workaround.
codygman has quit [Read error: Connection reset by peer]
knupfer1 has joined #nixos
codygman has joined #nixos
knupfer has quit [Ping timeout: 260 seconds]
knupfer1 is now known as knupfer
kreyren_ has joined #nixos
<jakob_rs> knupfer: You're probably aware, but you've been disconnecting and reconnecting constantly for some time now.
alp has quit [Ping timeout: 264 seconds]
drakonis has quit [Quit: WeeChat 2.8]
kreyren has quit [Ping timeout: 240 seconds]
dermetfan has quit [Ping timeout: 246 seconds]
knupfer1 has joined #nixos
justanotheruser has joined #nixos
<zimbatm> betaboon: sorry I don't have another idea, except to change the deploy_nixos module
<zimbatm> you can try and edit the script directly, it should be under .terraform/modules/terraform-nixos/deploy_nixos/
orivej has quit [Ping timeout: 264 seconds]
orivej has joined #nixos
drakonis has joined #nixos
knupfer has quit [Ping timeout: 240 seconds]
knupfer1 is now known as knupfer
<jakob_rs> ,help
<{^_^}> Use `,` to list all commands, `,foo = Foo!` to define foo as "Foo!", `,foo =` to undefine it, `,foo` to output "Foo!", `,foo somebody` to send "Foo!" to the nick somebody
nixuser has quit [Read error: Connection reset by peer]
alexherbo2 has joined #nixos
alexherbo2_ has joined #nixos
knupfer1 has joined #nixos
knupfer has quit [Ping timeout: 256 seconds]
knupfer1 is now known as knupfer
<{^_^}> tweag/terraform-nixos#34 (by betaboon, 14 seconds ago, open): deploy_nixos: add var.target_port
alexherbo2_ has quit [Ping timeout: 256 seconds]
knupfer1 has joined #nixos
alexherbo2 has quit [Ping timeout: 264 seconds]
maier has joined #nixos
knupfer has quit [Ping timeout: 256 seconds]
knupfer1 is now known as knupfer
jakob_rs has quit [Quit: WeeChat 2.9]
<bqv> hey guys, what's a command that'd use configuration.nix
aniketd[m] has joined #nixos
knupfer1 has joined #nixos
<evanjs> bqv: like `nixos-rebuild switch`, or..? :P
<bqv> well
<bqv> without changing my system
maier has quit [Ping timeout: 256 seconds]
<bqv> also, i cant install the nonflake version of that script easily
<evanjs> `nixos-rebuild build-vm`?
<evanjs> ah alright
<cole-h> `pkgs.callPackage <nixos-config> {}`
<cole-h> :P
alexherbo2 has joined #nixos
<bqv> oh, that.. wait what
<bqv> what would that do
<cole-h> > (callPackage <nixos-config> {}).system
<{^_^}> attempt to call something which is not a function but a set, at /var/lib/nixbot/nixpkgs/master/repo/lib/customisation.nix:69:16
<cole-h> F
<bqv> od
<cole-h> > <nixos-config>
<{^_^}> /nix/store/zh9mxn8njz8f9zglckf9mp6hgbfp4q1j-configuration.nix
<bqv> oh
alexherbo2_ has joined #nixos
<bqv> ok
<cransom> nixos-rebuild build wouldn't change your system.
ManiacOfMadness has joined #nixos
<bqv> i still cant install the nonflake version of that script easily
<bqv> though, maybe it doesn't matter
<{^_^}> [nixpkgs] @leo60228 opened pull request #94614 → linux_5_8: init at 5.8 → https://git.io/JJr9Q
knupfer has quit [Ping timeout: 256 seconds]
knupfer1 is now known as knupfer
knupfer1 has joined #nixos
orivej has quit [Quit: No Ping reply in 180 seconds.]
knupfer has quit [Ping timeout: 240 seconds]
knupfer1 is now known as knupfer
<bqv> neat, it worked
<bqv> nix eval --json --impure --expr '((import <nixpkgs> {}).callPackage ./configuration.nix {}).system.configurationRevision'
<bqv> and building toplevel seems to work
orivej has joined #nixos
philr has quit [Ping timeout: 264 seconds]
<bqv> this shrinks my configuration.nix shim by many lines
malook has joined #nixos
proofofkeags has joined #nixos
<cole-h> bqv: lmk when you're done cleaning up your flake.nix so I can use it for inspiration :P
knupfer has quit [Ping timeout: 246 seconds]
<{^_^}> [nixpkgs] @jtojnar merged pull request #94408 → fwupd: 1.4.4 -> 1.4.5 → https://git.io/JJaHH
<{^_^}> [nixpkgs] @jtojnar pushed commit from @r-ryantm to master « fwupd: 1.4.4 -> 1.4.5 »: https://git.io/JJrHO
<bqv> cole-h: to be honest, i think this is as clean as it might get, i can't think of ways to sensibly shrink it, and i don't think it's *too* wacky anymore
<cole-h> :shipit:
<bqv> heh
gustavderdrache has joined #nixos
knupfer has joined #nixos
<cole-h> Hey, that looks pretty neat :P
adyatlov has quit [Ping timeout: 245 seconds]
<bqv> :D
<cole-h> bqv: If ryc*e were to merge home-manager#1420, what would change for the bqv-flakes branch, if anything?
<{^_^}> [nixpkgs] @tfc merged pull request #93413 → nixosTests.taskserver: Port to python → https://git.io/JJnCz
<{^_^}> [nixpkgs] @tfc pushed 2 commits to master: https://git.io/JJrHR
pareidolia has quit [Ping timeout: 260 seconds]
<cole-h> https://github.com/rycee/home-manager/pull/1420 (guess I need to link it since it's not in the nixos org lol)
<{^_^}> rycee/home-manager#1420 (by rycee, 3 days ago, open): nixpkgs: take Nixpkgs path from argument
<bqv> oh awesome, that'd make it simpler in at least one case
<bqv> i think there's other <nixpkgs>s around, iirc
<bqv> but that looks like the main one that was preventing the nixos module from working
noudle has quit []
<cole-h> bqv: They only default to `import <nixpkgs> {}`, e.g. in home-manager/home-manager.nix, default.nix, and tests/default.nix
knupfer1 has joined #nixos
<cole-h> (`pkgs ? import <nixpkgs> {}`)
orivej has quit [Ping timeout: 240 seconds]
<bqv> yeah, seems so, guess that works then
orivej has joined #nixos
knupfer has quit [Ping timeout: 240 seconds]
knupfer1 is now known as knupfer
pareidolia has joined #nixos
<porphyrogenetos> Does anyone know what the proper way to get dockerTools.buildImage to work on a multiuser nix installation (on a non-NixOS distro)? It fails currently because of some permission problem for the nixbld users. It worked fine before I switched to a multi-user installation. The failure it gives is: "qemu-system-x86_64: failed to initialize kvm: Permission denied"
<lejonet> Where would I find the meaning of the exit code from switch-to-configuration? I'm getting exit code 3 error when deploying a nixops machine, but the activation seems to have gone just fine. There is nothing in the logs that have errored out or anything
<lejonet> porphyrogenetos: that sounds like a permission issue with /dev/kvm or similar, aka the user doesn't have read/write rights to the hardware assisted virtualisation
<lejonet> its not uncommon for that device to be owned by root:kvm
knupfer1 has joined #nixos
<lejonet> what does ls -la /dev/kvm give you?
<{^_^}> [nixpkgs] @magnetophon opened pull request #94615 → mamba: init at 1.1 → https://git.io/JJrQe
knupfer has quit [Ping timeout: 256 seconds]
knupfer1 is now known as knupfer
<porphyrogenetos> Right, I figured it had something to do with that, its owned on my system by root:kvm. Is there a nixy way to rectify that? not sure if the best solution is adding the nixbld users to the kvm group or changing perms of /dev/kvm
<{^_^}> [nixpkgs] @jtojnar pushed to master « bustle: fix build »: https://git.io/JJrQv
<bqv> ooh this got nix-index working
thc202 has quit [Ping timeout: 244 seconds]
<lejonet> porphyrogenetos: I think the "more correct" way would be to add the nixbld user to the kvm group
<lejonet> iirc the whole point of /dev/kvm being owned by root:kvm, was so that you can give non-root users access to it, without having to give em root access in any form
<porphyrogenetos> That makes sense. Is there a way to add them to additional groups via /etc/nix.conf? Or is a manual usermod -aG the way to go
knupfer1 has joined #nixos
<lejonet> users.users.<user>.extraGroups = [ <space delimited list of groups> ] but that is nixos, I don't think nix on a non-nixos system can do that
ManiacOfMadness has quit [Ping timeout: 264 seconds]
knupfer has quit [Ping timeout: 256 seconds]
knupfer1 is now known as knupfer
sikmir has joined #nixos
stephaneyfx_ has joined #nixos
sikmir has quit [Read error: Connection reset by peer]
stephaneyfx has quit [Read error: Connection reset by peer]
<cole-h> bqv: does the "specialArgs" stuff add to the top level args of e.g. configuration.nix?
HackerFoo has joined #nixos
m_hackerfoo has joined #nixos
knupfer has quit [Ping timeout: 240 seconds]
<bqv> cole-h: it'll add to any module called, configuration.nix is a weird one and i'm still not sure how it works
<bqv> guess i'm kinda flake-native
<cole-h> So `specialArgs = { sadf = 123; };` makes `{ sadf, ... }` work?
<bqv> yeah
noudle has joined #nixos
<cole-h> Awright.
alexherbo2_ has quit [Ping timeout: 260 seconds]
alexherbo2 has quit [Ping timeout: 246 seconds]
spudly- has joined #nixos
spudly- has joined #nixos
domogled has quit [Remote host closed the connection]
domogled has joined #nixos
turion has joined #nixos
spudly- is now known as spudly
ericnoan has joined #nixos
ericnoan has joined #nixos
ericnoan has quit [Changing host]
ManiacOfMadness has joined #nixos
<bqv> wait, what
<bqv> nixexprs.tar.xz is just nixpkgs
pr06lefs has joined #nixos
<bqv> well that's easy then
alp has joined #nixos
codygman has quit [Read error: Connection reset by peer]
codygman has joined #nixos
<{^_^}> [nixpkgs] @pacien opened pull request #94616 → [20.03] mautrix-telegram: add postgresql database driver → https://git.io/JJr7e
<bqv> oh, no, it has programs.sqlite in it
<hyper_ch> what's a recommended hexeditor on nixos?
<{^_^}> [nixpkgs] @Ma27 merged pull request #94327 → thc-hydra: 9.0 -> 9.1 → https://git.io/JJ2x6
<{^_^}> [nixpkgs] @Ma27 pushed 2 commits to master: https://git.io/JJr7O
turion has quit [Ping timeout: 265 seconds]
<{^_^}> [nixpkgs] @Ma27 merged pull request #94611 → nixos/manual: improve error message for invalid values in `relatedPackages' → https://git.io/JJrE7
<{^_^}> [nixpkgs] @Ma27 pushed 2 commits to master: https://git.io/JJr7c
ManiacOfMadness has quit [Ping timeout: 260 seconds]
rajivr has quit [Quit: Connection closed for inactivity]
orivej has quit [Ping timeout: 264 seconds]
<{^_^}> [nixpkgs] @dadada opened pull request #94617 → Dadada/dokuwiki → https://git.io/JJr7z
orivej has joined #nixos
alexherbo2 has joined #nixos
alexherbo2_ has joined #nixos
<{^_^}> [nixpkgs] @Ma27 merged pull request #94616 → [20.03] mautrix-telegram: add postgresql database driver → https://git.io/JJr7e
<{^_^}> [nixpkgs] @Ma27 pushed 2 commits to release-20.03: https://git.io/JJr76
hax404 has joined #nixos
LouisDK has joined #nixos
<LouisDK> If a package needs an open port in the firewall to work it's possible to make an option like "openFirewall". However I want to hear whatever it is bad practice to open the port by default when installing the package or the option should be set to false?
cosimone has quit [Quit: Quit.]
seku has joined #nixos
arjen-jonathan has quit [Ping timeout: 244 seconds]
arjen-jonathan has joined #nixos
leungbk has quit [Ping timeout: 256 seconds]
<{^_^}> [nixpkgs] @danieldk merged pull request #94596 → imagemagick7: 7.0.10-19 -> 7.0.10-25 → https://git.io/JJwDX
<{^_^}> [nixpkgs] @danieldk pushed 2 commits to master: https://git.io/JJr5t
orivej has quit [Ping timeout: 240 seconds]
teto has joined #nixos
bbennett372 has joined #nixos
bbennett371 has quit [Ping timeout: 256 seconds]
orivej has joined #nixos
christianbundy has joined #nixos
leungbk has joined #nixos
<makefu> LouisDk: the option should default to false imho. there may be different ways the firewall is "opened", be it nginx proxyPass or vpn setup or whatnot
kreyren_ has quit [Remote host closed the connection]
knupfer has joined #nixos
<bqv> why is programs.sqlite so thin?
kreyren_ has joined #nixos
<numkem> ,locate sd-journal.h
<{^_^}> Found in packages: elogind, libudev.dev, systemd_with_lvm2.dev
zeta_0 has joined #nixos
<bqv> what even generates it...
<zeta_0> i just installed `wine` in order to use `kindle for pc`, but how do i install `kindle for pc` the `nix way` ?
euandreh has quit [Ping timeout: 272 seconds]
knupfer1 has joined #nixos
nikita` has quit [Quit: leaving]
alp has quit [Ping timeout: 256 seconds]
zgrep has joined #nixos
<zeta_0> on amazon, i downloaded `kindle for pc`, and selected to run it with `wine`, but a runtime error was thrown, have any of you ran into a similar situation ?
knupfer has quit [Ping timeout: 240 seconds]
knupfer1 is now known as knupfer
knupfer1 has joined #nixos
<bqv> infinisil: ok, that looks remarkably simple, which explains why there's only like 174 unique packages in the db
alp has joined #nixos
<infinisil> Why would that explain it?
<bqv> well, i expected it to be crawling the tree but it doesn't look like it is
<bqv> or am i misunderstanding how it works
knupfer has quit [Ping timeout: 265 seconds]
knupfer1 is now known as knupfer
moet has joined #nixos
<bqv> oh, is this because it's unstable
<bqv> the 20.03 one is 8* the size
<infinisil> bqv: Look closer. It calls a binary to do all the work
nikita` has joined #nixos
<bqv> huh, i read that, guess i misinterpreted it
knupfer1 has joined #nixos
titano has quit [Quit: ZNC 1.7.5+deb4 - https://znc.in]
<bqv> still doesn't explain the channel discrepancies though
titano has joined #nixos
c0c0 has joined #nixos
<zeta_0> well, i give up, i don't have the time to be messing with that `wine` stuff.
<bqv> ,locate bin nix-du
knupfer has quit [Ping timeout: 264 seconds]
knupfer1 is now known as knupfer
<{^_^}> Found in packages: nix-du
<bqv> ^ what powers that?
<bqv> it seems more powerful than anything built on programs.sqlite
<makefu> nix-locate
<bqv> does that index the entire nixpkgs tree, or just what's installed?
sangoma has quit [Read error: Connection reset by peer]
<makefu> it uses the whole nixpkgs tree
<makefu> nix-locate uses nix-index for fetching all available packages from hydra
<numkem> ,locate libsystemd-journal.so
<{^_^}> Couldn't find in any packages
<bqv> oh, that's awesome
<zeta_0> can nixos now be easily installed on a raspberry pi 4 ? i tried last december and couldn't get it working(errors thrown).
knupfer1 has joined #nixos
euandreh has joined #nixos
knupfer has quit [Ping timeout: 240 seconds]
knupfer1 is now known as knupfer
<c0c0> Is there a NixOS package that provides latexmk?
<numkem> ,locate libsystemd.so
<{^_^}> Found in packages: libudev.lib, systemd_with_lvm2.lib
<ben> ,locate latexmk
<{^_^}> Found in packages: texlive.combined.scheme-full, texlive.combined.scheme-medium
orivej has quit [Ping timeout: 260 seconds]
moet has quit [Ping timeout: 264 seconds]
LouisDK has quit [Remote host closed the connection]
maier has joined #nixos
<c0c0> Thanks!
<zeta_0> nope, it looks like nixos is not ready for raspberry pi 4: https://github.com/NixOS/nixpkgs/issues/63720
<{^_^}> #63720 (by majewsky, 1 year ago, open): Raspberry Pi 4 support
knupfer1 has joined #nixos
<zeta_0> oh well, i'll check again in a couple of months, raspbian will do fine for now.
<{^_^}> [nixpkgs] @jraygauthier closed pull request #61177 → nixos/jupiter: add a kernel jsFile option → https://git.io/fjCeG
zeta_0 has quit [Quit: rcirc on GNU Emacs 26.3]
knupfer has quit [Ping timeout: 240 seconds]
knupfer1 is now known as knupfer
* Fare uses a series of dockerTools.buildImage to manually layer an image.
maier has quit [Ping timeout: 240 seconds]
stephaneyfx_ is now known as stephaneyfx
knupfer has quit [Ping timeout: 240 seconds]
LouisDK has joined #nixos
<{^_^}> [nixpkgs] @doronbehar opened pull request #94619 → saga: 7.6.3 -> 7.7.0 → https://git.io/JJrFl
<LouisDK> It seems to be best practice to just include a comment in the nix file if a program requires an open port to work and the nix file is not a service.
<crazazy[m]> guys i haven't been able to update my system because of gst-plugins-base being broken (https://github.com/NixOS/nixpkgs/pull/91090#issuecomment-653753497) I'm not sure if this is part of steam or because of some extra settings i have enabled though
sangoma has joined #nixos
knupfer has joined #nixos
phreedom has quit [Remote host closed the connection]
phreedom has joined #nixos
<{^_^}> [nixpkgs] @siriobalmelli closed pull request #92944 → python3Packages.wheel: 0.33.6 -> 0.34.2 → https://git.io/JJY68
lsix has quit [Ping timeout: 244 seconds]
<crazazy[m]> ,locate gst-plugins-base
<{^_^}> Found in packages: gst_plugins_base, gst_all_1.gst-plugins-base
lsix has joined #nixos
knupfer1 has joined #nixos
lsix has quit [Client Quit]
knupfer has quit [Ping timeout: 240 seconds]
knupfer1 is now known as knupfer
<crazazy[m]> oh fixed it by setting nativeOnly option for steam to false for now
<c0c0> ,locate xargs.sty
<{^_^}> Couldn't find in any packages
cosimone has joined #nixos
superbaloo has joined #nixos
<christianbundy> How do I build a package from source?
<zie> ccccccikneitnnbthcdukgknucbhecehtfeievdbekvt
knupfer has quit [Ping timeout: 240 seconds]
wallacer3 has joined #nixos
<zie> oh yubikey's. sorry :)
<{^_^}> [nixpkgs] @ryantm merged pull request #92468 → nixos/jitsi-meet: init → https://git.io/JJLn1
<{^_^}> [nixpkgs] @ryantm pushed 12 commits to master: https://git.io/JJrFA
<{^_^}> [nixpkgs] @LouisDK1 opened pull request #94620 → libhdhomerun: add comment about udp firewall rule suggestion → https://git.io/JJrFj
nextloop has joined #nixos
knupfer has joined #nixos
LouisDK has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @jtojnar pushed 357 commits to haskell-updates: https://git.io/JJrbJ
zupo has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @magnetophon opened pull request #94621 → real_time_config_quick_scan:unstable-2020-08-03 -> unstable-2020-07-23 → https://git.io/JJrbT
<Fare> The packing and unpacking involved in buildImage fromImage makes it O(N^2).
<Fare> Meh.
gthm has quit [Ping timeout: 265 seconds]
zupo has joined #nixos
knupfer1 has joined #nixos
xAndy has joined #nixos
sputny has joined #nixos
knupfer has quit [Ping timeout: 240 seconds]
knupfer1 is now known as knupfer
knupfer1 has joined #nixos
<fionera> Any idea what I have to add to my nix-env to build smth with qtmultimediaplugins dependencies? I always get `defaultServiceProvider::requestService(): no service found for - "org.qt-project.qt.mediaplayer"`
<Mic92> fionera: usually this is described in some .desktop files.
<Mic92> They are looked up in a in the nix profile
<fionera> everything I find just tells me to install libqt5multimedia5-plugins :D Tho thats not an option
<fionera> what do you mean by that?
<fionera> It is missing a mediaplayer provider
knupfer has quit [Ping timeout: 260 seconds]
knupfer1 is now known as knupfer
rgrau has joined #nixos
shabius has quit [Remote host closed the connection]
<Fare> Looks my nix images contains everything double... once in / the other time in /nix/store (!)
shabius has joined #nixos
<Fare> why isn't it using symlinks from one to the other?
knupfer1 has joined #nixos
lordcirth__ has quit [Ping timeout: 244 seconds]
<christianbundy> I couldn't get an answer on how to build packages from source, so I've pointed cache.nixos.org at 127.0.0.1 in /etc/hosts. Now all of my installs fail. Is there no way to build from source?
<Fare> or is it tar not being called in a way that preserves some symlinks or hardlinks?
codygman has quit [Read error: Connection reset by peer]
knupfer has quit [Ping timeout: 246 seconds]
knupfer1 is now known as knupfer
jb55 has quit [Ping timeout: 240 seconds]
codygman has joined #nixos
knupfer1 has joined #nixos
<matthewcroughan> colemickens hey again!
<Fare> ... not for everything, since /nix/store is 1.4G but / is 2G.
<Fare> I'm baffled by the behavior
boxscape has joined #nixos
<matthewcroughan> I got a T480 thinkpad for work, the last remaining thinkpad with good construction. Gonna put NixOS on it.
yilin has joined #nixos
knupfer has quit [Ping timeout: 256 seconds]
knupfer1 is now known as knupfer
pmwhite has quit [Remote host closed the connection]
gustavderdrache has quit [Quit: Leaving.]
hr[m] has joined #nixos
<hr[m]> This PR was not assigned a reviewer with merge rights, could someone please take a look at merging it. https://github.com/NixOS/nixpkgs/pull/91948
<{^_^}> #91948 (by CheariX, 4 weeks ago, open): joplin-desktop: 1.0.216 -> 1.0.233
yilin has quit [Remote host closed the connection]
knupfer1 has joined #nixos
alp has quit [Ping timeout: 240 seconds]
<makefu> matthewcroughan: i always thought t430 was the last known good :)
<matthewcroughan> Nah, unless your "good" is the old keybards
<matthewcroughan> Everything is still here other than the old keyboard, and it's modern hardware
<{^_^}> [nixpkgs] @Infinisil merged pull request #91948 → joplin-desktop: 1.0.216 -> 1.0.233 → https://git.io/JJJbk
<{^_^}> [nixpkgs] @Infinisil pushed 5 commits to master: https://git.io/JJrNI
<infinisil> hr[m]: Done :)
<hr[m]> Thanks
knupfer has quit [Ping timeout: 256 seconds]
knupfer1 is now known as knupfer
jb55 has joined #nixos
<matthewcroughan> Stage 1 takes a veeeeery long time haha
knupfer1 has joined #nixos
knupfer has quit [Ping timeout: 256 seconds]
knupfer1 is now known as knupfer
nature has quit [Ping timeout: 272 seconds]
<{^_^}> [nixpkgs] @ehmry pushed commit from @KarlJoad to release-20.03 « tor-browser-bundle-bin: 9.5 -> 9.5.3 »: https://git.io/JJrNz
dermetfan has joined #nixos
<christianbundy> infinisil: sorry to @ you, but you helped me last time I was here -- how do I build packages from source?
<crazazy[m]> nix-build '' -A {your package name}
<infinisil> christianbundy: Oh to build from source just disable substituters with `--option substitute false`
<crazazy[m]> won't build the dependencies from source tho
<zerocostabstrac4> guys how do you manage bash/zsh functions inside your configuration.nix
<zerocostabstrac4> if at all
<crazazy[m]> oh matrix formatted something for me
<infinisil> christianbundy: See `man nix.conf` for more info
<infinisil> Well there's not that much more info there for that option, but still
knupfer1 has joined #nixos
<DigitalKiwi> zerocostabstrac4: sphalerite wrote something for me maybe it'll be helpful start i'll find it. the real answer you probably want is home manager though
<infinisil> zerocostabstrac4: programs.zsh.{shellInit,interactiveShellInit,loginShellInit}
knupfer has quit [Ping timeout: 265 seconds]
knupfer1 is now known as knupfer
<infinisil> Or home-manager yeah, which has similar options
<christianbundy> thanks! I'll try adding 'substitute = false' to /etc/nix/nix.conf
<DigitalKiwi> ok maybe not as relevant as i thought but uh it's cool?
<matthewcroughan> Can someone help me with this nixos install step?
<matthewcroughan> `parted /dev/sda -- mkpart primary linux-swap -8GiB 100%`
<matthewcroughan> no matter what hardware I run this on, I always get the error "The resulting partition is not properly aligned for best performance"
<matthewcroughan> how do I resolve this warning?
knupfer1 has joined #nixos
knupfer has quit [Ping timeout: 256 seconds]
knupfer1 is now known as knupfer
<ryantm> I think that's just a warning which you can ignore. If you really want to align stuff perfectly, you'd have to learn about the underlying disk alignment and change the partition sizes to line up with that.
b1000101 has joined #nixos
<{^_^}> [nixpkgs] @risicle opened pull request #94622 → pythonPackages.bsdiff4: init at 1.2.0 → https://git.io/JJrA8
knupfer has quit [Ping timeout: 260 seconds]
<daddy_james[m]> I got the ignored warning, it didn't cause any noticeably decreased performance
<zerocostabstrac4> <infinisil "ZeroCostAbstraction: programs.zs"> oh i have tried those, but since they treat newline differently, it got really weird to fit a 30 line function into one line :/
<infinisil> zerocostabstrac4: They shouldn't?
<{^_^}> [nixpkgs] @NeQuissimus pushed 6 commits to master: https://git.io/JJrA0
<matthewcroughan> daddy_james[m] ryantm do you think it would be beneficial on an NVME drive to use f2fs for the root fs?
<{^_^}> [nixpkgs] @NeQuissimus pushed 6 commits to release-20.03: https://git.io/JJrAu
boxscape has quit [Quit: Connection closed]
higemaru has joined #nixos
<daddy_james[m]> I don't know anything about f2fs so idk
<matthewcroughan> Ya, I'm just gonna use Ext4 unless I could benefit from ZFS in some way, which I think I could, but NixOS is particularly strange regarding ZFS ain't it?
smatting_ has joined #nixos
<higemaru> anyone familiar with connecting ios devices in nixos? I've installed `libimobiledevice` and `usbmuxd` as system packages, but it doesn't look like the usbmuxd systemd service is starting when I plug in my device. trying to follow the arch wiki guide for ios here, https://wiki.archlinux.org/index.php/IOS#Connecting_to_a_device
<ryantm> matthewcroughan: I believe f2fs is designed specifically for flash memory, so it might be better, but it is also less battle-tested than ext4.
lordcirth has joined #nixos
<infinisil> higemaru: Enable services.usbmuxd.enable
<infinisil> No need to install the packages yourself
<higemaru> ooooo
<higemaru> thanks infinisil
<infinisil> Let me know if it worked :)
<higemaru> so I don't need to install `libimobiledevice`?
<c0c0> ,locate pinentry
<{^_^}> Found in packages: pinentry, pinentry.qt, pinentry.tty, pinentry.gtk2, pinentry.emacs, pinentry.curses, pinentry.gnome3, rubyPackages.gpgme, rubyPackages_2_5.gpgme, rubyPackages_2_7.gpgme
smatting_ has quit [Ping timeout: 246 seconds]
<higemaru> is there any easy way to see what services can be enabled in NixOS?
<{^_^}> [nixpkgs] @NeQuissimus pushed to master « linux: Init 5.8 »: https://git.io/JJrAA
<zerocostabstrac4> <infinisil "ZeroCostAbstraction: They should"> https://hastebin.com/ivebacigib.bash
<zerocostabstrac4> unless i misunderstood you they just don't parse correctly without being in a single line
<infinisil> zerocostabstrac4: You need to first close the multiline string with '' before the }
<infinisil> Currently you have `programs.zsh = { interactiveShellInit = '' }''`
<infinisil> Oh the } belongs to zsh
<infinisil> Well add another one after '' then
gxt has quit [Quit: WeeChat 2.9]
<{^_^}> [nixpkgs] @NeQuissimus pushed to master « linux_hardened_latest: Keep 5.7 »: https://git.io/JJrxk
lordcirth_ has joined #nixos
lordcirth has quit [Ping timeout: 272 seconds]
<{^_^}> [nixpkgs] @NeQuissimus pushed to master « linux: Remove 5.6 »: https://git.io/JJrxO
seku has quit [Quit: Connection closed]
<infinisil> higemaru: No you don't need to install that manually. See `man configuration.nix` or https://nixos.org/nixos/options.html for all options
<{^_^}> [nixpkgs] @jonringer merged pull request #94483 → python3Packages.pyHS100: init at 0.3.5.1 → https://git.io/JJV0f
<{^_^}> [nixpkgs] @jonringer pushed 3 commits to master: https://git.io/JJrx0
lordcirth__ has joined #nixos
lordcirth_ has quit [Ping timeout: 246 seconds]
<zerocostabstrac4> <infinisil "Well add another one after '' th"> ah that was just me missing a line while copy pasting, the syntax error is complaining about the: in the second line of the function for some reason
LouisDK has joined #nixos
<LouisDK> Can someone give me an example of a nixpkgs where optional patches can be applied prior to compiling?
user_0x58 has quit [Remote host closed the connection]
<infinisil> zerocostabstrac4: Can you correct the paste?
<infinisil> zerocostabstrac4: Ideally just paste the whole file
<{^_^}> [nixpkgs] @RomanSharapov closed pull request #87861 → nixos/buildbot: enable configurable rotation of twistd.log files → https://git.io/JfBj7
noonien has joined #nixos
<zerocostabstrac4> aight lemme check
user_0x58 has joined #nixos
<zerocostabstrac4> https://hastebin.com/ubosidejik.bash infinisil
<higemaru> infinisil, successfully paired my ipad. thanks for your help!
<noonien> hello folks
<noonien> is it possible to statically link a package? i'm guessing this is done on a case-by-case basis
knupfer has joined #nixos
<noonien> for a C package, would overriding with `CFLAGS='-static';` do the trick?
<infinisil> zerocostabstrac4: Ah, you need to escape the `${1:-.}` there, since by default the thing inside ${} is interpreted as nix
<DigitalKiwi> infinisil: there's a string expansion
<infinisil> ,escape ${1:-.}
<{^_^}> Escape this in '' strings with: ''${1:-.}
<{^_^}> Escape this in " strings with: \${1:-.}
<DigitalKiwi> oh you saw :P
<infinisil> Yup just now :)
<infinisil> higemaru: Awesome, np :)
<{^_^}> [nix] @Ericson2314 opened pull request #3892 → Move ValidPathInfo to its own header → https://git.io/JJrpI
<zerocostabstrac4> wait how do i escape it
<zerocostabstrac4> dir=$(find `${1:-.}` -type d 2> /dev/null | fzf +m) && cd "$dir"
<zerocostabstrac4> didn't seem to change anything
sputny has quit [Remote host closed the connection]
<DigitalKiwi> dir=$(find ''${1:-.} -type d 2> /dev/null | fzf +m) && cd "$dir"
<{^_^}> [nixpkgs] @aanderse closed pull request #68353 → nixos/mysql: add authentication option → https://git.io/JeIFn
<zerocostabstrac4> aight that did it, thanks DigitalKiwi
<zerocostabstrac4> not gonna lie syntax is still hard for me
<DigitalKiwi> that one is confusing imo
<DigitalKiwi> ,escape ''
<{^_^}> Escape this in '' strings with: '''
<{^_^}> Escape this in " strings with: ''
<DigitalKiwi> :s
<zerocostabstrac4> oh wait that's "," to call the bot
<zerocostabstrac4> lmao
<emily> cole-h: sorry I missed your ping; in case you're still having emoji issues this is my font config, but it's kind of a mess: https://gist.github.com/emilazy/a227e07d03650c4e1dafde637ac53597
<DigitalKiwi> ,sg {^_^},escape '';
<{^_^}> [nixpkgs] @jonringer merged pull request #93182 → python3Packages.hwi: init at 1.1.2 → https://git.io/JJsAL
<{^_^}> [nixpkgs] @jonringer pushed commit from @prusnak to master « python3Packages.hwi: init at 1.1.2 »: https://git.io/JJrp4
<DigitalKiwi> :|
<DigitalKiwi> i tried not to spam the channel :(
knupfer has quit [Ping timeout: 240 seconds]
<matthewcroughan> Does anyone know if I'll see complications if I put F2FS on my root following all the install steps?
maier has joined #nixos
<DigitalKiwi> i couldn't get it to work on rpi
<matthewcroughan> Does arch matter?
<DigitalKiwi> u-boot
<matthewcroughan> Ah, well I'm on an x86 laptop, so should be fine right?
<DigitalKiwi> i don't think it supports it
<matthewcroughan> Stuff is supposed to be declarative, so I would hope so
lord| has joined #nixos
alp has joined #nixos
<DigitalKiwi> i'd just go with zfs myself :D
knupfer has joined #nixos
<matthewcroughan> DigitalKiwi on a single disk? But why :O
maier has quit [Ping timeout: 256 seconds]
LouisDK has quit [Remote host closed the connection]
tv has joined #nixos
<DigitalKiwi> FDE, snapshots
drakonis has quit [Ping timeout: 240 seconds]
<DigitalKiwi> sanoid/syncoid look good but i haven't set them up....
moet has joined #nixos
c0c0 has quit [Quit: WeeChat 2.7.1]
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<matthewcroughan> DigitalKiwi Yes, but the snapshotting is redundant with NixOS because of what Generations are, isn't it?
<DigitalKiwi> no
<DigitalKiwi> well
<DigitalKiwi> if you only use it for root and not home i guess it's kind of but still not really?
<matthewcroughan> Also, look at DAT application startup time
<matthewcroughan> Read it. What about it.
knupfer1 has joined #nixos
<DigitalKiwi> uses zfs snapshots
knupfer has quit [Ping timeout: 240 seconds]
knupfer1 is now known as knupfer
<matthewcroughan> The installation guide for NixOS does not describe FDE. Is it something I have to do before I install?
<DigitalKiwi> i'm not here to convince you to use it i personally don't care
<matthewcroughan> Or is it something I can later apply?
<DigitalKiwi> i set up with native encryption at install time
<matthewcroughan> I've used LUKS before, but I had to do lots with initramfs
<DigitalKiwi> based on an older version of this https://github.com/a-schaefers/themelios
<matthewcroughan> So how do I set it up? At what stage do I need to concern myself with it?
user_0x58 has quit [Ping timeout: 240 seconds]
<DigitalKiwi> ostensibly at that step i would add flags to add encryption and passphrase
<DigitalKiwi> so: at pool creation
<matthewcroughan> ya but I want to use F2FS because of performance
<matthewcroughan> so I'm not using ZFS on a single disk, because I don't value it for a single disk atm
sangoma has quit [Ping timeout: 246 seconds]
<DigitalKiwi> i don't have problems with performance
drakonis has joined #nixos
<matthewcroughan> Nor do I. I just want the most of it.
<DigitalKiwi> ok
<matthewcroughan> It's quite a bit better, if you look at the phoronix graphs I sent you :D
knupfer1 has joined #nixos
<DigitalKiwi> they didn't bench zfs?
<matthewcroughan> They didn't. But I know ZFS will not be better. Intuitively.
teto has quit [Quit: WeeChat 2.9]
<DigitalKiwi> ok
<matthewcroughan> IDK actually.. Hmm
<matthewcroughan> If you think about it, won't it cache it in ram via the L2 arc?
<DigitalKiwi> yes
dermetfan has quit [Ping timeout: 240 seconds]
<DigitalKiwi> zfs performance is generally quite good
knupfer has quit [Ping timeout: 246 seconds]
knupfer1 is now known as knupfer
<Mic92> well according to those stats, xfs seems the fastest in the trustworthy benchmarks
<Mic92> like fio
<DigitalKiwi> zfs has a lot more to offer than just lots of disks or performance. and i value my data a lot more than i value a fraction of a second startup time from phoronix benchmarks...
<Mic92> Was f2fs not designed for storage without FTL?
<Mic92> I value zfs robustness w.r.t. crashes and snapshots
<DigitalKiwi> zfs auto snapshots have saved me a number of times from oopses
knupfer1 has joined #nixos
<matthewcroughan> DigitalKiwi Yes but the benefit of that is lost on a single disk
<DigitalKiwi> no
<Mic92> it's human error mostly
<matthewcroughan> It's going to be no better at keeping my data integrity than any other FS, measurably
<matthewcroughan> It is *slightly* better
<matthewcroughan> You can add the copies property to a dataset, therefore increasing the chance of recovery on a single disk, but cmon
<matthewcroughan> it's a single disk, you can only do so much.
<Mic92> also snaphots make it easier to make backups that are consistent
<DigitalKiwi> yeah i'm not talking about disk failures
<Mic92> because data can change while the backup is made
seanparsons has quit [Quit: ZNC 1.7.5 - https://znc.in]
<Mic92> rm -rf /usr /lib/oops
<matthewcroughan> Alright, I'm convinced. Now I have already set up my disk for F2FS, so God Dang it y'all better help me out :P
<DigitalKiwi> i'm talking about i delete a file or modify it in a way i don't like or inkscape corrupts something i'm working on for hours when it coredumps...
knupfer has quit [Ping timeout: 256 seconds]
knupfer1 is now known as knupfer
<DigitalKiwi> and syncoid/sanoid/znapzend (though znapzend i guess won't work for my setup) help with backups
<DigitalKiwi> or just regular zfs send/recv
<DigitalKiwi> ...when you do them right *grumbles*
<{^_^}> [nixpkgs] @jonringer merged pull request #94622 → pythonPackages.bsdiff4: init at 1.2.0 → https://git.io/JJrA8
<{^_^}> [nixpkgs] @jonringer pushed 2 commits to master: https://git.io/JJrhm
simba1 has quit [Ping timeout: 272 seconds]
<matthewcroughan> > That's a fair complaint, but is a problem with lack of freespace, not partition size. ZFS, btrfs, and several other file systems struggle when the partition surpasses a certain level of full, even on several TB arrays. These file systems have their place, but that place is usually "kept below 50% utilization." I do disagree with SuSe and Ubuntu
<matthewcroughan> choosing this file system as default for desktop users, but it's a great fit for my home server.
<{^_^}> error: syntax error, unexpected ',', expecting ')', at (string):318:24
seanparsons has joined #nixos
<DigitalKiwi> i've only heard 15% for zfs
<matthewcroughan> Yes. I get it. But maybe you shouldn't use ZFS on an SD card for example.
<DigitalKiwi> anyway you could always do your f2fs root ans zfs home if you wanted
<matthewcroughan> I mean, God knows I've tried, it was insane.
<DigitalKiwi> i primarily use it on my laptop, file server, and external drives. not sd cards :P
<matthewcroughan> DigitalKiwi that soundsm ore reasonable!
<{^_^}> [nixpkgs] @dadada opened pull request #94624 → nixos/dokuwiki: fix path to ACL → https://git.io/JJrhC
<matthewcroughan> Do you use ZFS on Root?
<DigitalKiwi> yes
numkem7 has joined #nixos
<DigitalKiwi> i have snapshots disabled on root
<matthewcroughan> Has it been a pain for you when upgrading or doing anything with the system?
<DigitalKiwi> no
knupfer1 has joined #nixos
knupfer has quit [Ping timeout: 240 seconds]
knupfer1 is now known as knupfer
<DigitalKiwi> the only time i had an issue was pebcak as i had sync=always and it was incredibly slow to do say nix-collect-garbage and it took a while for me to realize why it was so much worse than my other systems
<DigitalKiwi> sync=standard = happy kiwi
<Ashy> I was caught out when the latest kernel broke zfs a couple years ago
smatting_ has joined #nixos
numkem7 is now known as numkem
<Ashy> I swapped to btrfs soon after that
<noonien> is there a way to compile a C package statically?
<noonien> settings CFLAGS or LDFLAGS to "-static" does not seem to work
<DigitalKiwi> and if you have the ram you can tune the cache to give a lot of cache hits ;D
<{^_^}> [nixpkgs] @markuskowa merged pull request #94279 → limesuite: 20.01.0 -> 20.07.1 → https://git.io/JJ2zY
<{^_^}> [nixpkgs] @markuskowa pushed 2 commits to master: https://git.io/JJrhu
user_0x58 has joined #nixos
rgrau has quit [Ping timeout: 246 seconds]
<DigitalKiwi> zfs on root is maybe not recommended i may be lucky in not having problems
knupfer1 has joined #nixos
* DigitalKiwi goes to write haskell
knupfer has quit [Ping timeout: 240 seconds]
knupfer1 is now known as knupfer
<{^_^}> [nixpkgs] @magnetophon closed pull request #93014 → ardour: 6.0 -> 6.2 → https://git.io/JJOqU
<matthewcroughan> DigitalKiwi I've never actually made a separate home partition, how does it work?
<matthewcroughan> I have to actually allocate space to be used by Home?
<matthewcroughan> I can run out of Home space before root runs out of space? This is why it's complex and easier to just do a full ZFS on root.
erasmas has quit [Quit: leaving]
knupfer1 has joined #nixos
<cransom> i've not had a problem with zfs root on my systems.
knupfer has quit [Ping timeout: 246 seconds]
knupfer1 is now known as knupfer
<matthewcroughan> cransom is there a guide that walks you through setting it up on a system from the start of base install?
<matthewcroughan> Ah man you're right. I love ZFS. I forgot about the compression. DigitalKiwi
<matthewcroughan> cransom Oh that's an install guide? I shoved it off thinking it was all about other stuff like configuration.
<cransom> i don't think there's really that much difference between installation versus configuration on nixos. installation is formatting some drives, then it's all configuration.
<{^_^}> [nixpkgs] @markuskowa merged pull request #94116 → linuxptp: 2.0 -> 3.0 → https://git.io/JJu4K
<{^_^}> [nixpkgs] @markuskowa pushed 2 commits to master: https://git.io/JJrhp
<{^_^}> [nixpkgs] @markuskowa merged pull request #94227 → soapyremote: 0.5.1 -> 0.5.2 → https://git.io/JJgD5
<{^_^}> [nixpkgs] @markuskowa pushed 2 commits to master: https://git.io/JJrjv
knupfer has quit [Ping timeout: 264 seconds]
<{^_^}> [nixpkgs] @volth closed pull request #68280 → produce cleaner /etc/hosts → https://git.io/fjjpE
stephaneyfx has quit [Remote host closed the connection]
stephaneyfx has joined #nixos
<{^_^}> [nixpkgs] @herrwiese opened pull request #94625 → bpytop: init at 1.0.0 → https://git.io/JJrjU
<{^_^}> [nixpkgs] @LouisDK1 opened pull request #94626 → ephemeral: Patch to disable paid and native infobars → https://git.io/JJrjT
<matthewcroughan> cransom There's subtle stuff that I can't wrap my head around since I'm not a professional on filesystem quirks.
<DigitalKiwi> matthewcroughan: oh yeah compression is <3
<matthewcroughan> For example, in order to utilise f2fs, you need boot.initrd.supportedFilesystems = [ "f2fs" ]; and boot.supportedFilesystems = [ "f2fs" ];
<matthewcroughan> This is not going to be explained to people in a nice guide, but it really ought to be.
<matthewcroughan> I bet there's things like this that I'm just not considering.
<noonien> are flakes in a stable branch of nix?
<matthewcroughan> Has anyone got any ReiserFS benchmarks?
<Fare> Is there a good reason why the cp -dR ... command in pkgs/build-support/docker/default.nix isn't using the -l flag?
proofofkeags has quit [Remote host closed the connection]
<ryantm> matthewcroughan: I've used f2fs on my NixOS laptop for a couple years now without issue. I haven't noticed it to be honest.
<ryantm> noonien: No.
<noonien> i see, thank you
eoli3n has joined #nixos
__monty__ has quit [Quit: leaving]
arjen-jonathan has quit [Ping timeout: 260 seconds]
proofofkeags has joined #nixos
domogled has quit [Quit: domogled]
<{^_^}> Channel nixpkgs-unstable advanced to https://github.com/NixOS/nixpkgs/commit/76f2e271a2e (from 7 hours ago, history: https://channels.nix.gsc.io/nixpkgs-unstable)
<{^_^}> [nixpkgs] @ryantm merged pull request #94536 → nomacs: 3.15.1616 -> 3.16.224 → https://git.io/JJV5u
<{^_^}> [nixpkgs] @ryantm pushed 2 commits to master: https://git.io/JJrjD
<matthewcroughan> DigitalKiwi I don't quite understand Themelios
<matthewcroughan> Should I copy the configuration.nix from the default nixOS install guide? Then use it against themelios?
<DigitalKiwi> i use an older revision of it i modified slightly
<DigitalKiwi> mostly i used it to get zfs working because i had trouble figuring it out
<matthewcroughan> in the configuration.sh example there is `zfs_encrypt_home="false"` what does this mean?
<matthewcroughan> Does this mean the whole disk is not encrypted?
<DigitalKiwi> i don't think it uses whole disk encryption
<matthewcroughan> You said you had your whole disk encrypted?
<DigitalKiwi> the version i have had overlays for the zpool and i modified it (it's essentially that line i showed earlier)
<DigitalKiwi> right i don't use themelios exactly as is/was
<noonien> this is what i used to setup a zfs root with full disk encryption: http://ix.io/2t7J
<noonien> matthewcroughan: ^
<matthewcroughan> Very nice
<DigitalKiwi> the first time i used it for this laptop i just used it to get something started
<matthewcroughan> So I should just copy the configuration.nix from the default install guide?
<noonien> i'm not using zfs anymore, it had some stability issues
<matthewcroughan> See, I knew it :D
<matthewcroughan> Finally someone that will admit it!
<DigitalKiwi> i haven't had issues so there's nothing to admit :|
<DigitalKiwi> i did say that it's not recommended to zfs on root though ;)
<noonien> i used to experience some lockups
<DigitalKiwi> did you use swap on zfs
<noonien> however, i would prefer to have zfs on my /home, but i've not set that up yet
<noonien> no, i don't like swap
<DigitalKiwi> oh
<noonien> using swap*
<DigitalKiwi> that can cause lockups
<noonien> a zfs kernel thread used to lockup, i'm not sure what caused it
<DigitalKiwi> huh
<DigitalKiwi> how long ago was that
orivej has joined #nixos
<noonien> it's on a laptop, 5G arc ram was probably not enough
<noonien> hmm, i think a few months ago, on the latest stable brannch
<noonien> i didn't get the lockups that often, maybe 2-3 times a month, but they always required a reboot
<jasom> For future reference, let's say I run 'nix-env -u' while online, then later while offline, I try to run a nix-shell that worked before the 'nix-env -u' was run and it fails because it wants newer versions of various derivations. Is there a way to run with the old versions of the derivations (assuming they haven't been cleaned up yet)?
<noonien> `ping -c1 google.com && nix-env -u` will not solve your issue, but will test for an internet connection before updating
<{^_^}> [nixpkgs] @jtojnar merged pull request #94621 → real_time_config_quick_scan:unstable-2020-08-03 -> unstable-2020-07-23 → https://git.io/JJrbT
<{^_^}> [nixpkgs] @jtojnar pushed commit from @magnetophon to master « real_time_config_quick_scan:unstable-2020-08-03 -> unstable-2020-07-23 »: https://git.io/JJrjj
<DigitalKiwi> also lorri may be of use
christianbundy has quit [Quit: WeeChat 2.9]
<jasom> noonien: yeah, I ran nix-env -u successfully a few days before, but I didn't fetch all of the inputs for one of the shells for when I was offline
<ryantm> jasom: You could try rolling back your user environment.
quinn has joined #nixos
<jasom> slight brain-fart it probably wasn't the nix-env -u that caused problems, but updating the channel.
<jasom> can I roll back the channel?
proofofkeags has quit [Remote host closed the connection]
orivej has quit [Ping timeout: 240 seconds]
<pikajude> can i share the nix store with a qemu image?
<pikajude> i'm running another OS in qemu and i don't want to copy a ton of build products into the qemu disk image when they already exist on the host fs
gustavderdrache has joined #nixos
Rusty1 has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
orivej has joined #nixos
wallacer3 has quit [Ping timeout: 240 seconds]
wallacer3 has joined #nixos
abathur has quit [Quit: abathur]
<matthewcroughan> DigitalKiwi I just cannot figure this out lmao. I must be braindead.
<matthewcroughan> Too many moving parts.
<matthewcroughan> I do not understand how Themelios does FDE.
<DigitalKiwi> don't say things like that this stuff isn't easy
<DigitalKiwi> the one on the repo does not
<matthewcroughan> Oh so your modification *was* the FDE bit.
<DigitalKiwi> yes
<DigitalKiwi> and it was to an older version
<Fare> Does anyone understand dockerTools.buildImage ? It looks like it's duplicating all packages between / and /nix/store
<matthewcroughan> noonien is that snipped you gave me on ix.io from some github example or code snippet from a tutorial?
<matthewcroughan> it has markdown code highlighting
<noonien> matthewcroughan: it's from my nixos config, in a README.md
<DigitalKiwi> hold on my config isn't public
<Fare> aha, I see a keepContentsDirlinks variable and a suspicious rsync command with it
<matthewcroughan> Link noonien? :D
<noonien> matthewcroughan: that file is not public atm
Rusty1 has joined #nixos
<DigitalKiwi> that overlay file i don't think newer themelios have
<noonien> but here's my nix config: https://github.com/noonien/nixos-config it's a bit outdated
<DigitalKiwi> see lines 13:14
<DigitalKiwi> you could do most of this by hand
<noonien> i will updated it at some point, but i need to figure out a way to keep secrets i like, and have some time to implement it
<DigitalKiwi> well, all of it
<DigitalKiwi> it's just annoying
proofofkeags has joined #nixos
<noonien> i never need to reinstall, so i don't have a script for that
<matthewcroughan> DigitalKiwi >I'd like to say it should be set by default, but so far I don't think there's any way to declaratively set ZFS attributes.
<{^_^}> #16954 (by Baughn, 4 years ago, closed): journalctl refuses to read user logs
<matthewcroughan> See it's things like this. What exactly is the recourse when these issues are fixed?
<noonien> and, unless you're planning a buggy system, i suggest you don't waste much time to do it either. it's just a one time thing. just make sure you take a note of what you did in case something breaks
euandreh has quit [Ping timeout: 272 seconds]
orivej_ has joined #nixos
orivej has quit [Ping timeout: 264 seconds]
Neo--- has quit [Ping timeout: 240 seconds]
o1lo01ol1o has quit [Remote host closed the connection]
<DigitalKiwi> yeah like noonien says i've only used the script like twice and on this machine and the second was because a new drive :P
<DigitalKiwi> it was more of a guide
polezaivsani has quit [Quit: ERC (IRC client for Emacs 26.3)]
* Fare also sees a lot of --hard-dereference... why?
o1lo01ol1o has joined #nixos
<matthewcroughan> DigitalKiwi your script doesn't do refreservation
<matthewcroughan> is that an oversight?
<DigitalKiwi> do what
<matthewcroughan> zfs set refreservation=none zroot/reserved
<DigitalKiwi> i didn't write the script so i don't know
proofofkeags has quit [Ping timeout: 260 seconds]
eoli3n has quit [Ping timeout: 240 seconds]
<matthewcroughan> When you run out of space, you are going to be unable to delete files.
<noonien> each zfs system is configured differently, depending on what the user needs, that might not be a useful feature to the person that wrote that script
<DigitalKiwi> oh i don't run out of space
<matthewcroughan> Do we care about atime?
<DigitalKiwi> but i should probably have that just in case eh ;P
<matthewcroughan> I want speed :D
<matthewcroughan> atime reduces speed right
<{^_^}> [nixpkgs] @PlushBeaver opened pull request #94630 → mingw-w64: 5.0.4 -> 6.0.0 → https://git.io/JJovM
<DigitalKiwi> it causes more writes i think?
<matthewcroughan> ya I definitely want to turn that off
<matthewcroughan> I should probably be doing this all myself rather than writing a script :think
<noonien> yeah, writing a script is probably a waste of time. just take a note of your commands, and eventually put in some comments
<DigitalKiwi> imo the most important part is the dpaste and the mount points
<noonien> even when changing drivers, you should be able to just dd the old data into the new drive
o1lo01ol1o has quit [Ping timeout: 256 seconds]
<noonien> (possible)
<noonien> s/le/ly
<matthewcroughan> noonien So this is what I was confused about. Your thing shows LUKS being used for the FDE. Is this still the case?
<matthewcroughan> ZFS doesn't take over encryption, right?
alp has quit [Remote host closed the connection]
<noonien> ZFS has encryption, but i prefer luks
alp has joined #nixos
<noonien> i'm not familliar with linux's implementation of zfs, so i don't trust it's encryption much
<noonien> luks is a pretty tried and tested piece of software
<matthewcroughan> So is Ext4 :P
<clever> zfs crypto also wont encrypt the names of datasets
<hexa-> uhm, linux's implementation of zfs?
<hexa-> it's openzfs's encryption
<hexa-> and openzfs is used on more os than linux
<noonien> i see, i was not aware it was running on kernels other than linux, TIL
<noonien> matthewcroughan: ext4 is what i run currently. i really loved zfs snapshots though
<noonien> well, loved/hated
<noonien> my laptop only has 512GB ssd, not enough for my data + zfs
<matthewcroughan> I want to use ZFS just to get used to the functionality.
<matthewcroughan> Since I want to use it more
<matthewcroughan> If I don't use it on my laptop, I may never get used to it
<noonien> good software doesn't usually require much maintenance, and that's the case with zfs as well
<noonien> unless you play with it, but still, once you get your setup down, you won't be touching it that much
<noonien> afaik, people usually run zfs on freebsd nas'
<matthewcroughan> It's already the case on a zpool I have set up on my NAS/Proxmox box
<matthewcroughan> Now that Truenas Scale is out, I'm excited to use FreeNAS again
<matthewcroughan> I just can't stand the lack of Docker and Gluster stuff on FreeBSD. It's not fair.
devalot has quit [Quit: ZNC - http://znc.in]
<noonien> there you go. i actually started writing my own fs, because i don't particularly like the features of any available one. sadly that's on pause because of lack of resources
<cole-h> emily++ Thanks, I'll take a look. With your config, if you look up "joy emoji", are all the results color emoji, or are some B&W?
<{^_^}> emily's karma got increased to 31
<matthewcroughan> noonien what kind of resources do you need? Protein?
<noonien> hehe, time and manpower
<cransom> i had a freenas machine, from iX even. but, i miss nothing of it after moving my storage stuff onto nixos.
<noonien> a fs is not an easy thing to implement, even a higher level one
<cransom> from what i remember from undergrad, even a low level one sucks real hard.
<noonien> depends on what you need, really
<matthewcroughan> cransom friend from iX says "we'll sell him machines for nixos too if he wants :wink:"
alp has quit [Ping timeout: 246 seconds]
<cransom> i worked at at a place, many years ago that was entirely an ix customer. the service was great. even after i left that company, i would still check in with them for quotes/purchases on stuff.
<noonien> i don't care that much about performance for my FS, machines are REALLY fast these days. i would prefer to have a non-slow fs as long as it was distributed, encrypted, and had some must-have features like snapshots and deduplication with content defined chunking
<noonien> sadly, i couldn't find a CDC that performed very well, but there are some that preform decently
<noonien> perform*
<noonien> and, distributed anything is a PITA to develop and architect
simukis_ has joined #nixos
asymptotically has quit [Quit: Leaving]
<{^_^}> [nixpkgs] @worldofpeace merged pull request #93847 → linuxPackages.xpadneo: 0.8.1 -> 0.8.2 → https://git.io/JJRtJ
<{^_^}> [nixpkgs] @worldofpeace pushed 2 commits to master: https://git.io/JJofP
<matthewcroughan> noonien yeah, have you ever tried to use syncthing for anything more than basic stuff on multiple systems
<matthewcroughan> a big mess
<matthewcroughan> noonien Anyway, your script is straight forward.
<noonien> it is. concurrent changes are hard to implement. my fs has branches, more like a git repo, it's not really like syncthing or dropbox. this makes for a simple implementation, and it still allows easy read-only sharing. read-write sharing can be solved at a different level, even for simple concurrent edits
<matthewcroughan> The problem with your script is that it doesn't cover *everything* outlined in the guide.
<matthewcroughan> So, what do I have to setup at creation time, and what do I not have to set up at creation time?
<matthewcroughan> What can I set up *after* the fact
<matthewcroughan> Should I use your script, then install NixOS, then tweak ZFS?
<matthewcroughan> I need a path forward here, I'm getting nothing done :D
maier has joined #nixos
<noonien> well, the script i gave you should get you from a partitioned disk, to a state in which you should be able to just run `nixos-generate-config --root /mnt` and `nixos-install`
<noonien> yes, you can do any tweaks you want, after that
<matthewcroughan> at which point I can go in and start figuring out what bits of the nixos guide I want to enable right?
<matthewcroughan> like the reservations
<matthewcroughan> or snapshotting
<noonien> yup
<noonien> i had some more tweaks, for zfs, i think, but they usually evolve over time
xd1le has joined #nixos
<DigitalKiwi> as long as you don't want to change things that have to be set at pool creation time a lot(most?) zfs settings can be changed later
<DigitalKiwi> or some settings are data set creation time...in which case if you have the space...
<DigitalKiwi> like say you wanted to enable dedup
<DigitalKiwi> it's only on writes
maier has quit [Ping timeout: 264 seconds]
b1000101 has quit [Quit: Lost terminal]
<matthewcroughan> DigitalKiwi that's the hard part
<matthewcroughan> It's why I can't move forward
<matthewcroughan> I don't know what cannot be set after this creation time
<DigitalKiwi> i think there's a wiki
<noonien> don't worry about it too much
<noonien> you can reinstall your system a few times
<noonien> you're installing nixos anyway
<matthewcroughan> is atime a creation time option?
<noonien> once you have your configuration.nix, getting nixos up and running again is nothing
<matthewcroughan> Oh no way
<bqv> is graalvm not cached?
<matthewcroughan> so you're saying my disk configuration is now 100% beside the point
mbrgm has quit [Ping timeout: 260 seconds]
<{^_^}> [nixpkgs] @kalbasit closed pull request #94588 → swm: init at 0.4.0-alpha1 → https://git.io/JJwrX
proofofkeags has joined #nixos
mbrgm has joined #nixos
orivej_ has quit [Ping timeout: 240 seconds]
ManiacOfMadness has joined #nixos
<noonien> no, i'm saying that once you setup your configuration.nix, you can install nixos however many times you want, fast and easy, you can wipe your disk, and, as long as you have your configuration.nix, you can get your nixos install 1:1 like it was before (with the exception that you will lose any data not directly specified in configuration.nix, like, your /home folder)
philr has joined #nixos
<matthewcroughan> haha noonien ix.io/2t7g
<matthewcroughan> I accidentally put g instead of j
<matthewcroughan> and I got someone's armbian dmesg lmfao
<noonien> once you have your configuration.nix file, you can install nixos on as many machines as you like, with exact same configuration/packages
<matthewcroughan> yes, but I did not realise that disk state was outside of .nix
<matthewcroughan> I didn't realise the disk was not a part of configuration.nix
<noonien> yeah, it's crazy what you can find in some pastebins
<noonien> mount points are, but nixos does not manage your disk apart from that
<noonien> some people even wipe their entire nixos root on every bood
<matthewcroughan> ya, that's a jump in learning for me
<matthewcroughan> I think it'd do people good to learn this earlier
<noonien> hehe, my first install of nixos was on zfs with FHE as well :D
<matthewcroughan> you're taught by the traditional paradigm to worry a lot about your disk state
<matthewcroughan> FHE?
<noonien> but i did it in a VM first, then just did the same on my laptop
<matthewcroughan> FDE you mean?
<noonien> yes, sorry
<eyJhb> I have this - https://termbin.com/i58v where I declaue a testingOverrides = {}; but then I get this error cannot coerce a set to a string, at /etc/nixos/channels/nixpkgs/pkgs/stdenv/generic/make-derivation.nix:192:11 . I am not using it any places in my Nix code
<matthewcroughan> my laptop is way too slow to handle a VM
<matthewcroughan> just slow as tits
<matthewcroughan> lol got too comfy, sorry for swearing :D
<noonien> well, you have to worry about your disk state, but, nixos is easy to get up and running again, with basically the same state
proofofkeags has quit [Ping timeout: 260 seconds]
<noonien> nixos takes care of most of your system configuration, but it doesn't do anything with persistent data
<noonien> so, if you install mysql for example, and you nuke your drive, and install nixos again, you'll have the same mysql installed, but no data in it
cosimone has quit [Ping timeout: 260 seconds]
<matthewcroughan> I'm very used to this concept with docker.
<matthewcroughan> but this is baremetal, so the concept doesn't map over 1:!
<matthewcroughan> 1:1*
<noonien> think of your configuration.nix as basically a Dockerfile, but on steroids
<matthewcroughan> I understand at a high level, but I still don't understand the full scope of the config.nix
<matthewcroughan> e.g I understand that .nix is MyComputer. And just like you'd compile a c++ app with gcc, you're compiling your computer.
<bqv> oh come on, are you taking the piss https://hydra.nixos.org/build/124489681
<noonien> its purpose is to build the OS
<matthewcroughan> MyOS.nix, compile it, it can be in whatever format allowed by the nixos-generators
<bqv> gchristensen: ^ is that normal?
<matthewcroughan> lxc was a target, I was so amazed by that
<bqv> that seems bad
<DigitalKiwi> i read a lot about zfs before i first used it
<bqv> especially since graal is such a long compile
<noonien> well, configuration.nix is not your compute, it's your OS
<matthewcroughan> I mean my OS, when I say that.
<matthewcroughan> But how analogous is it really to a compiler?
<DigitalKiwi> bqv: welcome to the world of aarch64 ghc
efriend has quit [Quit: Mon Aug 3 19:37:20 2020]
<noonien> do you have any experience with bazel, or meson?
efriend has joined #nixos
<matthewcroughan> Nope. Explain in a sentence or two if you feel up to it :P
<bqv> DigitalKiwi: huh? this is x64
<{^_^}> [nixpkgs] @marsam merged pull request #94605 → haproxy: 2.1.7 -> 2.2.2 → https://git.io/JJwNk
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/JJoJZ
<noonien> nix is a build system, not a compiler
<DigitalKiwi> bqv: it also fails because it is too big
<bqv> that seems expressly dumb
<matthewcroughan> Alright, so is it more comparable to Yocto/OpenEmbedded or Buildroot?
<noonien> you basically give it a recipe (the .nix file), and it has an output, that output, in the case of nixos, is an OS
<noonien> yes, exactly
sigmundv has joined #nixos
<matthewcroughan> I'm working for a company now that deals with Yocto/OE
<matthewcroughan> And I'm a JR Engineer, so learning still, a lot of learning to do. But I unconditionally love Nix, before I've even used it. Is that normal? :P
euandreh has joined #nixos
<matthewcroughan> It just seems like an unbeatable concept.
<bqv> it's not even built on stable
<noonien> it appears to be, but it's not something i'm fond of :D
<eyJhb> bqv , DigitalKiwi any ideas?
<noonien> i prefer people to like stuff they've tried. i can't say i like nix/nixos, but out of all the other OSs/build systems, it's, by far, the one i hate the least
<matthewcroughan> Installing Nix and using Nix-Build has been a dream. Good luck doing the same for OE.
<noonien> s/like/love
<bqv> eyJhb: ?
<matthewcroughan> >The one I hate the least
<matthewcroughan> We can't love anything, not even our children. We can only hate them less than other things.
<noonien> i don't think i could even go back to an OS that doesn't have a build system similar to nix
<eyJhb> Hoped you cold be a Nix ninja bqv , having a weird issue
<eyJhb> Have this file - https://termbin.com/iscb that uses this https://termbin.com/0fla gives this
<eyJhb> error: while evaluating the attribute 'testingOverrides' of the derivation 'Signal-unspecified' at /etc/nixos/channels/nixpkgs/pkgs/stdenv/generic/make-derivation.nix:192:11:
<eyJhb> cannot coerce a set to a string, at /etc/nixos/channels/nixpkgs/pkgs/stdenv/generic/make-derivation.nix:192:11
euandreh has quit [Remote host closed the connection]
euandreh has joined #nixos
<bqv> eyJhb: `args //`
<bqv> testingOverrides ends up being a derivation attr
<bqv> which means the builder will try and stringify it
<Fare> noonien, what would you like?
m0rphism has quit [Ping timeout: 256 seconds]
<eyJhb> Soo, filterargs, or is there a better way bqv ?
<noonien> hmm, right now, perhaps a revamped nix/nixpkgs that learned from all of its experiences so far?
devalot has joined #nixos
<bqv> eyJhb: easy fix, set testingOverrides manually in that derivation. medium fix, use `removeAttrs args [ "testingOverrides" ] //` instead of `args //`, hard fix, remove the need for args or testingOverrides entirely
<noonien> nix could take a bit of inspiration from dhall, but, i still prefer nix, by a lot. i think the nixpkgs developers would do a lot of improvements if they had a clean slate
<eyJhb> `removeAttrs` seems like the best
<eyJhb> Thanks! :D
<Fare> noonien, what *kind* of changes / learnings / etc. ?
<eyJhb> I just noticed when you wrote it
<Fare> examples?
<Fare> how do you compare GUIX?
<daddy_james[m]> so that firmware I tried yesterday didn't work so I decided to just take the debian firmware and plop it into nixpkgs
<daddy_james[m]> how would I test that?
<matthewcroughan> GUIX is like HURD
<matthewcroughan> Ongoing.
<daddy_james[m]> I'd imagine ```nix-build -A libfoo``` wouldn't work since it's firmware
<matthewcroughan> It doesn't have the community nix has, even if it's competent. All my friends in the middle of the Wales countryside are using Nix haha.
<daddy_james[m]> so how would I include my version of nixpkgs in my configuration.nix
<noonien> i've not used GUIX. i find lisp hard to read. as far as what kind of changes would make me like nix/nixpkgs more, i'm not sure i could comment on that. i know architecture is hard. and nix/nixpkgs is more than decent at doing what it's supposed to be doing. perhaps a bit more decoupling? nixpkgs is a pretty big monolith. flakes will help with this. perhaps a bit of type safety?
<{^_^}> [nixpkgs] @romildo pushed 2 commits to master: https://git.io/JJoJ5
<{^_^}> [nixpkgs] @romildo merged pull request #94543 → papirus-icon-theme: 20200702 -> 20200801 → https://git.io/JJVAK
<infinisil> noonien: I have a ton of ideas for how nixpkgs could look if we started clean
<infinisil> There's definitely a lot of potential there
<noonien> i'd also perhaps prefer to have more of nixpkgs lib in nix itself. and have cross-compilation be a walk in the park (perhaps i don't understand it perfectly, but deps* is pretty hard to get, imho)
<M0-[m]> is anyone here using flakes? I want to know if it's worth using despite being experimental
<emily> cole-h: unfortunately my nixos laptop is currently dead so I can't check :/ but e.g. pretty much everything on emojipedia that wasn't from the most recent unicode update looked fine, as did emoji in UI elements, random webpages, etc.
<cole-h> emily: :( Alright, thanks. I'll experiment with what you have sometime soon-ish.
yui79 has joined #nixos
<emily> cole-h: I used noto color emoji before switching to twemoji so it should work fine as long as you replace the relevant bits
<emily> it's just kind of a monolithic config
<noonien> i'm also not very fond of everyone translating every config file into nix options, i get why that helps sometimes, but i think it's better to just let nix tie things together, instead of re implementing every configuration mechanism for every program. i'm talking about all nix -> [yaml, json, ini, toml, etc] implemented in nix, especially those that aren't used in nixos modules.
<infinisil> noonien: Check out rfcs#42, #75584 and #82743
<{^_^}> https://github.com/NixOS/rfcs/pull/42 (by Infinisil, 1 year ago, open): [RFC 0042] NixOS settings options
<{^_^}> https://github.com/NixOS/nixpkgs/pull/75584 (by Infinisil, 33 weeks ago, merged): Configuration file formats for JSON, INI, YAML and TOML
<{^_^}> https://github.com/NixOS/nixpkgs/pull/82743 (by Infinisil, 20 weeks ago, open): Freeform modules