<Ericson2314>
qyliss which one? I felt sort of defeated with both haha
ahmedelgabri has quit [Ping timeout: 276 seconds]
<Ericson2314>
I was hoping to change up the bootstrapping to make it more orthodox (headers from current stage), but the rpc types thing is still befuddling me
wnklmnn has quit [Quit: Leaving]
<qyliss>
Ericson2314: the any-bsd one
<qyliss>
Ericson2314: does the rpc thing happen on NetBSD 8 as well?
slack1256 has joined #nixos
jesystani has quit [Ping timeout: 245 seconds]
<p01ar>
yo
<p01ar>
i got tagged in something
<p01ar>
Ericson2314, u around ?
<Ericson2314>
qyliss: yeah it does
<Ericson2314>
p01ar: yeah
<Ericson2314>
sorry i gotta push your meson stuff more
<aleph->
Okay for those who use prometheus on nixOS. Does this exporter module and the accompaning packages for it coredump for anyone? I can run the exporter bare on the cli fine but if I run it wrapped as a systemd service it coredumps. https://paste.rs/OIt - nix files
waleee-cl has quit [Quit: Connection closed for inactivity]
reptarmigan has joined #nixos
<reptarmigan>
hey, I have an 11th gen intel desktop cpu, and I can't get nixos to play nice with the on board video, does anyone have any advice?
Supersonic112 has joined #nixos
Supersonic has quit [Ping timeout: 260 seconds]
Supersonic112 is now known as Supersonic
<simpson>
What have you tried and what isn't working?
<reptarmigan>
the nixos live boot won't go to gui, my system is using flakes, I've tried manually setting modeline for the xserver driver
<reptarmigan>
I have a radeon card in my system (here I am on it now) but if I do something like blacklist amdgpu and set the bios to use the built in card as default I get to tty, but xorg barfs saying no screens found
<reptarmigan>
i915 driver is loaded
<reptarmigan>
I haven't tried wrenching the radeon card out of the box, but I figure the uefi hint, and the black listed amd driver might be enough to give it a hint...
<simpson>
Both radeon and i915 can detect when a screen is plugged in, usually. You shouldn't have to explicitly pick between one or the other.
<simpson>
You could try using the `modesetting` Xorg driver, which is not accelerated but has a higher likelihood of coming up.
<reptarmigan>
also I was hoping to use the radeon for passthrough, I also want to see if I can make gvt-g work on this thing.
<reptarmigan>
I've tried modeline, but no luck.
<reptarmigan>
I've read they've had drivers in the kernel for 12 gen intel graphics since 5.8 or something.
<reptarmigan>
I'm running 5.11.13
<simpson>
Sure. The kernel's VTs work, which suggests that the kernel drivers are working fine; dmesg can confirm that for you. Rather, the problem is with what Xorg is trying to do.
<reptarmigan>
it looks like xorg can't load the intel module
xkapastel has quit [Quit: Connection closed for inactivity]
<reptarmigan>
my rough understanding is that the intel driver is pretty old
<reptarmigan>
but I'm not sure what I should be using in it's place, I think nixos typically just runs with built-in intel?
<simpson>
All of this code is old. The most recent version of i915 is old enough to drink. Xorg has modules older than any of its current maintainers.
<simpson>
Try `modesetting`. If it works but it's slow, then at least you've made progress. Walk before you run, and embrace Nix's ability to incrementally change system configuration.
<reptarmigan>
haha, from what I've been reading intel has been proactive at adding support, but I don't think there's been much movement in their video stack over the years.
<reptarmigan>
This is a new-fangeled "Xe" thinger, so who knows what planet it's from... but my understanding is the nice folks in the sequened clean suits from intel talk with the aliens on the regular ;D
<reptarmigan>
Humm, still no luck, I'm up to generation 93!
<reptarmigan>
I noticed that my xorg log says it was compiled on a 5.4 kernel system, and it says intel driver not found, although it is included in my nix config.
ddellaco_ has joined #nixos
<reptarmigan>
for what it's worth a new kdeneon usb stick also didn't work with the intel graphics...
eeva has quit [Read error: Connection reset by peer]
oxalica has quit [Remote host closed the connection]
reptarmigan has quit [Quit: Konversation terminated!]
oxalica has joined #nixos
ddellaco_ has quit [Ping timeout: 268 seconds]
sebastien65 has joined #nixos
<sebastien65>
Hi there, I'm looking for some expert advice on packaging Python modules into containers with Nix. I can get all the files in a container, but the PYTHONPATH is not set to include my modules -- nix-shell works fine, though, but the image doesn't. Anyone with some experience with that? Cheers
bitmapper has quit [Quit: Connection closed for inactivity]
reptarmigan has joined #nixos
<reptarmigan>
a few more systems/reboots/a bios update, still no love.
ahmedelgabri has joined #nixos
<reptarmigan>
if I try to Xorg from console I get [ 407.858] (EE) Failed to load module "intel" (module does not exist, 0) which is weird since I have services.xserver.videoDrivers = [ "intel" ]; in my nixos config
jesystani has quit [Ping timeout: 250 seconds]
jesystani has joined #nixos
ahmedelgabri has quit [Ping timeout: 260 seconds]
ddellacosta has joined #nixos
reptarmigan has quit [Remote host closed the connection]
<l-as>
<reptarmigan "Well, I'm baffled, I even tried "> I suggest you try debugging it with sway. Its verbose logging contains a lot of useful information.
<chipb>
oh. strike that. I guess I'm misremembering things.
<reptarmigan>
Ahh found this in dmesg i915 0000:00:02.0: Your graphics device 4c8a is not properly supported by the driver in this kernel version. To force driver probe anyway, use i915.force_probe=4c8a
<reptarmigan>
not sure where to go from here, I'm already running latest kernel
zakame has quit [Ping timeout: 252 seconds]
<l-as>
<reptarmigan "Ahh found this in dmesg i915 000"> What CPU is it?
kaligule has joined #nixos
<reptarmigan>
i7 11700
zakame has joined #nixos
mallox has joined #nixos
zakame has quit [Ping timeout: 240 seconds]
respawn_ has joined #nixos
zakame has joined #nixos
sangoma has joined #nixos
prry has quit [Ping timeout: 240 seconds]
m0rphism has joined #nixos
lambdaman has joined #nixos
prry has joined #nixos
jesystani has quit [Ping timeout: 250 seconds]
jesystani has joined #nixos
<sphalerite>
reptarmigan: Yeah, that's just too new. If you're on nixos-unstable, you can try linuxPackages_testing, that'll get you linux 5.12-rc6 as of now, which may or may not support it.
aaabbbbbbbbbb has joined #nixos
<reptarmigan>
Bah, my edge is bleeding too much. I was reading that intel devs had patches for these gpus back in 5.8, so maybe that statement was a bit odd, or I misread it.
<{^_^}>
[nixpkgs] @rnhmjoj pushed commit from @martinetd to release-20.09 « wakeonlan service: use powerUpCommands »: https://git.io/JOVJK
exondation has joined #nixos
ahmedelgabri has joined #nixos
respawn_ has quit [Quit: Leaving]
lsix has joined #nixos
D_ has quit [Quit: No Ping reply in 180 seconds.]
D_ has joined #nixos
reptarmigan has quit [Remote host closed the connection]
vidbina has joined #nixos
Nickli has quit [Read error: Connection reset by peer]
lambdaman has quit [Remote host closed the connection]
tomberek has quit [Quit: Connection closed]
Nickli has joined #nixos
jesystani has quit [Ping timeout: 260 seconds]
jesystani has joined #nixos
ashesham` has quit [Ping timeout: 246 seconds]
ashesham` has joined #nixos
vidbina has quit [Quit: vidbina]
Qubasa has quit [Ping timeout: 258 seconds]
vidbina has joined #nixos
sangoma has quit [Read error: Connection reset by peer]
Qubasa has joined #nixos
sangoma has joined #nixos
astrofog has joined #nixos
<l-as>
I'm trying to build Nix with a minimal patch, and I get `error: hash mismatch in fixed-output derivation '/build/nix-test/tests/check/store/<hash>-dummy.drv'` after `nix-build check.nix -A hashmismatch --no-out-link`. The build aborts seemingly due to this. How do I fix this?
<MysteriousSilver>
Hi! I'm learning shell basics, and wrote a executable sh file. Where (in $PATH) should I move this file to make it executable? NixOS 20.09
<sterni>
MysteriousSilver: you probably want to write a derivation for it and add it to environment.systemPackages
<sterni>
there are also convenience builders for this like writeShellScriptBin and writeBashBin
<sterni>
NixOS itself has no standard mutable directory in PATH, but you can of course configure something like $HOME/bin being added to PATH so you can drop extra shell scripts there
<MysteriousSilver>
sterni LinuxHackerman: i installed nixos a few days ago, i couldn't understand whatever you guys said. Is there a docs/tutorial where i can familiarize myself?
mrSpec has quit [Remote host closed the connection]
<LinuxHackerman>
MysteriousSilver: if you're just looking to solve this problem and move on to the next, add `environment.homeBinInPath = true;` to your configuration.nix, nixos-rebuild switch, and use ~/bin :)
<MysteriousSilver>
cool
<simpson>
MysteriousSilver: The execute bit, set using `chmod +x`, is what makes your script executable. $PATH is merely a series of locations where your shell will look for executable files.
<ocharles>
Anyone familiar with Python packaging around? I'm trying to use `sphinx_rtd_theme` with `python3.withPackages`, but `withPackages` doesn't seem to use my custom `sphinx_rtd_theme` at all: https://gist.github.com/ocharles/014b19be51e3ef0646a8d7915c062c36
<ocharles>
It doesn't matter what I put in the definition of `sphinx_rtd_theme`, it just seems to get skipped
ddellaco_ has quit [Ping timeout: 265 seconds]
<ocharles>
Oh, I think it's not meant to be a function, my bad
<ocharles>
Ok, that was it. Thank you rubber ducks
<sterni>
ocharles: try (ps.callPackage sphinx_rtd_theme { }) in the withPackages list
<ocharles>
Yea, that makes sense, I imagine that would work too
<lom>
```does not provide attribute 'packages.x86_64-linux.nixosConfigurations."pain".config.system.build.toplevel', 'legacyPackages.x86_64-linux.nixosConfigurations."host".config.system.build.toplevel' or 'nixosConfigurations."host".config.system.build.toplevel'``` I basically copied the nix flake for system configuration from the wiki, what am I doing wrong?
hiro98 has joined #nixos
sangoma has joined #nixos
attila_lendvai has quit [Quit: Leaving]
lom has quit [Quit: WeeChat 3.1]
malorie has joined #nixos
phalrax has joined #nixos
__monty__ has joined #nixos
zupo has joined #nixos
<phalrax>
Is there a way to only trigger a systemd timer if a specific usb drive/zfs pool is mounted?
<phalrax>
oh and there is no time remaining estimate anymore :x that was nice as well
<{^_^}>
[nixos-org-configurations] @edolstra pushed 18 commits to master: https://git.io/JOVXj
<phalrax>
thibm: seems like it should be enough? what kind of fancier option do you have in mind?
<__monty__>
I'm running into a linker error when building cpio about duplicate symbols. The symbols are in .o files produced by the build. How do I go about patching this, do I add an LDFLAG to suppress duplicate symbol errors? Do I report this as a bug upstream?
<thibm>
phalrax: I don't have anything else in mind ;)
<phalrax>
checking the path should luckily be enough :D I'll have to try it out, thanks
<phalrax>
when do e.g. new software versions actually become available in a channel? when they're pushed to master? or is there another build job that needs to run first (hydra?), if so when/how often does it run? I'm a bit confused about that part
Qwerky has quit [Ping timeout: 252 seconds]
<sterni>
phalrax: there is a specified job for every channel which contains a few sub jobs. hydra continuously pulls latest master and then tries to build these jobs when all of them succeeds extra stuff kicks in (channel-scripts) and the channel advances
<sterni>
(for the stable releases it is the release branch of course, not master)
<sterni>
the delay is made up of: time to build + time the channel scripts take plus any extra delay during which a job fails and the channel is blocked (as its called)
<drozdziak1>
With cargo2nix, how do I add nix dependencies to something I get with `makePackageSet'`?
<drozdziak1>
i.e. I'm building a crate that needs libudev
Qwerky has quit [Ping timeout: 265 seconds]
mrSpec has joined #nixos
mrSpec has quit [Changing host]
mrSpec has joined #nixos
dingenskirchen has quit [Quit: ZNC 1.8.1 - https://znc.in]
cole-h has joined #nixos
dingenskirchen has joined #nixos
vidbina_ has quit [Ping timeout: 265 seconds]
ram19890 has quit [Quit: Konversation terminated!]
sangoma has quit [Read error: Connection reset by peer]
kaligule has quit [Ping timeout: 245 seconds]
Jd007 has joined #nixos
respawn_ has joined #nixos
sss has quit [Quit: WeeChat 3.1]
cfinch has quit [Remote host closed the connection]
cfinch has joined #nixos
<idontremembermyp>
@drozdziak1 The thing is every qtcreator i have used from *unstable* channel has this problem. I just downloaded qtcreator from 20.09 channel and it doesn't have this problem.
<idontremembermyp>
Should I add an issue about this to github?
thewarsawpakt[m] has left #nixos ["User left"]
<drozdziak1>
idontremembermyp: Sure, the worst that can happen is that someone smarter than us can help you :)
cfinch has quit [Read error: Connection reset by peer]
jordandoyle has joined #nixos
sss has joined #nixos
<jordandoyle>
afternoon guys, quick one - anyone know why i'd have to do this: `environment.etc."ssl/certs/Go_Daddy_Root_Certificate_Authority_-_G2.crt".source = "${certs-hashed}/etc/ssl/certs/Go_Daddy_Root_Certificate_Authority_-_G2.crt";` even when `certs-hashed` is in my systemPackages?
<jordandoyle>
seems whatever i write to that $out/etc/ssl/certs directory is just completely ignored
dsrt^ has quit [Ping timeout: 260 seconds]
dsrt^ has joined #nixos
dsrt^ has quit [Max SendQ exceeded]
<lukegb>
I'd be surprised if /etc/ssl/certs is itself being used for anything; what are you trying to achieve?
dsrt^ has joined #nixos
dsrt^ has quit [Max SendQ exceeded]
dsrt^ has joined #nixos
dsrt^ has quit [Max SendQ exceeded]
dsrt^ has joined #nixos
dsrt^ has quit [Max SendQ exceeded]
dsrt^ has joined #nixos
dsrt^ has quit [Max SendQ exceeded]
dsrt^ has joined #nixos
dsrt^ has quit [Max SendQ exceeded]
dsrt^ has joined #nixos
dsrt^ has quit [Max SendQ exceeded]
dsrt^ has joined #nixos
dsrt^ has quit [Max SendQ exceeded]
<jordandoyle>
i've got a silly proprietary closed source vpn i have to use for work that needs to be run from /opt and the binary can't be modified or it throws a hissy fit so i'm running it in a fhs bubblewrap
dsrt^ has joined #nixos
dsrt^ has quit [Max SendQ exceeded]
<gchristensen>
which one? :)
dsrt^ has joined #nixos
dsrt^ has quit [Max SendQ exceeded]
dsrt^ has joined #nixos
<jordandoyle>
palo alto's globalprotect
dsrt^ has quit [Max SendQ exceeded]
akaWolf has quit [Ping timeout: 240 seconds]
<gchristensen>
oh yeah that one is a thying
dsrt^ has joined #nixos
dsrt^ has quit [Max SendQ exceeded]
dsrt^ has joined #nixos
dsrt^ has quit [Max SendQ exceeded]
<jordandoyle>
it looks up certs in /etc/ssl/certs by its hash too
<jordandoyle>
i've actually got it working after the latest update making us connect using U2F a few days ago painstakingly but this is my final issue:P i have got it working manually writing that file though
<jordandoyle>
ah yeah openconnect, that was made by dwmw2 i used to work with him at amzn
testeur has joined #nixos
<lukegb>
openconnect_pa was just removed from master because it got added to the main openconnect client
<jordandoyle>
they use anyconnect though so it was nicely tested at amzn but i think the globalprotect stuff was written by someone else
<lukegb>
iirc
<jordandoyle>
very slow last time i tested, maybe it's different now though
<puck>
yeah; openconnect upstream works fine with globalprotect
<jordandoyle>
are you using it puck? any problems with throughput?
<puck>
i'm using it with ocproxy (tho i should probably just use networkmanager), i don't have a good measurement for how fast it is, because it is 120ms away :p
dsrt^ has joined #nixos
dsrt^ has quit [Max SendQ exceeded]
<gchristensen>
ocproxy is great
<jordandoyle>
yeah same here 120ms exactly funnily enough, throughput seems so much better with the proprietary client though as much as i hate to use it (and try and fix it every time it updates)
<gchristensen>
and vpnns
<jordandoyle>
luckily our server doesn't push a default route to me, but it's pulling images from a docker registry that kills me
Nikita34 has joined #nixos
<jordandoyle>
i didnt look into why too much, i just wrote a dockerfile to run the proprietary CLI version
rj has joined #nixos
<jordandoyle>
....then we weren't allowed to use that anymore so i had to write a FHS bubblewrap for the GUI version
Nikita34 has quit [Client Quit]
<jordandoyle>
and now i need a browser in the bubblewrap for yubikey and they changed how the certificate lookup changed or something in the latest update
<jordandoyle>
and now here we are:p
testeur has quit [Quit: Connection closed]
<LinuxHackerman>
soon enough, you'll have a router VM.
malorie has quit [Ping timeout: 240 seconds]
<gchristensen>
yeah I use vpnns to spawn a browser in a namespace with openconnect setup
<jordandoyle>
router VM is probably what i should've gone with before i even considered breaking out strace
<jordandoyle>
since this latest update there's multiple reports of a funny little case of the observer effect going on where the built-in browser is used (where yubikey isn't supported), and then as soon as you strace it it'll start using your default browser
<jordandoyle>
(until you stop stracing again)
<jordandoyle>
still not managed to convince IT to setup a wireguard server for us
<LinuxHackerman>
Well yeah that doesn't work with globalprotect. You can't just let unverified computers into the network.
cfinch has quit [Remote host closed the connection]
cfinch has joined #nixos
<__monty__>
Thanks!
<__monty__>
Hmm, I wonder whether I shouldn't simply specify the hash as hex. A comment in the expression points to a place to check the hash and that's obviously a bit more cumbersome if you have to convert the hash.
mindavi has quit [Quit: leaving]
wadii has joined #nixos
<supersandro2000>
sterni: use rnix-hashes to get all hashes from any hash
hiro98 has joined #nixos
<__monty__>
Any reason an expression would use a base64 hash? And what's current best practice on the `sha256-` prefix, include it or no?
<qyliss>
include it with hash=, don't include it with sha256=
cfinch has quit [Remote host closed the connection]
cfinch has joined #nixos
thblt has joined #nixos
Qwerky has quit [Remote host closed the connection]
<thblt>
Unstable refuses to rebuild switch --upgrade because python2.7-Pillow-6.2.2 is marked as insecure. Is there a way to determine what requires it in ny config so I can just comment it out for the time being?
<cgbrewster[m]>
If I run something like `nix-store -r /nix/store/y57b7ma6s336nyga0vk5hiy2ga0jramq-perl5.32.1-HTTP-Daemon-6.01` will that also pull in all of the derivations dependencies?
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
ArtemPelenitsyn[ has quit [Ping timeout: 245 seconds]
Lorenzoas3ii[m] has quit [Ping timeout: 245 seconds]
steve[m] has quit [Ping timeout: 245 seconds]
iv_nn[m] has quit [Ping timeout: 245 seconds]
manveru[m] has quit [Ping timeout: 245 seconds]
vexedblaze has quit [Ping timeout: 245 seconds]
kgjfeduwieigt83e has quit [Ping timeout: 245 seconds]
rnhmjoj-M has quit [Ping timeout: 245 seconds]
rj has quit [Ping timeout: 240 seconds]
ma27[m] has quit [Ping timeout: 260 seconds]
cgbrewster[m] has quit [Ping timeout: 245 seconds]
liff has quit [Ping timeout: 245 seconds]
RageGamermatrixo has quit [Ping timeout: 245 seconds]
regnat[m] has quit [Ping timeout: 245 seconds]
musicmatze has quit [Ping timeout: 245 seconds]
maralorn has quit [Ping timeout: 245 seconds]
Dandellion has quit [Ping timeout: 245 seconds]
davidak[m] has quit [Ping timeout: 245 seconds]
Qwerky has joined #nixos
petrichor has quit [Ping timeout: 260 seconds]
peterstorm[m] has quit [Ping timeout: 260 seconds]
xelaushi[m] has quit [Ping timeout: 260 seconds]
DarkTrancer[m] has quit [Ping timeout: 260 seconds]
humanwire[m] has joined #nixos
hiroshi[m] has quit [Ping timeout: 245 seconds]
yurb has quit [Ping timeout: 245 seconds]
LuxExUmbra has quit [Ping timeout: 245 seconds]
mt[m] has quit [Ping timeout: 245 seconds]
slby[m] has quit [Ping timeout: 245 seconds]
bbigras has quit [Ping timeout: 245 seconds]
rnhmjoj-M has joined #nixos
respawn_ has joined #nixos
<afreakk>
ive packaged a rust app and it works fine on my machine, but when i try build it on my raspberry-pi with nixos I get a hash mismatch on cargoSha256. how do i make a rust derivation that works on both ARM and x64? do i need `if arm use different cargoSha256` or something?
fuiltilt has joined #nixos
Lurkki[m] has joined #nixos
slby[m] has joined #nixos
bbigras has joined #nixos
jojosch[m] has joined #nixos
emily has joined #nixos
ma27[m] has joined #nixos
rj has joined #nixos
Ke has joined #nixos
pacc[m] has joined #nixos
suprime[m] has joined #nixos
ArtemPelenitsyn[ has joined #nixos
phirsch has joined #nixos
rubm has quit [Ping timeout: 260 seconds]
tomek[m] has joined #nixos
steve[m] has joined #nixos
soiledit[m] has joined #nixos
Lorenzoas3ii[m] has joined #nixos
iv_nn[m] has joined #nixos
manveru[m] has joined #nixos
vexedblaze has joined #nixos
goibhniu has joined #nixos
kgjfeduwieigt83e has joined #nixos
DarkTrancer[m] has joined #nixos
peterstorm[m] has joined #nixos
xelaushi[m] has joined #nixos
wiszki[m] has joined #nixos
cgbrewster[m] has joined #nixos
cyrinux has quit [Quit: bye]
regnat[m] has joined #nixos
liff has joined #nixos
davidak[m] has joined #nixos
Dandellion has joined #nixos
petrichor has joined #nixos
RageGamermatrixo has joined #nixos
musicmatze has joined #nixos
LuxExUmbra has joined #nixos
yurb has joined #nixos
maralorn has joined #nixos
mt[m] has joined #nixos
hiroshi[m] has joined #nixos
<__monty__>
I see configureFlags and makeFlags, are these handled specially or could I pass flags for any command using commandFlags?
VideoGameEnjoyer has quit [Ping timeout: 268 seconds]
phalrax has joined #nixos
<phalrax>
shouldn't old kernels also be removed from /boot/EFI/nixos when I'm running gc? cleared all but the current version and can only find one version in /nix/store
<gchristensen>
they'll be deleted onthe next nixos-rebuild switch or nixos-rebuild boot
<sterni>
not if it runs out of disk space doing that unfortunately
<phalrax>
also I keep getting this: collision between `/nix/store/r8izla2w614q7qsband1nwh8r93k7v09-nix-bash-completions-0.6.8/share/bash-completion/completions/nixos-container' and `/nix/store/h7q15cq4d56r4g82wnb2sqvxiy8cb7wv-nixos-container/share/bash-completion/completions/nixos-container'
<phalrax>
is that something I should investigate or just leave it be?
<pie_>
yeah this wont work unless i can target the specific assertion
wrl has joined #nixos
cfinch has joined #nixos
aescul has joined #nixos
lassulus has quit [Ping timeout: 245 seconds]
cfinch has quit [Remote host closed the connection]
cfinch has joined #nixos
seku has quit [Quit: Connection closed]
lassulus has joined #nixos
<Kinnison>
I'm trying to install a fully configured system from scratch, but one of the derivations appears to attempt to read a directory from the store, which fails presumably because at the point it occurs, the target store is still /mnt/nix/store -- is there a way to fix this and/or to detect I'm doing an install and skip a particular package in that phase?
<Kinnison>
The package in question is vscode, and it's trying to read its extensions