<colemickens>
I missed that dev-shell was even there :S
<colemickens>
I haven't used nixos-rebuild for a while so I don't mind missing it for now
thc202 has quit [Ping timeout: 244 seconds]
sbetrium has quit [Quit: sbetrium]
<colemickens>
* I haven't used nixos-rebuild for a while so I don't mind missing it.
<dasdfasfadsfdasf>
that flake.nix that wraps up a configuration.nix may still be useful with your other way to invoke things
user_0x58 has joined #nixos
<colemickens>
although, I think what I'm doing right now isn't updating the system profile :|
<colemickens>
* although, I think what I'm doing right now isn't updating the system profile :| and I don't know how to do that in `nix`-v2 land yet.
sbetrium has joined #nixos
<dasdfasfadsfdasf>
based on what I am reading nix flakes can replace your /nixup.sh
<dasdfasfadsfdasf>
but I have only used it in localhost
apache8080 has joined #nixos
<colemickens>
dasdfasfadsfdasf: it can
<colemickens>
dasdfasfadsfdasf: I've got my laptop and rpi4 building "transparently" with both simultaneous. the outputs are almost identical :)
<dasdfasfadsfdasf>
nice
<colemickens>
my existing system allows me to override inputs by having them cloned at a special place in my FS. I think I can emulate that with CLI args to override an input (that actually just now clicked)
<colemickens>
(emulate that in flakes, that is)
<colemickens>
(also master is severely behind where things are at now.)
<dasdfasfadsfdasf>
gotcha
<apache8080>
Trying to cross-compile the nixos sd image using this https://github.com/nix-community/nixos-generators/blob/master/README.md and I set `boot.binfmt.emulatedSystems = [ "aarch64-linux" ];` in my NixOS configuration and re ran rebuild switch but when I run `nixos-generate -f sd-aarch64-installer --system aarch64-linux -c rpi-sd-image.nix -I
<apache8080>
nixpkgs=${pwd}/nixpkgs` I get the following errors `while setting up the build environment: executing '/nix/store/qap2krb706ia4czm89xzmlqj72wysf5h-bash-4.4-p23/bin/bash': Exec format error` and `error: build of '/nix/store/a26v4krx5mqcl9yd2il39avvqs8273yf-nixos-sd-image-20.09pre-git-aarch64-linux.img.drv' failed`
slack1256 has quit [Ping timeout: 256 seconds]
codygman has quit [Read error: Connection reset by peer]
<colemickens>
flakes makes me wish builtins had a few more things
michiel_ has quit [Ping timeout: 244 seconds]
jmarhee has quit [Ping timeout: 246 seconds]
seanparsons has joined #nixos
codygman has quit [Ping timeout: 265 seconds]
codygman has joined #nixos
werner291 has quit [Remote host closed the connection]
orivej_ has quit [Ping timeout: 246 seconds]
michiel_ has joined #nixos
<sdasdasdasdasdas>
> flakes makes me wish builtins had a few more things -- + 1
<{^_^}>
error: syntax error, unexpected '+', at (string):317:58
orivej has joined #nixos
<{^_^}>
[nixpkgs] @peti pushed to haskell-updates « hackage-packages.nix: automatic Haskell package set update »: https://git.io/JJfES
codygman has quit [Read error: Connection reset by peer]
codygman has joined #nixos
apache8080 has quit [Remote host closed the connection]
sbetrium has quit [Quit: sbetrium]
<sdasdasdasdasdas>
colemickens I adapted your home manager config to build with latest master, only a few packages like redshift for wayland, wayfire and a couple others are not present
sbetrium has joined #nixos
<sdasdasdasdasdas>
I'll check if I can re-apply the obs patch too
<colemickens>
I probably need to diff nixpkgs-wayland and nixpkgs.
<colemickens>
It's been al ong time since I sync'd them.
<sdasdasdasdasdas>
that'd be great - I have been using master since the last big sync and really love it
<sdasdasdasdasdas>
(with daily sway that is)
<sdasdasdasdasdas>
until this pandemic made me reconsider the lack of OBS
<sdasdasdasdasdas>
and the fact that I never got the dell stylus working
<sdasdasdasdasdas>
(for blender)
<colemickens>
yeah, I use obs+v4l2loopback for webcam stuff and it works well enough
<colemickens>
direct screensharing in firefox/chromium aren't really there yet. you can do it but it's tedious
apache8080 has joined #nixos
seanparsons has quit [Ping timeout: 260 seconds]
jbox has quit [Quit: WeeChat 2.8]
<colemickens>
I guess I could go ahead and figure out what a flake-powered overlay looks like.
<colemickens>
I guess the overlay already just overlays a nixpkgs though, so it wouldn't really "follow" a nixpkgs in terms of flakes.
<sdasdasdasdasdas>
that'd be awesome - to be honest the only thing that made me not use your repo directly were the custom scripts
<sdasdasdasdasdas>
for all the flaws flakes may have I rather like the fact that it is there already
<sdasdasdasdasdas>
(at least in my system)
<colemickens>
sdasdasdasdasdas: my nixcfg repo or nixpkgs-wayland?
<sdasdasdasdasdas>
your nixcfg repo
<colemickens>
aha okay. yeah. I'm aiming to push all my flakes-y updates later today with docs on why I wrote the nixup/update.sh/etc and what the future looks like with none of my scripts needed
<sdasdasdasdasdas>
nixpkgs-wayland I moved aways as soon as master was barely usable because I am happy to exchange simplicity for broken stuff
<colemickens>
(well, nixup will still be useful for some remote build scenarios where I am smarter than the nix daemon :P)
<colemickens>
sdasdasdasdasdas: lol, may was rough for sway master
<sdasdasdasdasdas>
so I love getting a somewhat vanilla nixpkgs and adding my toppings
<sdasdasdasdasdas>
haha - yeah, May was rough
<sdasdasdasdasdas>
I'll happily test your flakes on some of my systems - my usual nickname is ingenieroariel
<colemickens>
okay, the overlay will probably not make it today. I'll open an issue real quick though...
<sdasdasdasdasdas>
Maybe with flakes I should prefer to ship a package set that follows a flake-override-able nixpkgs? --> sweet
<colemickens>
sdasdasdasdasdas: just thinking aloud, I have no idea
dasdfasfadsfdasf has quit [Ping timeout: 245 seconds]
seanparsons has joined #nixos
<colemickens>
sdasdasdasdasdas: btw, if obs with those patches work please comment, I'd love for them to get it merged and start iterating on fixes.
<colemickens>
so much wayland stuff stalls just from lack of feedback I think.
hoverbear has joined #nixos
<sdasdasdasdasdas>
will do
lawr3nce has quit [Quit: Leaving]
<sdasdasdasdasdas>
I'll try to up my game on the feedback then
pucilpet[m] has joined #nixos
sdasdasdasdasdas has quit [Remote host closed the connection]
slack1256 has joined #nixos
slack1256 has quit [Remote host closed the connection]
alexherbo24 has joined #nixos
<apache8080>
I am trying to build a nix image for arm following these instructions https://nixos.wiki/wiki/NixOS_on_ARM#Build_your_own_image and I am using the ` boot.binfmt.emulatedSystems = [ "aarch64-linux" ];` flag in my configuration.nix for NixOS but I get the following error `while setting up the build environment: executing
<apache8080>
'/nix/store/i4klj1csjdfvcljfvq0pq87f6mjimxav-bash-4.4-p23/bin/bash': Exec format error`
alexherbo2 has quit [Ping timeout: 265 seconds]
alexherbo24 is now known as alexherbo2
<apache8080>
samueldr have you cross compiled ARM images using the method in the wiki?
<bqv>
colemickens: just interested, why's this an overlay? is it just too many unstable packages for nixpkgs?
<colemickens>
bqv: I don't know tbh. There's an issue about changing to a package set if you want to comment on it.
pinecamp has joined #nixos
<colemickens>
bqv: It also makes more sense why I would want to use flakes for it if I made it a package set.
<colemickens>
right?
<colemickens>
because then it would have a nixpkgs input that consumers could override in their flake, ya?
<bqv>
yes, definitely
<bqv>
it does seem like the perfect candidate for flakeification
<ashkitten>
colemickens: did you see my ping the other day about wxrc?
sbetrium has quit [Quit: sbetrium]
<ashkitten>
er, oops #nixos-chat
sbetrium has joined #nixos
<colemickens>
do I have to eval-config to get a nixos-rebuild ? can I pull it into a shell?
gustavderdrache has quit [Quit: Leaving.]
<bqv>
you could reference your config via nixosConfigurations
<bqv>
which you can reference via self...
<lopsided98>
apache8080: You'll probably get more responses in #nixos-aarch64
<apache8080>
thanks
alp has quit [Quit: Leaving]
apache8080 has quit [Remote host closed the connection]
craftygu1 has joined #nixos
craftygu1 is now known as craftyguy
orivej has quit [Quit: No Ping reply in 180 seconds.]
orivej has joined #nixos
wnklmnn has quit [Quit: Leaving]
emmanuel_erc has joined #nixos
drakonis has quit [Quit: WeeChat 2.8]
seanparsons has quit [Ping timeout: 260 seconds]
<bqv>
oh hey, i found a bug in nix
<bqv>
normally i'd be slightly happy about that but this is just irritating
<colemickens>
the same command, different versions of nix, different results
<bqv>
at least you have a workaround
orivej_ has joined #nixos
orivej has quit [Ping timeout: 264 seconds]
<bqv>
the error i get is `boost::bad_format_string: format-string is ill-formed`
<bqv>
there's no more context
<bqv>
even with vvvvv
sbetrium has quit [Quit: sbetrium]
<bqv>
i have no idea how to fix or even debug this
rajivr has joined #nixos
sbetrium has joined #nixos
<bqv>
good lord what, it doesn't error if i do vvvvvv (i didn't realise i could do more than 5)
<bqv>
nevermind, seems it's just an rng error
camsbury has joined #nixos
<colemickens>
bqv: heh
<colemickens>
that's an assert
<colemickens>
at least, I think it is. When I was getting my config building in both worlds, I had an assert, and I was getting that error from nixFlakes when it was triggering
<bqv>
i'm interested what's causing it, but for now i seem to be fine to just put the build on a while loop :p
<aleph->
Question since I'm having difficulty recalling. What would be the easiest way to include a custom derivation in systemPackages?
<PrimHelios>
does nixos have a CoC?
<bqv>
"don't install guix"?
<aleph->
Heh
<aleph->
Don't be a jerk?
<PrimHelios>
alright, thanks
PrimHelios has quit [Client Quit]
* colemickens
shrugs
sigmundv_ has quit [Ping timeout: 264 seconds]
<bqv>
i'm running out of time to get this to work...
<colemickens>
Nice. I had an input pointed at the wrong branch, my system configs are identical between my-pinning and flakes. :D :D
sbetrium has quit [Quit: sbetrium]
dbmikus has quit [Ping timeout: 246 seconds]
emmanuel` has joined #nixos
sbetrium has joined #nixos
<bqv>
i'm having to run the thing i'm trying to build completely synchronously, because if i allow it to spawn 32 builders it crashes almost instantly, but this is painstakingly slow
<bqv>
fetching 800 zip files, one by one
<bqv>
oh maybe if i try a different version of nix...
emmanuel_erc has quit [Ping timeout: 260 seconds]
ctp has joined #nixos
drakonis has joined #nixos
drakonis has quit [Read error: Connection reset by peer]
drakonis has joined #nixos
felixfoertsch23 has joined #nixos
felixfoertsch has quit [Ping timeout: 260 seconds]
felixfoertsch23 is now known as felixfoertsch
craftyguy has quit [Ping timeout: 240 seconds]
drakonis has quit [Read error: Connection reset by peer]
erasmas has quit [Ping timeout: 265 seconds]
emilazy has quit [Ping timeout: 240 seconds]
pkral has quit [Read error: Connection reset by peer]
jbetz has quit [Ping timeout: 265 seconds]
claudiii_ has quit [Ping timeout: 260 seconds]
peel has quit [Ping timeout: 240 seconds]
higherorder has quit [Read error: Connection reset by peer]
teej has quit [Read error: Connection reset by peer]
<aleph->
Ouch
jlpeters has quit [Read error: Connection reset by peer]
knerten1 has joined #nixos
wildsebastian has quit [Ping timeout: 260 seconds]
betawaffle has quit [Ping timeout: 272 seconds]
omnigoat has quit [Ping timeout: 272 seconds]
peel has joined #nixos
jlpeters has joined #nixos
pkral has joined #nixos
NekomimiScience has quit [Read error: Connection reset by peer]
claudiii_ has joined #nixos
digitalgrease has quit [Ping timeout: 240 seconds]
<aleph->
Here's another stupid question, attempting to patch a tcl script in a derivation. Need to change the interpreter line, would I use patchelf here? Or could I just do like a preBuild hook and just do something like `sed -i s/../${pkgs.tcl}/g script`
TheNumb has quit [Ping timeout: 265 seconds]
higherorder has joined #nixos
digitalgrease has joined #nixos
NekomimiScience has joined #nixos
<bqv>
ah interesting, if i pipe the broken drvs into flakeless nix, it shows me curl errors
<bqv>
nix means we can use multiple glibcs, right?
markus1189 has quit [Ping timeout: 256 seconds]
markus1189 has joined #nixos
pjt_tmp has joined #nixos
abathur has joined #nixos
<aleph->
Hmm thought `sed -i 's/\#\!\/usr\/bin\/env tclsh/\#\! ${pkgs.tcl}/g' foo` would work. Is there a way to do what I want to? Need to patch the shebang line in a tcl script that get's called during the build process.
LarryTheCow has quit [Remote host closed the connection]
<pjt_tmp>
is one of the crossbuild targets powerpc?
shah^ has joined #nixos
<bqv>
drakonis: yeah i mean at this point i'm not expecting people to be copying my config directly. one day i hope to update that template branch to be closer to what i've got
<bqv>
the overlay thing shouldn't break much
<bqv>
i've no idea why it wouldn't work for you
<bqv>
but the secrets are obviously all missing
sbetrium has quit [Quit: sbetrium]
codygman has quit [Remote host closed the connection]
<bqv>
i've written a xonsh script inline, that calls nix-build, python and emacs, in a while loop, to fix the hashes on a json lock file i have, and it's going to take an hour
<bqv>
how did i get here
Orbstheorem has joined #nixos
<aleph->
... monster
<aleph->
The heck is the point of it?
<bqv>
it is genuinely the most awful thing i've ever done
<bqv>
but i'm not gonna fix 452 hashes manually
<bqv>
it's just real shitty that i have to do it in serial
<bqv>
because i don't think i can get nix to just output all the correct hashes
<bqv>
essentially i'm mass-automating tofu
domogled has joined #nixos
domogled has quit [Remote host closed the connection]
waleee-cl has quit [Quit: Connection closed for inactivity]
<kenran_>
Do you know of examples in nixpkgs where and how a macOS "app wrapper" (don't know what it's called; something one could copy into /Applications and start it from there) is created?
<kenran_>
Background: I'm now using home-manager, and some of the programs I enable I'd like to use on macOS as well as on NixOS, but would love to be able to start them from spotlight/alfred there
<fps>
hmm, what configuration keys should i use to setup NAT/MASQUERADE?
<mica[m]>
kenran_: I don't think GUI apps will work on macOS
<fps>
right now i needed to disable networking.firewall to get hostapd and dnsmasq to work. so the firewall options are not really useful
<kenran_>
Oh. I just found out there's an Applications symlink in my nix-profile! Maybe just getting its content in /Applications is the way to go after all. I wonder whether that's possible via home-manager, but that's probably a question for their channel then
<bahamas>
srhb: in my configuration.nix, I only have two lines related to networking. one allows ping and the other opens ports 53, 80 and 443
<srhb>
bahamas: So how do you get an IP?
<srhb>
bahamas: dhcp?
<bahamas>
srhb: sorry, I don't know much about networking, so I don't know how to answer your question
<srhb>
bahamas: If so, check which nameservers you got. I think you can just cat /etc/resolv.conf
<srhb>
bahamas: That's fine, just calibrating my questions ^^
<bahamas>
nameserver 127.0.0.53
<bahamas>
options edns0
<bahamas>
those are the contents of /etc/resolv.conf
<srhb>
Ah, right, that's not helpful.
<fps>
or maybe i should ask differently: what extraCommands do i need for the firewall to enable dnsmasq and hostapd listening on wlan0?
<bahamas>
srhb: dig and nslookup time out, so dns resolution is not working
<srhb>
bahamas: Indeed. Do you have internet at all?
fresheyeball has joined #nixos
<srhb>
bahamas: (eg. can you ping say google's dns servers; ping 8.8.8.8)
<bahamas>
srhb: yes, because this is a remote vps. also pinging 8.8.8.8 works
<srhb>
bahamas: Then I would say you need to set networking.nameservers
<fresheyeball>
I am trying to build an nginx docker image in nixos
<srhb>
bahamas: It would appear you have gotten an IP address via dhcp, but no name servers or the name servers you got are not responding to your requests (either or)
<bahamas>
srhb: any nameservers I could use?
<srhb>
bahamas: Lots! Which you prefer is really up to you. You could start with googles' (8.8.8.8 and 8.8.4.4) and consider whether you like them knowing about your dns lookups at a later time.
<bahamas>
srhb: when you put it like that, I don't like them knowing :)
<srhb>
bahamas: I don't feel comfortable giving any specific recommendation, I think you need to do your own research here. :)
<bahamas>
srhb: I can only see a section where the IPs are set, like "y341k7wya1hmxn0699wscdj8q7s186vb-unit-script-network-addresses-eth0-start[610]: adding address <IP>..."
<fps>
oh, networking.localCommands to the rescue :)
<bahamas>
I see a lot of entries of the type "kernel: refused connection: ". I don't know if they're relevant or not
<srhb>
bahamas: They're not
<srhb>
bahamas: Is that ip from the log th address your interface has now?
<srhb>
bahamas: Because that seems to indicate you've manually added an IP in your configuration
bkv has joined #nixos
<srhb>
bahamas: (Which in turn disables DHCP)
<bahamas>
srhb: it is the IP, but I didn't add it manually
bqv has quit [Ping timeout: 260 seconds]
<bahamas>
srhb: I think it's nixos-infect. it generated a networking.nix file which has the IPs and everything
<srhb>
bahamas: Yes, that would do it.
<srhb>
bahamas: (nixos doesn't care whether you or another script wrote it, it's still there ;))
<srhb>
bahamas: Consider enabling dhcp on the interface instead
cr4y1 has joined #nixos
<bahamas>
and it disabled dhcpcd
FRidh has joined #nixos
<srhb>
bahamas: Looking at the source for infect it looks like it would also have attempted to set up nameservers
<srhb>
bahamas: But basically: Decide whether you want static config or dynamic (dhcp) and adjust your config accordingly.
<bahamas>
srhb: I just want networking to work :)
<bahamas>
is there any particular reason why nixos-infect would use static config and disable dhcp?
ryzokuken has quit [Remote host closed the connection]
domogled has quit [Quit: domogled]
ryzokuken has joined #nixos
<bahamas>
it looks like simply not including networking.nix in configuration.nix breaks networking
<srhb>
bahamas: You'll have to ask the author.
<srhb>
bahamas: That sounds weird. It should default to dhcp (but you may have to reboot) -- but at this point, I don't know your config.
seku has joined #nixos
<bahamas>
it's complicated :) I can't access the vps through ssh anymore and I can't access it through the DO console, because I didn't set a password for root. fortunately, this wasn't a production environment.
<{^_^}>
[nixpkgs] @vbgl pushed commit from @yrashk to master « framac: 20.0 -> 21.0 »: https://git.io/JJfi3
bahamas has joined #nixos
tmaekawa has joined #nixos
<srhb>
eyJhb: it's not just you. Needs fixing. :)
<eyJhb>
Perfect, unsure if I was having a stroke and couldn't read it
<eyJhb>
:D
<TheSirC[m]>
evils: Yes I succeeded to make it work but I fear that in the case you were seeing I would not have been of much use : I moved to Markhor and everything built and `modprobe`d correctly.
<bahamas>
does systemd need to configured somehow to manage dns resolving?
<bahamas>
by default, Ubuntu uses systemd-resolve for dns resolution. when nixos-infect switches the system, dns resolution stops working because the only name server it uses is 127.0.0.1:53
<{^_^}>
[nixpkgs] @Mic92 opened pull request #91813 → nixos/*: Add types to the database module options → https://git.io/JJfXM
boxscape has joined #nixos
b1000101 has joined #nixos
<bahamas>
srhb: I suspect the issue was caused by the fact that Ubuntu 18 relies on systemd-resolve for dns resolution and that was not configured for nixos. with ubuntu 16 as base, dns resolution works
<gueorgui>
I notice that package versions in nixkpkgs-unstable are more or less in sync with the "stable" archlinux package repos, which tends to work fine in daily work
<srk>
gueorgui: pretty stable, depending on the packages you use
<{^_^}>
[hydra] @dependabot[bot] pushed to dependabot/github_actions/cachix/install-nix-action-v10 « Bump cachix/install-nix-action from v8 to v10 »: https://git.io/JJfyc
<{^_^}>
[hydra] @dependabot[bot] opened pull request #791 → Bump cachix/install-nix-action from v8 to v10 → https://git.io/JJfyC
<gueorgui>
srk: thanks!
<srk>
gueorgui: I'm using master myself (when I can build all the stuff), unstable goes thru Hydra and only advances when builds are passing
<srk>
gueorgui: it's also quite easy to rollback if stuff breaks
<gueorgui>
Hydra is the CI thing, right? That means that at least stuff will build, but there's no guarantees it will actually work
<sshow>
I'm unable to pick a wireless network interface with `let iface = toString lib.lists.take 1 config.networking.wireless.interfaces`. It returns an empty string. How should I go about it?
<symphorien>
I think you can set the name of the interface with a udev rule
ryzokuken has joined #nixos
<pepesza>
I'm trying to create a derivation. It uses buildGoModule. buildGoModule requires vendorSha256. There is no mention of how one should compute it. It seems that the expected way is "insert garbage, try to build, copy vendorSha256 value from error message". If it is so, than it's too smart for it's own sake.
<b42>
sshow: if it's detected at runtime you can't use it in NixOS configuration
<sshow>
I thought nixos would know the name of the network interfaces at build time
<b42>
sshow: the udev rule approach sounds reasonable, other options are to configure it statically (possibly on a per-host basis), or find out the name in a shell script as part of the systemd service
<sshow>
b42: yeah, the last one sound better to me
<b42>
pepesza: correct
<b42>
,tofu pepesza
<{^_^}>
pepesza: 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
<Miyu-saki>
What's the current recommended way for Rust development?
<pax-12>
I am having trouble installing nvidia drivers on linux 5.7.4 on nixos unstable, here is the error(s) and my configuration.nix https://bpa.st/BSDA
<turion>
I just managed to install Nix on a rescue system of my dedicated server, where I have an existing, unbootable NixOS installation. I want to try and run nixos-install to see whether that fixes it.
<{^_^}>
[nixpkgs] @Ma27 pushed to glibc231 « glibc: build with patches for CVE-2020-1752 & CVE-2020-10029 »: https://git.io/JJfAJ
simba2 has joined #nixos
acarrico has joined #nixos
<ldlework>
domenkozar[m]: I was told that "Nix" would be our branding going forward. That's why I prioritized that subreddit and went through the work to secure it and reset it up. Congrats on the snipe though.
<domenkozar[m]>
as I said in reddit messaging, I have no interest being the owner or whatever, I only want to recover that reddit
<ldlework>
That wasn't how I interpreted your messages. Great :)
<domenkozar[m]>
that's exactly what I said
<domenkozar[m]>
well I said mod, I didn't know there's also the owner
* domenkozar[m]
is no reddit expert
sangoma has quit [Ping timeout: 256 seconds]
jakobrs has joined #nixos
m1sosoup has joined #nixos
phaebz has joined #nixos
<jakobrs>
Just something I was thinking about: I suggest that the minimal live ISO have X11 forwarding by default.
<jakobrs>
It shouldn't increase the closure size, and X11 forwarding is particularly useful for things like using gparted on a headless install.
markus1189 has quit [Ping timeout: 240 seconds]
markus1189 has joined #nixos
<jakobrs>
As for headless installs, I think that a way to launch sshd by default without a keyboard would be useful too.
<clever>
jakobrs: sshd is configured, but set to not auto-start, so you must run `passwd`, and `systemctl start sshd` to make it function
<jakobrs>
Yes I know, that's my point
<phaebz>
Running the VirtualBox OVA appliance as documented in https://nixos.org/download.html, how to upgrade to a proper system (without the imports=[ <nixpkgs/nixos/modules/installer/virtualbox-demo.nix> ])? Should I just use a different configuration.nix? The ones I have used previously were on bare metal and contained imports = [ ./hardware-configuration.nix ]; which I assume is contained in the virtualbox-demo.nix?
<clever>
jakobrs: you could fairly easily make a custom iso, that forces sshd to start, and has a key pe-authorized
<jakobrs>
I was installing NixOS in a VM earlier today, which is what motivated this
<patagonicus>
Yep. I've seen systems that do SSH by default, but with a randomized password, so you still need a screen to see what the password is. I'd prefer the default to be SSH disabled and then if you do a headless install you can create your own image with your SSH pubkeys baked in in a few lines of config (and while you're at it you can also add your
<patagonicus>
favorite editor and whatever else you'd want).
<patagonicus>
I used to have a customized version of sysresccd lying around, but that was much more of a hassle to customize than NixOS.
<jakobrs>
The X11 forwarding thing could still work though, though it might be better to have the user just set that manually
<clever>
patagonicus: the current default is that sshd is technically enabled (so you dont need to nixos-rebuild), but systemd is set to not run on bootup
<jakobrs>
I know that certain other systems (for example, the raspberry pi install) lets you create a file called "ssh" in the boot partition to enable ssh on boot
<patagonicus>
clever: Different meanings of enabled. :) That's what I meant, keep it the way it is.
<jakobrs>
but that wouldn't work with an installer iso
<jakobrs>
There may be security concerns with enabling X11 forwarding, though, I'd imagine.
<patagonicus>
I don't see anything in the config that would disable X11 forwarding, but I also didn't check all of the includes. Are you using `ssh -Y` when connecting to the server?
<jakobrs>
X11 forwarding is disabled by default.
ryzokuken has joined #nixos
<jakobrs>
As in, `services.openssh.forwardX11` is `false` unless changed, presumably for security.
<patagonicus>
Ah, right, it's just the default for the service, not installer specific.
<patagonicus>
I think it's because it's requiring programs.ssh.setXAuthLocation to be set, which can pull in X11 packages, but that shouldn't be a problem for the installer.
<clever>
minimal vs graphical installer
<jakobrs>
minimal
<jakobrs>
I don't think the `programs.ssh` and `services.openssh` interfere in that way.
<jakobrs>
s/interfere/options interfere/
<Miyu-saki>
`nix-build --max-jobs 8 --cores 8`
<Miyu-saki>
Temp [C]
<Miyu-saki>
Acpitz,0 91.0
cosimone has joined #nixos
<clever>
Miyu-saki: that will spawn 64 procs!
<Miyu-saki>
:D
<Miyu-saki>
Depends on the underlying build system though.
<clever>
services.sshd.enable
<clever>
Alias of services.openssh.enable.
<Miyu-saki>
IIRC, `make`, at least with Nixpkgs settings also uses your load averages.
<clever>
jakobrs: ^
<clever>
Miyu-saki: yep, with the default buildPhase
<gchristensen>
Miyu-saki: seems weird, like why not just set NUM_JOBS=1 in the derivation for proc-macro2, instead of spoiling8 the other infinity crates?
<Miyu-saki>
Yeah
<Miyu-saki>
This is actually proving to be a problem on my builds
<Miyu-saki>
I wonder what programs will recompileg if I change that
<{^_^}>
[nixpkgs] @worldofpeace pushed 2 commits to master: https://git.io/JJfjR
<phaebz>
So I changed the configuration.nix of the VirtualBox OVA but now there is no demo user anymore, only my new user which has autologin but I did not set a password. What is the default root password for the VirtualBox OVA?
<patagonicus>
phaebz: I don't know if there is one, but if you get a selection of generations at boot you might be able to go back to the old one, set a password and then go back to the new one.
<{^_^}>
[nixpkgs] @kalbasit pushed commit from @r-ryantm to master « sensu-go-agent: 5.20.1 -> 5.21.0 (#91847) »: https://git.io/JJJeC
ingenieroariel has joined #nixos
civodul has quit [Quit: ERC (IRC client for Emacs 26.3)]
<phaebz>
patagonicus: Hah, nice one, did the trick, thanks.
<patagonicus>
The generations feature in NixOS is super helpful. :)
<ingenieroariel>
Hey colemickens - I test obs with home manager, v4l2sink and wroobs on master and it works for the simplest use case
<ingenieroariel>
(overlaying a full screen and my camera and creating a virtual cam for zoom and hangouts)
magnetophon has quit [Read error: Connection reset by peer]
growpotkin has joined #nixos
<ingenieroariel>
a customized version of your sway-config.nix works on master too, happy to test newer versions if you decide to bump wayland packages on master
<turion>
How to handle dependencies of nextcloud apps? Should I do something like services.nextcloud.package = nextcloud19.overrideAttrs (old: { buildInputs = old.buildInputs ++ [ mydependency ]});?
<{^_^}>
https://github.com/NixOS/nixpkgs/issues/42557 (by srghma, 2 years ago, open): cant install nixos because of src/libexpr/primops.cc:56: void nix::EvalState::realiseContext(const PathSet&): Assertion `store->isStorePath(ctx)' failed.
kleisli_ has joined #nixos
<pikajude>
hey, is it possible to make hydra skip a specific attribute when evaluating a jobset?
<gchristensen>
to what end?
<gchristensen>
I think it'll skip if it throws
<LnL>
there's hydraPlatforms
<pikajude>
yeah but this attr isn't a derivation, it's a set of them
<pikajude>
i have one file that exposes all the hydra jobs i want
<pikajude>
basically it's a bunch of stuff from a cargo2nix workspace
<pikajude>
but i also want to add an attribute that refers to the workspace itself so that i can import the file other places and not have to copy code
<pikajude>
BUT i don't want to put the entire workspace in the file that hydra evaluates because then it'll produce like, 800 jobs
<LnL>
recurseIntoAttrs determines whether hydra or nix search should traverse the set
<pikajude>
oh
<pikajude>
i thought hydra just did it by default
infandum has joined #nixos
proofofkeags has joined #nixos
<LnL>
derivations are also sets so that would be a but unwieldy :)
proofofkeags has quit [Remote host closed the connection]
<infandum>
I'm trying to build inline-r as a dependency for my package. I get the error dyld: Library not loaded: libRblas.dylib because the image is not found. This is on macOS, everything is fine on linux. I tried to point to where it is by overriding the dependency with appendConfigureFlags (haskell library) but it did not append. How can I solve this library not found?
<infandum>
That is, in the overrides, I have `inline-r = pkgs.haskell.lib.appendConfigureFlags (dontCheck super.inline-r) [ "--extra-lib-dirs=${pkgs.R}/lib/R/lib" ];`
<{^_^}>
[nixpkgs] @sternenseemann opened pull request #91865 → ocamlPackages.angstrom 0.14.1 and update of all affected packages (encore, git) → https://git.io/JJJTm
MmeQuignon has joined #nixos
<Miyu-saki>
Seems like buildRustCrate and propgatedBuildInputs don't really work that well together? :/
Cale has quit [Read error: Connection reset by peer]
<camsbury>
for example I want to add `kubetail`, but make the path the `share` dir
<camsbury>
any tips?
ris has joined #nixos
<tobiasBora>
Hello,
<tobiasBora>
I just setup my partition setup, where I have LVM(LUKS(ZFS))
<tobiasBora>
(I encrypt an ZFS partition using LUKS and I put that into a LVM volume)
<tobiasBora>
However, I don't know why but nixos first opens the LVM, and then it tries to open ZFS... so it fails (not yet decrypted), and only *after* it asks for my password to decrypt
<gchristensen>
wow that is a lot of layers, tobiasBora, why LVM first?
<tobiasBora>
gchristensen: oh, I need to leave, I'm back in one or two hours (but I'll read any answer). And I have LVM first because I want also non encrypted partitions, and I don't want to use ZFS encryption because I can't decrypt with multiple keys
<skomorokh>
Is there anything like a Nix LTS? I'd like to use it for a server I don't want to mess with very much and the idea of likely not having any of the software change major versions for two years seems appealing, but so does the stability of having the whole system configuration expressed declaratively
iyzsong has joined #nixos
seku has quit [Ping timeout: 258 seconds]
<Miyu-saki>
Is there a wrap setupHook?
<Miyu-saki>
I don't want to specify all binaries, because I'm not sure what all the artifacts are yet.
orivej_ has quit [Ping timeout: 260 seconds]
<Miyu-saki>
So I just want everything in $out/bin to be wrapped
<skomorokh>
infinisil: Yes, thanks. And ...unsurprising, it's extra maintenance for sure and given the ambition of the project no doubt resources are spread pretty thin as is.
<infinisil>
Actually, maintaining this would probably be easier due to Nix, it's just that there's not people/money to do it
<Athas>
When nixos-rebuild fails, how am I supposed to see which package actually fails? The output is totally unstructured.
<qyliss>
Athas: look for a line containing "builder for"
<Athas>
I get a list of derivations whose dependencies could not be built, but the actual failing derivation must be listed very subtly, because I cannot find it.
<Athas>
Ah, yes.
<Athas>
What a strange formulation. But thanks!
proofofkeags has quit [Ping timeout: 256 seconds]
rtjure has joined #nixos
<Athas>
As far as I can see, the failing derivation is "fontforge", and it fails because it is provided Python 2, but requires Python 3. Does this derivation work for others?
<Athas>
Surely this cannot be a local problem?
camsbury has quit [Remote host closed the connection]
<skomorokh>
infinisil: Seems very chicken/egg as I bet it'd help enterprise adoption. (Unrelated, there's a nearby town called innisfil and your nick is like some dyslexic uncanny valley)
<infinisil>
Hehe neat
magnetophon has quit [Read error: Connection reset by peer]
<infinisil>
Yeah there might be more adoption with an LTS
<infinisil>
Though I feel like there's many other things to polish first
<gchristensen>
skomorokh: IMO you don't need an LTS so much because the roll-backs are much safer. and, since you're used to dealing with updates more often, the updates are less painful
<qyliss>
Athas: a fix for fontforge is on its way
<skomorokh>
infinisil: Yup, that's part of the whole host of decisions that come with running a distro, it's pretty impressive we have as many of them as we do.
<qyliss>
Athas: I fixed it a little while ago but it needs to make its way from staging to master
<qyliss>
Or at least, I hope that's why it's not working for you
<gchristensen>
skomorokh: the LTS's tend to get peole stuck in time and "calcified" in place where they cannot update because they have no idea what they have anymore. this is not true with NixOS
asymptotically has quit [Remote host closed the connection]
<gustavderdrache>
not to mention that there isn't really One True Channel™ for packages - if you need a specific version of something, you can pin nixpkgs to the revision you need to always have that available - even if the rest of the system tracks a different channel
<Athas>
qyliss: oh good, it's known. I searched on GitHub but couldn't find it as a reported issue.
asymptotically has joined #nixos
<gchristensen>
gustavderdrache: good point
<qyliss>
Athas: well, I'm hoping that it hasn't come back!
magnetophon has joined #nixos
<skomorokh>
gchristensen: Ya, it does seem like it'd be more manageable, that's why it has me intrigued. But how are DBs handled with roll-backs, don't schema updates complicate things?
<gchristensen>
skomorokh: yes, NixOS doesn't do schema updates -- you have to manage those
<qyliss>
Although it's been built by Hydra on master
<qyliss>
Athas: what Nixpkgs rev?
proofofkeags has joined #nixos
<Athas>
qyliss: newest unstable.
<infinisil>
gustavderdrache: gchristensen: I think the point of an LTS is more that you only get security updates or other fixes, but not updates that would cause breakages. This allows you to keep the system secure, but not have to worry about fixing things
<skomorokh>
gustavderdrache: Right, but say the current release is 3.x but upstream is still providing patch releases for 2.x ...is there a way for the package maintainers to offer new releases for old major versions? Is there a way for me to pin a major version but still get patches the maintainer has made available?
<infinisil>
And you can't get that by pinning things
<gchristensen>
gustavderdrache: I know that, but it isn't true
ris has joined #nixos
<gchristensen>
erm, infinisil
<gchristensen>
infinisil: I'd estimate most software releases include security fixes
<qyliss>
Athas: nixos unstable or nixpkgs unstable?
<gustavderdrache>
yeah, there's definitely more nuance to an "LTS" type of system than i'm mentioning
<gchristensen>
and so you're only protected against issues which were known about at fix time, and also got a CVE
<infinisil>
gchristensen: Hm yeah
<gchristensen>
and the upstream divergance gets more and more difficult the longer it goes, and the longer it goes the more bizarre your software stack is
<Athas>
qyliss: there's a difference? I'm on https://nixos.org/channels/nixos-unstable and trying to build with 'nixos-rebuild switch --upgrade', so I assume the newest of nixos-unstable.
<qyliss>
Yeah, there's a difference. nixpkgs-unstable hasn't had the NixOS tests run on it.
acarrico has joined #nixos
_ris has quit [Ping timeout: 244 seconds]
<qyliss>
Anyway, the good news is that on master fontforge builds fine, so it should be fixed once unstable updates
<gustavderdrache>
gchristensen: counterpoint - some software (e.g., helm 2 -> helm 3) has very non-trivial upgrade steps, which take time to implement and validate in large systems, so immediately dropping the older version despite upstream support may be an issue for large orgs
<Athas>
But I don't see how it could affect the version of Python passed to fontforge.
<gustavderdrache>
you can also look at the python 2/3 stuff as wel
<qyliss>
Athas: also, just to make sure we're looking at the right thing, does nix-build -A fontforge '<nixpkgs>' work for you?
<gustavderdrache>
i don't have an answer for what should happen for a project like nixpkgs since it increases the maintenance burden to keep both "legacy" and "current" tracks in nixpkgs, but it's probably something folks look at when evaluating a linux distro
<gchristensen>
gustavderdrache: no doubt
<gchristensen>
pkgs.helm2 pkgs.helm3 :)
<gustavderdrache>
:)
justache has quit [Remote host closed the connection]
<Athas>
qyliss: yes on both accounts. I can also build it with my Git checkouts of nixpkgs master and of the nixos-unstable branch.
cosimone has quit [Quit: Quit.]
<Athas>
I have no idea what nixos-rebuild is looking at, then.
justache has joined #nixos
<{^_^}>
[nixpkgs] @svmhdvn opened pull request #91875 → haskellPackages: cleaning up obsolete overrides (12/x) → https://git.io/JJJLC
phaebz has quit [Ping timeout: 264 seconds]
<{^_^}>
[nixpkgs] @svmhdvn opened pull request #91876 → haskellPackages: cleaning up obsolete overrides (13/x) → https://git.io/JJJLR
slack1256 has joined #nixos
justanotheruser has quit [Ping timeout: 246 seconds]
asymptotically has quit [Quit: Leaving]
nwm_ has joined #nixos
AmandaC has quit [Remote host closed the connection]
moet has quit [Quit: leaving]
justanotheruser has joined #nixos
avn has quit [Read error: Connection reset by peer]
<nwm_>
is there a particular reason nixos uses sha vs say a locality sensitive hash of some sort?
<energizer>
is this a widely used technique? i'm not familiar with it
<{^_^}>
[nixpkgs] @svmhdvn opened pull request #91879 → haskellPackages: cleaning up obsolete overrides (14/x) → https://git.io/JJJtO
<nwm_>
yes for malware analysis
<simpson>
nwm_: Hashes are for checking integrity of downloads, not for looking at their insides. If you don't trust a derivation to safely build inside the sandbox, then you can pull
<simpson>
*pull just the tarball and look at that without building.
<gchristensen>
nwm_: locality hash?
<nwm_>
simpson, nixos hashes the result
<nwm_>
it's not that I don't trust the download, it's that I don't trust the code e.g. heartbleed, etc
<simpson>
nwm_: Oh, hashes of built packages?
<simpson>
Oh, yeah. Literally nothing that can be definitively done about that, so I'm imagining instead that you could run your vulnerability scanner on downloaded tarballs before they're built, or something like that.
<ckauhaus>
quit
ckauhaus has quit [Quit: WeeChat 2.7.1]
<simpson>
ckauhaus++
<{^_^}>
ckauhaus's karma got increased to 3
<gchristensen>
vulnix can be used to scan derivations for vulnerable versions
<nwm_>
it would be for other things as well though
cole-h has joined #nixos
<gchristensen>
it isn't clear to me why Nix would use something other than a hash, though
<energizer>
nwm_: you're suggesting if we know there's a vulnerability in some derivation, a lsh would show that another derivation is similar to it, so we'd know to look in that second one for vulns as well?
<gchristensen>
but it could be cool to experiment with vulnerability scanning being more deeply integrated in to Nix
<gchristensen>
or maybe I'm not understanding what lsh is
<{^_^}>
[nixpkgs] @svmhdvn opened pull request #91881 → haskellPackages: cleaning up obsolete overrides (15/x) → https://git.io/JJJto
<simpson>
gchristensen: The idea is, rather than having a true/false hash comparison, hashes would give some probability of similarity.
<gchristensen>
oh weird
<gchristensen>
I want to play with this
<simpson>
It's not useful for Nix itself, because for tarballs, we are all-or-nothing on hash comparisons. But it's very useful for e.g. hashing image collections.
<gchristensen>
yeah
<gchristensen>
exactly, I want to try this for bucketing my scanned mail :)
<nwm_>
iirc rspamd does lsh iirc anyways
<energizer>
i dont understand the point of this tbh. we already know which derivations are similar to each other because we have the whole dep tree
<nwm_>
code similarity is different from deps
<energizer>
yes but we have the code too
<nwm_>
clickhouse embeds a lot of musl libc
<energizer>
hashes just lose information
<nwm_>
but doesn't depend on musl libc
<tobiasBora>
So nobody knows how I can specify if a luks device must be uncrypted before or after the root filesystem?
<energizer>
tobiasBora: neededForBoot=true
cosimone has joined #nixos
<simpson>
gchristensen: I can't find my notes from my last dive on this. It seems that libpHash is packaged as `phash` but I can't find any other tools like pdiff or dhash in nixpkgs.
<nwm_>
you would probably want tlsh
<energizer>
like, if you have the source code of two packages, and the lsh of two packages, which would you rather use to determine if the packages are similar
<tobiasBora>
energizer: I'm not sure to see how I should use this option, neededForBoot is an option for a filesystem, but not for luks. Here is my current setup if it helps https://paste.debian.net/1154527/
<energizer>
tobiasBora: are you mounting filesystems that are in the luks?
zanc has quit [Read error: Connection reset by peer]
<simpson>
nwm_: `nix-shell -p pythonPackages.tlsh`, and then `import tlsh` in a Python shell.
<tobiasBora>
energizer: kind of. I've LVM(LUKS(ZFS), so I first open LVM, then LUKS finally ZFS
zanc has joined #nixos
<tobiasBora>
my prooblem is that ZFS is tried to be openned before luks is decrypted
<nwm_>
why not use zfs encryption?
<nwm_>
-O encryption=aes-256-gcm, etc
<nwm_>
another thing is there a reason nixos couldn't be more file directory friendly vs treating the filesystem as an object store?
<slabity>
nwm_: What do you mean by 'file directory friendly'?
knupfer has quit [Ping timeout: 240 seconds]
camsbury- has joined #nixos
<nwm_>
not nix store basically, similar but the problem I currently have is I cannot noexec, nocompress, or iirc use any fancy path based linux security modules with nixos (?)
<nwm_>
maybe I'm wrong though
<simpson>
Sure. What's your threat model?
<ryantm>
Is there a way with nixops deployment.keys to deploy two keys with the same name in different directories?
nuncanada has joined #nixos
vereis has quit [Quit: Lost terminal]
meh` has quit [Ping timeout: 264 seconds]
knupfer has joined #nixos
<cole-h>
I don't think so -- 99% sure they all go to /run/keys or something.
<cole-h>
Ping gchristensen / adisbladis who would know for sure.
<gchristensen>
sure
proofofkeags has quit [Remote host closed the connection]
<{^_^}>
[nixpkgs] @svmhdvn opened pull request #91884 → haskellPackages: cleaning up obsolete overrides (16/x) → https://git.io/JJJmg
FRidh has quit [Ping timeout: 246 seconds]
gustavderdrache has quit [Quit: Leaving.]
FRidh has joined #nixos
<kenran>
Inside a set, can I set a key "conditionally" (that is, "if predicate, set key, otherwise do nothing") or do I have to use // to update with the value(s) or {}?
<pbogdan>
> { ${if false then "a" else null} = "a"; }
<{^_^}>
{ }
<pbogdan>
> { ${if true then "a" else null} = "a"; }
<{^_^}>
{ a = "a"; }
orivej has quit [Ping timeout: 240 seconds]
orivej has joined #nixos
o1lo01ol1o has quit [Remote host closed the connection]
<cole-h>
Is the output of activation scripts logged anywhere?
knupfer has quit [Ping timeout: 260 seconds]
<qyliss>
only to the terminal I think
knupfer1 has joined #nixos
<gchristensen>
I think it'll get logged to the journal for the boot-time activation?
<gchristensen>
it'd be good to get this logged :P
* cole-h
is hacking on the nixops-keys activation script to see why this isn't working
* cole-h
is trying a pure environment
knupfer1 is now known as knupfer
AmandaC has quit [Quit: Toodles]
<qyliss>
Oh yeah they'll be logged on boot
<qyliss>
I was thinking about nixos-rebuild switch
<gchristensen>
yeah you're amost definitely right w.r.t. the switch
fendor has joined #nixos
dbmikus has quit [Ping timeout: 256 seconds]
andrewrk has joined #nixos
<cole-h>
... Why are my modifications to keys.nix not doing anything? :'(
civodul has joined #nixos
<andrewrk>
hmm I'm installing latest stable nixos on a 5+ years old dell xps laptop. the wifi used to work fine on this, but now I'm seeing in dmesg b43-phy0 ERROR: FOUND UNSUPPORTED PHY (Analog 12, Type 11 (AC), Revision 1)
<{^_^}>
[nixpkgs] @svmhdvn opened pull request #91885 → haskellPackages: cleaning up obsolete overrides (17/x) → https://git.io/JJJYU
<gchristensen>
cole-h: how are you deploying? are you using a mutable copy of the nixops source for the deploy?
<cole-h>
gchristensen: I'm deploying from a nix-shell within nixops
<cole-h>
within the nixops clone*
<andrewrk>
uname tells me this is linux kernel 5.4.48 which is really recent. I don't understand, has the kernel regressed?
<gchristensen>
cole-h: and `which nixops`?
<cole-h>
andrewrk: There's a good chance. Wifi seems to have been flaky recently.
<gchristensen>
cole-h: you might need to `poetry shell`
<andrewrk>
any suggestions?
<cole-h>
gchristensen: `which nixops` is `scripts/nixops`. I tried poetry shell and still no bueno...
<cole-h>
I have `touch /tmp/test` in the activation script and nada.
AmandaC has joined #nixos
cinimod has joined #nixos
<andrewrk>
an ubuntu forum says "In System > Administration > Hardware Drivers I was loading broadcom b43 wireless driver. Changed it to the broadcom STA wireless driver and everything worked" -> is there some kind of way to select a different wireless driver in the nixos graphical installation iso?
<tobiasBora>
nwm_: sorry, I missed your comment. I don't use zfs encryption directly because I'd like to have a possibility to decrypt with several keys
cole-h has quit [Client Quit]
cole-h has joined #nixos
orivej has quit [Ping timeout: 260 seconds]
orivej has joined #nixos
<andrewrk>
what would this patch look like, updated to be against latest stable?
<andrewrk>
The installation docs say "UEFI systems
<andrewrk>
You must set the option boot.loader.systemd-boot.enable to true. nixos-generate-config should do this automatically for new configurations when booted in UEFI mode. " but I don't see a commented out setting in configuration.nix for that. However I do see other UEFI related commented out things. Should I trust the docs, or the template?
gausby has joined #nixos
parseval has quit [Read error: Connection reset by peer]
parseval has joined #nixos
MightyJoe has joined #nixos
cyraxjoe has quit [Ping timeout: 260 seconds]
cinimod has quit [Ping timeout: 264 seconds]
<samueldr>
the docs probably should say "in this guide we will use systemd-boot, so you must set the..."
<samueldr>
I believe the sentence was written at a time where only gummiboot was made to work on UEFI on NixOS, ages ago
<andrewrk>
what is preferable these days? grub or systemd?
<samueldr>
and once you have a configuration going, you don't tend to go through the (example) install guide ever again :)
<samueldr>
andrewrk: it's mostly a matter of preference
<samueldr>
or if you need some of the features grub has that systemd-boot doesn't
<samueldr>
which, if you don't know if you need, you might not need
<MaxGitt>
I'm a newbie here trying to get datadog running on upstream nix. Some context for what I'm doing but I'll re-explain here https://github.com/NixOS/nixpkgs/pull/91649
<{^_^}>
#91649 (by maxgitt, 3 days ago, open): the permissions for the datadog-agent need to be modifiable
craftyguy has quit [Quit: WeeChat 2.8]
<chmod222[m]>
I've been having a strange issue with NixOS where my GPU (Sapphire RX 5700 XT) would run into a fence lock when I start Steam. Only steam, no game, and it dies in the login screen and always 100% guaranteed the same time. This happens in all newer boot generations except this one, my current generation
<chmod222[m]>
Does anyone have any idea?
craftyguy has joined #nixos
<chmod222[m]>
I booted an Arch installation on a separate disk and made sure all packages were up to date, and there is no crash there
<chmod222[m]>
So it has to be something here on Nixos
michas_ has quit [Client Quit]
<chmod222[m]>
It's not constrained to kernel versions either as the working generation is 5.7.2 and both 5.6.19, 5.7.2 and 5.8-rc2 have the issue
michas_ has joined #nixos
fendor has quit [Quit: Leaving]
<chmod222[m]>
* It's not constrained to kernel versions either as the working generation is 5.7.2, but 5.6.19, 5.7.2 and 5.8-rc2 have the issue
michas_ has quit [Client Quit]
<chmod222[m]>
I cleared the mesa and steam shader caches just to make sure a newer version of mesa wouldn't break things
spacefrogg has quit [Remote host closed the connection]
aw has quit [Remote host closed the connection]
<chmod222[m]>
I also made Steam redownload and reinstall itself, no change, so I'm assuming this is a conflict between whatever graphics dependencies Steam has and which libraries are part of the base system
MaxGitt has left #nixos [#nixos]
MaxGitt has joined #nixos
gustavderdrache has joined #nixos
seanparsons has quit [Ping timeout: 260 seconds]
michas_ has quit [Client Quit]
seanparsons has joined #nixos
zanc has quit [Ping timeout: 264 seconds]
michiel_ has quit [Remote host closed the connection]
michiel_ has joined #nixos
quinn has joined #nixos
michiel_ has quit [Remote host closed the connection]