gchristensen changed the topic of #nixos to: NixOS 18.09 released https://discourse.nixos.org/t/1076 || 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/ || #nixos-dev, #nix-darwin, #nixos-aarch64, #nixos-chat, #nixcon ... nixcon videos: https://tinyurl.com/nixcon2018
romanofskiWork has quit [Ping timeout: 268 seconds]
romanofs1iWork has joined #nixos
pie___ has quit [Remote host closed the connection]
pie___ has joined #nixos
esmerelda has joined #nixos
<esmerelda> hey, I'm fighting with my touchpad, and I can't seem to get it to work
<esmerelda> I'm using libinput. it shows up as ETPS/2 Elantech Touchpad
lokado has joined #nixos
<esmerelda> I see from xinput that the device is disabled. I tried to enable it manually but I see in the logs that it says it couldn't enable it.
<esmerelda> anyone have experience waging war on mice?
w-spc-gir has quit [Remote host closed the connection]
ZaraChimera has joined #nixos
hedning has quit [Quit: hedning]
rardiol has left #nixos [#nixos]
hamishmack has joined #nixos
doyougnu has quit [Quit: WeeChat 2.2]
etbe has joined #nixos
rardiol has joined #nixos
<etbe> How do I get NixOS to use text mode only so I can run kvm with -display
<etbe> +curses? "set gfxpayload=text" in grub.cfg makes the kernel start in text mode,
<etbe> +but then later in the boot process it switches to 1024*768 graphics mode
apaul1729 has quit [Remote host closed the connection]
<elvishjerricco> etbe: You have to disable vesafb, efifb, and make sure you don't load graphics drivers.
rardiol has quit [Remote host closed the connection]
rardiol has joined #nixos
<rardiol> why are the nixbld{0..32} users showing up on ubuntu login screen?
marsam has quit [Remote host closed the connection]
dermetfan has quit [Ping timeout: 268 seconds]
<etbe> elvishjerricco: thanks for the suggestion, seems that loading bochs_drm is the cause of that part of the problem.
<ottidmes> rardiol: maybe because they fall into a certain uid range, maybe you can configure Ubuntu to change this range, or you could modify the uids of the nixbld users
<{^_^}> [nixpkgs] @worldofpeace merged pull request #52535 → plano-theme: 3.30-1 -> 3.30-2 → https://git.io/fpjPE
<{^_^}> [nixpkgs] @worldofpeace pushed commit from @romildo to master « plano-theme: 3.30-1 -> 3.30-2 »: https://git.io/fhekO
<elvishjerricco> etbe: This is what I did on my system to get GPU passthrough working: https://gist.github.com/ElvishJerricco/2826ec625b359b3e67e81d2db8b97c71
<elvishjerricco> May vary by system
<{^_^}> [nixpkgs] @worldofpeace merged pull request #52162 → opencollada: 1.6.67 -> 1.6.68 → https://git.io/fpbHn
<{^_^}> [nixpkgs] @worldofpeace pushed commit from @r-ryantm to master « opencollada: 1.6.67 -> 1.6.68 »: https://git.io/fhek8
<etbe> I'm totally new to NixOS. What's the NixOS way of maintaining config files? I've just put "blacklist bochs_drm" in a file in /etc/modprobe.d, can I do something with /etc/nixos/configuration.nix to declare that?
<ivan> etbe: boot.blacklistedKernelModules = [ "bochs_drm" ];
<ottidmes> esmerelda: what config are you using? I assume you have enabled synaptics? https://nixos.org/nixos/options.html#synaptics maybe it does not auto detect it, you could try the `dev` option as well, its funny that you mention "waging war on mice" while it literally banged my wall a minute ago to chase away what I hope is a mouse...
<etbe> ivan: thanks
<elvishjerricco> etbe: You can search for NixOS options here: https://nixos.org/nixos/options.html
sigmundv_ has joined #nixos
<elvishjerricco> etbe: For any specific things that NixOS doesn't have special options for in `/etc/modprobe.d`, there's `extraModprobeConfig`
<ottidmes> etbe: generally this link is useful for discovering the options within NixOS to configure stuff: https://nixos.org/nixos/options.html and here is a list of configurations which might give you ideas: https://gist.github.com/ottidmes/182ef2150264214bbde94139f06c8b13
<etbe> elvishjerricco: thanks
kvda has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<ottidmes> elvishjerricco: I was looking for that option actually, I worked around it by specifying the modprobe option via the kernel argument list, thanks!
<esmerelda> ottidmes: I tried synaptics but then disabled it. I can try it again
<ZaraChimera> Time to get my ZFS NixOS install done.
<ottidmes> ZaraChimera: I am planning to do a ZFS install too, based on this: https://elvishjerricco.github.io/2018/12/06/encrypted-boot-on-zfs-with-nixos.html
<elvishjerricco> ottidmes: Glad someone's finding that useful :)
<{^_^}> [nixpkgs] @worldofpeace pushed 2 commits to master: https://git.io/fheIt
betaboon has quit [Quit: WeeChat 2.2]
<rardiol> which user is the nix channel installed as when running mmulti user nix?
<{^_^}> [nixpkgs] @worldofpeace closed pull request #52517 → miniflux: 2.0.12 -> 2.0.13 → https://git.io/fphMb
<rardiol> ottidmes: thanks, just lowered UID_MAX to 30000
<ZaraChimera> That does look interesting. I actually was considering doing an encrypted install this time around as the NixOS is going on a notebook machine.
siers has quit [Ping timeout: 250 seconds]
<esmerelda> I've found encrypted installs to work pretty easily
<ZaraChimera> Now I just have to dust off my memory of how to set up WiFi through connman.
<esmerelda> hrm. I don't know if the touchpad even works... maybe it's broken
<ZaraChimera> Does it work within the live media?
<esmerelda> it did when I installed! and now it doesn't. :\
<ZaraChimera> Could be you need to enable synaptic or similar in configuration.nix
<esmerelda> I just tried switching to that; it doesn't work either :\
asymmetric_ has quit [Ping timeout: 246 seconds]
<esmerelda> maybe there's some driver conflict?
<ZaraChimera> Hmm, have you tried the other tool for trackpads? I forget what it is called off the top of my head.
<esmerelda> libinput?
<ottidmes> elvishjerricco: Thank you for writing it down :) I sometimes think I really ought to make write downs like that every time I tackle a problem that took a while to figure out properly. Like as if you were writing a thorough StackExchange answer or something similar, its useful for yourself and others, but I tend to only actually do that when answering my own questions on such forums
<ZaraChimera> That is the one. I remember that libinput did not work for me, but synaptic did.
<ottidmes> esmerelda: I remember someone recently writing here about having needed a patched libinput to get it to work
<elvishjerricco> ottidmes: Yea that article is part one of probably three about my attempt to dual boot Windows on a VFIO-powered VM so I can do ZFS snapshots of Windows :P
<esmerelda> ooh
<esmerelda> hrm. I'll try seeing if I can get the installer to work again. if not, I'm gonna pop the case
esmerelda has quit [Quit: WeeChat 2.2]
<ottidmes> elvishjerricco: wait, so are you trying to use all OSes on the same machine, since you mention MacOS too in the post?
<ZaraChimera> I would guess that if it worked during the install, the likely culprit is software rather than hardware issues.
<elvishjerricco> ottidmes: Yea macOS will be the bonus part 4 :P
<elvishjerricco> But I'm only doing Windows on my desktop, and I'm only doing macOS on my macbook
<ottidmes> ZaraChimera: if it works on the installer, you probably need this: https://nixos.org/nixos/options.html#hardware.enableallfirmware
<ottidmes> meant esmeralda, but they went offline...
<ZaraChimera> :)
* ZaraChimera files it under potentially useful troubleshooting steps should I need it.
<{^_^}> [nixpkgs] @worldofpeace merged pull request #51751 → zeromq: 4.2.5 -> 4.3.0 → https://git.io/fpSxs
<{^_^}> [nixpkgs] @worldofpeace pushed commit from @r-ryantm to staging « zeromq: 4.2.5 -> 4.3.0 »: https://git.io/fheI1
<ottidmes> elvishjerricco: that makes more sense, I still dual boot as well, but I rarely leave NixOS to go to Windows 10, just for some games, because my GPU driver sucks on Linux
<elvishjerricco> ottidmes: Yea games are the only reason I'm doing Windows. That and Windows is an easier test bed for this tech than macOS
jtojnar has quit [Quit: jtojnar]
<ZaraChimera> I also use Windows 10 (gaming, streaming, and Adobe CS6 Master Suite) and OSX (Audio recording and mastering)
<{^_^}> [nixpkgs] @worldofpeace pushed to master « lollypop: 0.9.611 -> 0.9.906 »: https://git.io/fheLU
Rusty1 has quit [Quit: Konversation terminated!]
Anton-Latukha has joined #nixos
ntd has joined #nixos
rardiol has left #nixos [#nixos]
Rusty1 has joined #nixos
cyounkins has joined #nixos
cyounkins has quit [Remote host closed the connection]
cyounkins has joined #nixos
cyounkin_ has quit [Ping timeout: 245 seconds]
nDuff has joined #nixos
cyounkins has quit [Ping timeout: 250 seconds]
lsyoyom has quit [Ping timeout: 244 seconds]
<nDuff> Why does builtins.tryEval (builtins.pathExists "http://example.com/foobar") throw an error, rather than returning an attrset with { success = false; value = false; }?
ntd has quit [Quit: ntd]
<elvishjerricco> nDuff: For some reason, `tryEval` only catches expressions that use the `throw` feature of the language, not erroneous use of the language
<nDuff> Ahh -- that helps a great deal in terms of setting expectations.
<{^_^}> [nixpkgs] @peti pushed to haskell-updates « hackage-packages.nix: automatic Haskell package set update »: https://git.io/fhetj
<nDuff> Is there a suggested / best-practice way to disambiguate between URLs and absolute paths (which is my actual intent)? (I could search for a substring like "://", but... eww).
<elvishjerricco> nDuff: I think paths always start with /
<nDuff> Good point. :)
orivej has quit [Ping timeout: 240 seconds]
nD5Xjz has quit [Ping timeout: 268 seconds]
rummik has quit [Read error: Connection reset by peer]
rummik has joined #nixos
Anton-Latukha has quit [Quit: Leaving.]
<etbe> I set a boot.blacklistedKernelModules in /etc/nixos/configuration.nix and ran nixos-rebuild switch, but it didn't rebuild the initrd which still loads some of the modules I want to blacklist (for example floppy which is not needed on a VM in a DC). How do I get the initrd to not load those modules?
<siraben> How do I get Emacs with imagemagick support?
<elvishjerricco> etbe: The reason some things are loaded by initrd is this stuff: https://github.com/NixOS/nixpkgs/blob/master/nixos/modules/system/boot/kernel.nix#L192
<elvishjerricco> Unfortunately I don't know of a way to remove things from that list in the module system, other than doing `boot.initrd.availableKernelModules = lib.mkForce [ /* copy of the stuff listed in hardware-configuration.nix */ ];`
<elvishjerricco> Other than that, you can use the `modules_blacklist` kernel param to really force it.
<elvishjerricco> e.g.: `kernelParams = [ "module_blacklist=xhci_pci" ];`
<ottidmes> etbe: another way might be to add an apply to the option and filter the list
<elvishjerricco> ottidmes: Whoa you can do that?
nD5Xjz has joined #nixos
<elvishjerricco> That would have been useful in many cases :P
<ottidmes> elvishjerricco: you should, I have not used that trick myself yet, but it should, I am going to test it now
<ottidmes> elvishjerricco: hmm, when I try I run into "<file>.nix is a prefix of options in <other-file>.nix"
<etbe> elvishjerricco: It doesn't like the lib.mkForce part, seems to work OK without it but doesn't give the desired result. undefined variable 'lib' at /etc/nixos/configuration.nix:13:40
<elvishjerricco> etbe: You need to add it to the parameter list at the top of the file, where `pkgs` is defined
<ottidmes> etbe: at the top of your config you have to include lib, like: { config, lib, pkgs }: ... your config ...
<ottidmes> etbe: personally I would go with elvishjerricco second suggestion, seems like the safer route, e.g. what if some kernel module is needed by some service, using the mkForce solution would break that
<elvishjerricco> etbe: I agree with ottidmes. The `module_blacklist` kernel param is much safer
<elvishjerricco> ottidmes: What did you try for that apply thing?
<etbe> elvishjerricco: thanks that works!
<ottidmes> elvishjerricco: options.boot.initrd.availableKernelModules.apply = filter (x: x != "xhci_pci"); but options do not seem to get merged, so it finds two definitions of the same option it seems
<etbe> ottidmes: Well I'm just trying to get NixOS VMs to do the same things as my Debian VMs so I don't think there's any risk here.
<elvishjerricco> etbe: The mkForce thing is very extreme, and a little likely to make your system unable to boot
<ottidmes> etbe: still you should prefer the option that can not come back to haunt you later
<etbe> I'm cool with non-booting VMs. With kernel upgrades I reboot unimportant VMs first and it's easy to identify problems and fix them before rebooting the important ones. It's the subtle problems that I'm worried about (like changes to daemon default config).
<ottidmes> elvishjerricco: I am thinking about making PR about apply, because what if there already is an apply defined, I would love to be able to chain them
<elvishjerricco> etbe: Doing the other thing is just as easy, has no downsides, and several upsides. Just saying I don't see a reason not to do it :P
<ottidmes> this ^
<etbe> OK, I'll give it a go.
vk3wtf has quit [Ping timeout: 250 seconds]
georges has quit [Ping timeout: 268 seconds]
<ottidmes> etbe: this works too: options.boot.initrd.availableKernelModules = mkOption { apply = filter (module: module != "xhci_pci"); };
<ottidmes> elvishjerricco: it was you actually that helped me: https://github.com/NixOS/nixpkgs/issues/16884#issuecomment-435027993
<elvishjerricco> ottidmes: Hah, I'm surprised that actually worked :P
<ottidmes> elvishjerricco: I just verified it with my own config, so your suggestion did work :D
<ottidmes> I have to recheck my config to see if I can spot workaround that can be worked around better with this trick
vk3wtf has joined #nixos
etbe has quit [Ping timeout: 250 seconds]
<{^_^}> [nixpkgs] @fpletz merged pull request #52527 → home-assistant-cli: init at 0.3.0 → https://git.io/fpjnI
<{^_^}> [nixpkgs] @fpletz pushed 2 commits to master: https://git.io/fheYt
kvda has joined #nixos
ensyde has joined #nixos
pie__ has joined #nixos
pie___ has quit [Ping timeout: 250 seconds]
georges has joined #nixos
acarrico has quit [Ping timeout: 268 seconds]
etbe has joined #nixos
etbe has quit [Client Quit]
etbe has joined #nixos
Supersonic has quit [Ping timeout: 250 seconds]
genesis has quit [Ping timeout: 252 seconds]
genesis has joined #nixos
Supersonic has joined #nixos
<gchristensen> is it possible to get a rebar3 based on erlangR21? (cc gleber_, Ankhers)
sigmundv_ has quit [Ping timeout: 240 seconds]
vk3wtf has quit [Ping timeout: 250 seconds]
nDuff has quit [Quit: zzz]
romanofs1iWork has quit [Ping timeout: 250 seconds]
romanofskiWork has joined #nixos
ddellacosta has quit [Remote host closed the connection]
ensyde has quit [Ping timeout: 268 seconds]
<{^_^}> [nixpkgs] @fpletz pushed 2 commits to release-18.09: https://git.io/fheOh
vk3wtf has joined #nixos
<{^_^}> [nixpkgs] @samdroid-apps closed pull request #33094 → werkzeug: patch reloader to find nix wrapped python scripts → https://git.io/vb5dy
kvda has quit [Read error: Connection reset by peer]
<ryantm> Is there an easy way to override the expected outputHash of a fetchurl expression with Nix programmatically?
sir_guy_carleton has joined #nixos
lokado has quit [Quit: Connection closed for inactivity]
drakonis has joined #nixos
drakonis_ has quit [Ping timeout: 252 seconds]
redj has quit [Ping timeout: 272 seconds]
<hyper_ch> why do you want to do that?
marusich has joined #nixos
jperras has quit [Quit: WeeChat 2.2]
kvda has joined #nixos
<ryantm> hyper_ch: I'm trying to think of a way to fix the nix-prefetch-url program that is currently broken for all sorts of fetchers. If I changed the outputHash to be something wrong, then maybe I could use nix-build to fail to build the derivation and extract the correct hash from its output.
<ryantm> If I don't break the outputHash, nix-build could just return the existing already built derivation instead of doing the actual work of building the source.
<ryantm> I can make a program that breaks the outputHash in the source directly, but that isn't a viable replacement for nix-prefetch-url.
plakband has joined #nixos
<ryantm> Maybe I should just dive into the C++ nix implementation, because this is seeming pretty hacky.
jasongrossman has quit [Ping timeout: 252 seconds]
<plakband> I have an entry in my nix-env -q that I can't seem to remove, is this a common thing?
lassulus_ has joined #nixos
<infinisil> ,fancy-uninstall plakband
<infinisil> Um
<infinisil> plakband: Try `nix-env -q | fzf | xargs -I{} nix-env -e {}`
<plakband> that worked, tyvm!
<infinisil> :)
lassulus has quit [Ping timeout: 250 seconds]
lassulus_ is now known as lassulus
reinhardt has joined #nixos
vk3wtf has quit [Ping timeout: 252 seconds]
ddellacosta has joined #nixos
plakband has left #nixos ["WeeChat 2.3"]
Mateon3 has joined #nixos
Mateon1 has quit [Ping timeout: 272 seconds]
Mateon3 is now known as Mateon1
hamishmack has quit [Ping timeout: 250 seconds]
kvda has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
phreedom has quit [Remote host closed the connection]
phreedom has joined #nixos
ddellacosta has quit [Remote host closed the connection]
Ridout has quit [Quit: Lost terminal]
jasongrossman has joined #nixos
hamishmack has joined #nixos
Rusty1 has quit [Quit: Konversation terminated!]
hamishmack has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @matthewbauer pushed to staging « darwin: remove missing symbols »: https://git.io/fheZD
ottidmes has quit [Ping timeout: 244 seconds]
hamishmack has joined #nixos
<ZaraChimera> I have 4GB of RAM on my system at the moment how much swap space should I be assigning, as Nix on ZFS says that it is not suggested to use a zfs pool as variable swap space.
Mr_Keyser_Soze has joined #nixos
vk3wtf has joined #nixos
<ivan> ZaraChimera: 2-4GB though many uses cases will not need any
<ZaraChimera> This machine will be generally used for writing, chat over discord or jitsi, maybe some basic programming.
<ZaraChimera> I think you need some swap space for suspend/hibernate to function properly.
palo1 has joined #nixos
<Yaniel> IIRC the old rule of thumb was to have 2x as much swap as you have RAM
Mr_Keyser_Soze has quit [Remote host closed the connection]
<ZaraChimera> Okay, so I can just followed the example parted command in the NixOS manual.
<ZaraChimera> I had kind of been hoping I could assign a zfs pool to function as swap and let the system dynamically resize it as needed.
<Yaniel> no idea of zfs specifics
<ZaraChimera> Originally the idea had been to make one ZFS partition with different pools for different distros, but since my machine is MBR rather than GPT, that does not appear to work.
palo has quit [Ping timeout: 268 seconds]
palo1 is now known as palo
<Yaniel> also I hope you have zram enabled if you only have 4GB of RAM
<ZaraChimera> My BIOS definitely does not support EFI or UEFI. It will not boot from disk with a GPT partition table and I have not found a replacement for the bios or an update that would add EFI support.
<tilpner> ZaraChimera: I don't know ZFS, but you may want to check whether this (still) applies: "As of 2014-03-04, you shouldn't use a ZVol as a swap device, as it can deadlock under memory pressure"
<ZaraChimera> tilpner, Yep. I saw that. I shall do some more digging to see if that still applies. Holiday project is to setup and get myself a nice NixOS install.
<Yaniel> I should probably look into ZFS/XFS for my next setup
<ZaraChimera> I wonder how involved installing a different BIOS with EFI support would be. Or if the MBR is something that is actually hardwired into my computer.
<Yaniel> so far good ole ext4 has served me well
<ZaraChimera> I had a ZFS running a while ago. I liked it as it gave an extra protection against oops-deletions.
<Yaniel> yeah it has some neat features for user data
<Yaniel> for the system itself nix does a good enough job that I don't need to care
<ZaraChimera> Just have to exclude nix and nix store directories from the snapshotting or roll-backs and such will not function right.
<ZaraChimera> Hmm. Hexchat really does not seem to like the us_intl keyboard layout.
<ZaraChimera> It does weird things with the single and double quotes.
rummik has quit [Ping timeout: 250 seconds]
ecnerwala has quit [Quit: Page closed]
rummik has joined #nixos
<{^_^}> [nixpkgs] @nornagon opened pull request #52554 → shairport-sync: don't daemonize → https://git.io/fhecq
redj has joined #nixos
jackdk has quit [Ping timeout: 268 seconds]
sir_guy_carleton has quit [Quit: WeeChat 2.2]
tzemanovic has joined #nixos
orivej has joined #nixos
tzemanov_ has joined #nixos
tzemanovic has quit [Ping timeout: 252 seconds]
tzemanov_ has quit [Ping timeout: 252 seconds]
sbdchd has quit [Remote host closed the connection]
<simpson> In kubenix, I'm writing a module for Spartakus. Upstream, Spartakus would like me to run $(uuidgen). The official Helm chart runs Go's uuidv4. It doesn't matter whether I get a new one each time, but I don't really care which UUID I start with.
schopp0r has quit [Ping timeout: 245 seconds]
<simpson> Is there a better option than something like `--argstr uuid $(uuidgen)`? This isn't very elegant, but worse, it's not compositional with kubenix's modules.
<neonfuz> Recommended directory in nixpkgs to put a userspace driver?
<neonfuz> uses uinput, I would think drivers might go in os-specific, but I think uinput isn't actually linux only
<tilpner> There is misc/drivers
<drager> What do you get when you install nixos? I mean, packages etc. Will it provide a DE/WM?
<neonfuz> oh cool, misc/drivers is perfect
<tilpner> drager: NixOS can be configured to install with a graphical environment. The default generated configuration does not have one though
<neonfuz> drager: nixos is driven by a configuration, you would need to specify that in the configuration
<neonfuz> that being said, you can find a sample config and modify it pretty easily to start with whatever WM
<drager> Great, so I basically get nothing? I want nothing to start with. If you're familair with arch linux I'm after basically the same defaults after a installation
<neonfuz> that's default
<drager> Awesome, thanks!
<tilpner> You get a little more than nothing
<tilpner> E.g. nano is annoyingly hard to get rid of
<neonfuz> oh yeah, true
<drager> That's fine I guess :D
<neonfuz> but idk if he's saying arch he's not /that/ minimal
<drager> Yeah, I basically don't want a DE/WM and stuff like that
hyper_ch2 has joined #nixos
<neonfuz> oh, if you enable x I think it might default to something though
<neonfuz> just read the docs or whatever as you go along on getting a WM etc
<tilpner> It will default to an xterm session (why is that even a thing?)
<neonfuz> yeah it's odd...
<tilpner> (If you enable X)
<neonfuz> I guess so you don't get stuck?
<neonfuz> yeah in your config you're pretty much gonna want to do services.xserver.enable = true; services.xserver.xterm.enable = false;
<tilpner> Well, it's a cheap way to test if X is working, without pulling in much more
<drager> I'm happy as long as I know what I get and can decide which packages I have installed etc.
<drager> So it sounds all good, thank you both
<neonfuz> jsyk, you generally won't be wanting to just install a window manager like other oses
<neonfuz> like you can do 'nix-env -i i3' to install i3, but what's preferable generally is setting services.xserver.windowManager = { i3.enable = true; default="i3"; }
<neonfuz> declarative is considered better, it can do more than just install packages, like setting up sessions
<drager> Alright, what will be the difference here?
<drager> The first "just installs" i3?
<neonfuz> you update your config and run 'nixos-rebuild switch'
<neonfuz> vs if you install with nix-env it's only installed as your user
<drager> I see, and I don't get a new entry-point to boot from?
<drager> Which I get in the latter?
<neonfuz> yes, but it'll just be like "nixos-generation-2"
<drager> For the first case?
<neonfuz> for the second
<drager> Oh ok
<neonfuz> the first will just install to your environment as your user, and won't do anything to the boot options
<drager> Right, makes sense
<{^_^}> [nixpkgs] @vdemeester opened pull request #52555 → cni: migrate to using buildGoPackage → https://git.io/fheCD
<neonfuz> you can stil rollback nix-env, it's really a whole different way of installing packages
marusich has quit [Ping timeout: 244 seconds]
<neonfuz> it's a bit confusingc at first why there's 2 ways of doing things, but really nixpkgs is usable on other oses with nix-env, while if you're actually using nixos you can take advantage of declaratively configuring your os
<drager> So, you almost always use the declartive way when installing new packages?
<neonfuz> a lot of people do, personally I still use nix-env a lot because it can be more convenient-
<neonfuz> I find with system stuff, window managers, services, etc, it's best to use nixos
<neonfuz> but I install many of my user applications like browsers etc with nix-env
<tilpner> Declarative and nix-shell for things I need right now without editing config
<neonfuz> oh yeah nix-shell too
<jasongrossman> drager: The declarative way is definitely more The Nix Way, even though people sometimes use other ways for speed.
<neonfuz> you can do like 'nix-shell -p google-chrome' and it'll download google chrome and put you in an environment that can run it
<neonfuz> for quick things
<jasongrossman> drager: I think a lot of us use nix-env or nix-shell for speed when we're trying something that probably won't be permanent.
<drager> Yeah right, it sounds like I would use the declarative way for things like you say, wm, services etc
<drager> jasongrossman: Yeah, that sounds awesome
<jasongrossman> drager: YES. And also for other things to practise The Nix Way.
<jasongrossman> :-)
<neonfuz> services are really convenient, it's usually as simple as service = {enable = true; option = thing;}
<jasongrossman> drager: I get the impression that you're a person who's going to like NixOS.
<neonfuz> and it'll enable it at boot
<neonfuz> annoying thing to me is it seems hard to have a service be installed but not running by default at boot?
<drager> jasongrossman: I'm pretty sure I will! It sounds very great
<jasongrossman> drager: It is! At least, people usually love it a lot or hate it a lot (and of course the latter bunch go away).
<drager> Oh I see
<neonfuz> the main annoyance for me is occasional really annoying compatibility problems
<jasongrossman> And I think a lot of us came here from Arch (or Manjaro).
<neonfuz> because other people write code expecting the system to be a certain way
<drager> jasongrossman: Cool
<tilpner> neonfuz: Tried systemd.services.foo.wantedBy = lib.mkForce [];?
<neonfuz> don't think so?
<drager> Thanks all, I will read through the docs more closely. I appreceite all the answers and info!
<tilpner> Well, try :)
<jasongrossman> drager: Have fun!
<drager> :)
fusion809 has quit [Remote host closed the connection]
palo has quit [Quit: WeeChat 2.2]
dkao has joined #nixos
orivej has quit [Ping timeout: 268 seconds]
hotfuzz_ has joined #nixos
hotfuzz has quit [Ping timeout: 250 seconds]
<dkao> error: value is null while a set was expected, at /nix/store/ln25ib694xa2ydh2vxirj89pn50wbz6y-nixpkgs-19.03pre161900.61c3169a0e1/nixpkgs/pkgs/top-level/default.nix:63:5
<dkao> error: evaluation of the deployment specification failed
<dkao> do anyone know how to fix the error ^
Ariakenom_ has joined #nixos
Tucky has joined #nixos
palo has joined #nixos
marusich has joined #nixos
dkao has quit [Quit: WeeChat 2.3]
jonaswouters has joined #nixos
mr_noobs has joined #nixos
<{^_^}> [nixpkgs] @basvandijk opened pull request #52556 → opencv3: fix OpenCV issue 13207 → https://git.io/fhe8x
sigmundv_ has joined #nixos
<{^_^}> [nixpkgs] @etu opened pull request #52557 → Php codesniffer updates → https://git.io/fhe4P
arjen-jonathan has joined #nixos
Ariakenom_ is now known as Ariakenom
ottidmes has joined #nixos
<drager> Do you guys keep your nix configuration in version control? In git together with dotfiles etc?
<Yaniel> been meaning to
<tilpner> Yes, that's common
<etu> drager: People do it in different ways I'd say. Many people have their nixos configuration in git
<tilpner> Some people even make them public
<Yaniel> actually we did that at work when I introduced nixos for a couple of systems
<drager> Great thanks, I'm aiming to keep it in a public git repo
<tilpner> Note that many of these go together with another repo for private information
<drager> Oh, so two configs? The public one for non private stuff and another for private?
goibhniu has joined #nixos
<tilpner> It's conventionally called "secrets": https://search.tx0.co/?q=secrets&i=nope&files=&repos=
<tilpner> Anything you don't want in a public repo, passwords, API keys, etc.
<drager> Great, thanks!
<tilpner> It doesn't have to be another repo, some of these appear to be gitignored files managed manually
<drager> Ah
thc202 has joined #nixos
hedning has joined #nixos
ckauhaus has joined #nixos
dermetfan has joined #nixos
Boomerang has joined #nixos
__monty__ has joined #nixos
<{^_^}> [nixpkgs] @Mic92 merged pull request #52532 → albert: 0.14.22 -> 0.15.0 → https://git.io/fpjK5
<{^_^}> [nixpkgs] @Mic92 pushed commit from @Synthetica9 to master « albert: 0.14.22 -> 0.15.0 (#52532) »: https://git.io/fheRj
<{^_^}> [nixpkgs] @markuskowa merged pull request #52546 → soapysdr: fix extraPackages support → https://git.io/fpjhZ
<{^_^}> [nixpkgs] @markuskowa pushed 2 commits to master: https://git.io/fhe0L
lokado has joined #nixos
<lokado> hi, any sample of building a vm? I run `nixos-rebuild build-vm` directory on my current configuration and it failed to start the vm...
<lokado> s/directory/directly
basvandijk has joined #nixos
pietranera has joined #nixos
<{^_^}> [nixpkgs] @Ericson2314 opened pull request #52558 → openspades: Fix Darwin build → https://git.io/fhe0Q
<{^_^}> [nixpkgs] @Ericson2314 opened pull request #52559 → openspades: Fix Darwin build, for 18.09 → https://git.io/fhe0d
orivej has joined #nixos
<{^_^}> [nixpkgs] @vbgl merged pull request #51934 → coqPackages.coqprime: enable for Coq 8.9 → https://git.io/fpdBh
<{^_^}> [nixpkgs] @vbgl pushed to master « coqPackages.coqprime: enable for Coq 8.9 »: https://git.io/fheEJ
owickstrom has quit [Quit: Connection closed for inactivity]
ottidmes has quit [Ping timeout: 272 seconds]
orivej has quit [Ping timeout: 245 seconds]
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/fheEW
<{^_^}> [nixpkgs] @Mic92 merged pull request #52554 → shairport-sync: don't daemonize → https://git.io/fhecq
__Sander__ has joined #nixos
<{^_^}> [nixpkgs] @basvandijk pushed 2 commits to master: https://git.io/fheE2
IRCsome has quit [Ping timeout: 252 seconds]
<tilpner> lokado: With what error?
<{^_^}> [nixpkgs] @basvandijk closed pull request #52556 → opencv3: fix OpenCV issue 13207 → https://git.io/fhe8x
phry has quit [Quit: WeeChat 2.1]
<{^_^}> [nixpkgs] @vdemeester opened pull request #52560 → runc: migrate to using buildGoPackage → https://git.io/fheEh
<{^_^}> [nixos-org-configurations] @zimbatm pushed to zimbatm/bucket-policies « terraform: update the bucket policies »: https://git.io/fheuI
<{^_^}> [nixos-org-configurations] @zimbatm pushed to zimbatm/bucket-policies « terraform: update the bucket policies »: https://git.io/fheug
nD5Xjz has quit [Ping timeout: 246 seconds]
<{^_^}> [nixos-org-configurations] @zimbatm opened pull request #71 → terraform: update the bucket policies → https://git.io/fhezf
<{^_^}> [nixos-org-configurations] @zimbatm merged pull request #71 → terraform: update the bucket policies → https://git.io/fhezf
<{^_^}> [nixos-org-configurations] @zimbatm pushed to master « terraform: update the bucket policies (#71) »: https://git.io/fhezU
<{^_^}> [nixos-org-configurations] @zimbatm pushed 0 commits to zimbatm/bucket-policies: https://git.io/fhezT
orivej has joined #nixos
nD5Xjz has joined #nixos
<{^_^}> [nixpkgs] @Mic92 merged pull request #52555 → cni: migrate to using buildGoPackage → https://git.io/fheCD
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/fhezW
basvandijk has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @Mic92 merged pull request #52560 → runc: migrate to using buildGoPackage → https://git.io/fheEh
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/fhezS
dermetfan has quit [Ping timeout: 244 seconds]
<{^_^}> [nixpkgs] @Mic92 merged pull request #52150 → playerctl: 0.6.1 -> 2.0.1 → https://git.io/fpbyr
<{^_^}> [nixpkgs] @Mic92 pushed 5 commits to master: https://git.io/fhegT
orivej has quit [Ping timeout: 240 seconds]
nD5Xjz has quit [Ping timeout: 246 seconds]
<{^_^}> [nixpkgs] @ackien opened pull request #52562 → git-secret: Add gawk to wrapper → https://git.io/fhegz
ZaraChimera has quit [Quit: Leaving]
marusich has quit [Remote host closed the connection]
nD5Xjz has joined #nixos
argo has quit [Remote host closed the connection]
Phillemann has joined #nixos
<Phillemann> "There’s many more kinds of arguments, they are documented in nixpkgs/pkgs/build-support/setup-hooks/make-wrapper.sh" - is this sort of "documentation" encouraged in Nix?
<Phillemann> It seems a little gratuitous.
suzu has quit [Ping timeout: 245 seconds]
<{^_^}> [nixpkgs] @domenkozar pushed commit from @peti to release-18.09 « ghc: add new compiler version 8.6.3 »: https://git.io/fhear
civodul has joined #nixos
rixed has quit [Ping timeout: 245 seconds]
<{^_^}> [nixpkgs] @vdemeester opened pull request #52563 → containerd: migrate to using buildGoPackage → https://git.io/fheaX
<{^_^}> [nixpkgs] @Mic92 merged pull request #52562 → git-secret: Add gawk to wrapper → https://git.io/fhegz
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/fheaD
Dagger has quit [Excess Flood]
Dagger2 has joined #nixos
<{^_^}> [nixos-org-configurations] @zimbatm pushed to master « fixup! terraform: update the bucket policies (#71) »: https://git.io/fheab
jomik has joined #nixos
<Mic92> Phillemann: agreed
<{^_^}> [nixpkgs] @Mic92 opened pull request #52564 → nix-review: 1.0.1 -> 1.0.2 → https://git.io/fheVV
goibhniu has quit [Ping timeout: 244 seconds]
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/25eb8419d9d (from 8 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
<Phillemann> Mic92: Shall I open an issue for that, maybe?
<Mic92> Phillemann: you could also copy the comments from source to the manual as well.
ThatDocsLady has joined #nixos
<jomik> Whyyy does gradle insist on installing a gradle version into my home, when I already have that exact gradle version in my path? D:
<jomik> ll
oida has quit [Ping timeout: 256 seconds]
<{^_^}> Channel nixos-18.03-small advanced to https://github.com/NixOS/nixpkgs/commit/791c339022e (from 2 days ago, history: https://channels.nix.gsc.io/nixos-18.03-small)
<{^_^}> Channel nixos-18.09 advanced to https://github.com/NixOS/nixpkgs/commit/fbb7dbdb95d (from 7 hours ago, history: https://channels.nix.gsc.io/nixos-18.09)
<{^_^}> Channel nixos-18.09-small advanced to https://github.com/NixOS/nixpkgs/commit/fbb7dbdb95d (from 7 hours ago, history: https://channels.nix.gsc.io/nixos-18.09-small)
<Lisanna> is there a way to make nix use a location other than ~/.cache/nix for its cache?
<Lisanna> aside from bind-mounting the directory
iyzsong has joined #nixos
Makaveli7 has joined #nixos
ottidmes has joined #nixos
<{^_^}> [nixpkgs] @timokau merged pull request #52557 → Php codesniffer updates → https://git.io/fhe4P
<{^_^}> [nixpkgs] @timokau pushed 3 commits to master: https://git.io/fhew3
oida has joined #nixos
<{^_^}> [hydra] @edolstra pushed to master « Typo »: https://git.io/fhewc
argo has joined #nixos
<{^_^}> [nixpkgs] @ackien opened pull request #52565 → [18.09] Backport git-secret fix → https://git.io/fhew2
simukis has joined #nixos
mkoenig has quit [Ping timeout: 246 seconds]
mkoenig has joined #nixos
dermetfan has joined #nixos
<Mic92> Lisanna: you can alter XDG_CACHE_HOME, https://github.com/NixOS/nix/blob/master/src/libutil/util.cc#L484
<{^_^}> [nixpkgs] @timokau merged pull request #52545 → pythonPackages.jupytext: init at 0.8.4 → https://git.io/fpjpZ
<{^_^}> [nixpkgs] @timokau pushed to master « pythonPackages.jupytext: init at 0.8.4 (#52545) »: https://git.io/fherL
<{^_^}> [nixpkgs] @Mic92 pushed commit from @lopsided98 to staging « x265: fix build on ARM »: https://git.io/fher3
<{^_^}> [nixpkgs] @Mic92 closed pull request #52549 → x265: fix build on ARM → https://git.io/fhee4
mr_noobs has quit [Ping timeout: 245 seconds]
IRCsum has joined #nixos
mr_noobs has joined #nixos
<jomik> Anyone here knows how I can have gradlew use my system-wide installation (same version). I have tried setting GRADLE_USER_HOME to the /nix/store dir, but it doesn't pick it up, probably because there is no wrapper/dists in ther
spacekookie has quit [Quit: **more agressive swooshing**]
Makaveli7 has quit [Quit: Leaving]
<Lisanna> Mic92, ok, thanks
qyliss has quit [Quit: bye]
qyliss^work has quit [Quit: bye]
<jomik> More importantly, is there a way to set nixpkgs.config attributes for a nix-shell instance?
dustinm- has joined #nixos
<srhb> jomik: The simplest way is to explicitly change the call to nixpkgs in a shell.nix
<jomik> shell.nix should basically just return a derivation
<jomik> where the buildInputs is what I want in my shell?
<ldlework> jomik: you can use mkShell to make it even simpler
<srhb> jomik: I can't answer that without more context.
<srhb> Like, that might be the thing you want, but I don't know what you want :P
<jomik> I just want to add some packages to my path in here :D
<jomik> One of them being androidsdk, which requires a config set
<srhb> mkShell sounds right :)
<jomik> Yah, I just opened it on github :D
<jomik> So, I just have to set inputsFrom, essentially?
<srhb> jomik: I think you want buildInputs?
<srhb> jomik: inputsFrom will give you the inputs of the listed derivations.
ubert has joined #nixos
<jomik> Oooh
<jomik> What is the use of `rest`? Is it to add environment variables, essentially?
<jomik> Uh, where is mkShell located?
<srhb> jomik: Any attribute not already handled..
<srhb> jomik: The name is defined in all-packages.nix
<srhb> jomik: The source is in build-support/mkshell
<jomik> ah, I thought it was on stdenv like mkDerivation
<jomik> Wth... androidsdk_8_0 is undefined O.o
agander has joined #nixos
<jomik> It is in nix repl
<jomik> Wait, it isn't.
<jomik> androidsdk_8_0 is defined in mobile/androidenv/default.nix though, but I can only see androidsdk?
qyliss has joined #nixos
<jomik> Got it :D
qyliss^work has joined #nixos
<srhb> quack.
Wharncliffe has joined #nixos
<jomik> RIP. It doesn't automatically accept the licenses. Lol
<{^_^}> [nixpkgs] @Ma27 merged pull request #52483 → vimPlugins.Recover-vim: init at 2018-10-22 → https://git.io/fpp4O
<{^_^}> [nixpkgs] @Ma27 pushed 2 commits to master: https://git.io/fhe6Y
<{^_^}> Channel nixos-18.09-small advanced to https://github.com/NixOS/nixpkgs/commit/34a637ca923 (from 2 hours ago, history: https://channels.nix.gsc.io/nixos-18.09-small)
civodul has quit [Quit: ERC (IRC client for Emacs 26.1)]
hamishmack has quit [Ping timeout: 245 seconds]
__monty__ has quit [Read error: Connection reset by peer]
__monty_1 has joined #nixos
<{^_^}> [nixpkgs] @srhb pushed 2 commits to release-18.09: https://git.io/fhe6i
<{^_^}> [nixpkgs] @srhb merged pull request #52530 → kubernetes: 1.11.5 -> 1.11.6 → https://git.io/fpj0u
<srhb> jomik: What do you mean? You set it in the config, right?
agander_ has joined #nixos
Anton-Latukha has joined #nixos
<jomik> Yes.
<jomik> But the nix expression is broken :)
<jomik> I think because we are not setting ANDROID_HOME.
agander has quit [Ping timeout: 246 seconds]
__monty_1 has quit [Remote host closed the connection]
siers has joined #nixos
__monty__ has joined #nixos
Dagger2 has quit [Excess Flood]
<jomik> Also do find it pretty odd that it sets ANDROID_SDK_HOME to some temp tir
orivej has joined #nixos
<srhb> jomik: Some work is being done on that currently, but it's not solved yet
<jomik> ran `sdkmanager "platforms;android-26"` to fix it
__monty__ has quit [Read error: Connection reset by peer]
Dagger has joined #nixos
<jomik> Lol, reinstalled, just to check if that command works, and it didn't. ODD.
<srhb> jomik: I think I know too little of the android sdk to understand any of the things you're mentioning. :)
<jomik> There is no maintainer :D
__monty__ has joined #nixos
__monty__ has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @basvandijk opened pull request #52566 → openblas: fix build on x86_64-darwin → https://git.io/fheii
siers has quit [Quit: WeeChat 2.0]
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/51fdee8b929 (from 77 minutes ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
vk3wtf has quit [Ping timeout: 252 seconds]
<{^_^}> [nixos-org-configurations] @zimbatm pushed 4 commits to zimbatm/route53-zone: https://git.io/fhePy
revtintin has joined #nixos
<{^_^}> [nixpkgs] @dywedir merged pull request #52564 → nix-review: 1.0.1 -> 1.0.2 → https://git.io/fheVV
<{^_^}> [nixpkgs] @dywedir pushed 2 commits to master: https://git.io/fheX2
<jomik> anyone got android sdks working in nixos? I can't get the licenses accepted.
Wharncliffe has quit [Ping timeout: 246 seconds]
mr_noobs has quit [Ping timeout: 272 seconds]
vk3wtf has joined #nixos
mr_noobs has joined #nixos
basvandijk has joined #nixos
<adisbladis> jomik: I've been using this ugly expression for building android in ci: http://ix.io/1wqL/nix
<adisbladis> Hmm, someone else added that env_ready crap, I don't think it should exist
<basvandijk> Why is the staging jobset not evaluating on hydra (https://hydra.nixos.org/jobset/nixpkgs/staging)?
<jomik> adisbladis: That looks like an easy fix for the actual nixpkg? Just toss that hash in that file in the store
<jomik> ?
<adisbladis> jomik: That thing is highly dependent on version numbers and such.. Breaks easily.
<jomik> Oh.
<jomik> Which version is this for?
<adisbladis> jomik: I last tested with android sdk 27
<adisbladis> jomik: You could find out what to use by looking in ~/Android/Sdk/licenses/android-sdk-license
<jomik> (still think this is better than not having the package work at all)
<jomik> I dn
<adisbladis> Android studio will create this file if it doesn't exist
<jomik> AH
<jomik> Then I need to install android studio
<jomik> xd
<adisbladis> jomik: You can try to use the same hash as I did and hope for the best :)
<jomik> :D
<jomik> Can I override the nix expression to put this in the store?
<jomik> postFixup maybe
<jomik> Is that override, or an overlay?
hyper_ch2 has quit [Ping timeout: 256 seconds]
basvandijk has quit [Ping timeout: 245 seconds]
freeman42x[nix] has joined #nixos
<{^_^}> [nixpkgs] @adisbladis merged pull request #52047 → solc: disable LLL installation → https://git.io/fpFy0
<{^_^}> [nixpkgs] @adisbladis pushed 2 commits to master: https://git.io/fheDa
hyper_ch2 has joined #nixos
agander_ is now known as agander
<adisbladis> jomik: I don't think you could.. That license is handled at runtime and based on $ANDROID_HOME
<jomik> but $ANDROID_HOME should be set to where the sdk is installed? Which is the nix store
<adisbladis> jomik: I'm pulling down the android SDKs impurely. If you put them in the store I guess you could put the license there too.
<jomik> Yeah. I just can't get my script to run, lol.
<jomik> I tried postFixup, preFixup, postBuild, preBuild
<jomik> with overrideAttrs
iyzsong has quit [Ping timeout: 245 seconds]
Rusty1 has joined #nixos
michas has joined #nixos
<jomik> Any idea why my hook wont run?
dslegends has joined #nixos
<adisbladis> jomik: Can you paste your expression?
lokado has quit [Quit: Connection closed for inactivity]
<jomik> installPhase isn't executed.
<michas> Hi, if I activate a service using a module and later in the config set the `postStart` attribute of the service - Will the new string replace the old one or will it be appended to the old one? Where do I find documentation for this? Is there a way to decide myself which behavior I want to have?
<jomik> michas: iirc strings are overriden, attribute sets and lists are merged.
<michas> jomik, That's what I expected, but it looks like it gets appended for some reason...
<jomik> Oh, ignore me then :D
<adisbladis> jomik: That expression is a bit strange and does not use the normal phases
<jomik> The androidsdk one?
<jomik> Oh, because it sets buildCommand. Right.
<adisbladis> pkgs.androidenv.androidsdk_8_0.overrideAttrs (old: { buildCommand = old.buildCommand + "#license stuff goes here " })
<adisbladis> jomik: Something like that ^
<jomik> Yeah, I was just about to say. Ok, thanks :D
<jomik> Lets see if that worked!
<jomik> Lol
<jomik> Now it complains that the directory is not writable.....
<eyJhb> Anybody got experience with MatLab and NixOS?
freeman42x[nix] has quit [Ping timeout: 246 seconds]
<jomik> So the androidsdk nix expression doesn't even finish installing :D
alex`` has joined #nixos
drakonis has quit [Ping timeout: 268 seconds]
hamishmack has joined #nixos
<{^_^}> [nixpkgs] @guibou opened pull request #52567 → gcompris: 0.91 -> 0.95 → https://git.io/fheSX
sb0_ has joined #nixos
mr_noobs has quit [Ping timeout: 250 seconds]
<{^_^}> [nixpkgs] @peterhoeg closed pull request #39932 → qmlbox2d and gcompris: do not fix Qt version to 5.9 [WIP] → https://git.io/vp2at
mr_noobs has joined #nixos
<{^_^}> [nixpkgs] @peterhoeg closed pull request #47856 → tree-wide: /var/run -> /run [WIP] → https://git.io/fxtAo
agander has quit [Ping timeout: 250 seconds]
orivej has quit [Ping timeout: 250 seconds]
<{^_^}> [nixpkgs] @Mic92 merged pull request #52481 → python37: fix cross-compilation → https://git.io/fppn1
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to staging: https://git.io/fheHm
acarrico has joined #nixos
etbe has quit [Quit: Konversation terminated!]
bigvalen has joined #nixos
simendsjo has joined #nixos
reinhardt has quit [Quit: Leaving]
mr_noobs has quit [Ping timeout: 240 seconds]
mr_noobs has joined #nixos
<{^_^}> [nixpkgs] @Profpatsch merged pull request #52456 → bazel: fix sandbox execution → https://git.io/fpxzi
<{^_^}> [nixpkgs] @Profpatsch pushed commit from @mboes to master « bazel: fix sandbox execution »: https://git.io/fheQk
<{^_^}> Channel nixos-18.09-small advanced to https://github.com/NixOS/nixpkgs/commit/6a7dea9330c (from 2 hours ago, history: https://channels.nix.gsc.io/nixos-18.09-small)
<{^_^}> [nixpkgs] @Mic92 opened pull request #52568 → python-wrap: fix for pypy → https://git.io/fheQG
<{^_^}> [nixpkgs] @dotlambda merged pull request #52117 → python37Packages.flask_migrate: 2.3.0 -> 2.3.1 → https://git.io/fpbgI
<{^_^}> [nixpkgs] @dotlambda pushed commit from @r-ryantm to master « python37Packages.flask_migrate: 2.3.0 -> 2.3.1 (#52117) »: https://git.io/fhe7J
dermetfan has quit [Ping timeout: 250 seconds]
pietranera has left #nixos [#nixos]
pietranera has joined #nixos
<{^_^}> [nixpkgs] @alyssais opened pull request #52569 → Make myself a Ruby maintainer → https://git.io/fhe7B
<{^_^}> [nixpkgs] @alyssais merged pull request #52440 → bundler: 1.17.1 -> 1.17.2 → https://git.io/fpASA
<{^_^}> [nixpkgs] @alyssais pushed 2 commits to master: https://git.io/fhe7E
orivej has joined #nixos
jtojnar has joined #nixos
sb0_ has quit [Quit: Leaving]
samrose has joined #nixos
<samrose> has anyone out there ever achieved updating firmware/bios via nixos expressions?
<{^_^}> [nixpkgs] @7c6f434c merged pull request #52379 → Major tesseract improvements → https://git.io/fpNiZ
<{^_^}> [nixpkgs] @7c6f434c pushed 6 commits to master: https://git.io/fhe5k
<clever> samrose: i was able to use flashrom on a random server, to erase and then re-flash the bios
<clever> samrose: but i only flashed it with a copy i had previously read, and was just confirming erase&write works, no actual version change occured
jabranham has joined #nixos
<samrose> clever: but technically you did "update" it, just with a copy of the same, so theoretically that way works, thanks
klntsky has joined #nixos
freeman42x[nix] has joined #nixos
<{^_^}> [nixpkgs] @dotlambda pushed to master « python.pkgs.pathpy: improve expression »: https://git.io/fhe5Q
<clever> samrose: yep
<clever> samrose: but it also heavily depends on flashrom supporting your motherboard
<{^_^}> [nixpkgs] @tg-x opened pull request #52570 → idrisPackages.tparsec: 2018-06-26 -> 2018-11-09 → https://git.io/fhedU
<samueldr> and you probably want to heed any usual warnings the flashroom peeps give out :)
<clever> only 3 systems i have support read, and only 1 of those supports erase&write
<clever> and i only used it on a machine i didnt care about bricking
<samueldr> e.g. even if it claims to read/write, be ready to handle a bricked system, just in case
<samueldr> (the first time you try)
<samueldr> even reading when adding a new platform they say is risky
<samueldr> (probably low level risks, but still)
agander has joined #nixos
j_r0m has joined #nixos
klntsky has quit [Ping timeout: 256 seconds]
pie___ has joined #nixos
pie__ has quit [Remote host closed the connection]
<j_r0m> does anyone know how to efficiently declare a ton of nix-containers? i'm running out of RAM for anything over 32 GB
<j_r0m> "GC Warning: Failed to expand heap by 16777216 bytes"
<j_r0m> and is every container supposed to have it's own set of stores?
<clever> j_r0m: each container shares the host store, but adding 10 containers to nixos, will make nixos-rebuild require 11 times as much ram to eval
<clever> j_r0m: i ran into similar problems with i had a nixops deployment with 10 machines, each having 10 containers
<clever> which turned into 110 evals of nixos
<j_r0m> :^O
<j_r0m> that becomes too many
<j_r0m> lol
<jtojnar> how do I rollback to specific nixos generation? or where do I find manpage for nixos-rebuild, it does not seem to be in the online manual?
<clever> while less locked down, it was far simpler to make 10 systemd units on each machine
<j_r0m> so i guess just do it imperatively instead
<clever> i didnt need containers in my case
<j_r0m> i'm making a network simulation
<clever> ah
<j_r0m> so containers are very helpful . thank you for that info
<clever> jtojnar: i think you want nix-env --rollback
<clever> jtojnar: hmmm, that one also lacks the right flag
<jtojnar> will that do the things nixos-rebuild --rolback does?
<clever> jtojnar: aha, --switch-generation
<clever> jtojnar: nix-env --profile /nix/var/nix/profiles/system --switch-generation 123
<{^_^}> [nixpkgs] @jabranham opened pull request #52571 → R: 3.5.1 -> 3.5.2 → https://git.io/fheFU
<clever> that will switch the profile to the given generation, but not apply it to the running os
<jtojnar> how would I do that?
<clever> /nix/var/nix/profiles/system/bin/switch-to-configuration {boot|test|switch}
jperras has joined #nixos
<clever> that will take the current version of the profile, and either make it the boot default, apply it to the running system, or both
<jtojnar> ooh, very nice, thank you
<clever> behind the scenes, nixos-rebuild just calls nix-env for you, to update the profile, and then run switch-to-configuration on that new build
<clever> also hand, `/run/current-system/bin/switch-to-configuration test` will "repair" /etc/
<clever> for example, i sometimes delete /etc/nix/machines to stop all remove builds
<clever> and that will undo it
<jtojnar> good to know
<clever> s/remove/remote/
<clever> s/hand/handy/
ciaran-lounge has joined #nixos
<clever> bbl
dbmikus has joined #nixos
goibhniu has joined #nixos
dbmikus_ has joined #nixos
dbmikus has quit [Ping timeout: 240 seconds]
ciaran-lounge has quit [Quit: The Lounge - https://thelounge.chat]
<{^_^}> [nixpkgs] @Mic92 merged pull request #52568 → python-wrap: fix for pypy → https://git.io/fheQG
<{^_^}> [nixpkgs] @Mic92 pushed 3 commits to staging: https://git.io/fheNv
hyper_ch2 has quit [Quit: Page closed]
mr_noobs has quit [Ping timeout: 272 seconds]
<jomik> adisbladis: I am trying to use your expression for nix-shell now. But, I am getting this unmarshal error error unmarshal() base64 decoding: illegal base64 data at input byte 0
mr_noobs has joined #nixos
philippD has joined #nixos
<jomik> Oh. that is probably a direnv error :/
jomik has quit [Quit: WeeChat 2.2]
orivej has quit [Ping timeout: 240 seconds]
mr_noobs has quit [Ping timeout: 245 seconds]
mr_noobs has joined #nixos
<{^_^}> [nixpkgs] @vdemeester opened pull request #52572 → openshift: migrate to using buildGoPackage → https://git.io/fhexg
<{^_^}> [nixpkgs] @NeQuissimus pushed to master « linux: 4.19.10 -> 4.19.11 »: https://git.io/fhexK
<{^_^}> [nixpkgs] @NeQuissimus pushed to release-18.09 « linux: 4.19.10 -> 4.19.11 »: https://git.io/fhexP
aleph- has joined #nixos
jomik has joined #nixos
<{^_^}> [nixpkgs] @primeos pushed to master « monkeysphere: Patch OpenSSH to run the tests in the sandbox »: https://git.io/fhexh
<domenkozar> going to do a short spam here as well: we're running a poll what to focus development on new Nix CI, please sign up at https://hercules-ci.com/ to guide focus into what are your painpoints to be solved
<gchristensen> domenkozar++
<{^_^}> domenkozar's karma got increased to 17
agander has quit [Ping timeout: 250 seconds]
dslegends has quit [Read error: Connection reset by peer]
jomik has quit [Quit: WeeChat 2.2]
hotfuzz has joined #nixos
mkoenig has quit [Remote host closed the connection]
hotfuzz_ has quit [Ping timeout: 245 seconds]
mskalski has quit [Quit: bye]
jtcs has quit [Ping timeout: 272 seconds]
mskalski has joined #nixos
jtcs has joined #nixos
orivej has joined #nixos
lokado has joined #nixos
ghasshee has joined #nixos
<ghasshee> Hi, I updated my os with my garbage collected and I am now missing skypeforlinux, how to resolve it ?
shabius has quit [Quit: Leaving]
shabius has joined #nixos
mr_noobs has quit [Ping timeout: 246 seconds]
__Sander__ has quit [Quit: Konversation terminated!]
sigmundv_ has quit [Ping timeout: 246 seconds]
sbdchd has joined #nixos
<{^_^}> [nixpkgs] @dtzWill opened pull request #52573 → cups: drop patches → https://git.io/fhvfI
Phillemann has left #nixos ["WeeChat 2.3"]
alex`` has quit [Quit: WeeChat 2.3]
<{^_^}> [nixpkgs] @dtzWill opened pull request #52574 → networkmanager: 1.12.2 -> 1.12.6 → https://git.io/fhvfo
fusion809 has joined #nixos
marsam has joined #nixos
dbmikus__ has joined #nixos
<{^_^}> [nixpkgs] @dtzWill opened pull request #52575 → git: 2.19.2 -> 2.20.1 → https://git.io/fhvJr
dbmikus_ has quit [Ping timeout: 246 seconds]
aleph- has quit [Ping timeout: 250 seconds]
Xal has quit [Ping timeout: 240 seconds]
<mpickering> I am trying to package `lab` which is a go application - https://github.com/zaquestion/lab
<mpickering> It seems that `go2nix` doesn't expect the existence of this `go.mod` file which exists to pin the dependencies, is there a way to turn this file into `deps.nix` as expected by `go2nix`?
mulderr has joined #nixos
Mrmaxmeier has joined #nixos
<mpickering> apparently `vgo2nix` is the answer
<mpickering> let's see if that work
<mpickering> alas, it does not
orivej has quit [Ping timeout: 240 seconds]
revtintin has quit [Quit: WeeChat 1.9.1]
<{^_^}> [nixpkgs] @Ericson2314 pushed 2 commits to release-18.09: https://git.io/fhvTo
<{^_^}> [nixpkgs] @Ericson2314 merged pull request #52559 → openspades: Fix Darwin build, for 18.09 → https://git.io/fhe0d
<{^_^}> [nixpkgs] @Ericson2314 merged pull request #52558 → openspades: Fix Darwin build → https://git.io/fhe0Q
<{^_^}> [nixpkgs] @Ericson2314 pushed 2 commits to master: https://git.io/fhvTP
marsam has quit [Ping timeout: 252 seconds]
ubert has quit [Quit: Leaving]
<{^_^}> [nixpkgs] @dtzWill opened pull request #52576 → gnused: 4.5 -> 4.6 → https://git.io/fhvTA
erasmas has joined #nixos
<{^_^}> [nixpkgs] @Mic92 merged pull request #52573 → cups: drop patches → https://git.io/fhvfI
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to staging: https://git.io/fhvkO
<{^_^}> [nixpkgs] @dtzWill opened pull request #52577 → gnugrep: 3.1 -> 3.2 → https://git.io/fhvkW
kisonecat has joined #nixos
kisonecat has left #nixos [#nixos]
kisonecat has joined #nixos
m0rphism has quit [Quit: WeeChat 2.2]
m0rphism has joined #nixos
<mpickering> turns out someone packages lab already 5 days ago, good stuff
dermetfan has joined #nixos
ghasshee has quit [Quit: Lost terminal]
jperras has quit [Quit: WeeChat 2.2]
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/256deeb33e4 (from 3 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
Ariakenom has quit [Ping timeout: 246 seconds]
jomik has joined #nixos
klntsky has joined #nixos
Thra11 has joined #nixos
<{^_^}> [nixpkgs] @Mic92 merged pull request #52569 → Make myself a Ruby maintainer → https://git.io/fhe7B
<{^_^}> [nixpkgs] @Mic92 pushed 3 commits to master: https://git.io/fhvIb
jonaswouters has quit [Quit: Connection closed for inactivity]
<jomik> Hmm, the androidenv packages seem to be doing ALOT of things. It seems like overkill, compared to the AUR packages.
<{^_^}> [nixpkgs] @Mic92 merged pull request #52566 → openblas: fix build on x86_64-darwin → https://git.io/fheii
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/fhvLv
develCuy has quit [Quit: No Ping reply in 180 seconds.]
<{^_^}> [nixpkgs] @Mic92 merged pull request #52565 → [18.09] git-secret: Backport gawk fix → https://git.io/fhew2
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to release-18.09: https://git.io/fhvLT
<{^_^}> [nixpkgs] @elohmeier closed pull request #52486 → add sepaxml & fints → https://git.io/fppuP
<{^_^}> [nixpkgs] @Ma27 merged pull request #52345 → clickhouse: 18.14.9 -> 18.14.18 → https://git.io/fpN28
<{^_^}> [nixpkgs] @Ma27 pushed 3 commits to master: https://git.io/fhvLn
<{^_^}> [nixpkgs] @elohmeier opened pull request #52578 → add sepaxml & fints → https://git.io/fhvLa
<{^_^}> [nixpkgs] @lsix opened pull request #52579 → gnused: 4.5 -> 4.6 → https://git.io/fhvLw
<jomik> Umm... It seems like we are building something called android-8.0.0 and symlinking something called android-26 ? XD
ThatDocsLady has quit [Remote host closed the connection]
drakonis has joined #nixos
<{^_^}> [nixpkgs] @Mic92 pushed to staging « iana-etc: 20180905 -> 20181219 »: https://git.io/fhvL5
ThatDocsLady has joined #nixos
drakonis has quit [Read error: Connection reset by peer]
j_r0m has quit [Ping timeout: 256 seconds]
<samueldr> the API level is versioned in tandem with the operating system version number, in a monotonically increasing number
<enleth> jomik: 8.0.0 is the release number of the whole thing, 26 is API level of internal libraries. No idea what was intended, but that's where they come from.
develCuy has joined #nixos
kisonecat has quit [Quit: Lost terminal]
<samueldr> one place you can see whihc API level maps to which version: https://en.wikipedia.org/wiki/Android_version_history
<jomik> enleth: Yeah, I am aware, just looks wrong when I look in the androidsdk.nix buildCommand.
<jomik> but, it may be correct anyway.
<enleth> internal stuff pretty much only cares about the API level and checks that, not the version numbers
<jomik> installing androidenv.androidsdk_8_0_0 just does not pull any platforms..
<jomik> Which is probably why it does not accept any licenses :P
<{^_^}> [nixpkgs] @elohmeier opened pull request #52580 → pythonPackages.connexion → https://git.io/fhvtK
kisonecat has joined #nixos
kini has quit [Quit: No Ping reply in 180 seconds.]
dbmikus has joined #nixos
ilya-fedin has joined #nixos
dbmikus__ has quit [Ping timeout: 250 seconds]
<ilya-fedin> Hello!
<ilya-fedin> How can I rebuild nixos in nixos live?
<ilya-fedin> Currently I getting error https://pastebin.com/s36BuzbD
<ilya-fedin> nixos-enter + nixos-rebuild switch
develCuy has quit [Quit: No Ping reply in 180 seconds.]
kini has joined #nixos
<{^_^}> [nixos-org-configurations] @zimbatm merged pull request #68 → terraform: describe the nixos.org records in route53 → https://git.io/fpNiQ
<{^_^}> [nixos-org-configurations] @zimbatm pushed 5 commits to master: https://git.io/fhvqd
ThatDocsLady has quit [Remote host closed the connection]
<{^_^}> [nixos-org-configurations] @zimbatm pushed 0 commits to zimbatm/route53-zone: https://git.io/fhvqF
ThatDocsLady has joined #nixos
<{^_^}> [nixpkgs] @vdemeester opened pull request #52581 → gitlab-workhorse: migrate to using buildGoPackage → https://git.io/fhvme
ilya-fedin_ has joined #nixos
<{^_^}> [nixpkgs] @lsix opened pull request #52582 → gnugrep: 3.1 -> 3.2 → https://git.io/fhvm3
ilya-fedin has quit [Ping timeout: 240 seconds]
ilya-fedin_ is now known as ilya-fedin
agander has joined #nixos
<ilya-fedin> If someone wrote me something, please repeat, my client has disconnected
Mr_Keyser_Soze has joined #nixos
<gchristensen> nobyd said anything
buttbutter has joined #nixos
jperras has joined #nixos
<ilya-fedin> I hope there will be a solution to the problem of rebuilding from live
<buttbutter> Hey. I'm trying to install NixOS for the first time. Upon booting off a USB stick, I just get plopped into a GNU terminal. No idea what to do at this point. Can anyone guide me/link me to some information?
boxscapeR has joined #nixos
<buttbutter> Into a GNU GRUB***
cyounkins has joined #nixos
<buttbutter> So, into a GRUB terminal. I just don't really know my way around GRUB, I guess.
<samueldr> I think generally one will use nixos-install in the live disk to rebuild; though it will use the NIX_PATH (thus nixpkgs checkout) of the live disk, AFAIK
<samueldr> (ilya-fedin ^)
<boxscapeR> I've used python36Packages.buildPythonPackages with tarballs before to build dependencies. Is there some way to use this with .whl files, or some other function that lets me use .whl files as python dependencies?
random_yanek has quit [Ping timeout: 240 seconds]
<samueldr> buttbutter: how did you make the USB stick?
<buttbutter> samueldr: Using dd, as suggested in the wiki.
develCuy has joined #nixos
<samueldr> buttbutter: oof, shouldn't give a grub terminal, any output (error messages) before the terminal?
<buttbutter> samueldr: No :(
<buttbutter> Just goes straight there.
<samueldr> buttbutter: I'm assuming a fresh download, right, which iso? graphical or minimal?
<ilya-fedin> samueldr: I really do not want to re-run nixos-install, it is very long
<buttbutter> Tried both graphical and minimal, same result. And yes, downloaded it just before.
<gchristensen> nixos-install is idempotent -- it won't rebuild things it doesn't need to
<samueldr> buttbutter: you verified the sha256 sum of the iso?
<buttbutter> I have no idea if this may be the issue, but I know a lot of people with my laptop reported difficulties installing linux due to the hybrid graphics situation. But it seems like not getting past GRUB is too early in the boot process for that to be the issue, right?
<buttbutter> samueldr: Ah...no. I'll do that :)
<samueldr> buttbutter: it could!
<samueldr> though it's hard to be 100% sure without further investigation :/
<buttbutter> samueldr: I can't disable the hybrid graphics since it literally bricks the BIOS in my computer. Not kidding. ;_;
<samueldr> ouch, computers are hard :/
Ariakenom has joined #nixos
<samueldr> it may help look for infos: what's the model?
<buttbutter> It's a ThinkPad X1 Extreme
<shapr> ooh
<shapr> buttbutter: I have the P52, I think I'll have to wait until the installer has kernel 4.19
<buttbutter> shapr: The P52 has the same bricking issues =/
<shapr> buttbutter: I ran into issues with the i915 chipset and race conditions with usb
<samueldr> shapr: you can have it today!
<ilya-fedin> gchristensen: And if it can put connman? I specified zsh in environment.systemPackages, however zsh is not in the system.
<shapr> samueldr: wait how?
<buttbutter> shapr: Do *not* switch the graphics to discrete only. Literally bricks your computer.
<samueldr> give me 1 mins
<shapr> buttbutter: uh, I already did switch, and it's fine
<buttbutter> Oh, it's not 100%.
<buttbutter> But tons of reports of it.
<shapr> but I can switch it back
<shapr> buttbutter: maybe it's that I have the xeons?
<samueldr> shapr: https://hydra.nixos.org/build/86123671 // from the "links" tab, "latest successful build from a finished evaluation" https://hydra.nixos.org/job/nixos/release-18.09/nixos.iso_minimal_new_kernel.x86_64-linux#tabs-links
<buttbutter> shapr: No idea. I don't think anyone has really identified the issue.
<shapr> samueldr: is that the graphical installer? I'm a nix n00b
<buttbutter> The P52 actually might have a new BIOS to fix it already.
<samueldr> oh, no, the minimal one :/
<shapr> buttbutter: I dunno, I can check which version I'm running in a few minutes
<buttbutter> I think it's fixed in 1.17
<buttbutter> X1E is still stuck at 1.15 :P
<shapr> buttbutter: failed to install nixOS for a bunch of hours, then installed ubuntu
<shapr> oh, I think I do have 1.17
<samueldr> shapr: though to be fair, the graphical one only gives you a gui for *other* things than the installer, the installer still is console based with commands
<shapr> oh really?
<shapr> I already did the partitioning and all that
<{^_^}> Channel nixos-18.09-small advanced to https://github.com/NixOS/nixpkgs/commit/97940bf6c57 (from 72 minutes ago, history: https://channels.nix.gsc.io/nixos-18.09-small)
<samueldr> yeah, you'd still follow the guide like on the minimal install, only difference is it's done in an X11 graphical session
<shapr> ok, I'll try the latest non-graphical installer this evening!
<shapr> I had a bunch of problems installing ubuntu, everything worked fine once the nvidia drivers were installed, something flakey with the i915 graphics drivers
<shapr> buttbutter: is that the problem you're having?
<shapr> buttbutter: oh, you get a terminal! mine said "booting installer" and nothing more
<buttbutter> shapr: I get a GRUB panic terminal or something :(
<samueldr> looks like our grub config doesn't init for buttbutter; like grub can't read the config or something
<shapr> farther than I got
<buttbutter> I'm gonna try some new installation media
<shapr> but I'll try the un-pretty installer after work
<buttbutter> #nixos so far is super helpful :D
random_yanek has joined #nixos
<{^_^}> [nixpkgs] @Ma27 merged pull request #52538 → fwts: 18.11.00 -> 18.12.00 → https://git.io/fpjyN
<{^_^}> [nixpkgs] @Ma27 pushed 3 commits to master: https://git.io/fhvOT
<samueldr> I wonder if it is an issue with grub, and if so, if it's fixed either in a distro fork (e.g. fedora's, debian's, ubuntu's, suse's) or in grub git... last release was 19 months ago, during which some new hardware can exhibit corner cases or unimplemented features :/
Rusty1 has quit [Quit: Konversation terminated!]
<shapr> x1 extreme and p52 are more recent than that
<samueldr> working with "old" hardware I don't experience such issues :(
<buttbutter> samueldr: Ubuntu uses GRUB, right?
<samueldr> AFAIK they do
<buttbutter> Maybe I'll try to boot into that.
<samueldr> AFAIK those four defaults to GRUB in both the iso and installers
<{^_^}> [nixpkgs] @dtzWill opened pull request #52584 → llvm7: 7.0.0 -> 7.0.1 → https://git.io/fhvOq
<samueldr> BUT, the way we build our installer config might also exacerbate issues!
boxscapeR has quit [Remote host closed the connection]
alex`` has joined #nixos
Boomerang has quit [Ping timeout: 240 seconds]
__Sander__ has joined #nixos
Mr_Keyser_Soze has quit [Ping timeout: 245 seconds]
Synthetica has quit [Quit: Connection closed for inactivity]
ThatDocsLady_ has joined #nixos
ThatDocsLady has quit [Read error: Connection reset by peer]
cyounkins has quit [Ping timeout: 245 seconds]
cyounkin_ has joined #nixos
dbmikus has quit [Ping timeout: 240 seconds]
<ilya-fedin> I started nixos-install ... While it is going, I will tell you about another problem. EFI in my netbook does not allow to add boot records. It only loads bootx64.efi and the Windows Boot Manager. It also doesn't work with grub: I get the cursor in the upper left corner and nothing else. So, the problem is that systemd-boot places itself in /EFI/systemd and /EFI/BOOT, in the latter case, it overwrites the rEFInd that I need.
<ilya-fedin> How can I tell it not to do this during installation/upgrade?
<shapr> buttbutter: ubuntu installer locked up for me a bunch of times, until I installed the nvidia drivers, good luck
<samueldr> ilya-fedin: looks like `bootctl` itself is called when installing systemd-boot, but it looks like it won't upgrade itself once installed, unless you use either nixos-install or the --install-bootloader flag to nixos-rebuild
dbmikus has joined #nixos
<samueldr> and bootctl install is documented as such in its manpage: "Installs systemd-boot into the EFI system partition. A copy of systemd-boot will be stored as the EFI default/fallback loader at ESP/EFI/BOOT/BOOT*.EFI."
<samueldr> annoying I'd say
<buttbutter> shapr: I just want to see if it even starts...
<buttbutter> Really have no desire to install Ubuntu. Although I could install NixOS from Ubuntu I guess.
<buttbutter> Maybe that's a workaround :)
<shapr> yeah, I considered that
<shapr> but I want to use my new laptop!
<samueldr> what's good in using a system without nixos? :^)
<buttbutter> Hehe
<buttbutter> I still need to learn the Nix language too :V
<shapr> I don't know, have not yet successfully installed nixOS :-(
<buttbutter> But I know a lot of Haskell, so I think it should be okay!
<shapr> yay!
jonaswouters has joined #nixos
<hodapp> o hai shapr!
<jomik> samueldr: I mean, I'd be able to work if I didn't have NixOS installed :P I can't get these android sdks working D:
<shapr> o hai hodapp !
<ilya-fedin> samueldr: How can I force it not to make a copy in /EFI/BOOT? There are very few options in configuration.nix for systemd-boot.
* hodapp steals shapr's unicycle and tries to ride it in circles, falls and breaks his ass instead
<gchristensen> __Sander__ knows about android SDKs, jomik
<shapr> hodapp: did I bring my unicycle when I came to visit you?
<hodapp> yes :P
<shapr> oh good, I didn't remember
<hodapp> you had people try it out in the space
<shapr> ohh yeah
<samueldr> ilya-fedin: looks like there is no way in the nixos config to disable the call to `bootctl install` when nixos-rebuild is asked to reinstall the bootloader (like in nixos-install) and it's `bootctl install` that forces its way to bootx64.efi :/
<shapr> hodapp: wish I'd gotten your help installing nixos while I was there
<samueldr> ilya-fedin: AFAICT, nixos-install --no-bootloader should disable the installation of the bootloader
<samueldr> so if you already have systemd-boot installed, and refind re-installed to the default boot location, it should work and not break thing
<buttbutter> Well, I got it to give me a GRUB menu. But once I select an option it just gets stuck :D
<samueldr> (AFAIUI)
<buttbutter> Can you blacklist kernel modules before selecting an option?
<buttbutter> I want to disable anything Nvidia.
<shapr> which kernel module is causing you trouble?
<hodapp> shapr: lol, I didn't use NixOS at that point or I would have
<buttbutter> I mean, I *suspect* Nvidia.
detran has joined #nixos
<buttbutter> Or Nouveau. Whatever is used.
<samueldr> buttbutter: if you edit the boot option, `module_blacklist=list,of,module,names`
<samueldr> it's a kernel cmdline option
<buttbutter> Ah, perfect. Thanks. Sorry, I never used GRUB to any extent. Total noob.
<ilya-fedin> samueldr: This fucking systemd gives no option :(
<shapr> yeah, nouveau caused me a bunch of problems, doesn't seem to handle Quadro P2000
<samueldr> ilya-fedin: yeah :$ I find this quite surprising given it's rude to force its way to be the default efi program
<samueldr> s/default/fallback/
pareidolia has quit [Ping timeout: 246 seconds]
<samueldr> one could have a better fallback program, e.g. refind, installed
<ilya-fedin> samueldr: I hope someday NixOS will support rEFInd
<gchristensen> nixos + refind worked fine on my mac machine
<hodapp> interesting, haven't tried on my Mac
rardiol has joined #nixos
<samueldr> gchristensen: we don't have generations menu building for refind AFAIR
<hodapp> had mediocre luck with support on my 2008 Macbook. all sorts of things like the touchpad were almost-but-not-quite-right and it was a pain to use
<gchristensen> samueldr: eh? it just chained over to systemd-boot
<samueldr> exactly :)
<gchristensen> whats the problem?
<samueldr> refind itself could be configured to boot nixos
<{^_^}> [nixpkgs] @Ma27 merged pull request #52222 → librealsense: 2.16.4 -> 2.17.0 → https://git.io/fpbjg
<{^_^}> [nixpkgs] @Ma27 pushed 2 commits to master: https://git.io/fhvsn
<gchristensen> ah, hrm
<samueldr> the issue at stake here is that there's the fallback location for UEFI programs, and systemd-boot's bootctl ALWAYS overwrites it when installing systemd-boot :/
<samueldr> so if you install refind there because of a bad UEFI implementation, enabling --install-bootloader in nixos-build (like nixos-install does) will forcibly install it over, which is mostly an annoyance
<{^_^}> [nixpkgs] @bendlas pushed to master « allegro5: fix build for mesa 18.2.5 »: https://git.io/fhvsa
Synthetica has joined #nixos
<gchristensen> aaaach
<gchristensen> computers are complicated
<samueldr> though, there's also another annoynance linked here: if systemd-boot's bootloader is updated, it will never be upgraded without intervention in nixos, compared to grub's state file which allows nixos to know it should or not upgrade grub
<{^_^}> [nixpkgs] @Mic92 merged pull request #52567 → gcompris: 0.91 -> 0.95 → https://git.io/fheSX
<{^_^}> [nixpkgs] @Mic92 pushed 3 commits to master: https://git.io/fhvsK
* samueldr takes notes
<gchristensen> we ditch to uefi right when bios finally gets good ;)
<{^_^}> [nixpkgs] @Mic92 merged pull request #52570 → idrisPackages.tparsec: 2018-06-26 -> 2018-11-09 → https://git.io/fhedU
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/fhvsX
<samueldr> legacy booting was never good >:|
<samueldr> it was sufficient
<Myrl-saki> Is it possible to load a deriver?
<{^_^}> [nix] @LnL7 opened pull request #2594 → installer: update macOS version check to 10.12.2 → https://git.io/fhvGk
<Myrl-saki> s/deriver/.drv file/
<Myrl-saki> Apparently, yes.
<Myrl-saki> How do I print a derivation as a set?
<samueldr> double-checked in case bootctl had an undocumented flag, no, well-documented as usual https://github.com/systemd/systemd/blob/78a562ee4bcbc7b0e8b58b475ff656f646e95e40/src/boot/bootctl.c#L493-L550
Thra11 has quit [Quit: WeeChat 1.9.1]
kisonecat has quit [Ping timeout: 240 seconds]
<Myrl-saki> (import ./zzvvkplyqr97qi4p9lh7jkyck84hj2wm-libXrender-0.9.10.drv).drvAttrs
<Myrl-saki> builtins.attrNames seems to work though.
<{^_^}> [nixpkgs] @Ma27 merged pull request #52214 → mruby: 1.4.1 -> 2.0.0 → https://git.io/fpbhJ
<{^_^}> [nixpkgs] @Ma27 pushed 2 commits to master: https://git.io/fhvG8
marsam has joined #nixos
<Myrl-saki> OTOH, importing it doesn't seem to import everything. I'm interested in using Nix to find functions in libraries.
<Myrl-saki> Basically.
ntd has joined #nixos
<Myrl-saki> Source code -> Header file -> Deriver -> Source(of library)
<{^_^}> [nixpkgs] @ilikeavocadoes opened pull request #52585 → syncthing: 0.14.52 -> 0.14.54 → https://git.io/fhvGS
mvnetbiz has joined #nixos
waleee has joined #nixos
<Myrl-saki> Seems like it's not accessible within Nix.
<{^_^}> [nixpkgs] @Ma27 merged pull request #52194 → manuskript: 0.3.0 -> 0.8.0 → https://git.io/fpbF9
<{^_^}> [nixpkgs] @Ma27 pushed 2 commits to master: https://git.io/fhvZT
tm has joined #nixos
<Myrl-saki> jq '.[].env.src' seems to have what I want
waleee has quit [Quit: WeeChat 2.3]
<Myrl-saki> Alternatively..
<Myrl-saki> [myrl@myrl:/nix/store]$ nix show-derivation /nix/store/9vjrhcc4xk6sk8byrpdsa6qj00qil21a-cmake-3.10.2.drv | nix run nixpkgs.jq -c jq -r '.[].inputDrvs | keys[] | select (endswith (".tar.gz.drv"))'
<Myrl-saki> /nix/store/rncr2nr7y9a5k7w8jq9j43m6xi65ii0c-cmake-3.10.2.tar.gz.drv
<Myrl-saki> (Yes, heuristics, etc.)
<Myrl-saki> Alternatively.
<Myrl-saki> nix show-derivation /nix/store/9vjrhcc4xk6sk8byrpdsa6qj00qil21a-cmake-3.10.2.drv | nix run nixpkgs.jq -c jq -r '.[].env.src, (.[].inputDrvs | keys[])' | { read out; while read drv; do [ "$(nix-store -q --outputs $drv)" == $out ] && echo $drv; done; }
<buttbutter> Is there any way to get a log or anything of the sort when launching the NixOS installer? Mine just gets stuck with no output after selecting an option.
ThatDocsLady_ has quit [Ping timeout: 272 seconds]
apaul1729 has joined #nixos
gspia has quit [Quit: Leaving]
lokado has quit [Quit: Connection closed for inactivity]
dbmikus_ has joined #nixos
dbmikus has quit [Ping timeout: 268 seconds]
waleee has joined #nixos
kim0 has quit [Quit: Connection closed for inactivity]
arjen-jonathan has quit [Ping timeout: 252 seconds]
<{^_^}> [nixpkgs] @pmiddend opened pull request #52587 → liquibase: fix missing dependencies → https://git.io/fhvcn
<{^_^}> [nixpkgs] @bendlas pushed to master « chromium: 71.0.3578.80 -> 71.0.3578.98 »: https://git.io/fhvcW
Denommus has joined #nixos
<dtz> so cache.nixos.org is a known problem? lol
<Denommus> yeah, I'm also having problems with it
<gchristensen> dtz: what're you seeing?
<dtz> ssl cert is for wrong domain
<{^_^}> [nixpkgs] @marsam opened pull request #52588 → fffuu: init at unstable-2018-05-26 → https://git.io/fhvcP
<dtz> my nix tools and browser seem to think
<gchristensen> WFM, can you send me more info?
<Denommus> warning: unable to download 'https://nixos.org/channels/nixpkgs-unstable': HTTP error 302 (curl error: SSL peer certificate or SSH remote key was not OK); retrying in 2469 ms
<dtz> yeah ^
<LnL> can you reproduce with curl?
<dtz> "This server could not prove that it is cache.nixos.org; its security certificate is from www.nixos.org. This may be caused by a misconfiguration or an attacker intercepting your connection." <-- chrome's thoughts on the matter
<Denommus> yes
<Ralith> looks okay from here?
<gchristensen> please paste a log with -I ?
<dtz> yeah, curl says host thing too
<dtz> sure
<LnL> can you try curl -4 https://cache.nixos.org
<gchristensen> we've done some maintenance today to manage the config with tooling instead of by hand and there have been some problems caught by it.
<{^_^}> [nixpkgs] @Amar1729 opened pull request #52589 → argp-standalone: 1.3 working for linux → https://git.io/fhvcx
<LnL> we've had a problem with ipv6 + ssl once before IIRC
<gchristensen> so it works?
<dtz> (err it gave error earlier! lol)
<dtz> okay it does again, idk
<gchristensen> ok, what host does ping show you reaching?
<demize> releases.nixos.org definitely doesn't have a valid cert, but I cache.nixos.org looks fine..
<gchristensen> works from here :|
<LnL> pasting the output of this is probably going to be more useful
<LnL> openssl s_client -showcerts -connect cache.nixos.org:443
<gchristensen> thanks LnL
<dtz> brief testing suggests adding '-4' flag makes it work .. so far
<demize> gchristensen: I guess your DNS resolvers didn't have 54.217.220.47 cached or such.
kyren has quit [Remote host closed the connection]
<LnL> hmm, I'm also op ipv6 and no problems here tho
<gchristensen> we're rolling out DNS updates
<gchristensen> so some people are destined to get different info
<Denommus> wait, but mine is nixos.org/channels being redirected to releases.nixos.org, which has invalid cert
<demize> Wait, hm.
<demize> gchristensen: These things should probably be planned more in advance in the future, with appropriate TTL changes. ;)
<{^_^}> [nixpkgs] @primeos pushed to master « pythonPackages.raven: 6.9.0 -> 6.10.0 »: https://git.io/fhvC3
<Denommus> should I use another URL for nixpgs-unstable? If so, which?
<gchristensen> demize: this has been under planning
<gchristensen> switching DNS providers is hard to set nice TTLS for
<gchristensen> Denommus: can you run nix-shell -p bind.dnsutils --run "dig nixos.org ns" ?
goibhniu has quit [Ping timeout: 268 seconds]
<Denommus> it's doing... something
<Denommus> oh, it's first downloading dependencies
kai_w has joined #nixos
<Denommus> ok
<gchristensen> demize: can you test now?
<demize> gchristensen: Depends on the providers, but sure, that's a valid concern. On the other hand, since you moved to cloudfront, you could have switched to a short TTL ahead of time and then switched the old DNS provider to the cloudfront CNAME at the same time.
<demize> Test which one?
<gchristensen> demize: releases
<gchristensen> we haven't moved to cloudfront
<gchristensen> we've been at cloudfront
<gchristensen> Denommus: does curl -LI4 https://nixos.org/channels/nixpkgs-unstable work now?
<demize> It works on and off, because some of Google's DNS servers has the new and some the old cached.
<demize> Well, same thing applies whether moving to or from. :p
<Denommus> gchristensen: nope
<gchristensen> demize: there are definitely things we could have done better.
<gchristensen> Denommus: try nix-shell -p bind.dnsutils --run "dig releases.nixos.org" and paste that output
<demize> Yay for learning experiences though, I definitely wish I had fewer of them.
<dtz> well restarted my router and laptop and things seem okay now lol
<demize> The requests that go to the cloudfront CNAME works, the requests that go to 54.217.220.47 don't.
<gchristensen> upstream was fixed several minutes ago, so dtz' restart cleared the cache
<{^_^}> [nixpkgs] @primeos pushed 2 commits to master: https://git.io/fhvCQ
<dtz> hmm, router's pointed at 1.1.1.1 fwiw . And maybe I have something slightly configured wrong, everything with ipv6 I'm suspect I got wrong lol
<dtz> okay :).
<dtz> well \o/ ty
<demize> Anyone using Google's DNS resolvers will be partially broken for the next bit-under-an-hour.
<gchristensen> ugly :(
<demize> Well, unless 54.217.220.47 is set up with an appropriate cert.
<demize> But that's a bit annoying on a short notice. :)
<gchristensen> and only for a few minutes
<demize> Yep.
<gchristensen> however, it is a very very annoying ~1hr people have here
<gchristensen> demize: do you know how long is left on the cached data?
<demize> I get between 40 and 48 minute TTLs right now.
<Denommus> should I try to reboot my machine?
dslegends has joined #nixos
<LnL> I can reproduce now, any more info you want or is it sorted out?
ottidmes has quit [Ping timeout: 245 seconds]
imdoor has joined #nixos
<LnL> guessing it's just pointing to nixos.org instead of s3?
<gchristensen> it is all over but the shouting :(
<{^_^}> [nixos-org-configurations] @edolstra pushed 2 commits to master: https://git.io/fhvWs
<demize> Anyone affected should be able to just temporarily pin releases.nixos.org to one of the new IPs in /etc/hosts.
<Denommus> demize: cool, is 54.217.220.47 one of those?
<demize> Denommus: It's the only one that won't work. ;p
<Denommus> what is one that works?
<demize> Anything that d3g5gsiof5omrk.cloudfront.net. resolves to would work.
<Denommus> like 54.192.57.150?
<LnL> gchristensen: oh, unfortunate :/
kai_w has quit [Ping timeout: 244 seconds]
<Denommus> yeah, the IP I asked worked
<Denommus> thanks guys
<Denommus> now, another question
<vaibhavsagar> wait, is this the cause of my "SSL peer certificate or SSH remote key was not OK" error?
<gchristensen> yes :|
<Denommus> what does it mean?
<Denommus> it's the first time I ever got this error on nixops deploy
<gchristensen> can someone write up a quick factoid about this issue and a way to solve it?
ottidmes has joined #nixos
justan0theruser has joined #nixos
<Denommus> it seems that platform is null when it shouldn't be null
<jomik> Guess I will be setting up a docker container to pull the android sdks and build react-native stuffs :P
<Denommus> what should I do?
marsam has quit [Remote host closed the connection]
justanotheruser has quit [Ping timeout: 246 seconds]
<{^_^}> #51858 (by YuMingLiao, 1 week ago, open): error: value is null while a set was expected, at pkgs/top-level/default.nix:63:5 (when nixops deploy)
justan0theruser has quit [Ping timeout: 250 seconds]
<{^_^}> [nixpkgs] @Ma27 merged pull request #52149 → playonlinux: 4.2.12 -> 4.3.3 → https://git.io/fpby0
<{^_^}> [nixpkgs] @Ma27 pushed 2 commits to master: https://git.io/fhvlC
<{^_^}> [nixpkgs] @worldofpeace merged pull request #52551 → hyperledger-fabric: init at 1.3.0 → https://git.io/fheJ2
<{^_^}> [nixpkgs] @worldofpeace pushed commit from @marsam to master « hyperledger-fabric: init at 1.3.0 »: https://git.io/fhvlE
nmayhew has joined #nixos
<gchristensen> workaround information here: https://discourse.nixos.org/t/the-cache-is-down/1720/3?u=grahamc
<{^_^}> [nixpkgs] @bendlas merged pull request #51789 → chromium: switch release-18.09 to build with llvm7 → https://git.io/fp98J
<{^_^}> [nixpkgs] @bendlas pushed 2 commits to release-18.09: https://git.io/fhv8i
justan0theruser has joined #nixos
Havvy has quit [Read error: Connection reset by peer]
<{^_^}> [nixpkgs] @prusnak opened pull request #52590 → python.pkgs.pyu2f: new package (at version 0.1.4) → https://git.io/fhv4J
<{^_^}> [nixpkgs] @bendlas pushed to release-18.09 « chromium: 71.0.3578.80 -> 71.0.3578.98 »: https://git.io/fhv4t
ntd has quit [Quit: ntd]
<{^_^}> [nixpkgs] @lsix closed pull request #52582 → gnugrep: 3.1 -> 3.2 → https://git.io/fhvm3
mvnetbiz has quit [Ping timeout: 245 seconds]
<{^_^}> [nixpkgs] @lsix closed pull request #52579 → gnused: 4.5 -> 4.6 → https://git.io/fhvLw
justan0theruser has quit [Quit: WeeChat 2.2]
justanotheruser has joined #nixos
<{^_^}> [nixpkgs] @LnL7 opened pull request #52591 → stdenv: get rid of libkrb5 in the darwin closure → https://git.io/fhv4S
erictapen has joined #nixos
freeman42x[nix] has quit [Quit: Leaving]
freeman42x[nix] has joined #nixos
<{^_^}> [nixpkgs] @primeos pushed to master « gns3-server: Fix the build »: https://git.io/fhvBB
<gchristensen> demize, Denommus, vaibhavsagar can y'all verify everything looks good from your end now?
aw has quit [Remote host closed the connection]
spacefrogg has quit [Remote host closed the connection]
<vaibhavsagar> gchristensen: I'm no longer having any issues
aw has joined #nixos
spacefrogg has joined #nixos
rfold has joined #nixos
ddellacosta has joined #nixos
cyris212 has joined #nixos
<{^_^}> [nixos-org-configurations] @zimbatm pushed 2 commits to zimbatm/remove-nixops-bucket-policies: https://git.io/fhvBj
<gchristensen> great
<dtz> (I continue to no longer have issues ;). And yeah flushing caches of my devices was the goal of the quick reboots, lol
<demize> Yeah, don't get any old replies from Google.
<dtz> i tried to figure out how to do it from command-line on linux the other day (networkmanager?) and ... surprisingly unclear lol
<dtz> oh nvm that was a related issue--asking nm to release / renew
<Denommus> gchristensen: looks fine from here!
<gchristensen> yay
<Denommus> but I'm still getting the problem with "value is null" in nixpkgs-unstable :-/
<Denommus> can I use a stable channel in a Nix installation that's not in NixOS?
agander has quit [Ping timeout: 250 seconds]
aw has quit [Remote host closed the connection]
spacefrogg has quit [Remote host closed the connection]
kyren has joined #nixos
nDuff has joined #nixos
<nDuff> In nix repl, why does :t builtins.toPath "/" say that the result is "a string", rather than a path?
aw has joined #nixos
nmayhew has quit [Quit: Bye y'all]
nmayhew has joined #nixos
spacefrogg has joined #nixos
nmayhew has quit [Client Quit]
kvda has joined #nixos
kvda has quit [Client Quit]
kvda has joined #nixos
<jomik> :q
jomik has quit [Quit: WeeChat 2.2]
<{^_^}> [nixpkgs] @primeos pushed to master « gitRepo: 1.13.0 -> 1.13.1 »: https://git.io/fhv0b
<shapr> I did *not* expect :q to work in irc
<demize> nDuff: Because the function has a silly name, which is why it's been marked deprecated. :)
<hyper_ch> how does nixos generate locale?
<{^_^}> nix#1074 (by veprbl, 2 years ago, closed): builtins.toPath does not return a path
<{^_^}> nix#2524 (by domenkozar, 6 weeks ago, merged): Deprecate builtins.toPath
tzemanovic has joined #nixos
Denommus has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @worldofpeace opened pull request #52592 → geoclue2: correct sysconfdir → https://git.io/fhvEO
drewr has quit [Quit: ERC (IRC client for Emacs 26.1)]
aswanson has quit [Quit: WeeChat 2.2]
ilya-fedin has quit [Quit: Connection closed for inactivity]
<Ashy> hmm, last night my thinkpad ground to a halt when i had a vm, firefox and datagrip all chewing up memory so i had to hard reboot
<Ashy> since then firefox seems to be broken
<Ashy> and nixos-rebuild switch --upgrade never seemed to finish
<Ashy> i guess this is the perfect time to test out the grub boot list in anger
waleee has quit [Quit: WeeChat 2.3]
drewr has joined #nixos
aswanson has joined #nixos
arjen-jonathan has joined #nixos
kyren has quit [Quit: ZNC 1.7.1 - https://znc.in]
contrapumpkin has joined #nixos
kyren has joined #nixos
<srhb> Ashy: I would suspect its local datadir first.
<{^_^}> [nixpkgs] @ali-abrar opened pull request #52593 → ipxe: Add options to specify trusted root certificate and enable image trust management → https://git.io/fhvul
alex`` has quit [Read error: Connection reset by peer]
<gchristensen> oh COOL
<srhb> THough not for nixos :-)
copumpkin has quit [Ping timeout: 268 seconds]
orivej has joined #nixos
mkoenig has joined #nixos
jonaswouters has quit [Quit: Connection closed for inactivity]
alex`` has joined #nixos
<{^_^}> Channel nixos-18.09-small advanced to https://github.com/NixOS/nixpkgs/commit/345c0881392 (from 4 hours ago, history: https://channels.nix.gsc.io/nixos-18.09-small)
<Ashy> srhb: local datadir?
orivej has quit [Remote host closed the connection]
phreedom has quit [Remote host closed the connection]
phreedom has joined #nixos
dmc has quit [Quit: WeeChat 2.3]
sir_guy_carleton has joined #nixos
ensyde has joined #nixos
orivej has joined #nixos
dmc has joined #nixos
alex`` has quit [Read error: Connection reset by peer]
buttbutter has quit [Ping timeout: 256 seconds]
Mr_Keyser_Soze has joined #nixos
alex`` has joined #nixos
rfold has quit [Quit: leaving]
simendsjo has quit [Ping timeout: 250 seconds]
ddellacosta has quit [Remote host closed the connection]
Guanin has joined #nixos
__Sander__ has quit [Quit: Konversation terminated!]
<Guanin> Hi, can someone point me to some example repos of configs for multiple machines and users? I'm looking for some inspiration for my setup, as I want to switch to NixOS on my desktop, too (already have it on my homeserver and laptop)
buttbutter has joined #nixos
<buttbutter> srhb: You were the guy with the P52...right?
<Guanin> @ldlework, that looks pretty sane at first glance :)
<buttbutter> srhb: I just got NixOS on my X1E. Booted the pop!_OS live cd and install nix from there, no problem.
<buttbutter> So that's my recommended route for now :)
cyounkins has joined #nixos
kvda has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
apaul1729 has quit [Remote host closed the connection]
cyounkin_ has quit [Ping timeout: 250 seconds]
aleph- has joined #nixos
Mr_Keyser_Soze has quit [Ping timeout: 268 seconds]
tzemanovic has quit [Remote host closed the connection]
tzemanovic has joined #nixos
tzemanovic has quit [Remote host closed the connection]
tzemanovic has joined #nixos
tzemanovic has quit [Remote host closed the connection]
tzemanovic has joined #nixos
tzemanovic has quit [Remote host closed the connection]
tzemanovic has joined #nixos
drewr has quit [Ping timeout: 260 seconds]
tzemanovic has quit [Remote host closed the connection]
<jasongrossman> buttbutter: \o/
simukis has quit [Quit: simukis]
<samueldr> buttbutter: which bootloader did you end up choosing?
<buttbutter> systemd :)
<buttbutter> Well...wasn't a choice. It was just the default. But that's what I'm familiar with from Arch anyway.
<samueldr> (there's no real default, only a recommendation in the default configuration file, grub is represented too :))
<buttbutter> samueldr: But if you go the UEFI-route, systemd is the default, right?
<samueldr> none are
tzemanovic has joined #nixos
<samueldr> ah, though the manual still has the phrasing saying "you have to" use systemd-boot
kvda has joined #nixos
<{^_^}> [nixpkgs] @matthewbauer opened pull request #52594 → make-disk-image: use filterSource instead of cleanSource → https://git.io/fhval
<buttbutter> Something like that :D
tzemanovic has quit [Remote host closed the connection]
tzemanovic has joined #nixos
<samueldr> and I say "there's no default" since the options are not built like "boot.loader.efi.enable", but "boot.loader.a-bootloader.enable", without a "I don't care just make it work" option
tzemanovic has quit [Remote host closed the connection]
tzemanovic has joined #nixos
tzemanovic has quit [Remote host closed the connection]
ntd has joined #nixos
tzemanovic has joined #nixos
tzemanovic has quit [Remote host closed the connection]
<buttbutter> The config file generator automatically enabled systemd.
<buttbutter> So that's why I see it as a default. I never typed "boot.loader.systemd-boot.enable = true"
tzemanovic has joined #nixos
<buttbutter> Just appeared out of the ether into my configuration.nix :D
tzemanovic has quit [Remote host closed the connection]
tzemanovic has joined #nixos
tzemanovic has quit [Remote host closed the connection]
tzemanovic has joined #nixos
drewr has joined #nixos
<samueldr> hm, I was under the assumption the default configiration.nix had those as commented-out examples, but it looks like I'm wrong... the perils of never re-installing :/
tzemanovic has quit [Remote host closed the connection]
<samueldr> (I'm looking at the configuration file generator)
tzemanovic has joined #nixos
tzemanovic has quit [Remote host closed the connection]
tzemanovic has joined #nixos
<buttbutter> Maybe it's recently been changed
tzemanovic has quit [Remote host closed the connection]
<buttbutter> But hey, that's just a testament to Nix--why ever reinstall :D?
tzemanovic has joined #nixos
<samueldr> nah, well before 2016 it already was checking "does it look like an EFI system?" and adding it as a default
tzemanovic has quit [Remote host closed the connection]
tzemanovic has joined #nixos
Mr_Keyser_Soze has joined #nixos
tzemanovic has quit [Remote host closed the connection]
tzemanovic has joined #nixos
tzemanovic has quit [Remote host closed the connection]
tzemanovic has joined #nixos
tzemanovic has quit [Remote host closed the connection]
tzemanovic has joined #nixos
<{^_^}> [nixpkgs] @timokau opened pull request #52596 → Revert "python: cypari2: 1.3.1 -> 2.0.0" → https://git.io/fhvaQ
tzemanovic has quit [Read error: Connection reset by peer]
tzemanov_ has joined #nixos
tzemanov_ has quit [Remote host closed the connection]
tzemanovic has joined #nixos
tzemanovic has quit [Remote host closed the connection]
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/327f7da2607 (from 3 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
tzemanovic has joined #nixos
tzemanovic has quit [Remote host closed the connection]
tzemanovic has joined #nixos
<mkaito> probably a stupid question, but given that `avrbinutils` appears in all-packages.nix how come `nix-env -iA nixos.avrbinutils` says it's not defined?
imdoor has quit [Quit: imdoor]
<samueldr> mkaito: looks like it was moved during some cross cleanup between 18.09 and unstable
tzemanovic has quit [Ping timeout: 252 seconds]
<samueldr> it may be `pkgsCross.avr.binutils` now, though annoying if again cross cleanup removed previously available attributes
Mr_Keyser_Soze has quit [Remote host closed the connection]
Mr_Keyser_Soze has joined #nixos
<sir_guy_carleton> does anybody use here use autoupdate for their desktop installations? how often do you set the timer for?
<nDuff> Are there any best practices to use to prevent an expensive-to-calculate value from being realized when the attrset it's in is printed at the repl?
<nDuff> Could hide it behind a function, sure, but that's a calling-convention change so means updating everything that might want to look at it.
jackdk has joined #nixos
Mr_Keyser_Soze has quit [Ping timeout: 246 seconds]
<mkaito> samueldr: thanks. the compatibility double standard is annoying, agreed.
kvda has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
jabranham has quit [Quit: ERC (IRC client for Emacs 27.0.50)]
<{^_^}> [nixpkgs] @timokau merged pull request #52596 → Revert "python: cypari2: 1.3.1 -> 2.0.0" → https://git.io/fhvaQ
<{^_^}> [nixpkgs] @timokau pushed to master « Revert "python: cypari2: 1.3.1 -> 2.0.0" (#52596) »: https://git.io/fhvV2
detran has quit [Ping timeout: 246 seconds]
<zgrep> How would one do the equivalent of nixos-rebuild from the livecd? Preferably without requiring an internet connection, because the change I made does not require an internet connection (and setting one up is annoying).
<{^_^}> [nixpkgs] @lopsided98 opened pull request #52597 → lvm2: disable parallel building → https://git.io/fhvVD
erasmas has quit [Quit: leaving]
<zgrep> Ah, looks like nixos-enter gets me closer to where I want.
Mr_Keyser_Soze has joined #nixos
<zgrep> But not close enough. Just calling nixos-install again seems to do what I want, though.
kvda has joined #nixos
dbmikus_ has quit [Quit: WeeChat 2.3]
dslegends has quit [Quit: dslegends]
cyounkins has quit [Remote host closed the connection]
cyounkins has joined #nixos
Mr_Keyser_Soze has quit [Ping timeout: 250 seconds]
cyounkins has quit [Ping timeout: 240 seconds]
<devalot> In a nixops configuration, I want to set targetEnv to container if the host is NixOS, otherwise set it to libvirt or virtualbox. Is there a way to figure that out? From config.boot?
alex`` has quit [Quit: WeeChat 2.3]
<{^_^}> [nixpkgs] @andir opened pull request #52598 → [18.09] firefox: 63.0.3 -> 64.0 → https://git.io/fhvrA
<{^_^}> [nixpkgs] @lopsided98 opened pull request #52599 → libpfm: fix cross compilation → https://git.io/fhvrx
<{^_^}> [nixpkgs] @Ma27 merged pull request #52585 → syncthing: 0.14.52 -> 0.14.54 → https://git.io/fhvGS
<{^_^}> [nixpkgs] @Ma27 pushed 2 commits to master: https://git.io/fhvoe
kvda has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<{^_^}> [nixpkgs] @liamdawson opened pull request #52600 → plex: 1.14.0.5470 -> 1.14.1.5488 → https://git.io/fhvoV
Ariakenom has quit [Quit: Leaving]
ZaraChimera has joined #nixos
ZaraChimera has quit [Remote host closed the connection]
ZaraChimera has joined #nixos
ddellacosta has joined #nixos
nDuff has quit [Quit: zzz]
Mr_Keyser_Soze has joined #nixos
kvda has joined #nixos
ddellacosta has quit [Remote host closed the connection]
<ZaraChimera> Hmm, looks like the encrypted boot on ZFS might not work on my system, since it's an MBR file partition table.