worldofpeace_ changed the topic of #nixos to: NixOS stable: 20.03 ✨ https://discourse.nixos.org/t/nixos-20-03-release/6785 || https://nixos.org || Latest NixOS: https://nixos.org/nixos/download.html || Latest Nix: https://nixos.org/nix/download.html || Logs: https://logs.nix.samueldr.com/nixos/ || use ,channels for a list of Nix* related channels || nixcon videos: https://tinyurl.com/nixcon2019 || Link to the output of nix-info
<clever> > or
<{^_^}> error: syntax error, unexpected OR_KW, at (string):308:1
<adisbladis> Raito_Bezarius: I'd be more inclined to explore this to support other kernels than supporting openrc
<cole-h> > [] or []
<{^_^}> attempt to call something which is not a function but a list, at (string):308:1
<clever> energizer: not sure why the bot is behaving differently, but the or keyword only works after a set
<Raito_Bezarius> adisbladis: I'm not that keen on supporting openrc
<Raito_Bezarius> But I have to admit
<adisbladis> I know of a certain payment company using Nix on FreeBSD generating jails and all sort of crazy things
<Raito_Bezarius> services.init = "static";
<clever> > let foo = { a = 1; }; in foo.b or "fallback"
proofofkeags has joined #nixos
<{^_^}> "fallback"
proofofkeags has quit [Remote host closed the connection]
<energizer> nix-repl> {} or {} -> error: undefined variable 'or' at (string):1:1
<Raito_Bezarius> and just generate a static init would be super interesting
<clever> energizer: when a given attrpath isnt found, the or uses the fallback
<Raito_Bezarius> adisbladis: wow
proofofkeags has joined #nixos
<Raito_Bezarius> my dream would be to explore Nix(OS)+microkernels
<cole-h> > { a = "a"}.b or "smile"
<{^_^}> error: syntax error, unexpected '}', expecting ';', at (string):308:10
<cole-h> woops
<cole-h> > { a = "a"; }.b or "smile"
<{^_^}> "smile"
<adisbladis> Raito_Bezarius: This "certain payment company" is by my rough estimates the biggest payment company on planet earth
<cole-h> :D
<clever> Raito_Bezarius: have you seen not-os?
<Raito_Bezarius> adisbladis: what
<clever> Raito_Bezarius: and haskell-init?
<Raito_Bezarius> clever: I have read those two! I really enjoyed them!!
mbrgm_ has joined #nixos
<Raito_Bezarius> Was wondering whether it was possible to go further and use seL4/formally proved stuff
mbrgm has quit [Ping timeout: 272 seconds]
mbrgm_ is now known as mbrgm
<Raito_Bezarius> Once I have more time, I also want to see whether it's possible to formally prove in Lean|Coq some stuff about Nix
<notgne2> most of the work I do at my company at the moment is just turning everything into Nix, including stuff like packaging, tests, docker image generation, and dev environments
<clever> Raito_Bezarius: somebody linked me to https://spectrum-os.org/ recently...
<notgne2> nix turned out to be a very convenient piece of knowledge
<Raito_Bezarius> clever: Yeah I just learnt about it recently
<Raito_Bezarius> NGI Zero stuff like always :D
<clever> Raito_Bezarius: and they alreadu use nix to build it
<Raito_Bezarius> I'm just not sold at all on virtualization as a security feature
<cole-h> clever: Come join us in #spectrum :)
drakonis has quit [Read error: Connection reset by peer]
<Raito_Bezarius> I remember de Raadt everytime I see virtualization as security feature
<qyliss> de Raadt and I clearly have very different threat models
<armin> so why does this here not work to enable ctrl-alt-backspace in NixOS? setxkbmap -option "terminate:ctrl_alt_bksp"
<{^_^}> [nixpkgs] @Robertof opened pull request #86366 → nixos/lib/make-ext4-fs: always allow execution of resize2fs → https://git.io/JfYDd
<armin> clever: superb, ty
<adisbladis> de raadt <3
<notgne2> so to say the least right now I'm getting paid to fix some more semver issues in pnpm2nix apparently
<adisbladis> I'm not sure what I think about him
<adisbladis> But whatever he posts is at least amusing
<adisbladis> And often enlightening
<{^_^}> [nixpkgs] @Ma27 merged pull request #82982 → improve robustness of various Rust packages → https://git.io/JfYDF
<{^_^}> [nixpkgs] @Ma27 pushed 11 commits to master: https://git.io/JfYDb
<Raito_Bezarius> :'DDD
<Raito_Bezarius> qyliss: this is going to be a quote
<Raito_Bezarius> Recently, someone argued that this https://godarch.com/ achieves the same as NixOS simpler
<Raito_Bezarius> (on HN)
<Raito_Bezarius> I didn't even know from where to start
<Raito_Bezarius> and even if it was not reproducible as in "bit-to-bit", it was "good enough for desktops"
<Raito_Bezarius> clever: interesting, I didn't know the difference between VT-x and AMD
<Raito_Bezarius> I have some friends who works in security who always joked about how VBox was easily pwnable though
<Raito_Bezarius> and have seen talks about pwning VMware ESXi
<Raito_Bezarius> but as with everything, it is rather expensive to drop a virt 0day
<adisbladis> VBox is a dumpster fire
<{^_^}> [nixpkgs] @marsam merged pull request #86362 → nodejs-13_x: 13.13.0 -> 13.14.0 → https://git.io/JfYM6
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/JfYDN
<clever> Raito_Bezarius: the 2nd-last paragraph says that VT-X (intel?) requires paging (virtual memory) to be enabled in the guest
<clever> Raito_Bezarius: which means running a realmode os like dos isnt possible
<qyliss> And a virt 0-day is much, much more expensive than a 0-day for Zoom or whatever
<clever> and i could see that also complicating the bootloader, for any os that expects to boot in real, then transition to virtual
<notgne2> I think virtualbox is just the license scammers of the virtualization world
<bqv> adisbladis: libvirt user?
<adisbladis> bqv: Nope
<bqv> just against vbox?
<qyliss> I just have a bunch of directories containing VM images and scripts that run Qemu
<bqv> ah
<qyliss> vbox is pretty horrible
<qyliss> and usually a fair bit behind KVM
<adisbladis> Mostly I just call qemu directly
<clever> oh, also...
<{^_^}> [nixpkgs] @marsam merged pull request #86266 → minikube, docker-machine-{hyperkit,kvm2}: use makefile → https://git.io/Jfmyz
<{^_^}> [nixpkgs] @marsam pushed 5 commits to master: https://git.io/JfYyJ
<clever> Raito_Bezarius: this explains the raw kvm api on linux
<clever> which is what qemu then uses to accelerate its emulation
<Raito_Bezarius> super interesting
<bqv> i used qemu for odds and ends, and my vga-passthrough stuff years back, but these days i default to vbox cause it's just *plug and play*
turona has quit [Quit: ...]
o1lo01ol1o has joined #nixos
<qyliss> Presumably so is libvirt? Although I've never used it.
<Raito_Bezarius> i found out that qemu goes very far for my use cases
<clever> if i'm testing linux stuff and messing with kernels, i use qemu
<Raito_Bezarius> i had some issues with networking but that's normal
<clever> if i just want to boot an existing distro (including windows), i use virtualbox
<Raito_Bezarius> (like vde_switch or not? etc.)
<clever> virtualbox+windows also supports dynamically resizing the "monitor", so the desktop always fits the window
<clever> but, virtualbox and /dev/kvm conflict when in use
jgeerds has quit [Ping timeout: 244 seconds]
<clever> you can load both drivers at once, but only one can actively have a guest running
<qyliss> I also now have a script that runs crosvm with a default kernel/rootfs, which is extremely useful for doing very quick VM tests
<clever> so if you forget to shutdown vbox, qemu will fail to open /dev/kvm
hlisp has joined #nixos
<clever> qyliss: this has code to spin up a qemu with either a sata, pata, nvme, or virtio disk
<clever> booting with either legacy or uefi
<adisbladis> qyliss: libvirt sucks anyway. You're not missing out.
proofofkeags has quit [Remote host closed the connection]
<clever> and then configures justdoit for each of those situations
<clever> so you can then test how justdoit behaves on each
<{^_^}> [nixpkgs] @das-g opened pull request #86367 → python3Packages.black: update homepage → https://git.io/JfYyt
<clever> because sata uses /dev/sda1, but nvme uses /dev/nvme0n1p1
<clever> and now you need to insert a p between device and partition!
<Raito_Bezarius> recently, I used a lot nixops+nixos qemu, it works pretty great, I've wrote some basic wireguard layer and it enables to test small infrastructure quite easily
<{^_^}> [nixpkgs] @marsam merged pull request #86351 → tmux: 3.1 -> 3.1a → https://git.io/JfYoe
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/JfYym
<adisbladis> Raito_Bezarius: Wireguard?
<adisbladis> I need to know more!
<adisbladis> Basically I want this https://github.com/adisbladis/nixops-encrypted-links
<Raito_Bezarius> nothing that fancy :P ; but for some work, they didn't have proper private networking, so I tried to write something that put WireGuard as private networking layer with minimal assumptions and hardcoding
<adisbladis> But wireguard
<qyliss> I'd like to add an option to mount a directory in over 9p, and then it should be enough to satisfy my testing needs for a while
o1lo01ol1o has quit [Ping timeout: 260 seconds]
<Raito_Bezarius> I just need proper nixops support to have the missing stuff which I unfortunately hardcode at the top-level
<qyliss> ooh the indentation is all wrong
<Raito_Bezarius> but I'd love to contribute to nixops-encrypted-links for WireGuard
<Raito_Bezarius> I'm keeping an eye on how NixOps 2.0 move
<adisbladis> =)
<Raito_Bezarius> but automagic WireGuard is going to be such a killer-feature
<clever> that reminds me, i was thinking about how wireguard would work in nixops
<clever> to do it "securely", you would want to copy-closure the wireguard binary to the remote machines, and run the keygen commands over ssh, storing the secret remotely, and public in the nixops state
<clever> and only then, can you build the deployment (and bake pubs into everything), and deploy nixos to each
<clever> so the central box never knows the secrets
<Raito_Bezarius> That'd be super cool, indeed
lamba has joined #nixos
<adisbladis> We're on the same page =)
dingenskirchen has quit [Read error: Connection reset by peer]
dingenskirchen has joined #nixos
<lamba> Hello,with import ( (import <nixpkgs> {}).fetchFromGitHub { owner = "nixos"; repo = "nixpkgs"; rev = "9237a09d8edbae9951a67e9a3434a07ef94035b7"; sha256 = "05bizymljzzd665bpsjbhxamcgzq7bkjjzjfapkl2nicy774ak4x"; }) {}; with python3Packages;buildPythonPackage rec { name = "rl_smoothness"; src = ./rl_smoothness; popagatedBuildInputs =
<lamba> [ numpy matplotlib scipy tensorflow gym noise mpi4py ];}
<clever> and you cant assume wg is in $PATH before you deploy, so you have to copy-closure it first
<lamba> woops
<lamba> by mistake
<adisbladis> clever: No time like the present. We're figuring out what plugin hooks we need for 2.0 right now.
smatting_ has quit [Ping timeout: 260 seconds]
<Raito_Bezarius> Also, wonder how does nixops handle kernel reboot?
<clever> Raito_Bezarius: --force-reboot
<Raito_Bezarius> I have seen that the current nixops does not know when to reboot apparently with respect to wireguard
lamba has quit [Remote host closed the connection]
<Raito_Bezarius> clever: Yes, that seems like the only choice
<clever> Raito_Bezarius: there is partial support for auto reboot, one min
HeN has quit [Quit: Connection closed for inactivity]
<Raito_Bezarius> IMHO, that would be a "nice-to-have" to know that you need to pull the kernel module for WG and reboot it to make it work, otherwise you have the ugly nixops deployment failure
<Raito_Bezarius> interesting
<clever> Raito_Bezarius: if the internal api of systemd changes, you cant dynamically reload systemd and switch to the new generation
<clever> Raito_Bezarius: this script will exit with code 100 to signal that special failure
<clever> Raito_Bezarius: nixops can then detect that, and trigger a reboot, if you --allow-reboot
<Raito_Bezarius> Makes sense
<Raito_Bezarius> What would it takes to detect this for kernel modules?
<clever> this is also a problem that would be solved by my `nix copy` idea previously explained
<clever> currently, you would boot an old nixos from an AMI image, and deploy your full config with wireguard
<clever> and then you immediately have to reboot, because the kernel is old and cant load the wireguard driver
<Raito_Bezarius> i relate with this situation :D
<clever> but with my `nix copy` based idea, you boot an installer env, deploy the config to the disk, then boot that config
<Raito_Bezarius> how does it play with further deployments?
<clever> it still needs a "reboot", but its not going to fail then
<energizer> live patch the kernel :) https://github.com/NixOS/nixpkgs/issues/10726
<{^_^}> #10726 (by copumpkin, 4 years ago, open): live kernel patching using kexec
<Raito_Bezarius> clever: but what if, conf A does not include WireGuard, but conf A' includes WireGuard
<Raito_Bezarius> and you do A → A'
<Raito_Bezarius> energizer: :D
<clever> Raito_Bezarius: if A and A' use the same kernel version, it will load just fine
<Raito_Bezarius> energizer: how much kexec for production is stable nowadays?
<gchristensen> energizer: as soon as some co wants to pay the 7 figures that'll cost to maintain ... ;p
<Raito_Bezarius> clever: indeed
<adisbladis> And if someone has 7 figures and want to spend it I know of a certain bank account that could use some more
<clever> Raito_Bezarius: when the kernel versions desync, modprobe starts using /run/booted-system/ to find kernel modules, so it can reference the nixos it had booted from (with the older kernel stuff)
<{^_^}> Channel nixos-20.03-small advanced to https://github.com/NixOS/nixpkgs/commit/f00d6dfbc68 (from 10 hours ago, history: https://channels.nix.gsc.io/nixos-20.03-small)
<clever> Raito_Bezarius: at that point, you have to manually build the wg module for the old kernel, copy-closure it, and insmod it
<Raito_Bezarius> makes super sense
<clever> or just reboot
<Raito_Bezarius> bump of kernel version would not be that often I suppose
<Raito_Bezarius> and would warrant reboots
<clever> Raito_Bezarius: except for the first deploy with nixops
<Raito_Bezarius> clever: Except for this one, indeed
<adisbladis> "It depends"
<adisbladis> I deploy all my machines with NixOps
<adisbladis> Even my laptop
<Raito_Bezarius> Living the dangerous life, I see
<Raito_Bezarius> :D
<clever> i use nixops to manage my NAS and router, ans also my fully open pi
<{^_^}> [nixpkgs] @peti pushed to haskell-updates « hackage-packages.nix: automatic Haskell package set update »: https://git.io/JfYyM
<adisbladis> Raito_Bezarius: No one remembers a coward
<Raito_Bezarius> In fact, it makes sense to use nixops, but how do you deal with state?
<energizer> adisbladis: laptop deploys to itself with nixops?
<gchristensen> kinda hard to make a nixos deploy dangerous
<adisbladis> energizer: Yep
<adisbladis> Raito_Bezarius: I ignore it :P
<clever> Raito_Bezarius: this lets me deploy nixos, cross-compiled, to an rpi3
<Raito_Bezarius> adisbladis: :D
<clever> Raito_Bezarius: it also manages the custom bootcode.bin in /boot, so it can boot without any of the official blobs
<Raito_Bezarius> clever: i need to give a try to this
<{^_^}> nixops#1264 (by grahamc, 5 weeks ago, open): Example NixOps State Backends
<Raito_Bezarius> i have some RPi and I don't use that much
<Raito_Bezarius> adisbladis: once it lands, I'm up to write a PostgreSQL state backend
<adisbladis> Combine that with https://github.com/NixOS/nixops/pull/1247 and I'm _almost_ set
<{^_^}> nixops#1247 (by adisbladis, 7 weeks ago, open): Make it possible to use Nixops without automatic SSH key provisioning
armin_ has joined #nixos
armin_ has quit [Client Quit]
<Raito_Bezarius> because you need to make nixops deployments harder
<Raito_Bezarius> you need to deploy a PGSQL too
<gchristensen> Raito_Bezarius: would be workable but a bit strange :) the state backends store a sqlite database blob
<Raito_Bezarius> gchristensen: well, what would you use for global state management across a whole project?
mamo has joined #nixos
<Raito_Bezarius> i do this classical git-crypt + automatic commit to repositories
<gchristensen> personally I'd use s3
<Raito_Bezarius> and I also hack my way with -I . to avoid making it depend on my paths
<adisbladis> gchristensen: We could switch to SQLAlchemy and still use s3 + in-memory sqlite
<gchristensen> adisbladis: no thinking about that now... its off hours :P
<adisbladis> Good point
<Raito_Bezarius> :D
<clever> # nixops modify -d rpi nixops.nix -I nixpkgs=https://github.com/NixOS/nixpkgs/archive/45e01e508a792077c77067467e07bce757932fb6.tar.gz
* adisbladis goes back to sipping beer
<Raito_Bezarius> My objective is to replace Kubernetes by NixOps
<clever> Raito_Bezarius: when you run this, the -I nixpkgs=... gets recorded to the nixops state file
<adisbladis> Umm
* gchristensen sips a manhattan
<mamo> hi every one , i decided to give nixos a try so i have a small question
<clever> Raito_Bezarius: and it will then persist for all deploys
<gchristensen> mamo: welcome!
* bqv sips wine
<Raito_Bezarius> clever: nice for the nixpkgs trick, I have a nix-shell which pin nixpkgs for that, I also have custom patches to nixops-aws so I need the nix-shell
<bqv> this is the perfect state to be ripping systemd out of nixpkgs in
<Raito_Bezarius> bqv: :'DDDD
<clever> bqv: not-os already ripped the systemd out :P
<bqv> wait huh
<bqv> really
<{^_^}> [nixpkgs] @worldofpeace opened pull request #86368 → nixos/doc/releases: update the docs as promised → https://git.io/JfYSe
<bqv> clever: oh-my-god
<mamo> do i have to make all the configuration in the configuration.nix file or i can configure some stuff later with gui tools provided with kde or gnome ?
<Raito_Bezarius> bqv: welcome in the future
<bqv> well, in fairness i was intending to rip it out and replace it with s6
<Raito_Bezarius> mamo: you're not forced to do everything in config.nix
<bqv> so there's still a fair bit of work
<bqv> but this makes things considerably easier
<Raito_Bezarius> mamo: but note that stuff configured out of nix will maintain some "state"
<Raito_Bezarius> mamo: take your ~/.config for example
<Raito_Bezarius> mamo: this can be too managed by home-manager & extra efforts
<Raito_Bezarius> (gnome is mostly configured using dconf for example)
<adisbladis> mamo: I have pretty much no idea how Gnome works
<simpson> mamo: There's tools like https://github.com/pmiddend/nixos-manager for GUI configuration, but you *will* have to get used to configuration.nix and writing Nix expressions.
<adisbladis> But KDE is a stateful mess, so sure, configure KDE via gui :P
hlisp has quit [Ping timeout: 260 seconds]
turona has joined #nixos
<Raito_Bezarius> gnome can be more or less managed by nix with enough efforts (through dconf)
<worldofpeace> this is true, as one of the resident gnome experts ^
thc202 has quit [Ping timeout: 244 seconds]
<worldofpeace> though, both kde and gnome have a javascript api one could use/abuse
<Raito_Bezarius> i'm no gnome expert though so pretty happy to not be that far from reality
<adisbladis> worldofpeace: You're reminding me that I want to use kwin but manage that with emacs through the js api
<mamo> so for example i can add a keyboard layout later with whatever tools provided with kde/gnome without problems?
<Raito_Bezarius> mamo: you can
<Raito_Bezarius> but remember that for example, your TTY keyboard layout is not managed by kde/gnome AFAIK
<mamo> thanks guys , you're really helpful
<simpson> mamo: For keyboards in particular, you may want to double-check your layout during installation, so that you don't have an unpleasant surprise if you have non-QWERTY.
<worldofpeace> adisbladis: enter plasma desktop scripting https://userbase.kde.org/KDE_System_Administration/PlasmaDesktopScripting
<adisbladis> worldofpeace: Been there done that
<adisbladis> I'd give it 3/10
<adisbladis> Would not ecmascript again
<energizer> out of curiosity, is anybody using dhall for their nix config?
hlisp has joined #nixos
<clever> energizer: i went the reverse, i replaced the dhall config stuff with nix, lol
<energizer> haha, i *like* types :)
<worldofpeace> adisbladis: I think one could take that as a general rule 😂
<Raito_Bezarius> :'D
<bqv> energizer: it doesn't make sense to yet, since dhall is missing some capabilities of nix
<adisbladis> worldofpeace: I don't know :) I've done a lot of crypto in js/ecma and somehow oddly enjoyed it
<energizer> bqv: oh, which?
<bqv> well, variadic functions, for one
<simpson> energizer: I gave it a whirl. Couldn't quite feel comfortable. But I'm glad that the opportunity is there and that folks are paying attention.
<bqv> callPackage just *does not work* :p
<Raito_Bezarius> but is callPackage something that must be kept? :-°
<bqv> if you like the idea of using nixpkgs, yes :D
<Raito_Bezarius> I'm pretty excited the next iteration of the Nix language
<bqv> (at least for the forseeable future)
<Raito_Bezarius> +to see
<bqv> yeah, same
<bqv> (to be honest, if there was any chance of dhall even being remotely viable for a full config, i'd be there already)
m0rphism has quit [Ping timeout: 256 seconds]
soju has quit [Quit: Connection closed for inactivity]
hlisp has quit [Ping timeout: 264 seconds]
iyzsong has joined #nixos
<energizer> would be really cool to be passing around objects of type OperatingSystem
<energizer> simpson: do you have any public commits that use dhall in a config?
<Raito_Bezarius> adisbladis: but did you enjoy the broken CSPRNG? :P
<simpson> energizer: Nope, sorry. I don't even have any private commits.
<Raito_Bezarius> (i guess V8's CSPRNG must be good nowadays)
<bqv> lewo: hello
* Raito_Bezarius sips coca
<bqv> lewo: i don't know how keyed in you are to the dev of next-browser
<Raito_Bezarius> (late/20)
<bqv> lewo: it'd be nice to get the quicklisp deps of next 2.0 in now so that the imminent update is easier
<bqv> (and so that i can override the version locally to test stuff)
<bqv> ((quicklisp is suffering)
<bqv> )
<bqv> lewo: fwiw, i would do this myself, but every time i try and touch lispPackages it ends in something being on fire
<bqv> if anyone else knows how to sufficiently fiddle lispPackages, i can provide the list of new packages
<energizer> huh. how does next-browser compare to qutebrowser?
<adisbladis> Raito_Bezarius: I didn't generate keys with js :P
organixpear has joined #nixos
<adisbladis> Mostly signature verification & stuff like this
<bqv> lewo: packages to be added = cl-cffi-gtk cl-markup cl-webengine cl-webkit2 enchant moptilities trivial-features trivial-main-thread trivial-package-local-nicknames uiop
Wizek has quit [Quit: Connection closed for inactivity]
<bqv> energizer: i'd love to tell you, but i'm having trouble attempting to use a recent commit!
<bqv> and 1.5.0 was *ages* ago at this point
<bqv> so i have no idea what a recent version looks like
hlisp has joined #nixos
<Raito_Bezarius> adisbladis: I see
<{^_^}> [mobile-nixos] @samueldr merged pull request #134 → doc: Add contributing notes → https://git.io/JfYPT
<{^_^}> [mobile-nixos] @samueldr pushed 3 commits to master: https://git.io/JfYSQ
markus1199 has joined #nixos
proofofkeags has joined #nixos
<Raito_Bezarius> adisbladis: if you still have some neurons to spare, do you have any quick idea of why I have this error: https://github.com/nix-community/poetry2nix/pull/94/checks ? I'm looking everywhere in the code and I don't understand what triggers the build of python3.7-bootstrapped-pip-20.0.2 nor how can I understand how it is working
organixpear has quit [Remote host closed the connection]
markus1189 has quit [Ping timeout: 244 seconds]
<Raito_Bezarius> as far as I understand it, the wheel package is in wheel format and we're running in format="setuptools", so it's complaining
<{^_^}> [nixpkgs] @marsam merged pull request #86367 → python3Packages.black: update homepage → https://git.io/JfYyt
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/JfY9J
orivej has quit [Ping timeout: 240 seconds]
<adisbladis> Raito_Bezarius: I'll defer any intelligent comments to a future version of me
<Raito_Bezarius> adisbladis: :D
captn3m0 has joined #nixos
mamo has quit [Ping timeout: 240 seconds]
proofofkeags has quit [Remote host closed the connection]
hlisp has quit [Ping timeout: 244 seconds]
<{^_^}> Channel nixos-19.09-small advanced to https://github.com/NixOS/nixpkgs/commit/511766df7a3 (from 7 hours ago, history: https://channels.nix.gsc.io/nixos-19.09-small)
hlisp has joined #nixos
drakonis has joined #nixos
hlisp has quit [Ping timeout: 246 seconds]
user_0x58 has quit [Quit: Leaving]
braunse_ has joined #nixos
thongpv87 has joined #nixos
braunse has quit [Ping timeout: 265 seconds]
<thongpv87> I can not start run GUI app installed using nix, like emacs or dbeaver. I always get this error: `Fontconfig error: Cannot load config file from /etc/fonts/fonts.conf` :(
Jonathan11 has joined #nixos
<cole-h> thongpv87: You need to set your FONTCONFIG_FILE env var to be the fontconfig from nix
<cole-h> > "${fontconfig}/etc/fonts/fonts.conf"
<{^_^}> "/nix/store/60bwa6ncjg1ynmdl33ib7sjhll882kk5-fontconfig-2.12.6-bin/etc/fonts/fonts.conf"
<thongpv87> Ok, let me try it.
<thongpv87> But can I have nix apps using the same fontconfig as the host system?
<cole-h> Assuming you're on Arch, since you're seeing this error, no.
<thongpv87> I'm using ubuntu 20.04
<cole-h> Arch has fontconfig 2.13, which adds new stuff to your fonts.conf, which 2.12 does not support
<cole-h> Is that focal?
<thongpv87> Ubuntu using fontconfig 2.13
<{^_^}> Channel nixos-20.03-small advanced to https://github.com/NixOS/nixpkgs/commit/eaa38391946 (from 8 hours ago, history: https://channels.nix.gsc.io/nixos-20.03-small)
<cole-h> Yeah, that's why.
<cole-h> 2.13 adds new stuff that's incompatible with 2.12
shafox has joined #nixos
h0m1 has quit [Ping timeout: 240 seconds]
<thongpv87> If I add that fontconfig file, will it affect my native font config
<cole-h> It won't modify /etc/fonts/fonts.conf, no
<thongpv87> Sorry, I mean native apps
hlisp has joined #nixos
<clever> thongpv87: if you enable fontcont in nixos, it will generate a /etc/fonts for you
h0m1 has joined #nixos
<clever> fonts.fontconfig.enable
<thongpv87> I don't use nixos but I'm using home-manager on ubuntu. I think home-manager will generate font config into ~/.config/fontconfig
<thongpv87> Because ubuntu default fontconfig are really good, so I want to keep it.
proofofkeags has joined #nixos
hlisp has quit [Ping timeout: 244 seconds]
mac10688 has joined #nixos
thongpv87 has quit [Ping timeout: 244 seconds]
thongpv87 has joined #nixos
hlisp has joined #nixos
<Raito_Bezarius> okay got it
<Raito_Bezarius> it's due to the overrides.nix for wheel
<Raito_Bezarius> debugging override interaction is somewhat painful
drakonis has quit [Read error: Connection reset by peer]
sigmundv_ has quit [Ping timeout: 256 seconds]
mac10688 has quit [Ping timeout: 260 seconds]
<simpson> Raito_Bezarius++ for linking that OpenBSD discussion. I kept reading, and in https://marc.info/?l=openbsd-misc&m=119334473423638&w=2 you can see, literally a decade ahead of time, the philosophical seeds that led to AWS having to reboot all of their Xens a while back.
<{^_^}> Raito_Bezarius's karma got increased to 2
<Raito_Bezarius> simpson: you're welcome :), happy that you had a nice read
<simpson> Interesting not just for sysadmins, but also for kernel hackers and distro maintainers like us.
<Raito_Bezarius> adisbladis: i fixed most of the issues I had
<Raito_Bezarius> when I encountered the famous
<Raito_Bezarius> pip impossible-to-solve error
<Raito_Bezarius> ERROR: Could not find a version that satisfies the requirement tensorflow-estimator<2.2.0,>=2.1.0rc0 (from tensorflow==2.1.0) (from versions: none)
felixfoertsch23 has joined #nixos
<Raito_Bezarius> I don't know if poetry is doing something wrong or classical pip difficulties or just TensorFlow maintainers which reinvented something again
<Raito_Bezarius> asking for ≥ 2.1.0rc0 and < 2.2.0 when poetry give me 2.2.0rc0 should just work I suppose
felixfoertsch has quit [Ping timeout: 260 seconds]
felixfoertsch23 is now known as felixfoertsch
mrpi has quit [Quit: killed]
das_j has quit [Quit: killed]
ajs124 has quit [Quit: killed]
Scriptkiddi has quit [Quit: killed]
Scriptkiddi has joined #nixos
das_j has joined #nixos
mrpi has joined #nixos
ajs124 has joined #nixos
<{^_^}> [nixpkgs] @chip4 opened pull request #86371 → nodePackages.snowpack: init at 1.7.1 → https://git.io/JfYQs
penguwin has quit [Quit: NO CARRIER]
cyris212 has quit [Quit: ZNC 1.7.5 - https://znc.in]
penguwin has joined #nixos
<Raito_Bezarius> downgrading tensorflow-estimator to 2.1.0rc0 worked until
<Raito_Bezarius> collision between `/nix/store/mcpaar7dgvpr5c5am37qk947l2ym7dn1-python3.7-tensorflow-2.1.0/bin/.tensorboard-wrapped' and `/nix/store/nvrvpw70n81r3hm30dvp5qsllvayxiis-python3.7-tensorboard-2.1.1/bin/.tensorboard-wrapped'
<{^_^}> Channel nixos-19.09-small advanced to https://github.com/NixOS/nixpkgs/commit/87819f95219 (from 4 hours ago, history: https://channels.nix.gsc.io/nixos-19.09-small)
cyris212 has joined #nixos
<{^_^}> [nixpkgs] @marsam merged pull request #85762 → nodejs-14_x: init at 14.0.0 → https://git.io/JfkM0
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/JfYQ8
jumper149 has quit [Quit: WeeChat 2.8]
orivej has joined #nixos
<{^_^}> [nixpkgs] @marsam opened pull request #86372 → fstar: install completions → https://git.io/JfYQ4
gustavderdrache has quit [Quit: Leaving.]
hlisp_ has joined #nixos
remirol has joined #nixos
hlisp has quit [Ping timeout: 256 seconds]
penguwin has quit [Quit: NO CARRIER]
lorimer has quit [Ping timeout: 265 seconds]
penguwin has joined #nixos
metasyntactical has joined #nixos
<metasyntactical> Hey, 2 questions. (1) I appear to have filled up my /boot and can't rebuild anymore without an error. I tried nix-collect-garbage -d and that freed up a ton of disk space, but /boot is still full. Any suggestions?
hlisp_ has quit [Remote host closed the connection]
<Raito_Bezarius> metasyntactical: Have you tried what is written here: https://discourse.nixos.org/t/what-to-do-with-a-full-boot-partition/2049/9 ?
<Raito_Bezarius> metasyntactical: You asked only 1 question
<Raito_Bezarius> If you rerun nixos-rebuild, does it delete the old kernels?
<clever> Raito_Bezarius: it will delete the old kernels, after it has copied the new ones into /boot/
<Raito_Bezarius> Ah, so it will fail
<Raito_Bezarius> But wait, clever it shouldn't clean all kernels from all generations and install the newest from the oldest?
aw has quit [Quit: Quitting.]
spacefrogg has quit [Quit: Gone.]
aw has joined #nixos
spacefrogg has joined #nixos
hlisp has joined #nixos
metasyntactical has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @marsam opened pull request #86373 → icu67: init at 67.1 → https://git.io/JfYQu
hlisp has quit [Ping timeout: 260 seconds]
<{^_^}> [nixpkgs] @worldofpeace merged pull request #86365 → black: make available as application → https://git.io/JfYDi
<{^_^}> [nixpkgs] @worldofpeace pushed 2 commits to master: https://git.io/JfYQ2
hlisp has joined #nixos
<{^_^}> [nixpkgs] @marsam opened pull request #86374 → protobuf3_11: 3.11.3 -> 3.11.4 → https://git.io/JfYQa
turona has quit [Ping timeout: 272 seconds]
turona has joined #nixos
<clever> Raito_Bezarius: it wants to copy all current generations first, and update the config, before it begins deleting obsolete ones
CMCDragonkai has quit [Read error: Connection reset by peer]
<clever> Raito_Bezarius: so if it fails copying things, it wont break the config thats already on-disk
<clever> Raito_Bezarius: you can also use this flag, to limit how many generations it keeps on /boot/
<{^_^}> [nixpkgs] @marsam merged pull request #86308 → hydroxide: 0.2.11 -> 0.2.14 → https://git.io/JfYIy
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/JfYQw
<clever> but thats only partially of use, because 10 generations could share a single kernel/initrd, or they might wind up with 10 different ones of each
<clever> Raito_Bezarius: and if you want to make the free space on /boot even worse!, this will build a 2nd nixos, and jam it into /boot and your grub menu, using the same netboot stuff i talked about earlier
metasyntactical has joined #nixos
<clever> it operates entirely from ram, and is isolated from your / partition, so it can act like a rescue env
<metasyntactical> my second problem is why I’m now connecting from my phone
<clever> Raito_Bezarius: but by default, it shares the same <nixpkgs> as the main nixos, and will rebuild every time, so bugs within nixpkgs itself (or the kernel, or other stuff) can break the rescue env
<metasyntactical> I switched to network manager instead of a hard coded WiFi WPA password and network manager is claiming that my WiFi passwords aren’t correct but they are
<metasyntactical> and of course I garbage collected out my config that had working WiFi so now I can’t rebuild without a network
<Raito_Bezarius> clever: :/
<Raito_Bezarius> metasyntactical: what does journalctl says about this?
<Raito_Bezarius> do you still have a wpa_supplicant?
<clever> metasyntactical: are you able to just plug in an ethernet cable?
<metasyntactical> I have wpa supplicant
<metasyntactical> clever, no adapter for the laptop
<Raito_Bezarius> ethernet cable is the best solution
<Raito_Bezarius> metasyntactical: in this case, you can stop networkmanage
<Raito_Bezarius> +r
<Raito_Bezarius> write a wpa_supplicant minimal conf
<Raito_Bezarius> and run it on this conf
<metasyntactical> why doesn’t network manager work?
<Raito_Bezarius> only journalctl will tell you
<Raito_Bezarius> there can be a lot of strange reasons
<Raito_Bezarius> are you sure your keyboard layout is the good one when you type your password? metasyntactical
<Raito_Bezarius> are you using nmcli, nmtui, nmapplet?
<metasyntactical> my password is a 9 digit number
<metasyntactical> I was using networkmanager_dmenu
drakonis has joined #nixos
<Raito_Bezarius> metasyntactical: QWERTY vs AZERTY can change exactly how you input numbers for example
<metasyntactical> which launches a ncurses menu for config
<Raito_Bezarius> did you try nmcli?
<metasyntactical> I can see the password
<Raito_Bezarius> you can see it from your tool or config file from networkmanager?
<clever> Raito_Bezarius: at one time, the wifi driver for my card would cut the last byte off the network name, lol
<metasyntactical> from the curses you
<clever> i would set the network to "abc" and then `iwconfig` would say its looking for "ab"
<metasyntactical> UI
<Raito_Bezarius> clever: lol, really like those Wifi drivers
<clever> so i had to add a dummy char on the end, lol
<metasyntactical> what cmdline for nmcli
<metasyntactical> I have nmcli
<clever> metasyntactical: what does `man nmcli` say?
teto has quit [Ping timeout: 240 seconds]
<Raito_Bezarius> metasyntactical: nmcli device wifi connect SSID-Name password wireless-password :P
hlisp has quit [Remote host closed the connection]
<metasyntactical> secrets were required but not provided
waleee-cl has quit [Quit: Connection closed for inactivity]
<Raito_Bezarius> metasyntactical: try to do nmcli con delete <SSID> first
<Raito_Bezarius> metasyntactical: is your wifi driver known to be buggy?
<Raito_Bezarius> maybe a little nmcli r wifi off && nmcli r wifi on is cheap
<metasyntactical> same error
<energizer> you have to delete the connection and re-add it if the password was wrong/missing the first time
<metasyntactical> I deleted it
<metasyntactical> still doesn’t work
<Raito_Bezarius> metasyntactical: nmcli con delete <ssid> && nmcli device wifi connect […] gives an error, right?
<Raito_Bezarius> have you tried to restart the wifi card?
<metasyntactical> yes
<metasyntactical> with off and on
<energizer> also, that's `nmcli d wifi c <ssid> password <password>` (it literally has `password` in it)
<metasyntactical> yes
<metasyntactical> also tried -a
<Raito_Bezarius> journalctl -u networkmanager shows something interesting?
hlisp has joined #nixos
<Raito_Bezarius> if you can paste it (clear the PII data), that can help
<metasyntactical> that would be easy if I had a network
<Raito_Bezarius> makes sense
<Raito_Bezarius> :D
<metasyntactical> I’ll take a phone photo
<Raito_Bezarius> can't you use your phone?
<Raito_Bezarius> to tether the connection
<Raito_Bezarius> ah
<{^_^}> [nixpkgs] @AndersonTorres opened pull request #86375 → havoc: init at 2019-12-08 → https://git.io/JfYQ5
metasyntactical has quit [Remote host closed the connection]
<Raito_Bezarius> as you're on NixOS, it's highly unlikely you have the necessary stuff
morgrimm has joined #nixos
<Raito_Bezarius> hm no, networkmanager should be enough for this
<energizer> fwiw i've had that same error a number of times, and with enough fiddling and retrying it usually works
metasyntactical has joined #nixos
<hyper_ch> people still use wifi?
<clever> Raito_Bezarius: pretty sure you will always have wpa_supplicant, because network-manager uses wpa_supplicant behind the scenes
<metasyntactical> but why does it work fine when I use networking.wireless.networks
<clever> metasyntactical: i just always use wpa_supplicant bare, with wpa_supplicant.conf un-managed, and it has worked great
growpotkin has quit [Quit: ZNC 1.7.5 - https://znc.in]
<energizer> nm is getting an alternate backend "iwd" to replace wpa_supplicant
<metasyntactical> I just want to be able to switch WiFi networks without rebooting if I ever take my laptop anywhere
<clever> metasyntactical: thats trivial with wpa_cli
<clever> or wpa_gui
<metasyntactical> and now I’m fucked because I garbage collected
<clever> you can also just edit wpa_supplicant.conf (which is why nix doesnt manage it for me), and restart the wpa_supplicant.service in systemd
<metasyntactical> I ran wpa cli
<metasyntactical> it can’t connect to the supplicant
<metasyntactical> there is a supplicant process running
<clever> [root@system76:~]# wpa_cli -i wlp3s0
<clever> metasyntactical: did you tell it which interface to connect for?
<clever> when i do that, and run `status`, i can see the current network name and all the other info
<metasyntactical> I did
<clever> you can also do `scan`, and when its done, `scan_results` to see the current networks
<clever> [root@system76:~]# cat /etc/wpa_supplicant.conf
<clever> ctrl_interface=DIR=/var/run/wpa_supplicant GROUP=wheel
<metasyntactical> could not connect to wpa_supplicant
<clever> it also needs this entry in the config
<clever> check the args to wpa_supplicant itself, what file is it using? is the ctrl_interface diff?
virus_dave has quit [Quit: virus_dave]
<clever> wpa_cli will obey the $WPA_CTRL_DIR var, which likely has to match the one in the wpa_supplicant.conf file
<metasyntactical> the conf file is simple and has I giant psk value
<clever> [root@system76:~]# lsof -p 2211
morgrimm has quit [Ping timeout: 264 seconds]
<clever> wpa_suppl 2211 root 20u unix 0xffff9011e4fe8400 0t0 25488 /var/run/wpa_supplicant/p2p-dev-wlp3s0 type=DGRAM
<metasyntactical> it has some info for an old ssid and that’s it
<clever> metasyntactical: if i lsof the pid of wpa_supplicant, i can see that its listening on a unix socket in that dir
<clever> wpa_suppl 2211 root 16u unix 0xffff9011df890800 0t0 30178 /var/run/wpa_supplicant/wlp3s0 type=DGRAM
<clever> 2 of them infact
<clever> metasyntactical: do you see anything similar on your end?
metasyntactical has quit [Remote host closed the connection]
<Raito_Bezarius> How do you find system76 hardware clever?
metasyntactical has joined #nixos
<Raito_Bezarius> In terms of durability, etc.
<metasyntactical> fucking iPhone irc client
<clever> Raito_Bezarius: was working great, after a recent trip though, the wifi has been acting up
<metasyntactical> so I did the lsof
<clever> Raito_Bezarius: no clue whats going on, and a rollback doesnt solve it
<metasyntactical> it doesn’t have a conf file open
<Raito_Bezarius> clever: seems like wifi is damned in this world
<clever> metasyntactical: but does it have a unix socket open?
<metasyntactical> yes
<clever> metasyntactical: what path is that at, and what is the full name?
<metasyntactical> 3 Unix streams
<metasyntactical> no path
<metasyntactical> giant hex addrs
Supersonic112 has joined #nixos
Supersonic has quit [Disconnected by services]
<clever> metasyntactical: ah, those ones dont count
Supersonic112 is now known as Supersonic
<metasyntactical> then none
<metasyntactical> should I recreate the config file?
<clever> then you likely cant control it with wpa_cli
<clever> enless you stop network manager, and manually re-launch wpa_supplicant
<metasyntactical> let’s try that then
<clever> try stopping nm, and then just manually run it, something like: wpa_supplicant -s -u -Dnl80211,wext -c /etc/wpa_supplicant.conf -iwlp3s0
<clever> you can also use wpa_passphrase <name> <pw> to generate a fragment of the config
<clever> and then add that fragment to wpa_supplicant.conf
remirol has quit [Ping timeout: 246 seconds]
CRTified has joined #nixos
<metasyntactical> when I do that I see an error in journal to
hlisp has quit [Ping timeout: 260 seconds]
<metasyntactical> journalctl
<clever> what error?
<Raito_Bezarius> Can you describe it briefly?
oborot has joined #nixos
<Raito_Bezarius> (sounds like a reboot to reinitialize your whole hardware state is cheap too maybe...)
<metasyntactical> dbus could not request service name ... if.w1.wpa_supplicant1 die tonsecuirty policies in the configuration file
<metasyntactical> I think the conf file is fucked
<metasyntactical> how do I make a new one
<oborot> Anybody any good at working with acpid?
<clever> metasyntactical: use a text editor to just make a new file, and point the -c flag to it
<clever> metasyntactical: the file can be called anything
<Raito_Bezarius> wpa_passphrase <name> <pw> > /tmp/saveme.conf
<Raito_Bezarius> And pass it with -c like clever said
<clever> metasyntactical: and use wpa_passphrase to generate a sample config
<clever> 2020-04-30 00:19:50 < clever> ctrl_interface=DIR=/var/run/wpa_supplicant GROUP=wheel
<clever> adding this line to the config will enable wpa_cli control as well
<hyper_ch> clever: with wifi6, everything will be well :)
<metasyntactical> same dbus error
<clever> metasyntactical: you can likely ignore the dbus stuff entirely
user_0x58 has joined #nixos
<clever> metasyntactical: what does `iwconfig` say, does it show a link quality?
<metasyntactical> yes
<oborot> Trying to hook up an ACPI event to amixer to mute/unmute audio, and it's driving me nuts
<clever> metasyntactical: does `ifconfig` show an ip on the interface?
<metasyntactical> no. power dbm but it’s not connected to anything
<clever> metasyntactical: did you add the ctrl_interface line to the config file?
fresheyeball has joined #nixos
<metasyntactical> ncli device wifi shows all the nearby Swiss
<metasyntactical> ssids
<metasyntactical> god fucking damn I hate this phone irc client so much
<metasyntactical> no
<clever> metasyntactical: add that, and restart wpa_supplicant
<metasyntactical> what ctrl interface line
<clever> 2020-04-30 00:30:48 < clever> 2020-04-30 00:19:50 < clever> ctrl_interface=DIR=/var/run/wpa_supplicant GROUP=wheel
<metasyntactical> I generestrd the config file
<clever> 2020-04-30 00:30:58 < clever> adding this line to the config will enable wpa_cli control as well
<clever> add that, to the generated file
<oborot> clever: Everytime I pop in here I see you helping somebody, you rock dude
<metasyntactical> failed to initialize supplicant
<clever> metasyntactical: can you screenshot the current conf file?
hlisp has joined #nixos
<clever> metasyntactical: wpa_supplicant must be ran as root, or nothing will work at all
<Raito_Bezarius> You're not root right?
metasyntactical has quit [Remote host closed the connection]
drakonis has quit [Quit: WeeChat 2.8]
metasyntactical has joined #nixos
<metasyntactical> back
<clever> metasyntactical: wpa_supplicant must be ran as root, or nothing will work at all
hlisp has quit [Ping timeout: 246 seconds]
metasyntactical has quit [Remote host closed the connection]
<Raito_Bezarius> Final phase, his LTE modem daemon is dying
chagra has quit [Ping timeout: 240 seconds]
user_0x58 has quit [Ping timeout: 240 seconds]
<Raito_Bezarius> clever: what kind of laptop did you take from S76?
<clever> Raito_Bezarius: i believe it was the kudu
hlisp has joined #nixos
<Raito_Bezarius> Does it come with a nVidia GPU?
<Raito_Bezarius> (and does it work well wrt to Optimus/etc.?)
<clever> Raito_Bezarius: integrated gpu
<Raito_Bezarius> Oh okay
metasyntactical has joined #nixos
<Raito_Bezarius> So no issue on this side
<clever> 00:02.0 VGA compatible controller: Intel Corporation Device 591b (rev 04)
<metasyntactical> still no love
<clever> Raito_Bezarius: there was no gpu options when ordering, but opening the case up, there is a very clear void where a gpu is meant to go
<clever> metasyntactical: stop using network manager commands, wpa_supplicant only
<clever> metasyntactical: does wpa_cli connect now? what does the status cmd within it say?
<metasyntactical> what command
<Raito_Bezarius> clever: I think they sell only nVidia GPU + Intel Graphics nowadays
<metasyntactical> it does
<clever> metasyntactical: you used nmcli to connect, but wpa_supplicant should already be connecting
<metasyntactical> I got a status
<metasyntactical> disconnected
<Raito_Bezarius> <metasyntactical> stop networkmanager service, focus only on wpa supplicant
<clever> Raito_Bezarius: https://imgur.com/a/hMY9A
<Raito_Bezarius> Indeed
<clever> metasyntactical: if you run `scan`, wait for results, then `scan_results`, does it show your network?
<Raito_Bezarius> How does the thermal design perform?
<energizer> uh oh i didn't plan this properly.
<metasyntactical> I see the ssid 3 times
<clever> Raito_Bezarius: doesnt seem to get too hot, but it mostly just sits on a desk near me
<metasyntactical> for my aps
<clever> metasyntactical: and if you run `list_networks`, does it show the same ssid?
<Raito_Bezarius> clever: what about during intense operations? Are you seeing the frequency going up to the turbo and it does not get idle injected too much?
<energizer> i wanted to do encrypted root, and use boot.initrd.network.ssh to decrypt in early boot
metasyntactical has quit [Remote host closed the connection]
<clever> Raito_Bezarius: i dont really watch the freq enough to know
<clever> Raito_Bezarius: but from the photos, you can clearly see the gpu and gpu-ram missing, and a void where the gpu heatsink/fan are supposed to go
<clever> Raito_Bezarius: but system76 didnt have any gpu choices for this model
<Raito_Bezarius> clever: no problem :) — dmesg show no idle injection or stuff indicating that thermal limits are reached?
freeman42xx has quit [Quit: Leaving]
<Raito_Bezarius> Well that helps a lot I guess to not have a real GPU
<clever> Raito_Bezarius: also, nearly half the machine is empty, so you could make a much smaller case with the exact same motherboard
<energizer> but it's not even routable
<Raito_Bezarius> clever: right
<energizer> because the interface that sets up the network isn't up yet in early boot
<clever> energizer: isnt that what https://nixos.org/nixos/options.html#initrd.network.enable is for?
<energizer> clever: i'm actually not sure i understand all my components atm
metasyntactical has joined #nixos
<metasyntactical> so what do I do after the scan results
hlisp has quit [Ping timeout: 260 seconds]
<Raito_Bezarius> energizer: apparently ppl have been doing this with initramfs on Debian and dropbear successfully
<energizer> Raito_Bezarius: yeah i copied the config of some people who reported success in nixos
metasyntactical has quit [Remote host closed the connection]
<energizer> i have a complication tho that might be fatal, i'm trying to use a tailscale ip address
<energizer> but the tailscale service isn't running in early boot
<clever> metasyntactical: and if you run `list_networks`, does it show the same ssid?
<energizer> maybe that's ok if it just uses the previous address, but i'm not sure whether that makes sense
zebrag has joined #nixos
<Raito_Bezarius> I have no idea what is tailscale
inkbottle has quit [Ping timeout: 260 seconds]
<Raito_Bezarius> But at this kind of runlevel IIRC, you won't be able to run any systemd unit that require some stuff I believe
<Raito_Bezarius> Well, that's likely possible given enough magic in your kernel wand though I suppose
alexbakker has quit [Quit: Dikke doei]
alexbakker has joined #nixos
psiperator[m] has joined #nixos
user_0x58 has joined #nixos
hlisp has joined #nixos
freeman42x has joined #nixos
hlisp has quit [Ping timeout: 258 seconds]
hlisp has joined #nixos
proofofkeags has quit [Remote host closed the connection]
metasyntactical has joined #nixos
<metasyntactical> Finally got a decent irc client
<clever> metasyntactical: and if you run `list_networks`, does it show the same ssid?
<metasyntactical> Yes but says disabled temp-disabled
alp has joined #nixos
arahael3 has quit [Ping timeout: 260 seconds]
tabasko has quit [Ping timeout: 260 seconds]
anderslu1dstedt has quit [Ping timeout: 260 seconds]
dominikh has quit [Ping timeout: 260 seconds]
inkOne__ has quit [Ping timeout: 260 seconds]
daGrevis has quit [Ping timeout: 260 seconds]
daGrevis has joined #nixos
<clever> metasyntactical: try using `select_network <n>` on the net number
anderslundstedt has joined #nixos
inkOne__ has joined #nixos
dozn has quit [Read error: Connection reset by peer]
<clever> metasyntactical: and maybe also enable_network <n>
Jackneill has quit [Ping timeout: 260 seconds]
dozn_ has joined #nixos
dominikh has joined #nixos
<metasyntactical> Auth failure reason=wrong key
arahael3 has joined #nixos
<clever> metasyntactical: what does `scan_results` say exactly?
<metasyntactical> I don’t understand why it works fine using the other config mechanism
tabasko has joined #nixos
<clever> metasyntactical: why is it showing 3 different networks, do you have multiple routers? any chance the pw got changed on one or more?
<metasyntactical> I have 3 APs they are ubiquiti
<metasyntactical> They should all have the same password
<metasyntactical> Every other device I use doesn’t have a problem with them
<clever> metasyntactical: the only thing i can really thing of, is that the wifi driver in the kernel is totally fubar
<clever> metasyntactical: which is exactly the reason nixos-rebuild switch doesnt delete old kernels until it has copied everything that is "current"
<metasyntactical> Why does using the other method of configuration on nix work thoughtpolice
<clever> so any failures, leave the old stuff intact
<clever> gotta love surprise auto-complete, lol
<metasyntactical> Yeah
<metasyntactical> I hate phone keyboards so much
<clever> which method "works", because it sounds like all methods fail
<metasyntactical> In configuration.nix
<{^_^}> Channel nixos-20.03-small advanced to https://github.com/NixOS/nixpkgs/commit/47fbd1e4134 (from 7 hours ago, history: https://channels.nix.gsc.io/nixos-20.03-small)
<{^_^}> [nixpkgs] @c00w opened pull request #86376 → Modify buildGoModules to use -mod=vendor instead of the go package cache. → https://git.io/JfY7x
<clever> metasyntactical: all it does is generate a wpa_supplicant.conf file, it should make zero difference
<clever> metasyntactical: did you update nixpkgs at the same time?
<metasyntactical> If instead of setting up networking.networkmanager.enable I use networking.wireless = { “ssid” = { psk = “password”;};};
<metasyntactical> That works
hlisp has quit [Ping timeout: 260 seconds]
<clever> metasyntactical: network manager appears to entirely ignore networking.wireless.networks
<clever> so that shouldnt work
<metasyntactical> They won’t let you set both of them
<metasyntactical> I have to switch generations
<clever> metasyntactical: did you also change nixpkgs at the same time?
Jackneill has joined #nixos
<metasyntactical> And I lost the one that worked when I garbage collected
<metasyntactical> No
<clever> ive got no idea then
<clever> about the only thing you can really try is usb tethering from the phone
<metasyntactical> Yeah I found a dongle
<clever> or booting from the installer, and using nixos-enter and `nixos-rebuild boot` to repair it
fabianhjr has quit [Quit: Leaving.]
<metasyntactical> Im just really frustrated about networkmanager
<clever> ive just avoided NM like the plague
<metasyntactical> Yeah the configuration used by the installer worked
metasyntactical has quit [Remote host closed the connection]
<worldofpeace> you can actually use networkmanager and networking.wireless together https://nixos.org/nixos/manual/index.html#note-1
<clever> worldofpeace: i checked this, and i dont see it reading the cfg
<clever> worldofpeace: ah, the note you linked is more about running both at once, so NM ignores a certain IF
Jackneill has quit [Max SendQ exceeded]
Jackneill has joined #nixos
metasyntactical has joined #nixos
<worldofpeace> but oof, not helpful to the problem
<clever> and its getting late here, 1:36 am, dang
<clever> i should get to bed
<energizer> are there logs of the boot.initrd situation?
metasyntactical has quit [Remote host closed the connection]
fresheyeball has quit [Quit: WeeChat 2.7.1]
KindOne has quit [Quit: K-Lined]
metasyntactical has joined #nixos
<{^_^}> [nixpkgs] @peterhoeg merged pull request #86273 → nixos/systemd.nix: don’t require online for multi-user.target → https://git.io/JfmH2
<{^_^}> [nixpkgs] @peterhoeg pushed 2 commits to master: https://git.io/JfY5n
metasyntactical has quit [Remote host closed the connection]
KindOne has joined #nixos
stree has quit [Read error: Connection reset by peer]
orivej has quit [Ping timeout: 260 seconds]
stree has joined #nixos
hke has quit [Read error: Connection reset by peer]
hke has joined #nixos
Jonathan11 has quit [Remote host closed the connection]
Jonathan60 has joined #nixos
proofofkeags has joined #nixos
xO1 has joined #nixos
proofofkeags has quit [Ping timeout: 256 seconds]
alp has quit [Remote host closed the connection]
lorimer has joined #nixos
alp has joined #nixos
plutes has quit [Ping timeout: 260 seconds]
<pjt_014> I think steam has some 404 breakage: http://0x0.st/ie67.txt
user_0x58 has quit [Quit: Leaving]
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/3b00e78e63b (from 12 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
Ralith_ has quit [Ping timeout: 264 seconds]
<srhb> pjt_014: Which nixpkgs commit? master looks good.
<pjt_014> system: "x86_64-linux", multi-user?: yes, version: nix-env (Nix) 2.3.3, channels(josh): "nixos-19.09.2407.b67bc34d4e3, nixos-unstable-20.09pre221322.8686922e68d", channels(root): "nixos-19.09.2477.a7ceb2536ab, nixos-unstable-20.09pre214390.ea79a830dcf", nixpkgs: /nix/var/nix/profiles/per-user/root/channels/nixos
<srhb> pjt_014: And which of those were you using?
<pjt_014> nixos-version tells me 19.09.2407.b67bc34d4e3. Also it looks like it's actually linux-steam-integration that's the culprit.
alp has quit [Ping timeout: 265 seconds]
alexherbo2 has joined #nixos
<srhb> pjt_014: Head of channels/nixos-19.09 looks fine. But it might be time to upgrade anyway :)
<srhb> pjt_014: Oh, maybe not linux-steam-integration
<srhb> Yeah, that's fine too.
<pjt_014> Hm. Any idea what it could be then?
<srhb> I guess I might have some of those 404s lying around...
<pjt_014> Also how okay is 20.03 rn? I've been eyeing the milestone board on github for the past two weeks or so
<srhb> pjt_014: I think it's a very individual judgment based on your own requirements. It was fine for me. Moved on to unstable now that it's out, as I usually do.
<srhb> pjt_014: Try bumping your channel though, your linux-steam-integration hash does not match mine at the head of 19.09.
palo1 has joined #nixos
<pjt_014> nix-channel --update?
<srhb> pjt_014: Probably with sudo, if you were using root's channel
<srhb> pjt_014: I can't tell. :)
<srhb> pjt_014: (You might want to cull some of those to avoid confusion)
<srhb> pjt_014: josh's 19.09 looked up to date, roots did not.
<pjt_014> what does it look like I all have? It should just be 19.09 and unstable
<srhb> ah, wrong, the other way around.
<srhb> pjt_014: I'd get rid of either root's or your user's channels. Bound to end up getting them mixed if you have both.
palo has quit [Ping timeout: 260 seconds]
palo1 is now known as palo
cole-h has quit [Quit: Goodbye]
alexherbo2 has quit [Quit: The Lounge - https://thelounge.chat]
<pjt_014> Wait--so would I be just doing everything from my main account w/ sudo? Because that's what I have been doing.
<srhb> pjt_014: Yes.
<srhb> pjt_014: I don't remember which way around is more practical re. having the user or root own the channels, but both is bound to get you confused.
<srhb> I'd guess "root" is more practical.
<pjt_014> Would it be practical/safe to simply make nixos-rebuild/nix-channel not require sudo?
<srhb> pjt_014: Safe in what way? Your user would be able to destroy your system.
<etu> I want to use sudo/root to be able to create new system generations and boot generations
<etu> Everything else seems... off.
<srhb> Separation of "admin access" and "user access" is usually vital to avoid unintended consequences.
linarcx has joined #nixos
<srhb> So I'd say "no, it's not safe" -- messing about with your bootloader and things shouldn't really be a non-root thing.
vandenoever has joined #nixos
vandenoever has joined #nixos
vandenoever has quit [Changing host]
<pjt_014> It's getting harder to tell what I actually want here :|
<srhb> I still think you want to just get rid of either your user's or root's channels. Just to avoid the confusion of "when is one or the other used"
<srhb> And if you clear the right one (which unfortunately I cannot remember, I think it's your user's) the rest of your workflow is the same.
<pjt_014> if root is who had the channels I wouldn't need to use su to do rebuilds, would I?
symphorien has quit [Ping timeout: 244 seconds]
<srhb> If you mean "switch" then yes, you would.
<srhb> Switching involves rotating the system root of /run/current-system etc.
<srhb> For building, you've never needed root.
<pjt_014> hokay, did nix-channel --remove * in root
<pjt_014> ...that is not what I wanted.
<srhb> Other way around then :-P
<srhb> It's not a biggie either way, I just remember being unable to keep straight which was used when. And it looked from your steam troubles like you were hitting that as well.
<pjt_014> any way to tell I'v gotten rid of the duplicate?
<srhb> pjt_014: The difference between nix-channel --list and sudo nix-channel --list
<srhb> pjt_014: One should be empty
<pjt_014> yup, only the sudo version lists anything
<pjt_014> ...and I can't rebuild with or without sudo. wat
<{^_^}> [nixpkgs] @dywedir merged pull request #86364 → scrcpy: 1.12.1 -> 1.13 → https://git.io/JfYDK
<{^_^}> [nixpkgs] @dywedir pushed 2 commits to master: https://git.io/JfYdN
<srhb> pjt_014: Error message? Might just be channel naming
<pjt_014> warning: Nix search path entry '/nix/var/nix/profiles/per-user/root/channels/nixos' does not exist, ignoring
<pjt_014> error: file 'nixpkgs/nixos' was not found in the Nix search path (add it using $NIX_PATH or -I), at (string):1:13
<pjt_014> repeated several times
<srhb> pjt_014: Is one of your channels called nixos?
<pjt_014> yep
alexherbo2 has joined #nixos
<srhb> pjt_014: Did you update the channels?
<pjt_014> no, I'll do it now
<pjt_014> rebuild as normal user w/ sudo now works. whew
<pjt_014> now to uncomment the steam stuff
inkbottle has joined #nixos
rauno has joined #nixos
zebrag has quit [Ping timeout: 246 seconds]
<{^_^}> [nixpkgs] @jtojnar merged pull request #86318 → gtk3: 3.24.18 → 3.24.20 → https://git.io/JfY3o
<{^_^}> [nixpkgs] @jtojnar pushed 2 commits to staging: https://git.io/JfYdj
<pjt_014> welp the steam stuff is still 404ing, but errything else is tidier so that's better I guess :shrug:
<srhb> pjt_014: Can you repaste the error message?
<evils> pjt_014: i haven't been following closely, but can you reach the URL that's 404ing manually?
<srhb> I'm asking because my 19.09 hashes did not match yours, and while I could have something cached, we should at least be on the same versions.
mallox has joined #nixos
hlisp has joined #nixos
hlisp has quit [Read error: Connection reset by peer]
hlisp has joined #nixos
<pjt_014> I checked the logfiles and the rebuild error I get is the same as before: http://0x0.st/ie67.txt
<pjt_014> This thing is based on (?) ubuntu. Maybe the version it's based on has deprecated?
<srhb> pjt_014: I get this hash for linux-steam-integration: /nix/store/0rykqvkc34x9q8160xzmnwdz3id32rfv-linux-steam-integration-0.7.3
hlisp has quit [Remote host closed the connection]
<srhb> pjt_014: Which is now the same output hash as you see, so I guess you're right. :)
<pjt_014> that one 404s in the browser for me
<srhb> pjt_014: Must be hitting a broken mirror somehow.
<pjt_014> but not broken for you?
<srhb> pjt_014: No. What does host repo.steampowered.com say for you?
<etu> srhb: linux-steam-integration should probably be dropped in my opinion, I believe the project is dead upstream.
<srhb> etu: I've no idea what it is :D
<srhb> pjt_014: Looks like it's some cloudflare tsuff.
<pjt_014> repo.steampowered.com has address 104.17.152.86
<pjt_014> repo.steampowered.com has address 104.17.141.86
<pjt_014> repo.steampowered.com has IPv6 address 2606:4700::6811:9856
<pjt_014> repo.steampowered.com has IPv6 address 2606:4700::6811:8d56
<pjt_014> ah, cloudflare
<etu> srhb: It's some thingy that wraps libraries to make certain things work better
alp has joined #nixos
<srhb> pjt_014: Yeah, I guess it's regional cloudflare troubles then. All good here.
<srhb> (Or out of date here, who knows)
jakobrs has joined #nixos
symphorien has joined #nixos
<jakobrs> Is it possible to build the buildFHSUserEnv chroot directly?
<pjt_014> Sucks. Also it's affecting steam itself too :|
eoli3n_ has joined #nixos
<jakobrs> I'd like to use the FHS chroot directly, with other software (read: bwrap)
stree has quit [Read error: Connection reset by peer]
oborot has quit [Ping timeout: 260 seconds]
CMCDragonkai has joined #nixos
<{^_^}> [nixpkgs] @vbgl closed pull request #86287 → gtk3: fix version number in pkg-config file → https://git.io/JfmNU
buckley310 has quit [Quit: Connection closed for inactivity]
<Izorkin> etu: error build php on aarch64 - https://logs.nix.ci/?key=nixos/nixpkgs.85225&attempt_id=cd74dee9-ac41-422a-8f72-a41065af1f0d
stree has joined #nixos
<etu> Izorkin: I see, two tests in the intl extension seems to fail
<jakobrs> Maybe buildFHSEnv should be exposed in all-packages.nix?
opthomasprime has joined #nixos
<angerman> does anyone perceive nix memory consumption or performance in general as an issue?
greghab[m] has joined #nixos
<srhb> angerman: In general no, but in some cases, yes.
sgo_ has joined #nixos
opthomasprime has left #nixos [#nixos]
jakobrs has quit [Quit: WeeChat 2.8]
stigo has quit [Ping timeout: 240 seconds]
<angerman> I guess I can somewhat blame myself, but I find both to be a constant issues (aside from debugging/loggig facilities) :-/
mchasard has joined #nixos
mchasard has quit [Client Quit]
vandenoever has quit [Read error: Connection reset by peer]
vandenoever has joined #nixos
<{^_^}> [nixpkgs] @schneefux opened pull request #86377 → wordpress: Patch loader for $WORDPRESS_CONFIG → https://git.io/JfYbk
fengdaolong has quit [Ping timeout: 246 seconds]
eoli3n__ has joined #nixos
c0c0 has joined #nixos
fengdaolong has joined #nixos
<iqubic> So, I just learned about a thing called homed that may or may not be coming to systemd based linux distro near you soon.
<iqubic> Why is this a thing that needs to exist?
<makefu> *laughs in poettering*
<iqubic> It's like their trying to emulate the Windows System Registry thingy.
<makefu> iqubic: the registry is already there, it is called dconf
<iqubic> Sure. Sure.
<makefu> i like the idea, it opens up the door to actually portable home directories
<iqubic> But why do we need homed? What problems is it trying to solve? I don't want to have to reconfigure my entire machine in like 4-5 months when the new version of systemd rolls out.
<iqubic> makefu: Why do we need portable home directories?
<{^_^}> [nixpkgs] @saschagrunert opened pull request #86378 → cri-o: switch to buildGoModule → https://git.io/JfYbz
<makefu> the main reason is to have your home encrypted when you are logged out and unlock it when you actually log in
FRidh has joined #nixos
lsix has joined #nixos
<makefu> https://fosdem.org/2020/schedule/event/rhdlp/ is also worth viewing, lennart is a quite good speaker
<hyper_ch> you let other people touch yur computer? oO
<makefu> the point is, no you dont. however when your laptop is on suspend the home directory is still unlocked
mallox has quit [Ping timeout: 260 seconds]
<hyper_ch> I don't do susend
<makefu> this discussion probably fits better in #Nixos-chat we might as well continue there
mallox has joined #nixos
ilikeheaps has quit [Ping timeout: 244 seconds]
ilikeheaps has joined #nixos
<{^_^}> [nixpkgs] @lsix opened pull request #86379 → gnuchess: 6.2.5 -> 6.2.6 → https://git.io/JfYNf
kimat has joined #nixos
amir has quit [Ping timeout: 256 seconds]
knupfer has joined #nixos
knupfer has quit [Remote host closed the connection]
knupfer has joined #nixos
<{^_^}> [nixpkgs] @talyz merged pull request #86354 → [20.03] skypeforlinux: 8.58.0.93 -> 8.59.0.77 → https://git.io/JfYKX
<{^_^}> [nixpkgs] @talyz pushed 3 commits to release-20.03: https://git.io/JfYNt
c0c0 has quit [Quit: WeeChat 2.6]
m0rphism has joined #nixos
maddo has joined #nixos
lorimer has quit [Ping timeout: 246 seconds]
lorimer has joined #nixos
thongpv87 has left #nixos [#nixos]
remirol has joined #nixos
lorimer has quit [Ping timeout: 244 seconds]
amir has joined #nixos
eoli3n__ has quit [Quit: WeeChat 2.8]
smatting_ has joined #nixos
__monty__ has joined #nixos
Setzer22 has joined #nixos
linarcx has quit [Quit: WeeChat 2.8]
alp has quit [Remote host closed the connection]
alp has joined #nixos
<Setzer22> Hi! What's a proper way to declaratively add a channel? I don't like doing manual things like "nix channel --add" that will break my setup once I try to deploy my config in a new machine
<Valodim> Setzer22: the declarative way is not to use channels, I believe :)
<Valodim> and instead doing an import from a fetchTarball to a concrete nixpkgs version
<Setzer22> ok, that makes sense!
<Setzer22> like this, right?
<Setzer22> well, minus the concrete version part, that is :)
<Valodim> right :)
bukkitgerman8608 has joined #nixos
<Setzer22> I just copied that from a stackoverflow answer ^^' so I didn't know if it was the proper way
<Valodim> (sigh. response with a snippet from my matrix user probably incoming at some point)
<__monty__> Setzer22: Make sure to pin it if you want reproducibility. And note that you'll still have to setup hardware.nix manually unless the hardware's identical.
<Valodim> you should also add a sha256 to the fetchTarball to pin the content by hash
<Setzer22> thanks for the tips!
<Setzer22> by doing this, I wouldn't be receiving updates from the channel, but that's intended, right? (i.e. I will not get new package versions unless I change the url and hash manually)
<betaboon> can anyone tell me where i can find nix.conf in a single-user install ?
<Valodim> that'd be the point of pinning, yes
cr4y1 has joined #nixos
lassulus has quit [Ping timeout: 240 seconds]
<Setzer22> by the way, what's the proper way of knowing a tarball's hash? Right now I'm just manually downloading to a tmp path using wget and then running sha256 on it, but there must be a better way... Having to download twice doesn't scale well for large files
thc202 has joined #nixos
pjt_014 has quit [Ping timeout: 244 seconds]
Neo--- has quit [Ping timeout: 240 seconds]
<srhb> ,tofu Setzer22
<{^_^}> Setzer22: To get a sha256 hash of a new source, you can use the Trust On First Use model: use probably-wrong hash (for example: 0000000000000000000000000000000000000000000000000000) then replace it with the correct hash Nix expected. See: tofu-vim
<srhb> Setzer22: That way you also don't have to worry about differences between various fetchers (whether it's unpacked or not, whether some kind of cleanup goes on after fetching, ...)
<srhb> Setzer22: There are also CLI tools for this, but in my opinion they still suffer the same problem of identifying exactly what goes on with the source in a given fetcher.
<Setzer22> right, I see what you mean. I'll use this method. But what's tofu-vim? I'm just getting vegan recipes after a search ^^'
<srhb> ,tofu-vim Setzer22
<{^_^}> Setzer22: <esc>52i0<esc>
<srhb> 52i0 inserts 52 zeroes.
<srhb> (In Vim, that is)
<Setzer22> indeed it does! ( also works on my evil emacs :) ), but I'm still not getting the relationship between that and the word tofu though.. hahaha
<srhb> Setzer22: "trust on first use"
tomberek has quit [Ping timeout: 264 seconds]
<Setzer22> oh, right, thanks! now there are no more loose ends :D
<srhb> Which is a bit of a misnomer for the method, I guess, but it's the jargon of the channel at least :)
lassulus has joined #nixos
<Valodim> you can also do 'vi"r0' to replace all characters within some " with zeroes :)
<{^_^}> [nix] @domenkozar merged pull request #3548 → Fix displaying error-position in `builtins.fetch{Tree,Tarball}` → https://git.io/JfYK5
<{^_^}> [nix] @domenkozar pushed 2 commits to master: https://git.io/JfYxe
hlisp has joined #nixos
cr4y1 has quit [Read error: Connection reset by peer]
cr4y1 has joined #nixos
justanotheruser has quit [Ping timeout: 240 seconds]
bukkitgerman8608 has quit [Ping timeout: 260 seconds]
jgeerds has joined #nixos
bukkitgerman8608 has joined #nixos
negaduck has joined #nixos
Neo--- has joined #nixos
hlisp has quit [Ping timeout: 260 seconds]
zebrag has joined #nixos
inkbottle has quit [Ping timeout: 260 seconds]
lsix has quit [Quit: WeeChat 2.8]
fgaz has quit [Quit: killed]
thefloweringash has quit [Quit: killed]
thequux[m] has quit [Quit: killed]
bricewge has quit [Quit: killed]
goibhniu has quit [Quit: killed]
danielrf[m] has quit [Quit: killed]
vaibhavsagar has quit [Quit: killed]
emily has quit [Quit: killed]
colemickens has quit [Quit: killed]
hpfr[m] has quit [Quit: killed]
watzon has quit [Quit: killed]
nilsirl[m] has quit [Quit: killed]
mmatthieu has quit [Quit: killed]
pheoxy has quit [Quit: killed]
eddyb has quit [Quit: killed]
unclechu has quit [Quit: killed]
srxl[m] has quit [Quit: killed]
Poscat[m] has quit [Quit: killed]
gnxlxnxx[m] has quit [Quit: killed]
leons has quit [Quit: killed]
domenkozar[m] has quit [Quit: killed]
MilkManzJourDadd has quit [Quit: killed]
simbergm has quit [Quit: killed]
mt[m] has quit [Quit: killed]
philipp[m] has quit [Quit: killed]
alienpirate5 has quit [Quit: killed]
aparkerdavid has quit [Quit: killed]
NickHu has quit [Quit: killed]
aterius has quit [Quit: killed]
roberth has quit [Quit: killed]
drozdziak1[m] has quit [Quit: killed]
alexarice[m] has quit [Quit: killed]
TheSirC[m] has quit [Quit: killed]
cab404[m] has quit [Quit: killed]
NobbZ[m] has quit [Quit: killed]
emmanuelrosa[m] has quit [Quit: killed]
kcin[m] has quit [Quit: killed]
jgarte[m] has quit [Quit: killed]
LinuxHackerman has quit [Quit: killed]
imj[m] has quit [Quit: killed]
Smith[m] has quit [Quit: killed]
softinio[m] has quit [Quit: killed]
veleiro has quit [Quit: killed]
wheatdog[m] has quit [Quit: killed]
ndreas[m] has quit [Quit: killed]
leonardp has quit [Quit: killed]
OJ[m] has quit [Quit: killed]
tamwile[m] has quit [Quit: killed]
Gaz[m]1 has quit [Quit: killed]
dpc has quit [Quit: killed]
Irenes[m] has quit [Quit: killed]
i_run_out_of_use has quit [Quit: killed]
fsmnarmosta[m] has quit [Quit: killed]
mica[m] has quit [Quit: killed]
chvp has quit [Quit: killed]
rsynnest[m] has quit [Quit: killed]
petersjt014[m] has quit [Quit: killed]
dyon[m] has quit [Quit: killed]
aniketd[m] has quit [Quit: killed]
maxdeviant has quit [Quit: killed]
korrosive[m] has quit [Quit: killed]
devkabiir[m] has quit [Quit: killed]
kriteus[m] has quit [Quit: killed]
morr[m] has quit [Quit: killed]
ixxie[m] has quit [Quit: killed]
la-s has quit [Quit: killed]
jonreeve[m] has quit [Quit: killed]
sonercirit[m] has quit [Quit: killed]
askatasun[m] has quit [Quit: killed]
ZuS[m] has quit [Quit: killed]
chrismatheson has quit [Quit: killed]
kdedev[m] has quit [Quit: killed]
Valodim[m] has quit [Quit: killed]
Grauwolf[m] has quit [Quit: killed]
davidak[m] has quit [Quit: killed]
Amit[m] has quit [Quit: killed]
contrun[m] has quit [Quit: killed]
sm[m] has quit [Quit: killed]
nocent has quit [Quit: killed]
bachp has quit [Quit: killed]
rnhmjoj has quit [Quit: killed]
freeman42x[m] has quit [Quit: killed]
Guest215 has quit [Quit: killed]
cornu has quit [Quit: killed]
arcnmx has quit [Quit: killed]
nolan_d has quit [Quit: killed]
rendeko[m] has quit [Quit: killed]
dittofan[m] has quit [Quit: killed]
michaelpj has quit [Quit: killed]
rycee has quit [Quit: killed]
jonge[m] has quit [Quit: killed]
xavierm02 has quit [Quit: killed]
f0i[m] has quit [Quit: killed]
makaveli[m] has quit [Quit: killed]
Elorm[m] has quit [Quit: killed]
fasd has quit [Quit: killed]
atemu12[m] has quit [Quit: killed]
evanjs[m] has quit [Quit: killed]
gudea[m] has quit [Quit: killed]
theduke[m] has quit [Quit: killed]
shu9[m] has quit [Quit: killed]
tpmadz[m] has quit [Quit: killed]
notapache[m] has quit [Quit: killed]
matthewbauer has quit [Quit: killed]
tuxisgr8[m] has quit [Quit: killed]
jwaksbaum[m] has quit [Quit: killed]
thoughtweaver[m] has quit [Quit: killed]
phirsch has quit [Quit: killed]
quiet_laika[m] has quit [Quit: killed]
Leira[m] has quit [Quit: killed]
jordandoyle has quit [Quit: killed]
bendlas has quit [Quit: killed]
James[m]7 has quit [Quit: killed]
eadwu[m] has quit [Quit: killed]
Criena has quit [Quit: killed]
Arcterus[m] has quit [Quit: killed]
RexHackbro[m] has quit [Quit: killed]
rfglinux[m] has quit [Quit: killed]
antpic01[m] has quit [Quit: killed]
tbenst[m] has quit [Quit: killed]
DamienCassou has quit [Quit: killed]
shizonic has quit [Quit: killed]
deepchange[m] has quit [Quit: killed]
yangm has quit [Quit: killed]
wak-work has quit [Quit: killed]
ptotter[m] has quit [Quit: killed]
BenSima[m] has quit [Quit: killed]
phittacus has quit [Quit: killed]
ongy[m] has quit [Quit: killed]
blitzclone_ has quit [Quit: killed]
worldofpeace has quit [Quit: killed]
siraben has quit [Quit: killed]
bennofs[m] has quit [Quit: killed]
sigwinch28 has quit [Quit: killed]
exprez135[m] has quit [Quit: killed]
edrex has quit [Quit: killed]
Dandellion has quit [Quit: killed]
cyberwolf[m] has quit [Quit: killed]
schmittlauch[m] has quit [Quit: killed]
musicmatze[m] has quit [Quit: killed]
mkg20001 has quit [Quit: killed]
david-sawatzke[m has quit [Quit: killed]
dtz has quit [Quit: killed]
Notkea[m] has quit [Quit: killed]
Minijackson[m] has quit [Quit: killed]
jtojnar has quit [Quit: killed]
dwagenk[m] has quit [Quit: killed]
Ericson2314 has quit [Quit: killed]
timokau[m] has quit [Quit: killed]
tlater[m] has quit [Quit: killed]
greghab[m] has quit [Quit: killed]
M0x0120f[m] has quit [Quit: killed]
GerdFlaig[m] has quit [Quit: killed]
psiperator[m] has quit [Quit: killed]
interro[m] has quit [Quit: killed]
the_pumpkin_man[ has quit [Quit: killed]
mindtree[m] has quit [Quit: killed]
likivik[m] has quit [Quit: killed]
JJJollyjim has quit [Quit: killed]
wjjunyor[m] has quit [Quit: killed]
alvaro121[m] has quit [Quit: killed]
jjwatt[m] has quit [Quit: killed]
mlatus[m] has quit [Quit: killed]
ukazka[m] has quit [Quit: killed]
snupples[m] has quit [Quit: killed]
noonereally[m] has quit [Quit: killed]
Cadey has quit [Quit: killed]
tet[m] has quit [Quit: killed]
MohamedSarhan[m] has quit [Quit: killed]
PkmX[m] has quit [Quit: killed]
camlriot42 has quit [Quit: killed]
bqy has quit [Quit: killed]
chip[m] has quit [Quit: killed]
mrtorgo[m] has quit [Quit: killed]
jak_wolf[m] has quit [Quit: killed]
azazel has quit [Quit: killed]
aanderse has quit [Quit: killed]
kaychaks_riot has quit [Quit: killed]
ryanmaclean[m] has quit [Quit: killed]
Null_A[m] has quit [Quit: killed]
loyon[m] has quit [Quit: killed]
icetan has quit [Quit: killed]
grin[m] has quit [Quit: killed]
Pasha[m] has quit [Quit: killed]
ianmjones[m] has quit [Quit: killed]
wildtrees[m] has quit [Quit: killed]
geemili has quit [Quit: killed]
nikola[m]1 has quit [Quit: killed]
ma27[m] has quit [Quit: killed]
ecou[m] has quit [Quit: killed]
infinisil-m has quit [Quit: killed]
Florian[m]1 has quit [Quit: killed]
tyrion-mx has quit [Quit: killed]
pingiun[m] has quit [Quit: killed]
ub[m] has quit [Quit: killed]
pmc_ has quit [Quit: killed]
JameySharp[m] has quit [Quit: killed]
gsals[m] has quit [Quit: killed]
init_6 has quit [Quit: killed]
CRTified[m] has quit [Quit: killed]
justache has quit [Max SendQ exceeded]
hiroshi[m] has quit [Quit: killed]
Ox4A6F has quit [Quit: killed]
mykiwi has quit [Quit: killed]
denbrahe[m] has quit [Quit: killed]
virtusviri7321[m has quit [Quit: killed]
abbradar[m] has quit [Quit: killed]
edomfjp[m]1 has quit [Quit: killed]
M4cheese[m] has quit [Quit: killed]
sshow[m] has quit [Quit: killed]
maralorn has quit [Quit: killed]
chris| has quit [Quit: killed]
balsoft has quit [Quit: killed]
awatanabe[m] has quit [Quit: killed]
arianvp[m] has quit [Quit: killed]
layus[m] has quit [Quit: killed]
pamplemousse[m] has quit [Quit: killed]
alj[m] has quit [Quit: killed]
pkolloch[m] has quit [Quit: killed]
rihardsk[m] has quit [Quit: killed]
Albakham[m] has quit [Quit: killed]
hr[m] has quit [Quit: killed]
laval[m] has quit [Quit: killed]
hsiktas[m] has quit [Quit: killed]
Keith[m]1 has quit [Quit: killed]
fantoom[m] has quit [Quit: killed]
faya[m] has quit [Quit: killed]
AmitLevy[m] has quit [Quit: killed]
keithy[m] has quit [Quit: killed]
bobfett has quit [Quit: killed]
killercup[m] has quit [Quit: killed]
tokudan[m] has quit [Quit: killed]
ZerataX has quit [Quit: killed]
slabity has quit [Quit: killed]
puzzlewolf has quit [Quit: killed]
hsngrmpf[m] has quit [Quit: killed]
brococoli[m] has quit [Quit: killed]
Nyanloutre[m] has quit [Quit: killed]
das-g[m] has quit [Quit: killed]
kyren has quit [Quit: killed]
wedens[m] has quit [Quit: killed]
Fafnir[m] has quit [Quit: killed]
bohan[m] has quit [Quit: killed]
aborsu[m] has quit [Quit: killed]
jaray[m] has quit [Quit: killed]
kazzimazzi[m] has quit [Quit: killed]
zrsk[m] has quit [Quit: killed]
IslandUsurper[m] has quit [Quit: killed]
tsrt^ has quit [Max SendQ exceeded]
tsrt^ has joined #nixos
justache has joined #nixos
Setzer22 has quit [Remote host closed the connection]
tobin has joined #nixos
xeron832 has joined #nixos
tobin is now known as Guest53934
<vandenoever> is anying using carnix? i've a hard time figuring out how to use the Cargo.nix that it generates
Guest53934 is now known as tobinjones
lukash_|away is now known as lukash_
markus1199 has quit [Ping timeout: 246 seconds]
markus1189 has joined #nixos
stree has quit [Read error: Connection reset by peer]
turona has quit [Ping timeout: 272 seconds]
stree has joined #nixos
lsix has joined #nixos
justanotheruser has joined #nixos
<tobinjones> Hi folks, I'm having issues with NixOS freezing. I believe it to be related to nouveau and xwayland. I've tried a few things and am now stumped. Where would be a good place to ask for help?
<{^_^}> [nixpkgs] @firmero opened pull request #86380 → vscode-extensions.bbenoist.vscode-doxygen: init at 1.0.0 → https://git.io/JfYpI
hlisp has joined #nixos
stree has quit [Read error: Connection reset by peer]
xeron832 has quit [Remote host closed the connection]
stree has joined #nixos
hoijui has joined #nixos
dwagenk[m] has joined #nixos
turona has joined #nixos
hlisp has quit [Ping timeout: 240 seconds]
<symphorien> vandenoever: consider using crate2nix instead
<symphorien> It's the new shiny thing and it's actually maintained
Desetude has joined #nixos
orivej has joined #nixos
bqy has joined #nixos
<bqy> Guees the bridge died a bit
tobinjones has quit [Remote host closed the connection]
vika_nezrimaya has joined #nixos
tobinjones has joined #nixos
tobinjones has quit [Remote host closed the connection]
<vika_nezrimaya> GitLab CI + Nix-Flakes - I'm trying to research that combination right now, but something's wrong. The tree is showing as dirty even though it shouldn't have nothing dirty associated with it, it's just a detached HEAD... Build logs: https://gitlab.com/vikanezrimaya/nix-flakes-docker/-/jobs/533118018
<vika_nezrimaya> I'm trying to package Nix-Flakes in Docker, yeah
<vika_nezrimaya> and I succeeded
abbradar[m] has joined #nixos
hpfr[m] has joined #nixos
Notkea[m] has joined #nixos
loyon[m] has joined #nixos
camlriot42 has joined #nixos
cyberwolf[m] has joined #nixos
interro[m] has joined #nixos
cornu has joined #nixos
MilkManzJourDadd has joined #nixos
drozdziak1[m] has joined #nixos
fgaz has joined #nixos
jgarte[m] has joined #nixos
Minijackson[m] has joined #nixos
yangm has joined #nixos
schmittlauch[m] has joined #nixos
srxl[m] has joined #nixos
Poscat[m] has joined #nixos
sigwinch28 has joined #nixos
softinio[m] has joined #nixos
colemickens has joined #nixos
bohan[m] has joined #nixos
musicmatze[m] has joined #nixos
mkg20001 has joined #nixos
deepchange[m] has joined #nixos
blitzclone_ has joined #nixos
AmitLevy[m] has joined #nixos
ma27[m] has joined #nixos
unclechu has joined #nixos
xavierm02 has joined #nixos
killercup[m] has joined #nixos
Dandellion has joined #nixos
mt[m] has joined #nixos
danielrf[m] has joined #nixos
PkmX[m] has joined #nixos
emily has joined #nixos
snupples[m] has joined #nixos
aanderse has joined #nixos
JJJollyjim has joined #nixos
Null_A[m] has joined #nixos
hsngrmpf[m] has joined #nixos
sm[m] has joined #nixos
zrsk[m] has joined #nixos
rendeko[m] has joined #nixos
rnhmjoj has joined #nixos
bachp has joined #nixos
Valodim[m] has joined #nixos
dittofan[m] has joined #nixos
davidak[m] has joined #nixos
thoughtweaver[m] has joined #nixos
alienpirate5 has joined #nixos
leonardp has joined #nixos
Ox4A6F has joined #nixos
mindtree[m] has joined #nixos
nolan_d has joined #nixos
exprez135[m] has joined #nixos
DamienCassou has joined #nixos
jonge[m] has joined #nixos
edrex has joined #nixos
evanjs[m] has joined #nixos
leons has joined #nixos
Arcterus[m] has joined #nixos
arcnmx has joined #nixos
alexgood has joined #nixos
GerdFlaig[m] has joined #nixos
hsiktas[m] has joined #nixos
Guest4337 has joined #nixos
nilsirl[m] has joined #nixos
bennofs[m] has joined #nixos
Ericson2314 has joined #nixos
Amit[m] has joined #nixos
Irenes[m] has joined #nixos
NickHu has joined #nixos
mlatus[m] has joined #nixos
hiroshi[m] has joined #nixos
bobfett has joined #nixos
virtusviri7321[m has joined #nixos
maralorn has joined #nixos
the_pumpkin_man[ has joined #nixos
bbigras has joined #nixos
MohamedSarhan[m] has joined #nixos
plato[m] has joined #nixos
mmatthieu has joined #nixos
ongy[m] has joined #nixos
kaychaks_riot has joined #nixos
pheoxy has joined #nixos
edomfjp[m] has joined #nixos
noonereally[m] has joined #nixos
theduke[m] has joined #nixos
i_run_out_of_use has joined #nixos
Albakham[m] has joined #nixos
tyrion-mx has joined #nixos
dtz has joined #nixos
grahamc[m] has joined #nixos
matthewbauer has joined #nixos
st3r4g[m] has joined #nixos
aparkerdavid has joined #nixos
kriteus[m] has joined #nixos
das-g[m] has joined #nixos
azazel has joined #nixos
keithy[m] has joined #nixos
aterius has joined #nixos
gudea[m] has joined #nixos
notapache[m] has joined #nixos
eddyb has joined #nixos
ZerataX has joined #nixos
balsoft has joined #nixos
jak_wolf[m] has joined #nixos
fasd has joined #nixos
emmanuelrosa[m] has joined #nixos
jschievink has joined #nixos
devkabiir[m] has joined #nixos
OJ[m] has joined #nixos
infinisil-m has joined #nixos
maxdeviant has joined #nixos
makaveli[m] has joined #nixos
aniketd[m] has joined #nixos
mrtorgo[m] has joined #nixos
jtojnar has joined #nixos
Keith[m] has joined #nixos
david-sawatzke[m has joined #nixos
thefloweringash has joined #nixos
bricewge has joined #nixos
domenkozar[m] has joined #nixos
rycee has joined #nixos
worldofpeace has joined #nixos
nikola[m] has joined #nixos
dpc has joined #nixos
gh30rgh3 has joined #nixos
denbrahe[m] has joined #nixos
sonercirit[m] has joined #nixos
morr[m] has joined #nixos
ryanmaclean[m] has joined #nixos
shizonic has joined #nixos
slabity has joined #nixos
timokau[m] has joined #nixos
tuxisgr8[m] has joined #nixos
chris| has joined #nixos
ixxie[m] has joined #nixos
Nyanloutre[m] has joined #nixos
Pasha[m] has joined #nixos
Criena has joined #nixos
tet[m] has joined #nixos
IslandUsurper[m] has joined #nixos
vaibhavsagar has joined #nixos
mykiwi has joined #nixos
quiet_laika[m] has joined #nixos
init_6 has joined #nixos
tlater[m] has joined #nixos
Pneumaticat has joined #nixos
philipp[m] has joined #nixos
Fafnir[m] has joined #nixos
ndreas[m] has joined #nixos
TheSirC[m] has joined #nixos
nocent has joined #nixos
michaelpj has joined #nixos
watzon has joined #nixos
jamiemagee has joined #nixos
wak-work has joined #nixos
kyren has joined #nixos
jjwatt[m] has joined #nixos
likivik[m] has joined #nixos
puzzlewolf has joined #nixos
siraben has joined #nixos
arianvp[m] has joined #nixos
Smith[m] has joined #nixos
alexarice[m] has joined #nixos
Gaz[m]1 has joined #nixos
gnxlxnxx[m] has joined #nixos
pmc_ has joined #nixos
Grauwolf[m] has joined #nixos
ukazka[m] has joined #nixos
rihardsk[m] has joined #nixos
roberth has joined #nixos
askatasun[m] has joined #nixos
icetan has joined #nixos
ptotter[m] has joined #nixos
ub[m] has joined #nixos
imj[m] has joined #nixos
petersjt014[m] has joined #nixos
tokudan[m] has joined #nixos
tbenst[m] has joined #nixos
pkolloch[m] has joined #nixos
eadwu[m] has joined #nixos
gsals[m] has joined #nixos
ZuS[m] has joined #nixos
ianmjones[m] has joined #nixos
simbergm has joined #nixos
freeman42x[m] has joined #nixos
brococoli[m] has joined #nixos
f0i[m] has joined #nixos
Elorm[m] has joined #nixos
psiperator[m] has joined #nixos
grin[m] has joined #nixos
chvp has joined #nixos
thequux[m] has joined #nixos
mica[m] has joined #nixos
layus[m] has joined #nixos
wildtrees[m] has joined #nixos
ecou[m] has joined #nixos
goibhniu has joined #nixos
antpic01[m] has joined #nixos
pingiun[m] has joined #nixos
cab404[m] has joined #nixos
kcin[m] has joined #nixos
CRTified[m] has joined #nixos
jaray[m] has joined #nixos
korrosive[m] has joined #nixos
chip[m] has joined #nixos
pamplemousse[m] has joined #nixos
M4cheese[m] has joined #nixos
jwaksbaum[m] has joined #nixos
la-s has joined #nixos
dyon[m] has joined #nixos
tpmadz[m] has joined #nixos
fantoom[m] has joined #nixos
greghab[m] has joined #nixos
wheatdog[m] has joined #nixos
tilpner2 has joined #nixos
kdedev[m] has joined #nixos
faya[m] has joined #nixos
NobbZ[m] has joined #nixos
James[m]1 has joined #nixos
BenSima[m] has joined #nixos
rsynnest[m] has joined #nixos
phirsch has joined #nixos
kazzimazzi[m] has joined #nixos
shu9[m] has joined #nixos
contrun[m] has joined #nixos
laval[m] has joined #nixos
jonreeve[m] has joined #nixos
jordandoyle has joined #nixos
alj[m] has joined #nixos
rfglinux[m] has joined #nixos
phittacus has joined #nixos
Florian[m]1 has joined #nixos
Leira[m] has joined #nixos
chrismatheson has joined #nixos
awatanabe[m] has joined #nixos
tamwile[m] has joined #nixos
veleiro has joined #nixos
alvaro121[m] has joined #nixos
JameySharp[m] has joined #nixos
bendlas has joined #nixos
M0x0120f[m] has joined #nixos
atemu12[m] has joined #nixos
hr[m] has joined #nixos
fsmnarmosta[m] has joined #nixos
aborsu[m] has joined #nixos
wedens[m] has joined #nixos
sshow[m] has joined #nixos
wjjunyor[m] has joined #nixos
RexHackbro[m] has joined #nixos
<manveru> symphorien: how does it compare to naersk?
<adisbladis> manveru: Well, it's codegen.
<adisbladis> So very different solutions
<symphorien> Never used naersk.
<manveru> gonna have to do some rust cross-compiling to win/lin/mac...
<adisbladis> Oh no
<symphorien> I didn't even know it exists :)
<manveru> symphorien: i was thinking _that_ was the new shiny thing :)
<manveru> but haven't really used either
<{^_^}> [nixpkgs] @flokli closed pull request #76940 → openexr: fix non-cross-compilation → https://git.io/Jep2s
o1lo01ol1o has joined #nixos
<{^_^}> [nixpkgs] @7c6f434c merged pull request #86379 → gnuchess: 6.2.5 -> 6.2.6 → https://git.io/JfYNf
<{^_^}> [nixpkgs] @7c6f434c pushed 2 commits to master: https://git.io/JfYp1
<symphorien> I guess I'm not up to date then :)
o1lo01ol1o has quit [Ping timeout: 240 seconds]
cjpbirkbeck has quit [Quit: cjpbirkbeck]
fusion809 has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @filalex77 opened pull request #86382 → ventoy: init at 1.0.07 → https://git.io/JfYpx
fusion809 has joined #nixos
<angerman> manveru: don'
<angerman> t tell me rust is similarly painful to haskell.
<manveru> it's not as crazy, no :)
<{^_^}> [nixpkgs] @firmero opened pull request #86383 → vscode-extensions.cschlosser.doxdocgen: init at 0.6.0 → https://git.io/JfYhf
smatting_ has quit [Ping timeout: 256 seconds]
smatting_ has joined #nixos
alexherbo2 has quit [Quit: The Lounge - https://thelounge.chat]
<{^_^}> [nixpkgs] @Mic92 merged pull request #86372 → fstar: install completions → https://git.io/JfYQ4
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/JfYhT
<{^_^}> [nixpkgs] @filalex77 opened pull request #86384 → scc: 2.11.0 -> 2.12.0 → https://git.io/JfYhL
civodul has joined #nixos
cosimone has joined #nixos
af_wingnut has joined #nixos
<vika_nezrimaya> Is there a syntax to get a certain revision of the flake via HTTPS?
fendor has joined #nixos
<vika_nezrimaya> because I can certainly get `github:NixOS/nixpkgs/rev`, but not so lucky with GitLab
o1lo01ol1o has joined #nixos
sigmundv_ has joined #nixos
<{^_^}> [nixpkgs] @firmero opened pull request #86385 → vscode-extensions.bierner.markdown-checkbox: init at 0.1.3 → https://git.io/JfYha
Lumpio_ has joined #nixos
<ornxka> /nix/store/681354n3k44r8z90m35hm8945vsp95h1-glibc-2.27/lib/libm.so.6: version `GLIBC_2.29'
<{^_^}> [nixpkgs] @filalex77 opened pull request #86386 → cargo-deb: 1.23.2 -> 1.24.0 → https://git.io/JfYhr
<ornxka> what do people even keep adding to glibc at this point
<ornxka> surely its done by now
Lumpio- has quit [Ping timeout: 240 seconds]
<hyper_ch> so, badblocking now the new 12TB babies... I wonder if there's a better option than badblocks -wsv -b 4096 -c 200000 /dev/disk/by-id/xxx
zupo has joined #nixos
<{^_^}> [nixpkgs] @matthiasbeyer opened pull request #86388 → cargo-deny: init at 0.6.6 → https://git.io/JfYh9
<ornxka> hm, thats odd... i did a big update and now a bunch of stuff is broken and complains about libm having the wrong glibc version
<ornxka> but i uninstall the package + gc it from the store and reinstall it, and then it works
<ornxka> even though it is the same version
eoli3n__ has joined #nixos
<{^_^}> [nixpkgs] @firmero opened pull request #86389 → vscode-extensions.bierner.markdown-preview-github-styles: init at 0.1.6 → https://git.io/JfYjk
<hyper_ch> you can have multiple glibc versions installed at the same time. Each package can define what version it needs
jgeerds has quit [Ping timeout: 246 seconds]
charly1 has joined #nixos
<ornxka> yeah but im not sure why it broke in the first place and what changed when i reinstalled it
dingenskirchen1 has joined #nixos
dingenskirchen has quit [Quit: dingenskirchen]
dingenskirchen1 is now known as dingenskirchen
dingenskirchen has quit [Client Quit]
dingenskirchen has joined #nixos
chagra has joined #nixos
charly1 has quit [Ping timeout: 246 seconds]
hoijui has quit [Quit: Leaving]
dingenskirchen has quit [Quit: dingenskirchen]
dingenskirchen has joined #nixos
<{^_^}> [nixpkgs] @firmero opened pull request #86390 → vscode-extensions.DavidAnson.vscode-markdownlint: init at 0.35.1 → https://git.io/JfYji
stree has quit [Read error: Connection reset by peer]
<{^_^}> [nixpkgs] @markuskowa merged pull request #86322 → openmpi: add libfabric support (for omnipath networks) → https://git.io/JfYno
<{^_^}> [nixpkgs] @markuskowa pushed 2 commits to master: https://git.io/JfYjy
stree has joined #nixos
mounty has quit [Quit: Konversation terminated!]
<{^_^}> [nixpkgs] @kwohlfahrt opened pull request #86391 → gpio-tools: init in kernel 5.4 → https://git.io/JfYjF
zupo has quit [Ping timeout: 256 seconds]
stree has quit [Read error: Connection reset by peer]
stree has joined #nixos
zupo has joined #nixos
opthomasprime has joined #nixos
<{^_^}> [nixpkgs] @firmero opened pull request #86392 → vscode-extensions.donjayamanne.githistory: init at 0.6.5 → https://git.io/JfOeI
alexherbo2 has joined #nixos
opthomasprime has left #nixos [#nixos]
boogiewoogie[m] has joined #nixos
af_wingnut has left #nixos ["Leaving"]
<{^_^}> [nixpkgs] @firmero opened pull request #86393 → vscode-extensions.mhutchie.git-graph: init at 1.22.0 → https://git.io/JfOeg
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
aveltras has joined #nixos
<{^_^}> [nixos-homepage] @aepsil0n opened pull request #418 → Add quickstart guide → https://git.io/JfOe1
cfricke has joined #nixos
h0m1 has quit [Quit: WeeChat 2.8]
h0m1 has joined #nixos
<{^_^}> [nixos-homepage] @aepsil0n closed pull request #415 → Improve readability of text on site → https://git.io/Jftcf
<{^_^}> [nixpkgs] @firmero opened pull request #86394 → vscode-extensions.ionutvmi.path-autocomplete: init at 1.13.6 → https://git.io/JfOe5
snajpa has left #nixos [#nixos]
<{^_^}> [nixpkgs] @firmero opened pull request #86395 → vscode-extensions.slevesque.vscode-hexdump: init at 1.7.2 → https://git.io/JfOvJ
<{^_^}> [nixpkgs] @etu opened pull request #86396 → php.extensions: Add descriptions, homepage and license to all upstream extensions → https://git.io/JfOvn
cfricke has quit [Ping timeout: 256 seconds]
<{^_^}> [nixpkgs] @firmero opened pull request #86397 → vscode-extensions.streetsidesoftware.code-spell-checker: init at 1.8.0 → https://git.io/JfOvB
Soo_Slow has joined #nixos
knupfer has quit [Remote host closed the connection]
knupfer has joined #nixos
Lumpio_ is now known as Lumpio-
_viz_ has joined #nixos
_viz_ has quit [Client Quit]
domogled has quit [Ping timeout: 256 seconds]
domogled has joined #nixos
<{^_^}> [nixpkgs] @etu opened pull request #86398 → php.packages: Upgrade all interactive packages → https://git.io/JfOf8
<{^_^}> [nixpkgs] @firmero opened pull request #86399 → vscode-extensions.tomoki1207.pdf: init at 0.6.0 → https://git.io/JfOfB
<{^_^}> [nixpkgs] @fadenb opened pull request #86400 → uftp: 4.10.2 -> 5.0 → https://git.io/JfOfR
domogled has quit [Ping timeout: 258 seconds]
<{^_^}> [nixpkgs] @etu opened pull request #86401 → doc: Add PHP section to index → https://git.io/JfOJJ
_viz_ has joined #nixos
proofofkeags has joined #nixos
cinimod has joined #nixos
<cinimod> I seem to be able to do ` random-fu = self.haskell.packages.ghc865.callPackage ./random-fu { rvar = self.rvar; };` but if I try `ghc863` then I get error: attribute 'ghc863'
<cinimod>
<cinimod> missing
<infinisil> cinimod: A single nixpkgs version only has a subset of ghc versions
<infinisil> > attrNames haskell.packages
<{^_^}> [ "ghc8101" "ghc822Binary" "ghc844" "ghc865" "ghc865Binary" "ghc882" "ghc883" "ghcHEAD" "ghcjs" "ghcjs86" "integer-simple" ]
<infinisil> These are the ones in current master for example
<cinimod> Ta :) - I am probably doing this wrong anyway: https://gist.github.com/idontgetoutmuch/9d7c77294da8ca7a9208b3bf58802a9d
proofofkeags has quit [Ping timeout: 256 seconds]
<infinisil> Haskell packages can be a bit annoying to override
NieDzejkob has quit [Ping timeout: 260 seconds]
Mateon3 has joined #nixos
<cinimod> ghc865 panics for me :(
<{^_^}> [nixpkgs] @Mic92 merged pull request #86400 → uftp: 4.10.2 -> 5.0 → https://git.io/JfOfR
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/JfOJ9
<infinisil> cinimod: I think the simples way is to use `hpkgs = nixpkgs.haskell.packages.ghc865.extend (self: super: { random-fu = self.callPackage ...
NieDzejkob has joined #nixos
cfricke has joined #nixos
cfricke has quit [Client Quit]
cfricke has joined #nixos
Mateon1 has quit [Ping timeout: 258 seconds]
Mateon3 is now known as Mateon1
<infinisil> And do that for all packages, the ones you override and the ones you add
<manveru> symphorien: you don't happen to know how to use crate2nix to do mingw builds? :)
<cinimod> infinisil: ta
<symphorien> manveru: nope, never tried cross with rust. Did you see https://github.com/NixOS/nixpkgs/pull/66613 ?
<{^_^}> #66613 (by yegortimoshenko, 37 weeks ago, merged): buildRustPackage: support cross-compilation to x86_64-pc-mingw32
<{^_^}> [nixpkgs] @flokli merged pull request #86358 → steam: update generated runtime dependencies → https://git.io/JfYPW
<{^_^}> [nixpkgs] @flokli pushed 2 commits to master: https://git.io/JfOJj
<manveru> hm, no
thePiGrepper has left #nixos [#nixos]
<manveru> not a big fan of buildRustPackage due to the long build times...
<manveru> and having to update hashes everytime :|
<symphorien> yes, but modifications are minor, so if crate2nix does not work out of the box it looks feasible to patch
v0|d has joined #nixos
<symphorien> for example always adding pthread
<manveru> i guess... i just don't know anything about how this stuff works yet :|
<manveru> i got builds for darwin and linux working using cargo2nix at least now
<manveru> really would prefer naersk since it needs no separate lock file, but it didn't even produce any output
<{^_^}> [nixpkgs] @Mic92 merged pull request #86384 → scc: 2.11.0 -> 2.12.0 → https://git.io/JfYhL
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/JfOUW
peanutbutter144_ has joined #nixos
`slikts has quit [Quit: No Ping reply in 180 seconds.]
NinjaTrappeur has quit [Quit: WeeChat 2.7]
corpix has joined #nixos
corpix_ has quit [Remote host closed the connection]
dingenskirchen has quit [Remote host closed the connection]
dingenskirchen has joined #nixos
NinjaTrappeur has joined #nixos
peanutbutter144 has quit [Ping timeout: 260 seconds]
domogled has joined #nixos
kumikumi has quit [Ping timeout: 246 seconds]
cfricke has quit [Ping timeout: 256 seconds]
`slikts has joined #nixos
`slikts has joined #nixos
`slikts has quit [Changing host]
kumikumi has joined #nixos
jluttine has quit [Ping timeout: 264 seconds]
cfricke has joined #nixos
jluttine has joined #nixos
kumikumi has quit [Ping timeout: 246 seconds]
kumikumi has joined #nixos
<{^_^}> [nixpkgs] @nuxeh opened pull request #86404 → domoticz: init at 2020.2 → https://git.io/JfOUx
domogled has quit [Ping timeout: 260 seconds]
negaduck has quit [Ping timeout: 240 seconds]
corpix_ has joined #nixos
corpix has quit [Remote host closed the connection]
cosimone has quit [Remote host closed the connection]
cosimone has joined #nixos
<{^_^}> [nix] @edolstra pushed 3 commits to master: https://git.io/JfOTk
zupo_ has joined #nixos
mallox has quit [Ping timeout: 260 seconds]
<{^_^}> [nix] @domenkozar pushed to master « Update issue templates »: https://git.io/JfOT2
corpix_ has quit [Remote host closed the connection]
mallox has joined #nixos
snajpa has joined #nixos
teto has joined #nixos
vika_nezrimaya has quit [Remote host closed the connection]
<{^_^}> [nix] @domenkozar pushed to master « Update issue templates »: https://git.io/JfOTP
corpix has joined #nixos
cfricke has quit [Quit: WeeChat 2.8]
<Yaniel> can someone take a look at this oneliner? https://github.com/NixOS/nixpkgs/pull/85721
<{^_^}> #85721 (by jansol, 1 week ago, open): xow: actually launch when enabled
<Yaniel> (someone who knows how2systemd with nix)
remirol is now known as lorimer
zupo_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
morgrimm has joined #nixos
<ajs124> Yaniel: does this work? Is there any documentation on how NixOS handles systemd service files it does not generate itself?
<Yaniel> that is how I understood what little I heard in here, no idea how to actually verify it though
<DamienCassou> Is it normal that the sha256 sum of the ISO is not the one I get when I run `sha256sum`? The filenames also don't match
<emily> that doesn't sound normal
<emily> given that the filenames don't match, are you sure you're comparing the hashes for the right ISO?
<ajs124> which hash are we talking about? the actual hash of the file or the narhash of the iso storepath? because that's a folder with the iso and metadata in it.
charly1 has joined #nixos
virus_dave has joined #nixos
<cyris212> How do I install spellcheck dictionaries for libreoffice on NixOS?
<{^_^}> [nixpkgs] @lblasc opened pull request #86405 → gst-plugins-bad: fix compilation with opencv 4.3 → https://git.io/JfOkF
<DamienCassou> I'm talking about "Graphical live CD, 64-bit Intel/AMD (SHA-256) Recommended for most users"
virus_dave has quit [Client Quit]
<DamienCassou> the file being downloaded when clicking on "Graphical live CD" doesn't have the same name nor sha256 as the content of the file downloaded when clicking SHA-256
bdju has quit [Read error: Connection reset by peer]
fabianhjr has joined #nixos
<ajs124> cyris212: that changed very recently. I'm not even sure if it's in any release or only on master. But what you need to do is add them to your environment.systemPackages.
<ajs124> See #80329 and #80353
<{^_^}> https://github.com/NixOS/nixpkgs/pull/80329 (by mmilata, 10 weeks ago, merged): nixos: add /share/hunspell to environment.pathsToLink
<{^_^}> https://github.com/NixOS/nixpkgs/pull/80353 (by mmilata, 10 weeks ago, merged): libreoffice: wrapper: add hunspell dirs to DICPATH
virus_dave has joined #nixos
bdju has joined #nixos
<ajs124> before that... not sure. there might be a way, but who knows?
<DamienCassou> ajs124: I'm only talking about sha256sum as computed by the cli and as present in the SHA-256 file one can download by clicking on the link
<ajs124> those should really match. let me check.
ZeDestructor has quit [Quit: o.O]
ZeDestructor has joined #nixos
alp has quit [Remote host closed the connection]
<cyris212> Looks like the libreoffice changes did not make it into 20.03
<cyris212> ajs124: thank you
ZeDestructor has quit [Client Quit]
<ajs124> DamienCassou: I just downloaded the latest iso (20.03.1619.ab3adfe1c76) and that matches the hash from the file.
zupo_ has joined #nixos
alp has joined #nixos
<cyris212> Hmm so i guess i can either use an override and build libreoffice myself or use the unstable channel
ddellacosta has quit [Ping timeout: 260 seconds]
<DamienCassou> there is something weird: the link on the page points to latest-nixos-plasma5-x86_64-linux.iso. So if you download with wget, this is the filename you get. But with firefox, the file is renamed to nixos-plasma5-20.03.1619.ab3adfe1c76-x86_64-linux.iso
<DamienCassou> ajs124: ^
<DamienCassou> this is very confusing
<DamienCassou> the files and filenames are different
<ajs124> what happens is that you get redirected to https://releases.nixos.org/nixos/20.03/nixos-20.03.[...]
<ajs124> apparently firefox takes that filename, whereas wget sticks with the first thing
<ajs124> the reason for all of this is because the iso gets continously updated by hydra, if anything changes
<morgrimm> Morning all! Anyone get a `lastAttribute` modifier missing error when trying to import a package before?
<morgrimm> I'm trying to import a symlink to another nix file, so I don't know if that would mess with it
marsh has quit [Ping timeout: 265 seconds]
<emily> DamienCassou: ajs124: perhaps curl -L -O has the correct file-naming behaviour
<DamienCassou> emily: I thought about redirections too, but that wouldn't explain the difference in file content
marsh has joined #nixos
<emily> DamienCassou: no clue about that one. I mean, you could just be being MITM'd :P
<emily> DamienCassou: I suggest getting a known-good (i.e. matches the hash) ISO and then running diffoscope over the two.
Guest4337 has quit [Changing host]
Guest4337 has joined #nixos
<emily> if you really want to investigate this in depth
Guest4337 has quit [Quit: authenticating]
Guest4337 has joined #nixos
<DamienCassou> I don't. I've built my own iso using `nix-build nixos/release.nix -A iso_plasma5` and I'm going to try that
<DamienCassou> this way I'm sure :-)
proofofkeags has joined #nixos
Guest4337 has joined #nixos
Guest4337 has quit [Changing host]
Guest4337 is now known as Cadey
<DamienCassou> I was wrong: Only the file names differed, not the content. I don't know what I did, maybe ran `sha256sum` on the shasum file instead of just cat. I'm sorry
mrCyborg has joined #nixos
<emily> ah, that's good at least!
turona has quit [Ping timeout: 246 seconds]
<manveru> hm
<manveru> anyone know the difference for rust between "x86_64-w64-windows-gnu" and "x86_64-pc-windows-gnu"?
fusion809 has quit [Remote host closed the connection]
<manveru> this stuff is confusing as hell
<clever> manveru: not completely sure, but i think it just got renamed, and you get that error if you mix nixpkgs versions
<manveru> ah, indeed
<manveru> well, a few months ago, but still
<Cadey> where's a good reference to a Nixified emacs config with evil-mode?
zupo_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<manveru> Cadey: maybe check out #nixos-emacs
iyzsong has quit [Ping timeout: 240 seconds]
<hackerfoo> Cadey: If you find one that uses use-package, you can use this overlay: https://github.com/nix-community/emacs-overlay
gustavderdrache has joined #nixos
turlando has joined #nixos
mallox has quit [Quit: WeeChat 2.8]
mallox has joined #nixos
<{^_^}> [nixpkgs] @NeQuissimus pushed 4 commits to master: https://git.io/JfOLM
neobit has joined #nixos
<cinimod> But it doesn't seem to stop profiling as I can see `--enable-library-profiling`
turona has joined #nixos
<{^_^}> [nixpkgs] @hedning opened pull request #86406 → Gnome shell 3.36.2 → https://git.io/JfOL7
_viz_ has quit [Ping timeout: 240 seconds]
<clever> cinimod: lines 9-12, you want hself, not self.haskellPackages
<clever> cinimod: then you dont need the rvar = rvar; mess
orivej has quit [Ping timeout: 246 seconds]
FRidh has quit [Ping timeout: 246 seconds]
FRidh has joined #nixos
<turlando> Hello
<{^_^}> [nix] @mkenigs opened pull request #3551 → Rename nix app and nix run commands → https://git.io/JfOtI
<turlando> Do you think I can run NixOS off a pair of mirrored USB 3.1 thumb drives? How much space should I need? The reason is that I'm trying to free the SATA ports for the storage
<{^_^}> [nixpkgs] @Mic92 opened pull request #86407 → home-assistant: 0.109.0 -> 0.109.1 → https://git.io/JfOtB
<clever> turlando: the nixos build for my main desktop, totals to ~7.8gig, including wine, chrome, steam, and other large packages
<xfix> NixOS isn't particularly demanding in terms of disk usage, use btrfs if you want to save on space
<xfix> and enable compression
<clever> i'm using zfs and compression
<xfix> works too
<turlando> Thanks clever and xfix. I've heard that /nix can get pretty big. I guess that's just an Internet myth
<gchristensen> it isn't a myth
<xfix> it can, but you can run garbage collection
<clever> turlando: if you have other nixos builds, and do a lot of development, it can grow
<gchristensen> NixOS does demand more disk space than other distributions, since updates are atomic you need more space
<clever> turlando: its 74gig on my main desktop
<gchristensen> since both the old and the new system need to exist at the same time
<xfix> that being said, using store optimization and garbage collection can lower the requirements
neobit has joined #nixos
neobit has quit [Changing host]
<gchristensen> it can be done, but I wouldn't go below 32g turlando
<turlando> I'm not going to use as desktop. My use case is a small home server running as NAS and maybe spinning some VMs or containers
<turlando> I was planning to buy some 64G drives. Maybe I should go with 128G just to be safe?
<simpson> turlando: Well, how big is your current Nix store?
<clever> turlando: for my nas, the nix store is on the main pool for all storage
<gchristensen> turlando: 128G would be comfortably plenty :)
<turlando> simpson this is going to be my first NixOS install so I can't really tell :\ This is the reason I was asking here beforehand
<clever> Filesystem Size Used Avail Use% Mounted on
<clever> naspool/nix 434G 130G 305G 30% /nix
<clever> dont trust the size column, zfs makes it a lie
<simpson> 4GiB could be plenty, depending on *exactly* what you're doing and what you've got designed; I've got a Debian system with that sort of setup, and NixOS isn't fundamentally different from Debian in terms of requiring disk for binaries.
marsh has quit [Read error: Connection reset by peer]
<est31> recently I made nixos clean garbage
<clever> that nas is a raidz1 of 3 x 4tb disks
<est31> and it removed 4 GB of stuff
<est31> I was like wtf
<clever> its also running a hydra
<gchristensen> simpson: (except it is...)
<est31> nix os needs more disk I heard
<simpson> turlando: Oh. Well, there's nothing that will adequately prepare you, but a central concept in NixOS is that folks usually have *multiple* copies of their userland, and each copy takes space.
<simpson> gchristensen, est31: ^^^ Let's be *extremely* specific about why, though. There's nothing magical going on: The extra disk space goes to being able to boot into old revisions of the system, old configurations, multiple user profiles, etc.
_viz_ has joined #nixos
marsh has joined #nixos
orivej has joined #nixos
knupfer has quit [Quit: knupfer]
knupfer has joined #nixos
<est31> simpson: yes, it still has to be factored in though
<clever> turlando: i find it much simpler to just leave /nix on the main storage pool, so you dont have any problems in the future if it ever baloons up to 300gig, since you would have terrabytes available
mallox has quit [Ping timeout: 264 seconds]
<turlando> clever that's absolutely true. I just wanted to keep the data as much alone as possible
emacsomancer has quit [Read error: Connection reset by peer]
mallox has joined #nixos
<cinimod> clever: ta!
<turlando> Something unrelated to my question but still kind of related to my first install. What data should I snapshot from the NixOS install? Just /etc/nixos and everything else is derivable from the nix files?
<clever> turlando: personally, i have seperate datasets for / /nix /home and then turn on snapshots for everything except /nix
<{^_^}> [nixpkgs] @Mic92 merged pull request #86386 → cargo-deb: 1.23.2 -> 1.24.0 → https://git.io/JfYhr
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/JfOqT
<clever> turlando: and then on a case by case basis, add more with diff options, for example, /var/lib/systemd/coredump can have a lot of churn on some machines, and the snapshots of / then eat a lot of space
shibboleth has joined #nixos
<clever> so i may give coredump its own dataset, to turn snapshots off there
hlisp has joined #nixos
emacsomancer has joined #nixos
<clever> turlando: this is how i usually configure things: https://github.com/cleverca22/nix-tests/blob/master/kexec/justdoit.nix#L95-L105
<{^_^}> [nix] @edolstra merged pull request #3551 → Rename nix app and nix run commands → https://git.io/JfOtI
<{^_^}> [nix] @edolstra pushed 3 commits to flakes: https://git.io/JfOq3
hlisp has quit [Remote host closed the connection]
hke has quit [Read error: Connection reset by peer]
<turlando> clever thanks a lot for the suggestions. Your setup is very similar to what I was thinking of. I was not ever aware I could use nix to bootstrap the partitions. I will definitely dig more into it. I was making a simple shell script to initialize the partitions and then run nixos-install ( https://gist.github.com/turlando/a9d5a6a274983b9039fab30d24542fab )
<clever> turlando: the file i linked is exactly that, a shell script to create everything
hke has joined #nixos
<clever> turlando: i just build a custom installer image (like the ISO) that has that script pre-installed in systemPackages, then just run ot
ddellacosta has joined #nixos
<{^_^}> [nixpkgs] @AndersonTorres merged pull request #86375 → havoc: init at 2019-12-08 → https://git.io/JfYQ5
<{^_^}> [nixpkgs] @AndersonTorres pushed 2 commits to master: https://git.io/JfOq2
zupo has joined #nixos
tomberek has joined #nixos
<turlando> Thanks for pointing out clever
<mpickering> Has anyone had any success linking against tcmalloc?
<mpickering> I am fearing the fact gcc is wrapped is causing issues
cosimone has quit [Quit: Quit.]
waleee-cl has joined #nixos
proofofkeags has quit [Ping timeout: 240 seconds]
vandenoever has quit [Read error: Connection reset by peer]
vandenoever has joined #nixos
vandenoever has joined #nixos
vandenoever has quit [Changing host]
cosimone has joined #nixos
<turlando> I have another question. Here https://nixos.wiki/wiki/NixOS_on_ZFS#Unlock_encrypted_zfs_via_ssh_on_boot it uses /run/keys/initrd-ssh-key as the path for the ssh key. I'm not sure how I can embed that file inside the initramfs. More specifically: I run `nix-shell -p dropbear --command "dropbearkey -t ecdsa -f /tmp/initrd-ssh-key"` and then I can mv the key from /tmp/initrd-ssh-key to /run/keys/initrd-ssh-key. When I run nix-build
<turlando> everything works and after rebooting I can type my passphrase using SSH, but the file in /run is gone. What is the underlying magic? (or where is it documented?)
o1lo01ol1o has quit [Remote host closed the connection]
tdeo has quit [Quit: Quit]
tdeo has joined #nixos
tdeo has joined #nixos
tdeo has quit [Changing host]
<clever> turlando: /run/keys is managed by nixops, you probably want to use a different directory
o1lo01ol1o has joined #nixos
<turlando> clever: yep, but which directory considering that all my datased except for /nix are still encrypted when dropbear starts?
<clever> turlando: nix is going to copy the file into the initrd for you, so it doesnt matter where you put it
<clever> turlando: but that also means the key will be in plaintext within /boot, so it wont be secure enless you encrypt /boot via some other means
<cinimod> Hmmm turning *off* profiling has the unfortunate effect of making nix builds a *lot* longer
<turlando> It should not be a problem since it's a key I'm just using for the initial dropbear daemon. The real SSH daemon is using a different key. Or do you think it can still be harmful?
<clever> cinimod: because hydra had pre-built everything with profiling off, changing that means you must now build EVERYTHIGN yourself
<clever> turlando: oh right, nvm, i was thinking zfs key, not ssh host key
<clever> turlando: the worst that can happen, is that somebody could read your /boot partition, and then impersonate the machine, then wait for you to enter a pw
domogled has joined #nixos
<turlando> clever is there anything I can do besides signing the kernel?
<cinimod> clever: I want profiling *off* so I should get the cached version?
<cinimod> It seems the profiled version is cached but the unprofiled version is not?
<turlando> (considering that I'm not a nation states target and it's a very specific threat model)
o1lo01ol1o has quit [Ping timeout: 260 seconds]
alexherbo26 has joined #nixos
<clever> cinimod: by default, hydra is building everything twice (in the same derivation) with and without profiling
<clever> cinimod: if you make any changes from default, then it wont be cached
<clever> turlando: simplest is to just secure physical access to the machine
alexherbo2 has quit [Ping timeout: 260 seconds]
alexherbo26 is now known as alexherbo2
knupfer has quit [Quit: knupfer]
knupfer has joined #nixos
<{^_^}> [nixpkgs] @avdv opened pull request #86408 → colorls: 1.2.0 -> 1.3.3 → https://git.io/JfOmC
<cinimod> clever: interesting - all I actually want is no profiling but I must be asking for something more
drakonis has joined #nixos
<{^_^}> [nixpkgs] @globin pushed to structured-attrs « ns-3: fix build »: https://git.io/JfOmR
<clever> cinimod: you want to just set no profiling on the packages your building, and not use mkDerivation to force it to everything
koleesch has joined #nixos
lunik1 has quit [Quit: :x]
stree has quit [Read error: Connection reset by peer]
lunik1 has joined #nixos
stree has joined #nixos
<cinimod> srk: I will try later thanks
<cinimod> clever: thanks
<glittershark> so is killall just completely broken on nixos?
<glittershark> it can never find processes
<glittershark> ah dang it's
<clever> glittershark: depends on how the binary is named, some things are .foo-wrapped
<glittershark> wrapper scripts
<glittershark> yeah
<glittershark> :'(
<clever> there are tricks to fudge argv[0] when launching the wrapped binary
<clever> not sure how those interact with killall and pidof
<glittershark> at this point I might just write a shell function
<glittershark> function killall() { command killall .$1-wrapped } or something
<clever> glittershark: but then it wont work for unwrapped things
<glittershark> :'(
<edcragg> i'm not quite sure what i've done wrong here: https://gist.github.com/GrahamcOfBorg/6e0c2ccf79c85e87f5995e92ded62f50
globin_ is now known as globin
globin has quit [Changing host]
globin has joined #nixos
<niso> edcragg: pkgs/servers/domoticz/default.nix:1:1 called without required argument 'libusb',
<glittershark> eh at least I know about the .wrapped thing
<glittershark> kinda sucks tho
alp has quit [Remote host closed the connection]
alp has joined #nixos
gustavderdrache has quit [Quit: Leaving.]
proofofkeags has joined #nixos
lunik1 has quit [Quit: :x]
erasmas has joined #nixos
<ornxka> you could always function killall() { for i in $(ps x | awk '{print $5}' | grep $1); do kill $i; done; }
<clever> ornxka: theres also pgrep
<ornxka> how did i not know about that
lunik1 has joined #nixos
philr_ has quit [Ping timeout: 244 seconds]
spacekookie_ has joined #nixos
cole-h has joined #nixos
Profpatsch has quit [Ping timeout: 246 seconds]
spacekookie has quit [Ping timeout: 272 seconds]
proofofkeags has quit [Ping timeout: 260 seconds]
mallox has quit [Quit: WeeChat 2.8]
Yaniel has quit [Ping timeout: 264 seconds]
Profpatsch has joined #nixos
Yaniel has joined #nixos
<edcragg> niso: thanks, any idea why that would happen? it's in the arguments for the derivation, and in buildInputs, which seems pretty normal. it also builds fine elsewhere
<{^_^}> [nixpkgs] @globin pushed 3 commits to structured-attrs: https://git.io/JfOYn
<b42> edcragg: might be related to https://github.com/NixOS/nixpkgs/pull/86165
<{^_^}> #86165 (by jtojnar, 2 days ago, merged): libusb → libusb-compat-0_1, libusb1 ⇠ libusb
<b42> try using libusb1 or libusb-compat-0_1 instead of libusb
<edcragg> aha, thanks b42
justanotheruser has quit [Ping timeout: 244 seconds]
<{^_^}> [nixpkgs] @globin pushed to structured-attrs « qmake: fix hook quoting »: https://git.io/JfOY0
HeN has joined #nixos
orcus has quit [Quit: ZNC 1.7.5 - https://znc.in]
justanotheruser has joined #nixos
koleesch has quit [Remote host closed the connection]
orcus has joined #nixos
spacekookie_ is now known as spacekookie
lsix1 has joined #nixos
Alexey37 has joined #nixos
chloekek has joined #nixos
<{^_^}> [nixpkgs] @flokli opened pull request #86409 → nixos/google-oslogin: Move nsswitch config into the module → https://git.io/JfOO2
kraem has quit [Quit: outta here]
linarcx has joined #nixos
knupfer1 has joined #nixos
knupfer has quit [Quit: knupfer]
knupfer1 is now known as knupfer
bvdw has quit [Quit: The Lounge - https://thelounge.chat]
bvdw has joined #nixos
eacameron has joined #nixos
bvdw has quit [Client Quit]
bvdw has joined #nixos
proofofkeags has joined #nixos
alexherbo22 has joined #nixos
mrCyborg has quit [Quit: WeeChat 2.8]
alexherbo2 has quit [Ping timeout: 240 seconds]
alexherbo22 is now known as alexherbo2
<ccppuu> set irc.look.smart_filter on
<ccppuu> oops :X
orcus has quit [Quit: ZNC 1.7.5 - https://znc.in]
o1lo01ol1o has joined #nixos
o1lo01ol1o has quit [Ping timeout: 256 seconds]
ddellacosta has quit [Quit: WeeChat 2.2]
kraem has joined #nixos
<Alexey37> How to understand for which ghc version there are prebuilt binary haskell packages?
<bqv> ccppuu: same tbh
growpotkin has joined #nixos
<{^_^}> [nixpkgs] @flokli merged pull request #86409 → nixos/google-oslogin: Move nsswitch config into the module → https://git.io/JfOO2
<{^_^}> [nixpkgs] @flokli pushed 2 commits to master: https://git.io/JfO3p
orcus has joined #nixos
maxter has quit [Ping timeout: 256 seconds]
Ralith_ has joined #nixos
dongcarl has quit [Read error: Connection reset by peer]
o1lo01ol1o has joined #nixos
<infinisil> Alexey37: Only the default one, so pkgs.haskellPackages.*e
<infinisil> > pkgs.haskellPackages.ghc.version
user_0x58 has joined #nixos
<{^_^}> "8.8.3"
<infinisil> (but for your respective nixpkgs version of course)
lunik1 has quit [Quit: :x]
alp has quit [Ping timeout: 246 seconds]
<Alexey37> Thank you. Will try to build (previous attempt ended with out-of-space on virtualbox appliance) with that version.
lunik1 has joined #nixos
detran has quit [Ping timeout: 240 seconds]
lunik1 has quit [Client Quit]
nschoe has joined #nixos
orcus has quit [Quit: ZNC 1.7.5 - https://znc.in]
vandenoever has quit [Read error: Connection reset by peer]
vandenoever has joined #nixos
vandenoever has joined #nixos
kimat has left #nixos ["Leaving"]
tobeportable has joined #nixos
domogled has quit [Quit: domogled]
orcus has joined #nixos
xkapastel has joined #nixos
shatsky has joined #nixos
detran has joined #nixos
smatting_ has quit [Ping timeout: 256 seconds]
orcus has quit [Quit: ZNC 1.7.5 - https://znc.in]
dingenskirchen has quit [Remote host closed the connection]
dingenskirchen has joined #nixos
<morgrimm> Is it reasonable to want to use NixOS on a daily workstation, but then virtualize Windows and pass my GPU through solely for gaming?
<srk> it is but have you tried proton? :D
<morgrimm> Proton?
<clever> morgrimm: ive found that gpu passthru tends to be picky, and you tend to have to reboot constantly, on the host side
<clever> morgrimm: proton is steam's fork of wine, that has been improved to support most games, and is baked into the linux steam launcher
nschoe has quit [Remote host closed the connection]
<morgrimm> o.o
<srk> I haven't booted win for months now due to games, everything just works^tm
nschoe has joined #nixos
<shatsky> Which GPU?
<srk> nvidia
<srk> (not asking me I guess, oops :D)
<morgrimm> I'm prepping my rebuild with a new threadripper, right now I have a 1080Ti, but I'm considering swapping
<morgrimm> depending on support
<clever> srk: space engineers and elite dangerous are the only 2 games that fail under proton and i sometimes want to play
<clever> srk: everything else worth playing just works under proton+steam
<shatsky> I've got it working with AMD Polaris, but I had to patch kernel and write reset hook to avoid it locking up on 2nd VM start
<srk> clever: this! the only thing I've had troubles with was system shock 2 which bundled bad version of wine, if you switch to systems one it works well :)
cr4y1 has quit [Ping timeout: 260 seconds]
<morgrimm> Innteresting
<srk> yesterday tested with Quake Champions, no issues :)
<morgrimm> srk: what GPU are you using right now? and how much overhead do you get?
<srk> 1070
<morgrimm> On NixOS?
<srk> morgrimm: my CPU is the bottleneck currently, upgrade pending, yes
<morgrimm> ooo
<srk> 5.5 kernel
<morgrimm> Did you have to futz with the drivers to get it working smoothly?
<srk> (I'm on some random commit tho 77a062fe47940f1d1cdfb136934bb42d20094c51)
<srk> not at all
<morgrimm> or did 5.5 work?
<morgrimm> that's awesome, and pretty surprising
<srk> they just sometimes fail to compile with too recent kernel but that tends to get fixed quite quickly
orcus has joined #nixos
<morgrimm> Is there any advantages to going with an AMD card?
<morgrimm> If 5.5 is smooth with nvidia cards, I may as well keep my 1080Ti then
alp has joined #nixos
jgeerds has joined #nixos
<srk> not sure about that, I have trouble loading even 1070 properly :D
<srk> I don't play much AAA titles, mostly old games but it's useful for blender
<srk> and FreeCAD
<srk> (you can build blender with cudaSupport = true and it just works ;))
orivej has quit [Ping timeout: 246 seconds]
<morgrimm> Hmmmm
fendor has quit [Read error: Connection reset by peer]
fendor has joined #nixos
organixpear has joined #nixos
<{^_^}> [nixpkgs] @cmacrae opened pull request #86411 → yabai: init at 2.4.3 → https://git.io/JfOZP
<{^_^}> [nixpkgs] @adisbladis merged pull request #86097 → nixos/podman: add assertion for dockerCompat → https://git.io/JfqLg
<{^_^}> [nixpkgs] @adisbladis pushed 2 commits to master: https://git.io/JfOZD
cr4y1 has joined #nixos
organixpear has quit [Quit: Lost terminal]
EdLin has joined #nixos
alexherbo2 has quit [Read error: Connection reset by peer]
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
zupo has joined #nixos
turlando has quit [Ping timeout: 256 seconds]
turlando has joined #nixos
alexherbo2 has joined #nixos
<morgrimm> srk: I'm hoping 5.5/5.6 will also smooth things over with the zephyrus
<Alexey37> Hm, I depend on hasql-pool in haskell packages, for which tests are broken (but without tests it compiles and works). As I understand, I could do something like `nixpkgs.pkgs.haskell.packages.ghc865.callPackage ./my.nix { hasql-pool = nixpkgs.pkgs.haskell.packages.ghc865.hasql-pool.override ???; }`, but what argument can disable tests? `doCheck`?
<Alexey37> But `override { doCheck = false;}` fails.
<morgrimm> I'd rather have nixos than windows on my daily driver
<clever> Alexey37: haskell.lib.dontCheck
<clever> Alexey37: that function takes a haskell package, and does the override for you
bvdw has quit [Quit: The Lounge - https://thelounge.chat]
<srk> morgrimm: not sure about zephyrus, try it :)
<morgrimm> It's a 2060 I think, with the latest ryzen, so
bvdw has joined #nixos
<morgrimm> I'm hoping the new kernel is the key
<Alexey37> clever: yes, it saves me. Nice. Thank you!
<srk> morgrimm: yeah, I'm running linuxPackage_latest everywhere with no issues
fragamus has joined #nixos
Ilya_G has joined #nixos
<morgrimm> dope - now I just have to figure out why lastModified somehow isn't present on a symlink to a nix file
jakobrs has joined #nixos
<jakobrs> Does NixOS work well on the PineBook Pro?
<Raito_Bezarius> infinisil: I just tried your mkPoetryApplicationEnv and wanted to know, is it supposed to expose the binaries somewhere?
pingiun has joined #nixos
<Raito_Bezarius> jakobrs: yes IIRC, go to #nixos-aarch64 to get more info
<pingiun> how can I use github actions to start a hydra evaluation?
<pingiun> is there an example available?
<infinisil> Raito_Bezarius: They should be in $out/bin/*
<Raito_Bezarius> infinisil: should I wrap it into a mkShell or can I use it as-is with nix-shell?
<Raito_Bezarius> ah I need mkShell then
<{^_^}> [nixpkgs] @mmilata opened pull request #86412 → [20.03] wireshark: 3.2.2 -> 3.2.3 → https://git.io/JfOnd
<jakobrs> Is it "correct" to do `callPackage <nixpkgs/pkgs/build-support/fhs-user-env/env.nix> {}`?
<jakobrs> I'm just surprised that buildFHSEnv is not in all-packages.nix given it seems moderately useful to me.
<jakobrs> s/fhs-user-env/build-fhs-userenv/
<Raito_Bezarius> jakobrs: funnily, I had the doc opened on it: https://nixos.org/nixpkgs/manual/#sec-fhs-environments
<Raito_Bezarius> it should be in pkgs.XXXX
<jakobrs> It isn't though, unless I'm missing something
<jakobrs> There is buildFHSUserEnv, but it's slightly different
<jakobrs> (buildFHSUserEnv actually calls this file under the hood)
<Raito_Bezarius> ah, right
<Raito_Bezarius> I misread builsFHSEnv
<Raito_Bezarius> buildFHSEnv *
<jakobrs> I kinda just want to add this function to all-packages.nix
<Raito_Bezarius> PR time :D
srl295 has joined #nixos
<jakobrs> It builds a FHS chroot, which can be used for sandboxes/etc
<{^_^}> [nixpkgs] @mmilata opened pull request #86413 → re2c: 1.2.1 -> 1.3 + patch → https://git.io/JfOcJ
bvdw has quit [Quit: The Lounge - https://thelounge.chat]
bvdw has joined #nixos
<jakobrs> Speaking of which, what is the recommended way to sandbox stuff in NixOS?
<{^_^}> [nixpkgs] @filalex77 opened pull request #86414 → googler: 4.0 -> 4.1 → https://git.io/JfOct
<cole-h> pingiun: What are you trying to achieve? Just test a build on a PR, or force hydra to build something?
<pingiun> cole-h: I want to force hydra to rebuild my repo when I push to master
ambroisie has quit [Ping timeout: 244 seconds]
<cole-h> pingiun: Do you have a custom Hydra set up?
<pingiun> yes, it's running on my server
cinimod` has joined #nixos
Diogo has quit [Quit: The Lounge - https://thelounge.chat]
Desetude has quit [Ping timeout: 252 seconds]
bvdw has quit [Quit: The Lounge - https://thelounge.chat]
Diogo has joined #nixos
<cole-h> Sorry, I'm unfamiliar with Hydra. Just wanted to make sure you did indeed have access to your own Hydra instance... I'd file an issue at NixOS/hydra, if it were me
bvdw has joined #nixos
<__monty__> How do I list available attributes in a nix-shell?
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
cinimod has quit [Ping timeout: 264 seconds]
vidbina has joined #nixos
<__monty__> Is there a way to use callPackage but fall back to the default arguments for some of the arguments?
bvdw has quit [Client Quit]
<energizer> callPackage does that automatically
Alexey37 has quit [Ping timeout: 240 seconds]
bvdw has joined #nixos
<{^_^}> [nixpkgs] @jtojnar opened pull request #86416 → gobject-introspection: Ensure the giDiscoverSelf is run before gappsWrapperArgsHook → https://git.io/JfOc0
freeman42x has quit [Quit: Leaving]
<kini> Is the r-ryantm bot down? I see that it's been inactive on github for a couple weeks.
bvdw has quit [Client Quit]
pingiun has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
bvdw has joined #nixos
<__monty__> energizer: Are you sure? I'm getting a missing attribute on "pkgs" but the pkgs that expression imports by default (pkgs ? import ./nixpkgs.nix) *does* contain that attribute if I investigate with nix repl.
pingiun has joined #nixos
_viz_ has quit [Remote host closed the connection]
<energizer> > callPackage ({pkgs}: 4) {}
<{^_^}> 4
<energizer> __monty__: ^
<__monty__> energizer: I think you don't understand the question. My argument to callPackage has *default* values. And I want to rely on those rather than the autoArgs callPackage comes up with.
<energizer> i'll leave it for someone else to answer then
<__monty__> > callPackageWith {pkgs = 4;} ({pkgs ? 5}: pkgs) {}
<{^_^}> 4
<__monty__> See? I want 5.
<jakobrs> fwiw if you pass 5 directly to callPackage it will work
<__monty__> Changing the call to callPackage to a simple import makes home-manager complain it's not a package.
<__monty__> jakobrs: That would mean I have to duplicate that default argument and keep them in sync though.
<jakobrs> _If_ there's a library function to get default arguments you could use that to create a modified callPackage
<{^_^}> [nixpkgs] @tokudan opened pull request #86417 → p7zip: fix two CVEs and mark as insecure → https://git.io/JfOcS
<__monty__> jakobrs: Is there no way to pass an override that means just use the default?
<jakobrs> I've no idea
<jakobrs> As for the fact that calling it with callPackage instead of import
<jakobrs> You could try to wrap it in a simple trivial lambda:
charly1 has quit [Ping timeout: 272 seconds]
<jakobrs> > callPackage ({}: { pkgs ? 4 }: pkgs) {}
<{^_^}> { __functionArgs = <CODE>; __functor = <CODE>; override = <CODE>; }
<jakobrs> That might be recognised as a package
zupo has joined #nixos
swatchel has joined #nixos
ambroisie has joined #nixos
abathur has quit [Quit: abathur]
swatchel has left #nixos [#nixos]
<jakobrs> > callPackage ({}: { pkgs ? 4 }: pkgs) {} {}
<{^_^}> 4
<notgne2> any pnpm2nix users here want to make sure this PR doesn't horribly break something? https://github.com/nix-community/pnpm2nix/pull/21
<{^_^}> nix-community/pnpm2nix#21 (by notgne2, 1 minute ago, open): Stronger semver parsing
waleee-cl has quit [Quit: Connection closed for inactivity]
EdLin has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
EdLin has joined #nixos
<__monty__> jakobrs: Keep getting "home-manager option value is not of type 'package'."
<jakobrs> What do you get if you evaluate the package manually?
<jakobrs> I mean, is there a chance it simply isn't a package?
waleee-cl has joined #nixos
pingiun has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
plutes has joined #nixos
pingiun has joined #nixos
pingiun has quit [Client Quit]
Desetude has joined #nixos
o1lo01ol1o has quit [Remote host closed the connection]
jakobrs has left #nixos ["WeeChat 2.8"]
cosimone has quit [Quit: Quit.]
<__monty__> Ah, that's probably the problem.
pingiun has joined #nixos
EdLin has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
<__monty__> ✨ jakobrs
<{^_^}> jakobrs's karma got increased to 2
organixpear has joined #nixos
abathur has joined #nixos
domogled has joined #nixos
organixpear has quit [Client Quit]
bvdw has quit [Quit: The Lounge - https://thelounge.chat]
orivej has joined #nixos
bvdw has joined #nixos
ambroisie has quit [Ping timeout: 264 seconds]
mounty has joined #nixos
knupfer has quit [Quit: knupfer]
knupfer1 has joined #nixos
<{^_^}> [nixpkgs] @Tomahna opened pull request #86418 → mopidy-iris: 3.46.0 -> 3.48.0 → https://git.io/JfOCP
knupfer1 is now known as knupfer
<quinn> does nix ever use tmpfs for building? i was running nix-build and i got a 'no space left on device' error
<infinisil> quinn: It uses $TMPDIR or /tmp by default
<infinisil> (source: `man nix-build`)
FRidh has quit [Quit: Konversation terminated!]
chloekek has quit [Ping timeout: 260 seconds]
<energizer> danderson: hey i don't suppose it's possible to use a tailscale network interface in early boot, for sshing to a box that has encrypted root filesystem?
<quinn> oh, stupid me. i had thought it was all on RAM for some reason. thank you!
o1lo01ol1o has joined #nixos
<danderson> energizer: er, I have no idea. It would be challenging, you need to store Tailscale's node state somewhere (the content of /var/lib/tailscale), and it has to be mutable
shafox has quit [Remote host closed the connection]
o1lo01ol1o has quit [Remote host closed the connection]
nschoe has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
NieDzejkob has quit [Ping timeout: 246 seconds]
stree has quit [Read error: Connection reset by peer]
mounty has quit [Ping timeout: 264 seconds]
stree has joined #nixos
<energizer> danderson: alright. maybe i can just leave a port open for the boot ssh server (boot.initrd.network) and close it after successful boot
<danderson> yeah, that's a pretty standard way of doing it
<danderson> it would be nice to support tailscale in that kind of environment, but we don't have the right tools for it yet
<danderson> (we would need a token-based auth method that lets you trade a pre-shared key for node and machine keys, somehow, without altering the identity of the node each time. It doesn't match anything we currently have)
<energizer> mhmm
<colemickens> energizer: I still haven't tried it yet, but tor hidden service?
<energizer> colemickens: interesting idea
<srk> colemickens: had the same idea but is it good idea to rely on that for unlocking machines?
<srk> like.. why not I guess
NieDzejkob has joined #nixos
alp has quit [Ping timeout: 272 seconds]
WhatisRT has joined #nixos
hax404 has quit [Ping timeout: 265 seconds]
<WhatisRT> is there a simple way (including tutorial) to setup a ci system with nix on github?
hax404 has joined #nixos
<WhatisRT> I have literally no experience and don't want anything fancy, just to build my derivation and run a shell script
<simpson> whatisRT: There's a decent GH Action for Cachix: https://github.com/cachix/cachix-action
<simpson> You can crib from it and not push to Cachix, I think.
proofofk_ has joined #nixos
<WhatisRT> simpson: thanks! where does this run?
vandenoever has quit [Quit: Konversation terminated!]
o1lo01ol1o has joined #nixos
proofofk_ has quit [Client Quit]
proofofk_ has joined #nixos
<simpson> whatisRT: On GH's infrastructure, AIUI: https://github.com/features/actions
proofofkeags has quit [Ping timeout: 260 seconds]
mounty has joined #nixos
<rooke> Does any one have experience packaging custom latex stuff?
<WhatisRT> simpson: wow, I didn't know actions could do that!
<quinn> rooke: do you mean using texlive.combine, or packages out of CTAN?
<quinn> ...or something else entirely?
<rooke> quinn: texlive.combine I suppose
o1lo01ol1o has quit [Ping timeout: 260 seconds]
<rooke> I'll just explain what I'm doing I guess
<rooke> Over the years I have a small collection of .sty/.cls files I've built up with my own macros. Was looking to push those into a nix expression so I could nixify my latex doc prep
<rooke> The tricky bit was tryna get the dependencies of those sty files to propagate, and was curious how others had solved that problem
<lovesegfault> gchristensen: Is the NixOps manual still up-to-date?
<lovesegfault> cc. adisbladis
<lovesegfault> I want to move my morph deployment to NixOps; not sure where to start
<quinn> rooke: so as long as those dependencies you want are packaged with texlive you can use texlive.combine to provide them. (i think this includes all of CTAN?)
<rooke> Yeah, the way I got that to work just... felt odd
<cole-h> lovesegfault: Should be, despite the copyright date.
<rooke> rooke.nix is where I packaged the sty stuff, default.nix is an example usage
<cole-h> lovesegfault: https://nixos.org/nixops/manual/ redirects to a hydra-built manual, so, yeah. Should be (relatively) up-to-date.
<lovesegfault> cole-h: nice, do you know how NixOps works? :D
drakonis has quit [Read error: Connection reset by peer]
lsix has quit [Ping timeout: 244 seconds]
<quinn> rooke: this looks fine to me. i would probably call it with nix-shell and not nix-build because that would be unergonomic, but i think it's fine
<quinn> this is frankly more complicated than my own workflow, i'm a context guy, so i'm not in the best position to judge i guess
<rooke> quinn: thanks :), without nix the workflow was simple, I just had these files sitting in the texmf tree somewhere. Maybe I'm misguided, but I'm treating latex as I would a compiler and so bringing it in per-project instead of a system wide install.
<cole-h> lovesegfault: Absolutely not :D
<cole-h> lovesegfault: But I plan on familiarizing myself in the future, so I can contribute there, as well :)
<lovesegfault> cole-h: Have you moved to NixOS yet?
<cole-h> lovesegfault: :^))))))))))
<quinn> i think that makes sense. i also think that will make it easier for you to potentially add in tools outside of texlive which is very appealing :)
<rooke> Yeah, especially for something like minted which requires python to be on the path
<rooke> Also these files change... which means I have broken documents in the past, it will be nice to have them pinned per project
<{^_^}> [nixpkgs] @mmilata opened pull request #86419 → cups: 2.3.1 -> 2.3.3 → https://git.io/JfOl3
<quinn> having style files pinned per-project is essential for me too. i assume you write software documentation?
<tokudan> lovesegfault, nixops is pretty simple. you basically take your configuration.nix and wrap another layer around it
<rooke> I'm actually in a math phd program... so I just write a lot of latex
alexherbo2 has quit [Quit: Ping timeout (120 seconds)]
dsx has quit [Ping timeout: 246 seconds]
<rooke> I guess the next question becomes, working this out took me far longer than I care to admit. Does it make sense to add something like this to the documentation?
alexherbo2 has joined #nixos
<lovesegfault> tokudan: My configuration.nix is a bit weird :P
<rooke> If so is that just, open a pull request and see what happens?
<quinn> rooke: yeah, go for it. you could also make a PR for https://nixos.wiki/ or the https://nixos.wiki/wiki/Configuration_Collection
<hackerfoo> whatisRT: Using nix on Travis is really easy: https://docs.travis-ci.com/user/languages/nix/
<tokudan> lovesegfault, with those files you basically just run $ nixops create '<net.nix>' '<deployment.nix>'
<tokudan> lovesegfault, and then you can build and deploy
<lovesegfault> tokudan: Oh, interesting, it's similar to morph: https://github.com/lovesegfault/nix-config
<lovesegfault> (see deployment.nix)
<tokudan> lovesegfault, if you want local virtualboxes instead: deployment.targetEnv = "virtualbox";
<cole-h> lovesegfault: If you do switch to nixops, I would be interested in you documenting what you actually did, and what some (if any) papercuts you had were :^)
<rooke> quinn: Thanks, I'll look into that
<energizer> what's the advantage of nixops over morph?
<tokudan> lovesegfault, first time I hear about morph
<energizer> morph is all about statelessness, which is nice. iirc nixops some info in a database?
<energizer> *keeps some
<tokudan> energizer, yes, nixops creates a local database about the state
<energizer> what state does it keep?
drakonis has joined #nixos
<tokudan> energizer, dunno, never really checked the database, but i believe the deployment configuration (i.e. which files to read), if the servers have been created or not, etc.
<lovesegfault> IIRC adisbladis was working on stateless NixOps?
<tokudan> and an ssh key to login to those servers
<energizer> in morph you just write a nix file with your {hostname : config} and say `morph ./thatfile.nix deploy`
<cole-h> FYI, the nixops state db is sqlite and can be inspected with sqlite3
<lovesegfault> IME it's really hard to get morph to not pick up <nixpkgs>
<lovesegfault> if you, like me, pin nixpkgs that is supremely annoying
<tokudan> lovesegfault, well, my .envrc takes care of that:
<tokudan> use nix -p nixops niv
<tokudan> export NIXOPS_STATE=$(expand_path .)/secret/localstate.nixops
<tokudan> export NIX_PATH=$(expand_path .):$(expand_path deployment):nixpkgs=$(expand_path nixpkgs)
<tokudan> export NIXOPS_DEPLOYMENT=hetzner
<quinn> rooke: sure, no problem
<tokudan> anyway, I'm out for today. have a nice evening
alp has joined #nixos
<cole-h> (btw #nixops exists)
<notgne2> lovesegfault: for morph I've settled for having a script that runs `git ls-remote -h https://github.com/NixOS/nixpkgs-channels | grep "refs/heads/nixos-19.09\$" | cut -f1 | tr -d '\n' > rev.txt` (and some other channels), and then importing using that file from inside each machine config
<notgne2> it's not pretty but it keeps it all in sync
knupfer has quit [Remote host closed the connection]
knupfer has joined #nixos
<johanot> lovesegfault: morph really shouldn't pick up be impure / pick up <nixpkgs> if you don't want it to. perhaps you can open an issue on that?
<johanot> be impure / pick up * even :)
cinimod` has quit [Ping timeout: 260 seconds]
develCuy has quit [Quit: No Ping reply in 180 seconds.]
o1lo01ol1o has joined #nixos
KindOne has quit [Ping timeout: 256 seconds]
sveitser2 has quit [Ping timeout: 260 seconds]
sveitser2 has joined #nixos
KindOne has joined #nixos
<{^_^}> [nixpkgs] @primeos merged pull request #86297 → [19.09] chromium: 81.0.4044.122 -> 81.0.4044.129 (backport) → https://git.io/JfYUr
<{^_^}> [nixpkgs] @primeos pushed 2 commits to release-19.09: https://git.io/JfO8K
charly1 has joined #nixos
o1lo01ol1o has quit [Ping timeout: 265 seconds]
<{^_^}> [nix] @gilligan opened pull request #3552 → Revamp README.md → https://git.io/JfO8Q
koleesch has joined #nixos
develCuy has joined #nixos
lsix has joined #nixos
lsix has quit [Client Quit]
linarcx has quit [Ping timeout: 246 seconds]
<dmj`> alright
<dmj`> how do I get a linux builder on osx
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
o1lo01ol1o has joined #nixos
<manveru> dmj`: https://github.com/LnL7/nix-docker is maybe the easiest
zupo has joined #nixos
<LnL> similar idea but a vm with just nix instead of the stuff Docker.app provides
morgrimm has quit [Ping timeout: 260 seconds]
dsg has quit [Ping timeout: 260 seconds]
morgrimm has joined #nixos
dsg has joined #nixos
leothrix has quit [Ping timeout: 256 seconds]
<manveru> LnL++
<{^_^}> LnL's karma got increased to 44
ddellacosta has joined #nixos
<{^_^}> [nixpkgs] @7c6f434c merged pull request #86343 → liberation_ttf_v2: 2.00.4 -> 2.1.0 → https://git.io/JfY28
morgrimm has quit [Ping timeout: 246 seconds]
<{^_^}> [nixpkgs] @7c6f434c pushed 2 commits to staging: https://git.io/JfO4F
<johanot> notgne2: inb4, might I suggest something like: nix-prefetch-git --rev refs/heads/nixos-20.03 https://github.com/NixOS/nixpkgs-channels > pin.json
<betaboon> is anyone running wayland+sway?
<niso> question: why would one use nix-channels at all? can't i just pin it in the top-level nix file and pass it to all functions requiring it? (or even just pin it again - since the hash won't change?)
<niso> s/pin it/pin pkgs/
<cole-h> betaboon: Many people, probably. What's your question?
<{^_^}> [nixpkgs] @jtojnar merged pull request #86416 → gobject-introspection: Ensure the giDiscoverSelf is run before gappsWrapperArgsHook → https://git.io/JfOc0
<betaboon> just wanted to get a general feeling if it is viable to do so. thinking of switching from x11+i3 to wayland+sway
<{^_^}> [nixpkgs] @jtojnar pushed 2 commits to staging: https://git.io/JfOBe
<betaboon> I'm just somewhat fed up with multi-head/multi-dpi support in x11. and running into i915 issues with linux5
Darkmatter66 has joined #nixos
o1lo01ol1o has quit [Remote host closed the connection]
o1lo01ol1o has joined #nixos
<cole-h> I've been running sway for over a year now. It's great for my needs (no screen tearing, check).
Darkmatter66_ has quit [Ping timeout: 260 seconds]
finnwww[m] has joined #nixos
<betaboon> cole-h: anything you miss ?
<cole-h> Nothing that comes to mind. Certainly not the frequent screen tearing ;)
leothrix has joined #nixos
xkapastel has quit [Quit: Connection closed for inactivity]
<energizer> niso: flakes are replacing channels anyway
<betaboon> cole-h: can you point me in some general direction for documentation on how to run wayland in nixos? is the nixos.wiki page still correct ?
<finnwww[m]> For all you nixos ppl, how do you go about configuring vim? Do you just do it straight in the .vimrc or do you go through nix?
<energizer> cole-h: great to hear that problem is solved, it's a constant annoyance in x11. can't even read while scrolling
<cole-h> betaboon: I don't run NixOS, so I can't be of help here, sorry. Maybe lovesegfault could help you out, since I know he runs sway and NixOS.
<betaboon> cole-h: ah thank you :)
<finnwww[m]> betaboon: do you think wayland is ready?
<cole-h> energizer: That's what happens when you build vsyncing into the compositor
<srk> wayland works just fine but no launcher
<betaboon> finnwww[m]: i dont have the slightest idea
<betaboon> srk: launcher? aka rofi/dmenu?
<cole-h> betaboon: dm I think, like gdm and lightdm
<srk> betaboon: mm, not the right word.. session manager?
<srk> ^
<srk> dm, right
<cole-h> You start sway from TTY. GDM supports wayland sessions (since Gnome uses wayland by default now), but I just start from TTY.
knupfer has quit [Quit: knupfer]
knupfer has joined #nixos
<srk> cole-h: that's supported for a long time but don't have a module?
<lovesegfault> What's happening?
<niso> energizer: yes, i'm just kinda wondering if one could recommend "don't use channels", pin them top-level instead (till flakes are here) (which should result in a smoother transition too)
<betaboon> lovesegfault: I'm thinking of doing the wayland dance and your name came up
Soo_Slow has quit [Quit: Soo_Slow]
<lovesegfault> I run sway on NixOS yeah :)
<cole-h> lovesegfault: betaboon asked about setting up sway on NixOS. I can't help with that, but you can :P
<betaboon> so only gdm is supporting wayland? I'm currently using lightdm. so i would have to replace that with gdm or go the tty route ?
ok2` has quit [*.net *.split]
AmandaC_ has quit [*.net *.split]
janneke has quit [*.net *.split]
wolke has quit [*.net *.split]
mg- has quit [*.net *.split]
DerHorst has quit [*.net *.split]
Taneb has quit [*.net *.split]
joko has quit [*.net *.split]
mjrosenb has quit [*.net *.split]
dkibi has quit [*.net *.split]
m1cr0man has quit [*.net *.split]
dbe has quit [*.net *.split]
makefu has quit [*.net *.split]
eri has quit [*.net *.split]
vk3wtf has quit [*.net *.split]
eyJhb has quit [*.net *.split]
Blessjah has quit [*.net *.split]
lovesegfault has quit [*.net *.split]
superbaloo has quit [*.net *.split]
mk_modrzew_ has quit [*.net *.split]
helpusobi has quit [*.net *.split]
johs has quit [*.net *.split]
evax has quit [*.net *.split]
Niall has quit [*.net *.split]
dweller has quit [*.net *.split]
dottedmag has quit [*.net *.split]
Phlogistique has quit [*.net *.split]
delroth has quit [*.net *.split]
amfl has quit [*.net *.split]
epta has quit [*.net *.split]
cross has quit [*.net *.split]
c_wraith has quit [*.net *.split]
wrl has quit [*.net *.split]
krasnij has quit [*.net *.split]
lzmartinico has quit [*.net *.split]
andromed1-galaxy has quit [*.net *.split]
c_wraith has joined #nixos
Taneb has joined #nixos
dweller has joined #nixos
dottedmag has joined #nixos
andromeda-galaxy has joined #nixos
mjrosenb_ has joined #nixos
<{^_^}> [nixpkgs] @jonringer merged pull request #86096 → libnvidia-container: 1.0.0 -> 1.0.6 → https://git.io/JfqLZ
eyJhb has joined #nixos
<betaboon> ouh. havent seen a split in a while
johs has joined #nixos
<{^_^}> [nixpkgs] @jonringer pushed commit from @mjlbach to master « libnvidia-container: 1.0.0 -> 1.0.6 »: https://git.io/JfOBu
mg- has joined #nixos
dkibi has joined #nixos
dbe has joined #nixos
Phlogistique has joined #nixos
evax has joined #nixos
<srk> betaboon: correct
wrl has joined #nixos
DerHorst has joined #nixos
cross has joined #nixos
janneke has joined #nixos
lzmartinico has joined #nixos
ok2` has joined #nixos
Blessjah has joined #nixos
dottedmag has joined #nixos
dottedmag has quit [Changing host]
epta has joined #nixos
m1cr0man has joined #nixos
joko has joined #nixos
vk3wtf has joined #nixos
janneke has joined #nixos
janneke has quit [Changing host]
makefu has joined #nixos
amfl has joined #nixos
krasnij has joined #nixos
delroth has joined #nixos
eyJhb has joined #nixos
eyJhb has quit [Changing host]
helpusobi has joined #nixos
superbaloo has joined #nixos
amfl has joined #nixos
amfl has quit [Changing host]
lovesegfault has joined #nixos
mk_modrzew has joined #nixos
eri has joined #nixos
wolke has joined #nixos
<lovesegfault> Eh, wth happened
<lovesegfault> betaboon: What's the HW?
<lovesegfault> that's important
AmandaC has joined #nixos
<betaboon> lovesegfault: net split happened
<cole-h> betaboon: idk if lightdm supports Wayland sessions. They might. But what's the aversion to launching from TTY? It's a single `sway` away.
<betaboon> lovesegfault: anything specific hw wise that you are asking about ?
<lovesegfault> betaboon: nvidia
<betaboon> lovesegfault: intel integrated
<cole-h> You can't use the official Nvidia drivers
alp has quit [Ping timeout: 272 seconds]
<cole-h> That's about it AFAIk
<lovesegfault> betaboon: Only intel integrated?
<betaboon> lovesegfault: yep
<lovesegfault> no extra gpu?
<lovesegfault> Awesome
<lovesegfault> god bless you
<lovesegfault> You can use GDM, it works well with sway
<{^_^}> [nixpkgs] @Ma27 merged pull request #86414 → googler: 4.0 -> 4.1 → https://git.io/JfOct
<{^_^}> [nixpkgs] @Ma27 pushed 2 commits to master: https://git.io/JfOBw
<betaboon> lovesegfault: well. not currently. this hole i915 gpu freeze thing is killing me. didnt improve much even on 5.6 kernel
<lovesegfault> I honestly just launch sway from the tty
<betaboon> cole-h: i like me my riced experienced XD
<lovesegfault> Revert to 4.19
<cole-h> 🤔 Ricing an application you see once before your WM
<cole-h> I won't yuck your yum, but just seems like an arbitrary line to draw.
<lovesegfault> cole-h: ricing is a way of life
Niall has joined #nixos
<betaboon> cole-h: well yeah i know. somewhat stupid. but i got so used to having the design of refind->plymouth->lightdm->i3 completly in line
<{^_^}> [nixpkgs] @Ma27 merged pull request #86408 → colorls: 1.2.0 -> 1.3.3 → https://git.io/JfOmC
<{^_^}> [nixpkgs] @Ma27 pushed 2 commits to master: https://git.io/JfOBM
<cole-h> According to the Arch Wiki, LightDM supports Waylan.d
<cole-h> but not Wayland.
<cole-h> Only Waylan.d
<worldofpeace> ?
<betaboon> lovesegfault: do you have your config for wayland somewhere public ? XD
<worldofpeace> *lightdm and gdm maintainer here
alexherbo22 has joined #nixos
morgrimm has joined #nixos
pingiun has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
alexherbo2 has quit [Ping timeout: 260 seconds]
alexherbo22 is now known as alexherbo2
<betaboon> worldofpeace: is lightdm compatible with using wayland/sway ?
<cole-h> (Yes.)
<cole-h> (I was making a terrible joke because of my misplaced period.)
morgrimm has quit [Ping timeout: 240 seconds]
<worldofpeace> well, now I get the joke
<worldofpeace> betaboon: yes, in 20.03 I think
<worldofpeace> I had to make a patch so it could work in nixos
<worldofpeace> it can start a wayland session
<srk> worldofpeace++ nice
<{^_^}> worldofpeace's karma got increased to 162.00000000000000004
<worldofpeace> ahh
jumper149 has joined #nixos
<worldofpeace> this is the karma spice
<{^_^}> [nixpkgs] @jtojnar pushed to master « flatpak-builder: remove p7zip dependency »: https://git.io/JfORD
<srk> :D
<worldofpeace> yes, #nixos is ran by little kids and we love it :D
<{^_^}> [nixpkgs] @Ma27 merged pull request #86412 → [20.03] wireshark: 3.2.2 -> 3.2.3 → https://git.io/JfOnd
<{^_^}> [nixpkgs] @Ma27 pushed 2 commits to release-20.03: https://git.io/JfORH
<betaboon> I'm not that little. but kid is still correct XD
<betaboon> worldofpeace: can you point me in a good direction on how to achieve the lightdm+wayland/sway setup ? I'm somewhat lost here
<quinn> worldofpeace: can you tell me how headache-inducing or not it is to make a .session for sway?
<infinisil> > vom "karma spice"
<{^_^}> "karma spice"
jboy56 has joined #nixos
<infinisil> Aw, no colors here
<worldofpeace> quinn: it should exist in 20.03
<worldofpeace> :(
domogled has quit [Quit: domogled]
<jboy56> Hello all, is this a good place to ask about an issue with nixos/nixops/haskell package?
<worldofpeace> quinn: that adds it to the display manager so you can select it
<{^_^}> [nixpkgs] @flokli opened pull request #86420 → gitlab: 12.8.9 -> 12.8.10 → https://git.io/JfORN
<__monty__> jboy56: As long as it has to do with nix, yes.
<worldofpeace> betaboon: programs.sway.enable and lightdm.enable
<jboy56> ok, thank you
<worldofpeace> that is what worked when I merged the change for lightdm to start a sway session
<quinn> worldofpeace: oh, i see now!
<quinn> worldofpeace++ bless u
<{^_^}> worldofpeace's karma got increased to 163
<worldofpeace> my heart is blessed ❣︎
<betaboon> worldofpeace: but still using `services.xserver.displayManager.lightdm` ?
<{^_^}> [nixpkgs] @romildo merged pull request #82891 → pop-gtk-theme: 2020-02-10 -> 2020-03-18 (gnome 3.36) → https://git.io/Jv1GK
<{^_^}> [nixpkgs] @romildo pushed 2 commits to master: https://git.io/JfORh
koleesch has quit [Quit: Leaving]
alp has joined #nixos
<worldofpeace> betaboon: I believe the option is services.xserver.displayManager.lightdm.enable
<quinn> betaboon: as i understand it, they are packaged under xserver, so their config is under xserver
<jboy56> so I have an issue deploying a haskell package with nixops to a machine running nixos. I'm trying to use myProgram = pkgs.callPackage /path/to/myprogram.nix {}; and environment.systemPackages = [ myProgram ] but I get an error "...myPackage.nix is not of type 'package'"
<worldofpeace> I don't think there's any wayland lightdm greeters, if that's what you're asking
<betaboon> worldofpeace: thanks. it just realy confused me going toward to wayland and having to set something under the xserver-namespace :D
<{^_^}> [nixpkgs] @risicle opened pull request #86421 → [r20.03] git: use tcl/tk from nixpkgs on darwin → https://git.io/JfO04
<betaboon> so that would start lightdm from an xserver, and lightdm would then launch the wayland-session?
<betaboon> thus i would still need an xserver ?
<worldofpeace> betaboon: yes
<betaboon> worldofpeace: opting for gdm instead of lightdm would remove the need for an xserver?
<worldofpeace> betaboon: I don't think you can enable any of the display managers without xserver
<niso> jboy56: by chance you could share a minimal example?
<cole-h> worldofpeace: ly ;^)
sarcasticadmin has quit [Ping timeout: 240 seconds]
<jboy56> niso: sure, one sec
knupfer has quit [Ping timeout: 240 seconds]
<quinn> worldofpeace: when you say a wayland greeter, you mean a greater written in wayland rather than X, meaning all of the current ones (even in gtk and qt) are written in X?
charly1 has quit [Ping timeout: 246 seconds]
<quinn> cole-h: >dependencies: xorg
<worldofpeace> quinn: I'm not aware of there being any greeter written for lightdm that is for wayland. but lightdm does support it
<worldofpeace> so you can start a wayland session with it
<quinn> worldofpeace: alright, i understand. thank you again!
<worldofpeace> while gdm uses gnome-shell, that will be a wayland session. but it still has xlibs in it's dependencies
charly1 has joined #nixos
zxcvqwfp has joined #nixos
<quinn> probably for the authentication and such i guess. i wonder if you can compile it without
<betaboon> I'm still somewhat confused how to get rid of xserver completly but still keep a graphical login
<lovesegfault> betaboon: My configs are all public, one moment
<worldofpeace> quinn: maybe gdm, but it still uses xwayland. I personally don't see that as extreamly important.
<quinn> worldofpeace: it's really not, especially if it only calls xlib to start a session rather than to display itself. i'm just weird
oida has quit [Quit: byez]
<zxcvqwfp> I'm having trouble with dynamic linking of a Ubuntu package, I followed the nixos wiki article about packaging binaries but it's still not finding one shared library ("libXrandr.so.2 => not found"). Even though I looked for it via `nix-locate`, calling `pkgs.lib.makeLibraryPath` in `nix repl` and appending the rpath via `patchelf --set-rpath ...`.
<zxcvqwfp> A friend then told me that one of the binaries could also depend on libXrandr, so I set its rpath too. But I'm still getting that error message. Anybody got any clues? What am I missing / could I have done wrong?
<clever> zxcvqwfp: is it a 32bit or 64bit binary?
<zxcvqwfp> 64bit
<clever> zxcvqwfp: what does `file` say when ran on the binary?
<zxcvqwfp> `bin/do-not-directly-run-firestorm-bin: ELF 64-bit LSB executable, x86-64, version 1 (GNU/Linux), dynamically linked, interpreter /nix/store/wx1vk75bpdr65g6xwxbj4rw0pk04v5j3-glibc-2.27/lib/ld-linux-x86-64.so.2, for GNU/Linux 2.6.32, BuildID[sha1]=90ed6915ba773b855f9d71f1706cedc6940693ab, not stripped`
<niso> jboy56: does default.nix evaluate to the expected result?
<clever> xelxebar: and what is the rpath? patchelf can print it
<jboy56> niso: yes, the build is successful and outputs a result file result/bin/fa-teams.
oborot has joined #nixos
<jboy56> niso: when using nix-build
Mateon1 has quit [Ping timeout: 256 seconds]
<zxcvqwfp> maybe I should try `autoPatchelfHook`
<betaboon> lovesegfault: you're starting sway from tty, right ?
<clever> zxcvqwfp: and what is the rpath? patchelf can print it
Yaniel is now known as Margatroid
freeman42x has joined #nixos
<quinn> i need a larger build directory, would it be better to adjust runSize or change TMPDIR?
sarcasticadmin has joined #nixos
<srk> quinn: do you have boot.tmpOnTmpfs enabled?
<{^_^}> [nixpkgs] @jonringer opened pull request #86423 → Bump powershell → https://git.io/JfOu4
<clever> zxcvqwfp: libXrandr.so.2 is not in the DT_NEEDED of that binary
<clever> zxcvqwfp: its in the DT_NEEDED of one of the other .so files, in the same dir
<clever> zxcvqwfp: you must patchelf the rpath, of all of the other .so files
<clever> zxcvqwfp: lddtree makes it much more obvious which one is to blame
<quinn> srk: TMPDIR is actually bound to /run/user/${uid} by default. i don't have tmpOnTmpfs on because i have a very little ram
<zxcvqwfp> clever: yeah I also ran this https://pastebin.com/B6dSYg8P
<zxcvqwfp> clever: I haven't heard of lddtree, will check it out
<srk> quinn: right, you can resize tmpfs (if /run is) with mount -o remount,size=123G /run/user/..
<srk> (if /run/user/.. is)
eyenx has quit [Ping timeout: 260 seconds]
<srk> ad-hoc, or change it declaratively of course :)
<clever> zxcvqwfp: if you set those env vars, ld.so will print its own debug, as it tries to resolve all the DT_NEEDED's
<quinn> all right, thank you! i think i'll probably change boot.runSize then
<zxcvqwfp> clever: ok will check those
<clever> TargetName Type Endian TapName State
<clever> oops
xO1 has quit [Ping timeout: 256 seconds]
<niso> jboy56: what happens if you evaulate it in the repl? what does it return there?
<{^_^}> [nixpkgs] @Ma27 merged pull request #86388 → cargo-deny: init at 0.6.6 → https://git.io/JfYh9
<{^_^}> [nixpkgs] @Ma27 pushed 2 commits to master: https://git.io/JfOuP
morgrimm has joined #nixos
<jboy56> niso: I'm new to nix so not sure if I am doing the correct thing but I entered 'pkgs = import <nixpkgs>;' then "pkgs.callPackage /home/jk/dev/fa-teams {}" and it printed "value is a function while a set was expected
<lovesegfault> betaboon: correct
<zxcvqwfp> clever: found it with `lddtree`, the bin is running :) thanks!
<clever> zxcvqwfp: was there another lib in a place we didnt think to look?
<clever> jboy56: `import <nixpkgs>` returns a function, you want `import <nixpkgs> {}` to call that function
eyenx has joined #nixos
<zxcvqwfp> clever: yeah it was lib/libSDL, my for loop in bash seems to not have matched it -.-"
<jboy56> zxcvqwfp: thank you. niso: «derivation /nix/store/kcigjrmp9b728mv54kdacj2iaizxaiqf-fa-teams-0.0.0.1.drv»; override = { ... }; overrideDerivation = «lambda @ /nix/store/s1f4isc78028bad53g3b4lryfsfdyq95-nixos-20.03-20.03.1619.ab3adfe1c76/nixos-20.03/lib/customisation.nix:84:32»; }
morgrimm has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @romildo opened pull request #86424 → xfce.xfce4-panel: 4.14.3 -> 4.14.4 → https://git.io/JfOzf
fragamus has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Nilgeist has quit [Remote host closed the connection]
Nilgeist has joined #nixos
<{^_^}> [nixpkgs] @Ma27 merged pull request #86398 → php.packages: Upgrade all interactive packages → https://git.io/JfOf8
<{^_^}> [nixpkgs] @Ma27 pushed 8 commits to master: https://git.io/JfOzm
freeman42x has quit [Quit: Leaving]
c382feb92 has joined #nixos
James[m]1 has left #nixos ["User left"]
<{^_^}> [nixpkgs] @bcdarwin opened pull request #86425 → ocamlPackages.owl: unbreak by reversing previous edits → https://git.io/JfOzR
<niso> jboy56: in systemPackages: try to add fa-teams.fa-teams instead
c382feb92 has quit [Ping timeout: 246 seconds]
<energizer> is there some popular service that'll ping "the internet" and log the response time? i'm having home internet issues and would like to have a log for diagnosing
justanotheruser has quit [Ping timeout: 256 seconds]
<clever> energizer: last time i had such issues, i wrote a custom program to watch the byte counters in /proc/net/dev
<clever> energizer: i had written it to poll them every second, and render a real-time thruput graph, for both directions
<energizer> whoa
<clever> energizer: and then after a while of that, i noticed, every time i had a problem, upload hit a perfect 0/second and download suffered (due to a lack of ack packets)
<colemickens> Any firefox nightly users want to test hardware accelerated h264 playback? https://github.com/NixOS/nixpkgs/pull/81917
<clever> energizer: and after much debugging, i eventually tracked it down to a bug in the pppoe drivers on linux, and that the pppoe pings bypassed the "permanent hang", and would fix the state
<{^_^}> #81917 (by colemickens, 7 weeks ago, open): firefox: wrapper: add libva to libs
<clever> energizer: and it was configured to ping every 20 seconds, so it would always recover within 20 seconds, from an otherwise "permanent" hang
<clever> energizer: i never figured out how to "fix" it, but reducing the ping to every 1 sec made the problem nearly invisible
foineoi has joined #nixos
<energizer> clever: in my case i suspect the router, since multiple computers on the network have bad latency and they all recover after rebooting the router
<clever> energizer: ah, in my case, it was a linux router, so i had the ability to record all the stats i wanted
<energizer> but this happens every hour during heavy usage
<niso> energizer: telegraf has a ping plugin (incase you have a grafana set up https://grafana.com/grafana/dashboards/2690
<foineoi> Is there any working derivation for qtbase 5.13 out there? I'm trying to run a binary that needs to be linked to libQt5Core.so.5 of version 5.13
<energizer> i found https://oss.oetiker.ch/smokeping/index.en.html but i can't tell if its what i'm looking for or if it's supposed to be a ping server
<hr[m]> Is there a function in the nix language to write a nix expression to a file in json format?
<clever> hr[m]: builtins.toFile and builtins.toJSON
<jumper149> The nix manual says that fetchTarball returns a path, does that also hold for fetchGit?
<niso> energizer: did you check the ram usage of your router before reboot? bad latency could also mean that it's swapping
<clever> jumper149: i believe it returns a set, you can confirm that in `nix repl`
<niso> energizer: also, what do you mean by "ping server"?
zxcvqwfp has quit [Remote host closed the connection]
<energizer> niso: a service that responds to ping
aveltras has quit [Quit: Connection closed for inactivity]
<niso> energizer: why not just pick e.g. 9.9.9.9 ?
<clever> niso: my ISP router will lock up hard (zero packets pass) if you poll an http page, and it crashes like clockwork, 29.5 days of uptime i believe
<jboy56> niso: THANK YOU! been working on that all day...
<jumper149> clever: thank!
<cole-h> If I wanted to have a default.nix and a shell.nix use the same buildInputs, what would be the easiest way without maintaining two files?
<clever> cole-h: shell.nix should just `import ./default.nix`
<clever> cole-h: and perhaps apply overrides to what it imported
<energizer> niso: right, that's what i would do normally. but the sense i'm getting is that smokeping picks a handful of destinations, pings them regularly, and makes pretty graphs
<niso> jboy56: yw, you probably should replace the { fa-teams = drv; } in your fa-teams with drv
<niso> jboy56: or just directly execute your command here instead of saving it to drv first
<cole-h> clever: And what if my default.nix uses `naersk.buildPackage` (and thus nix-shell is building, when it should really just pull in the inputs)? WOuld it be better to make a separate `common.nix` file?
<energizer> niso: yes
<clever> cole-h: nix-shell would give you the derivation that does the build, not actually build it
<clever> cole-h: typically, if there is no funny wrapping going on
<cole-h> Then there might be funny wrapping going on :P `nix-shell` starts the build.
<jboy56> niso: will do
<clever> cole-h: try to eval things from default.nix in nix repl, can you find the buildInputs you wanted?
<niso> energizer: nice, looks good
andi- has quit [Ping timeout: 240 seconds]
<niso> clever: why would your ISP router lock up if you poll a http page?
<cole-h> clever: Yep, `:p buildInputs` gives me the expected list
<clever> niso: i suspect its a memory leak in the http server
ambroisie has joined #nixos
<clever> cole-h: then you can just (import ./.).buildInputs
<cole-h> and if I have both buildInputs AND nativeBuildInputs? :P
<cole-h> (Sorry, I keep adding complexity...)
<niso> clever: depending on the model you could try to read your ISPs login details from it and just replace it with an off-the-shelf model
<clever> cole-h: let x = import ./.; in something with x.buildInputs and x.nativeBuildInputs
zupo has quit [Ping timeout: 260 seconds]
andi- has joined #nixos
<clever> niso: there are no login details, you just 802.1q vlan tag, and dhcp your way to the internet
invra has joined #nixos
morgrimm has joined #nixos
averell has quit [Quit: .]
zupo has joined #nixos
<jumper149> Do strings actually differ from paths in nix?
<niso> clever: uhm, so you flashed nixos on your ISPs router?
<clever> jumper149: paths are a special type in nix, always absolute
<cole-h> clever++ Thanks, that helped a lot :)
<clever> niso: nope, i just ran nixos on a seperate x86 machine
<{^_^}> clever's karma got increased to 401
<clever> jumper149: if you try to treat a path as a string, nix will automatically copy it into /nix/store
<clever> jumper149: strings in nix also have context, which says which store paths they depend on
<niso> clever: ah, i think i got the same setup (decided to let the ISPs router run infront of my own router instead of replacing it and connecting directly)
charly1 has quit [Quit: Leaving.]
<clever> niso: my setup is very wonky
<clever> niso: i dont know what the isp router is doing to make the iptv setup work, but the isp router is also not reliable for internet usage
averell has joined #nixos
zupo has quit [Client Quit]
<clever> niso: so ive intentionally mis-configured the isp router to use pppoe, which breaks its attempts to use dhcp on vlan 35
<hr[m]> clever: Thanks, when I use ` xdg.configFile."nvim/coc-settings.json".source = builtins.toFile "coc-settings.json" (builtins.toJSON ./coc.nix)`, the file sourced into `~/.config/nvim/coc-settings.json` contains just the path to the file that stores the result of the toJSON command.
<jumper149> clever: just treating it as a path was what did the trick for me right now. It's a little confusing but it probably makes sense as everything revolves around /nix/store.
morgrimm has quit [Ping timeout: 265 seconds]
<clever> niso: i then use a dumb switch, to put 2 routers on 1 modem, the nixos router handles vlan 35, the isp router handles vlan 34 (tv service)
<clever> hr[m]: you didnt tell nix to import that nix file, so all it did was serialize the string (a path to coc.nix)
<clever> hr[m]: you want builtins.toFile "coc-settings.json" (builtins.toJSON (import ./coc.nix))
<niso> clever: ah, no tv here, the only device connected to my ISP router is my own router/firewall
<clever> niso: but i have then discovered, half the STB features need internet
<clever> niso: so i then run my own pppoe server, on vlan 35, pointing the wrong way (towards the internet, being ignored)
<hr[m]> clever++ Ah great that fixed it.
<{^_^}> clever's karma got increased to 402
<clever> niso: and then the mis-configured isp router, connects to that, and double-nat's its way out, lol
o1lo01ol1o has quit [Remote host closed the connection]
<clever> niso: dhcp on vlan 35 gives my a public ip, and binds the mac of whatever did it to the connection, so no other mac can get a lease until things expire or are released
<clever> niso: vlan 34 dhcp gives an ip somewhere in 10.0.0.0/8, and multicast subscriptions give RTP sreams with tv service
<clever> streams*
o1lo01ol1o has joined #nixos
<xelxebar> clever: I believe you pinged me by mistake, but nonetheless, for rpath business see the ld.so man page: http://man7.org/linux/man-pages/man8/ld.so.8.html
<niso> clever: alright, yes, sounds wonky :P
<xelxebar> search DT_RPATH
fusion809 has joined #nixos
<clever> xelxebar: was helping somebody else with rpath issues, x and z are right netx to eachother
erasmas has quit [Quit: leaving]
<xelxebar> :)
<xelxebar> Always happy to get a ping. No worries.
lukash_ is now known as lukash_|away
asbachb has joined #nixos
<asbachb> Hej! Any ideas how long it would take to nixpkgs https://github.com/keeweb/keeweb?
<cole-h> Try it and let us know ;)
<asbachb> I'm quite lost with node alone but node + grunt + nix - overkill ^^
oida has joined #nixos
<niso> btw, i noticed someone before use services.cron - which seems to use standard crojobs. By chance nixpkgs could offer an easy to use alternative? (e.g. something like this - but with different name + refactoring: http://paste.debian.net/1144048/ )
fragamus has joined #nixos
<niso> usage example: http://paste.debian.net/1144049/
gustavderdrache has joined #nixos
<clever> niso: its usually simpler to use systemd timers instead
lsix1 has quit [Ping timeout: 272 seconds]
<niso> clever: in my understanding you always need systemd timers+service?
<niso> clever: which is rather verbose compared to a one-line cronjob
<clever> niso: nixos can do it with one
justanotheruser has joined #nixos
<clever> niso: if you set the startAt on a service, then nixos generates a timer for you
<niso> oh wow, i expected systemd.* to be thin-wrappers O.o
<clever> niso: there is also the script and preStart keys, which can take multiple lines, generate a script with a #!, and then point ExecStart and PreStart to the generated file
jlv has joined #nixos
vidbina has quit [Ping timeout: 256 seconds]
<jlv> How can I clear the `nix search` cache? I have a bunch of old results from removed channels, and running `nix search -u` to update the cache doesn't remove them.
<jlv> For that matter, updating the `nix search` cache should probably clear the cache of removed channels.
<clever> jlv: did you run `nix-channel --update` after removing the channels?
<jlv> clever: no... I always forget that you need to `nix-channel --update` for additions and removals to take effect XD It's a little unintuitive to me.
<clever> jlv: --add and --remove simply update a plaintext file at ~/.nix-channels
<clever> jlv: --update then syncs that into your channels profile, which is symlinked under ~/.nix-defexpr/
<clever> jlv: nix-env and nix search operate on ~/.nix-defexpr/
o1lo01ol1o has quit [Remote host closed the connection]
<jlv> clever: would it make more sense for `--add` and `--remove` to update the plaintext and then sync that particular change to your channels profile? Then you don't need an extra step.
<clever> jlv: but you may want to batch several --add into a single atomic update
fragamus has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
amir has quit [Ping timeout: 256 seconds]
<jlv> clever: what if you could add multiple `--add` or `--remove` arguments to the command, for a batch update, like `nix-channel --add A --add B --remove C`?
foineoi has quit [Quit: leaving]
philr_ has joined #nixos
<niso> clever: where in the documentation could/should this be mentioned? here? https://nixos.org/nixos/manual/index.html#sec-systemctl
Desetude has quit [Ping timeout: 240 seconds]
ehmry has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
<clever> niso: yeah, that sounds like a good area
qrnteen has joined #nixos
<niso> clever: alright thanks
ehmry has joined #nixos
amir has joined #nixos
tilcreator has quit [Quit: ZNC 1.7.5 - https://znc.in]
<niso> clever: although i would prefer something like systemd.crond - since it would imo be more intuitive for new users
<jlv> On another note. Updating `nix-channel` got rid of the removed channels in `nix search` results, but I still have redundant `nixos` and `nixpkgs` results. It's been like that for a while on this machine, but not on a newer machine, so I guess it is an issue with the cache.
<niso> clever: s/systemd.crond/services.crond/
morgrimm has joined #nixos
o1lo01ol1o has joined #nixos
<asbachb> Anyone mounting/syncing google drive?
romildo has joined #nixos
slack1256 has joined #nixos
<qrnteen> %m
morgrimm has quit [Ping timeout: 246 seconds]
civodul has quit [Quit: ERC (IRC client for Emacs 26.3)]
tilcreator has joined #nixos
maddo has quit [Quit: See ya]
__monty__ has quit [Quit: leaving]
<romildo> I want to add scim (The Smart Common Input Method platform) to nixpkgs because it is a new dependence to efl. But currently 'scim' is an alias to 'sc-im' (Spreadsheet Calculator Improvised), added in 2016-01-22. Is it ok to remove the alias and use the 'scim' attribute for the new package?
<clever> romildo: i'm a bit surprised that scim isnt already in nixpkgs
Charly_ has joined #nixos
<romildo> clever, I did not find it after a quick search. But I will take a deeper look.
<clever> romildo: i also dont see it in there
<romildo> clever, maybe it is under another name because of this alias already in use.
oida has quit [Quit: byez]
Charly_ has quit [Client Quit]
rickhull has joined #nixos
hlisp has joined #nixos
<rickhull> hi, I am pretty new to NixOS and am trying to get set up with a ruby dev environment. what's the right way to ensure e.g. `rake` is in my PATH?
<rickhull> as it stands, I have `ruby` in my configuration.nix, and then using `gem` on the CLI to install gems, either as $USER or root
<rickhull> but after e.g. `gem install rake`, I don't have `rake` in my PATH
<Irenes[m]> I would personally suggest that you probably want to use nix-shell to set upa dev environment for each project you work on, rather than install things system-wide, but I know that's more to learn
<Irenes[m]> and at any rate the config you have to write is similar regardless of whether you're putting it system-wide vs in a project
<rickhull> ok, that sounds right -- I saw some info about nix-shell, but I haven't started to learn it
<Irenes[m]> sure
<rickhull> i am more interested in keeping the scope tight and minimal -- not system wide
eoli3n__ has quit [Quit: WeeChat 2.8]
<rickhull> i'd also not like to infect my ruby projects with too much specific to nixos
<Irenes[m]> makes sense, yeah
<simpson> rickhull: Have you read https://nixos.org/nixpkgs/manual/#sec-language-ruby yet?
<Irenes[m]> I usually have a shell.nix in my project that just installs the dev tools and libraries I'll need
<Irenes[m]> although it varies by language
<rickhull> i'll take a look
<simpson> Oh, nice, that's good stuff. It depends on what you're doing, but you likely *will* want a shell.nix and a local environment with nix-shell.
<rickhull> oh, yes, I did read that. it's not clear how it applies to my specific concern here
<Irenes[m]> I believe those are the same information, just you're looking at the source code for it :)
butterthebuddha has joined #nixos
<rickhull> i'll do more research on nix-shell and using shell.nix
<simpson> In particular, bundix might be the right choice.
<Irenes[m]> yeah, I'm not able to give great advice because I don't actually use Ruby, but it sounds like basically the workflow is that you develop the way you normally would but then you invoke the "bundix" command to convert your Gemfile into a file gemset.nix
<rickhull> perhaps, though I'm not really fond of bundler for my use cases
<Irenes[m]> which you then import into your environment
<Irenes[m]> fair
<Irenes[m]> you could also just do that once to see what the code it generates looks like, and whether it's something you could be doing by hand, if you would prefer that
<simpson> How do you normally build your project?
<Irenes[m]> (I make no promises that the generated code is actually readable, I haven't looked at it)
<simpson> Also yeah, I'm rusty with Ruby too, but there's always #nixos-ruby for more detailed discussions.
<rickhull> simpson, just with gem tools. $project.gemspec, essentially
<rickhull> oh, thanks, i'll join!
<rickhull> simpson, e.g. https://github.com/rickhull/compsci/
eoli3n__ has joined #nixos
<Irenes[m]> good luck! sorry I couldn't help more
<{^_^}> [nixpkgs] @kamilchm opened pull request #86426 → clipit: 1.4.4 -> 1.4.5 → https://git.io/JfO2k
<simpson> Then maybe not even a build, just some shell.nix to get the right tools available.
Mateon1 has joined #nixos
<rickhull> yeah, i'm just trying to get a sane dev env, not too worried about building on nixos, though that much seems fine at the moment
o1lo01ol1o has quit [Remote host closed the connection]
spacefrogg has quit [Remote host closed the connection]
aw has quit [Remote host closed the connection]
ambroisie has quit [Ping timeout: 258 seconds]
fendor has quit [Read error: Connection reset by peer]
<jlv> What is up with the duplicate results in `nix search`? After runnings `nix search -u` for the first time, all searches include duplicate `nixos.` and `nixpkgs.` results.
<clever> jlv: i think one is for the channel called nixos, the other is the alias that lets <nixpkgs> map to nixos
<jlv> clever: the weird thing is, before running `nix search -u`, on a fresh system, it only shows `nixpkgs.` results.
slack1256 has quit [Remote host closed the connection]
aw has joined #nixos
<clever> jlv: what does `nix-channel --list` show, for both your user, and root?
<energizer> that is fixed in master
<{^_^}> nix#3527 (by doom3wasagoodgame, 1 week ago, closed): Duplication of search results for nix search
<clever> ah
<jlv> energizer: I guess that answers my question :) Been bugging me for months XD
<{^_^}> [nixpkgs] @flokli merged pull request #79328 → nixosTests: Reraise exceptions in subtests so they stop the test → https://git.io/JvZRH
<{^_^}> [nixpkgs] @flokli pushed 3 commits to master: https://git.io/JfO2W