<gchristensen>
I am trying to remember the name of a computer ... architecture? CPU? not sure. There are a bunch of videos where a guy with real long blackhair demonstrates. your "CPU" has access to a grid of memory and you have hundreds of tiny computers doing a tiny bit of work. you "Sort" bypercolating data through the system. anyone know what it is?
<Ralith>
there's all sorts of weird highly parallel architectures out there
<Ralith>
GPUs, green arrays, fpgas, ...
<gchristensen>
these were, specifically, individual little computers all working together, moving data from one grid position to another
<gchristensen>
sort of "mob" problem solving
<manveru>
connection machine?
<gchristensen>
no :/ it didn't really exist, it was just ideas
<manveru>
dunno about black hairs though :P
<gchristensen>
the guy did a bunch of videos about them -- and if you've heard about it it is because you've seen the videos
endformationage has quit [Ping timeout: 248 seconds]
jD91mZM2 has joined #nixos-chat
Synthetica has quit [Ping timeout: 248 seconds]
<jD91mZM2>
Apparently using autoUpgrade on an instance managed by nixops is not a good idea... Tonight a bunch of services stopped and I lost user ssh access (nixops ssh still worked) :P
ctp has joined #nixos-chat
<jD91mZM2>
I guess it makes sense, my configuration might just be built locally and thus rebuilding from the remote config is a bad idea, heh
Synthetica has joined #nixos-chat
<eyJhb>
Ran out of space on /boot again :(
<sphalerite>
make a bigger /boot? :D
<eyJhb>
Yuuup, but resizing now, does not sound like the way to go :p
<etu>
Heh, on this system I got a 1GiB /boot :D
<etu>
500MiB is probably enough
<eyJhb>
When running.. nix-collect-garbage -d, shouldn't it delete everything except the current generation?
<etu>
Yes, but, it doesn't remove boot-entries
<etu>
but a nixos-rebuild boot should clean out unneeded boot-entries as well (such as kernels etc)
<eyJhb>
Yeah, but.. The rebuild command can't run now, because.. No more space.......................
<eyJhb>
But it could last time, for some reason
<eyJhb>
Can I manually delete something? :p
<eyJhb>
Ohh I am so sure, my system won't boot anymore
<etu>
You could remove some old kernel that you know that you won't need
<eyJhb>
Well... Does `rm -rf /boot/kernels` count as that?
<elvishjerricco>
eyjhb: I thought `nixos-rebuild` would try to clear /boot before adding files to it
<eyJhb>
(have a backup), but thought it would just rebuild them again?
<elvishjerricco>
so with old generations deleted, I would have guessed you'd be fine
<eyJhb>
elvishjerricco it did so last time, but not this time...
<elvishjerricco>
Did you verify that the old generations are actually gone with --list-generations?
<etu>
eyjhb: I'm pretty sure it will add the kernels for all existing generations on a nixos-rebuild boot
<eyJhb>
etu nope empty /boot/kernels :/
<eyJhb>
elvishjerricco yes :)
<elvishjerricco>
eyjhb: What so there's no files in /boot but you're still out of space?
<etu>
eyjhb: That's scary, I don't know what booloader that is because my kernels aren't in that location
<eyJhb>
No no, there is files in /boot, and it can rebuild, but it doesn't readd the fiels I deleted in /boot/kernels
<elvishjerricco>
oh
<elvishjerricco>
that is scary
<eyJhb>
I wonder if a nix-store integrity check will solve it
<etu>
I don't think so
<elvishjerricco>
eyjhb: Doesn't sound like it's a nix store problem
<elvishjerricco>
What other files are in /boot?
<etu>
Because this is a problem that nixos-* commands needs to work on rather than nix-*
<etu>
eyjhb: Silly way, add "hello" to your systempackages to alter the config to force a new generation and do a nixos-rebuild boot
<eyJhb>
That was somewhat my plan of action too, but yours sound a little better
emily has quit [Remote host closed the connection]
emily has joined #nixos-chat
emily has quit [Remote host closed the connection]
<eyJhb>
Well, that actually doesn't work
* etu
is now properly confused
<etu>
Are you sure it's monted alright?
<eyJhb>
/boot ?
<etu>
yeah
<sphalerite>
eyjhb: does it not even put one kernel in there? Is your /boot an EFI System partition?
<sphalerite>
(also, this seems more like #nixos material than #nixos-chat :p )
<eyJhb>
Nope, doesn't even create the folder, and doesn't put anything into it if I create it. And yes, EFI (at least I have EFI folder)
<eyJhb>
Yeah... Should we switch channels?
<eyJhb>
Or rather, I
<eyJhb>
So.. 39 skips (versions of nixpkgs that couldn't build), 6 bad versions and 10 good versions. So on my 55 build
<eyJhb>
56**
emily has joined #nixos-chat
SamuelMarks has quit [Quit: This computer has gone to sleep]
jasongrossman has quit [Remote host closed the connection]
jasongrossman has joined #nixos-chat
jasongrossman has quit [Ping timeout: 246 seconds]
<tilpner>
How to detect NixOS web servers: Last-Modified: Thu, 01 Jan 1970 00:00:01 GMT
jasongrossman has joined #nixos-chat
jasongrossman has quit [Remote host closed the connection]
jasongrossman has joined #nixos-chat
<etu>
:DDD
<eyJhb>
Have just started doing this - https://termbin.com/ax7l - not the best way, but here are like SOOO MANY commits taht cannot build.. - And currently all the ones that DO build, can't boot because of my LUKS encryption
__monty__ has joined #nixos-chat
<sphalerite>
eyjhb: oh yeah, been there…
<sphalerite>
note to self: avoid anything with displaylink in it like the plague
jasongrossman has quit [Ping timeout: 272 seconds]
<eyJhb>
sphalerite I just want my three external displays, is that too much to ask for? :(
<sphalerite>
I'm sure they'll work fantastically with windows ;)
<eyJhb>
Ohhh danger sphalerite, not cool :p - That might actually be the only reason, why I might switching out my x230, because I would like three external displays..
<eyJhb>
And the same goes for my phone, would like 1. the audio jack to work with mic again, and 2. micro usb/usb-c to hdmi... :/ - But mostly one.. Else I love my OnePlus One!
<sphalerite>
oh yeah I liked my oneplus one until the touchscreen broke :(
<eyJhb>
sphalerite send me the broken one! I need the motherboard :p - But yeah... OPO are great!
<eyJhb>
Especially like how well it works with DriveDroid!
<sphalerite>
What about attaching something like a raspi to your third external display and streaming video over the network? I've done something like that before, it worked quite well iirc
<sphalerite>
I genuinely could send you my broken OPO if you want
<eyJhb>
sphalerite I have been thinking about that, but I really enjoy the flexibility of putting "whatever" on the screen. ALso considering sync*something*, synergy I think so I am able to use it with my own mouse/keyboard!
<eyJhb>
Where are you located? I would be quite interested
<sphalerite>
Germany
<eyJhb>
That would be around 10 EUR postage to Denmark? - If you are not using it, or planing on it, I would greatly appreciate it
<eyJhb>
*and pay for postage of course
SamuelMarks has joined #nixos-chat
<SamuelMarks>
eyjhb: How's it going?
<eyJhb>
SamuelMarks the biggest problem is 75% of all builds I am trying are broken, so it is not the actual build time anymore.. :p
<aszlig>
i regularily use whitespace syntax highlighting in vim, because it highlights spaces/tabs differently
<aszlig>
tokudan: hm, it's essentially as limited as bf or did i miss something?
<tokudan>
aszlig, yeah, something like that. i never got deep into it, but I know that someone wrote a program that outputs the fibonacci series and then found people to do a theater play of that program...
<tokudan>
i just found the language through the CCC and someone showcasing some esoteric programming languages there and it included that video
<eyJhb>
I really regret making my /boot 500mb...
<aszlig>
eyjhb: too many kernels? =)
arianvp has joined #nixos-chat
<aszlig>
kernels/initrds
<eyJhb>
Yeah, I think it is the fourth time I have to just.. delete all previous generations..
<tokudan>
eyjhb, not enough? mine's 1 GB, but only ~70 MB in use
<eyJhb>
This DisplayLink endavour is quote tedious
<tokudan>
though i only have 4 generations
<eyJhb>
I am switching between commits from september 2018 and the current date, and building .. :p Trying to locate when Displaylink stopped workig
<aszlig>
infinisil: yeah, we could probably rewrite the updater to use builtins.exec instead of the hash collision, i mean it's run by update.sh anyway where we can pass options
aleph- has joined #nixos-chat
<gchristensen>
line 1: 14228 Segmentation fault pavucontrol cool...
<joepie91[m]>
gchristensen: turns out that "turn it up to 11" does, in fact, result in an overflow
<joepie91[m]>
:P
<gchristensen>
wellthat explains why I can't go over 26!
veske has joined #nixos-chat
<infinisil>
aszlig: Or you know, just write it in a language that was meant for doing stuff like this :)
<aszlig>
infinisil: or that ;-)
<joepie91[m]>
where would be the fun in that
<veske>
Is it possible to somehow include a locally built Nix package inside of a mkShell's buildInputs when running nix-shell ?
drakonis_ has quit [Ping timeout: 248 seconds]
drakonis_ has joined #nixos-chat
<manveru>
veske: you can include the derivation
<manveru>
like `let foo = callPackage ./path/to/foo {}; in mkShell { buildInputs = [ foo ]; }`
Synthetica has quit [Quit: Connection closed for inactivity]
drakonis_ has quit [Ping timeout: 272 seconds]
drakonis_ has joined #nixos-chat
drakonis has joined #nixos-chat
drakonis has quit [Client Quit]
endformationage has joined #nixos-chat
<veske>
manveru: Thanks, that seems to be what I was looking for
veske has quit [Quit: This computer has gone to sleep]
ma27 has joined #nixos-chat
<eyJhb>
Does anyone have some stats on the cache server?
<gchristensen>
there are some stats, what would you like to know?
<eyJhb>
Just wondering how much space it actually uses, etc.
<gchristensen>
its like 180T
<eyJhb>
Damn.. Who pays for that? Donated I would assume?
<gchristensen>
it is contributed by some big NixOS users :)
<gchristensen>
and Fastly gives us free distribution
<cransom>
i was going to ask if that bucket was logged, but if fastly is caching, those numbers would be off. but the fastly data would be interesting to paw through with ips removed/obfuscated. i wonder what the working set of the cache really is.
<samueldr>
sponsors for nixcons might shed a light on users
<samueldr>
not that all sponsors are users, but there some likelihood :)
<eyJhb>
Declarative setup is quite nice for PoS
<eyJhb>
Does any work full-time on NixOS?
<gchristensen>
I work on Nix ecosystem things full time
<eyJhb>
Ohh ! Makes sense ;)
<eyJhb>
gchristensen can you answer wheter or not remote builds will respect -I nixpkgs=. , and use that when building? - Not really that well documented as far as I can see :/
<gchristensen>
try it out!
<eyJhb>
Need a machine to do that.. Considering pulling out the only stationary I have, with a i7-920, or else I should ping SamuelMark ..
<eyJhb>
Really wish there was a simple, Docker run container for it though..
drakonis has joined #nixos-chat
<samueldr>
(correct me if I'm wrong) all builds done on substituters are eval'd and planned locally so "no" it won't read nixpkgs=., but "yes" it will have been read and used before being sent to them (right?)
<__monty__>
Exactly what I was going to see.
<gchristensen>
correct
<gchristensen>
nix-build, in a basic way is nix-store -r $(nix-instantiate ./foo.nix -A whatever -I nixpkgs=abc123)
<eyJhb>
What is the simpelst way I can setup a SSH server using nixos/nix Docker image?
<samueldr>
which can be annoying in some part, if you have a slow atom computer doing the eval and steps to then build on fast hardware... those evals are visibly slower :)
<gchristensen>
(in this basic way) looking at this, you can see evaluation is completed in one step, and then remote building takes place, on the results of the evaluation
drakonis_ has quit [Ping timeout: 268 seconds]
<__monty__>
samueldr: Yes! Though my issue is more about the redundant network traffic. Reasonable download of the derivations, super slow upload of the derivations, super slow download of the results. Those first two steps could be dropped if the remote fetched the necessary derivations.
<samueldr>
__monty__: yes! uploading sources to a remote server is an issue here with my bad upload speed
<samueldr>
but in my local network not as much
<gchristensen>
yeah that is a real bummer
<samueldr>
guess it's hard to do "right" because it's unknown whether the remote server will be able to get sources
<samueldr>
src=./. won't download easily
<gchristensen>
hehe
<samueldr>
I guess it would have to try, then fallback to upload, meaning more complexity and back and forth
<gchristensen>
nix-copy-closure with --use-substitutes maybe
drakonis has quit [Read error: Connection reset by peer]
drakonis has joined #nixos-chat
<eyJhb>
Can you specify port on `nix ping-store `?
<gchristensen>
I think you have to use ssh config
<eyJhb>
And I think there is a bug in it... Running nix ping-store --store something , will result in the console not echoing your input back, having to fix it with stty echo, but of course, I am running various outdated versions from January
<eyJhb>
Sohh
drakonis has quit [Ping timeout: 248 seconds]
<__monty__>
samueldr: True but I don't care about the added complexity if it will save me hours in 90% of the cases. Regularly fall back to copy-closure currently.
<samueldr>
__monty__: right, though I was thinking it's not done due to implementing that complexity :)
<eyJhb>
And I am now realising (maybe), that nixos-rebuild does not support builders?
<gchristensen>
it does
<eyJhb>
It is a old feature, right?
<eyJhb>
`/run/current-system/sw/bin/nixos-rebuild: unknown option `--builders'` yields in `unknown option --builders`
<sphalerite>
eyjhb: for nixos-rebuild you need to pass it using --option
<sphalerite>
eyjhb: because it's not one of the nix tools that has unified option handling…
<sphalerite>
everything in the nix package (where it makes sense) should accept --builders, but stuff from nixos and such won't
<eyJhb>
sphalerite: might be stupid for asking this, but how as --option? --option builders="something" ?
<sphalerite>
eyjhb: --option builders 'foo bar baz'
<sphalerite>
huh, actually, according to the nixos-rebuild manpage, builders is a supported option
<eyJhb>
I might have to switch to a new version for this, because it is causing trouble
<eyJhb>
`cannot build on 'ssh://nixosbuilder': cannot connect to 'nixosbuilder': ssh: Could not resolve hostname nixosbuilder: Name or service not known`, but the ping-store works fine....
<sphalerite>
ssh:// doesn't work for building anyway iirc, you'll need to use ssh-ng
<sphalerite>
it is odd that it can't resolve it though…
<sphalerite>
is nixosbuilder defined in your ssh config?
<eyJhb>
Yup, works with nix ping-store ssh://nixosbuilder
<gchristensen>
doesn't work for building, sphalerite?
<pie__>
anyone know how hard it would be to install nixos to an external hdd from a virtualbox vm?
<pie__>
afaik virtualization supports raw devices?
<samueldr>
you could also use nixos-install from a nixos install
<samueldr>
if you only intend to install, and not run it
<pie__>
i need/want to fool around with disk crypto stuff
pie__ has quit [Remote host closed the connection]
pie__ has joined #nixos-chat
<pie__>
ok that was actually pretty easy
<pie__>
after dealing with permissions problems i was able to just straight boot off the existing system on the raw device after running the appropriate vboxmanage command to generate the vmdk
<pie__>
* i needed to enable efi in the system settings
<pie__>
(googled some random tutorial)
<gchristensen>
yeah I run a bunch of systems like that
<gchristensen>
ehh bunch is overstating it. a few :)
drakonis has quit [Ping timeout: 248 seconds]
<ldlework>
I got ALVR working with my Quest which means I can utilize my beefy gaming rig and access all my PC VR games and stream them over wifi to my wireless VR headset and play those games anywhere unteathered. It works so good. I'm floored.
<joepie91[m]>
ldlework: on NixOS? (for the PC)
<ldlework>
no windows
<joepie91[m]>
aw
<ldlework>
¯\_(ツ)_/¯
<samueldr>
I wonder if there's an FS like tmpfs, that only allows directories to be created (to be used as mount points)
* joepie91[m]
still needs to try ALVR with... something, at some point
<ldlework>
I played Thumper which is a rhythm game and got S rating both songs
<ldlework>
I was playing some Redout and I was doing horribly but I suspect that's because I'm horrible at Redout
<joepie91[m]>
lol
<joepie91[m]>
oh, Lutris got merged!
<pie__>
samueldr, could always do something with fuse i guess but >->
<samueldr>
yeah, fuse has its drawbacks, the U part
<samueldr>
(not you, but userspace :))
<pie__>
yeah i got it :p
<pie__>
anyone know why i cant start display-manager on the livecd in virtualbox?
<eyJhb>
Any good juicy errors?
<pie__>
not sure how to check
<pie__>
journalctl -xe?
<pie__>
looks like its telling me "no screens found"
<pie__>
as a fatal error, but before that "screens found but none have a usable system configuration
<pie__>
*a usable configuration
drakonis has joined #nixos-chat
<joepie91[m]>
I had this issue in the past with a test machine I think, required manually setting modelines
<pie__>
i seem to have found some nixpkgs issues but theyre long
<{^_^}>
#62839 (by deliciouslytyped, 10 seconds ago, open): graphical iso: xorg fails to start in virtualbox with "screens found but none have a usable configuration"