<DigitalKiwi> can i just dd a card and then expand the filesystem...
<DigitalKiwi> or would that be bad
<samueldr> no issues there
<samueldr> it's basically what the sd_image assumes you do with the default installer profile :)
<samueldr> though it will expand it for you (only with that installer profile)
<DigitalKiwi> so i already use a custom sdImage anyway so maybe i could just make it use my existing one that's on the pi (they start different)
<DigitalKiwi> i wish i knew how to copy files to the image better :(
<DigitalKiwi> it'd be helpful for my other images...
<DigitalKiwi> like where i want an ssh/gpg key...
<DigitalKiwi> oh but the sdImage has includes i don't want on the final one hmm
<samueldr> you can just dd your old sd cards on the new ones
<samueldr> and expand using gparted or whatever means you fancy
<DigitalKiwi> what about the uuid labels do i have to change them
<DigitalKiwi> or do i create partitions first and not do the whole card
<DigitalKiwi> or do they get changed
orivej has quit [Ping timeout: 264 seconds]
orivej has joined #nixos-aarch64
orivej has quit [Ping timeout: 264 seconds]
orivej has joined #nixos-aarch64
noonien has quit [Quit: Connection closed for inactivity]
h0m1 has quit [Ping timeout: 260 seconds]
orivej has quit [Ping timeout: 246 seconds]
h0m1 has joined #nixos-aarch64
knerten1 has joined #nixos-aarch64
knerten2 has quit [Ping timeout: 244 seconds]
cptchaos83 has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
cptchaos83 has joined #nixos-aarch64
<DigitalKiwi> oh cool it works
<noneucat> hello from fractal on pinephone on nixos :)
<noneucat> trying out masipcat's phosh branch on nixpkgs
<noneucat> there are quirks here and there but the only thing i'm having real trouble with is the audio situation on the pinephone
<samueldr> I don't know any more than you do :)
<samueldr> (yet)
<noneucat> as soon as i figure that out & verify that calls are working i think i'm ready to use nixos on pinephone as a daily driver..
<samueldr> ooh
<samueldr> meanwhile I'm in my corner eating paste^W^W working on other things
<noneucat> should be exciting
<noneucat> hahaha
<samueldr> noneucat: are you able, willing, and have the time, to make an examples/phosh example system?
<noneucat> i would but a lot of the phosh stuff is not yet in nixpkgs :(
<noneucat> pending some further integration as a 'proper' wayland session i think
<{^_^}> #88767 (by masipcat, 8 weeks ago, open): Librem 5 phone packages
<samueldr> it can be a WIP PR until it is, and meanwhile you instruct to use the branch :)
<noneucat> gotcha :) in that case i'm gonna get going on that
<samueldr> only if you want :)
<noneucat> definitely in my interest to get this stuff merged/upstreamed/etc.
<samueldr> integration work sometimes is as important as the real in-depth work
<samueldr> (most of mobile nixos is basically glue/integration work after all)
<noneucat> yeah i understand
<noneucat> i suppose i am just impatient/eager to have it available generally
<samueldr> I, too, am, I want everyone to help in any way they can
<samueldr> it's definitely not something I like working alone on
<samueldr> well, I will rephrase, it would be even better to have a team working with me
alp_ has joined #nixos-aarch64
alp_ has quit [Ping timeout: 264 seconds]
orivej has joined #nixos-aarch64
WilliButz has quit [Quit: bye]
WilliButz has joined #nixos-aarch64
quinn has quit [Quit: ZNC 1.8.1 - https://znc.in]
alp_ has joined #nixos-aarch64
alp_ has quit [Ping timeout: 246 seconds]
orivej has quit [Ping timeout: 264 seconds]
orivej has joined #nixos-aarch64
orivej has quit [Quit: No Ping reply in 180 seconds.]
orivej has joined #nixos-aarch64
zupo has joined #nixos-aarch64
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
zupo has joined #nixos-aarch64
orivej has quit [Ping timeout: 256 seconds]
orivej has joined #nixos-aarch64
orivej has quit [Quit: No Ping reply in 180 seconds.]
orivej has joined #nixos-aarch64
orivej_ has joined #nixos-aarch64
orivej has quit [Ping timeout: 256 seconds]
orivej_ has quit [Ping timeout: 265 seconds]
orivej has joined #nixos-aarch64
globin has quit [Ping timeout: 244 seconds]
globin has joined #nixos-aarch64
<ehmry> I trying to boot a board without a u-boot configuration for loading a ramdisk, are there any recomendations on where to put the ramdisk in memory?
<ehmry> I can boot the nixos kernel but I get the errror "initrd not fully accessible via the linear mapping"
orivej has quit [Ping timeout: 264 seconds]
orivej_ has joined #nixos-aarch64
<ehmry> I probably haven't fully configured for extlinux…
orivej_ has quit [Ping timeout: 240 seconds]
orivej has joined #nixos-aarch64
orivej has quit [Ping timeout: 240 seconds]
eyJhb has joined #nixos-aarch64
<eyJhb> Is there any official guide for RPi and NixOS?
<patagonicus> Depends a bit on which model you have, but for e.g. RPi3 you can just grab the generic AArch64 image and it should boot.
<patagonicus> Wow, what is mongodb even doing while compiling? I think that's the first package that made my HC2 seriously use swap space.
Dezgeg has joined #nixos-aarch64
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<ar> i bet it's trying to become webscale
<eyJhb> PRi3 is what I have, so I will try flashing it now
<eyJhb> it being the SDCard
<eyJhb> Is there any recommendatiotn for the new kernel patagonicus ?
<patagonicus> No idea. I don't have any RPis running, I only played around a bit with NixOS on the RPi3 for a few weeks.
<eyJhb> So you used the normal image back then ?
<patagonicus> I actually switched to the armv7l one because I'm now running boards that are armv7l only and wanted to see how that works on NixOS. But if you can, you should use the AArch64 one.
<patagonicus> The swapping while compiling mongodb is bad enough that the machine doesn't react on SSH and Prometheus scraping for minutes at a time. Maybe I should give the machines more than 2GB of swap, but I'm not sure it'd help much.
<eyJhb> Well, no dice on the boot for my RPi3
<patagonicus> Hmm. Do you get any output at all?
<eyJhb> No output, and not even the green light flashing, only red
<eyJhb> But I did use dd to flash the sdcard
<eyJhb> That should be fine, right?
<patagonicus> And you wrote to mmcblk0? Or sd[a-z] or whatever, just not a partition.
<eyJhb> Wrote to the raw block device, not partition
<eyJhb> /dev/mmcblk0
<eyJhb> But I see no partions created after doing the dd
zupo has joined #nixos-aarch64
<eyJhb> Trying etcher now
<patagonicus> Hmm, replugging it should show the paritions. They don't show up after just dd-ing, you have to tell the kernel to rescan.
<eyJhb> dd, sync, took it out plugged into RPi, did not work, plugged it back in
<eyJhb> And then fdisk -l :p
<eyJhb> So something was wrong
<patagonicus> Which image did you download? I can try it on my RPi.
<eyJhb> For some reason, Etcher goes 0.2 MB/s
<eyJhb> Wait
<eyJhb> Fuck me I am stupid
<eyJhb> I hold my right to not tell how stupid I am
<eyJhb> :p
<patagonicus> ^^
<eyJhb> I did not flash a bz2 file to my sdcard.
orivej has joined #nixos-aarch64
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
orivej has quit [Quit: No Ping reply in 180 seconds.]
<Jake[m]> Does anyone have a graphical login manager like gdm working on the Pinebook Pro? If I do "services.xserver.enable = true;" I get that package "xf86-video-vmware-13.3.0" is unsupported on aarch64-linux. It will still build without that, and with just gdm enabled with Wayland enabled, but nothing happens when I boot.
orivej has joined #nixos-aarch64
<eyJhb> Works now patagonicus , a lot better when you aren't a idiot :p
<eyJhb> Now lets see how far I can go with the touchscreen etc.
orivej has quit [Ping timeout: 246 seconds]
orivej has joined #nixos-aarch64
e has quit [Quit: edk]
<patagonicus> Sigh. And now g++ got killed for some reason. I don't see anything about the oom-killer, so maybe it's something else. Guess getting the unifi controller running on this machine will have to wait.
<eyJhb> What is the default username/password for the sdcard build?
orivej has quit [Ping timeout: 265 seconds]
<patagonicus> Should log you in automatically with user nixos. Both nixos and root should have empty passwords. SSH is installed, but not enabled (set password for nixos and/or root, run sudo systemctl start sshd)
orivej has joined #nixos-aarch64
orivej has quit [Ping timeout: 260 seconds]
orivej_ has joined #nixos-aarch64
orivej_ has quit [Ping timeout: 240 seconds]
orivej has joined #nixos-aarch64
zupo has joined #nixos-aarch64
orivej has quit [Ping timeout: 240 seconds]
<blitzclone[m]> if anyone with a native aarch64 has a minute to see whether this PR makes it possible again to build the raspberry pi 4 install image again, I would be very grateful :) https://github.com/NixOS/nixpkgs/pull/93824
<{^_^}> #93824 (by blitz, 1 day ago, open): nixos/lib/make-ext4-fs: fix after mkfs.ext4 refactoring
<blitzclone[m]> nix-build nixos -I nixos-config=nixos/modules/installer/cd-dvd/sd-image-raspberrypi4.nix -A config.system.build.sdImage
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
cole-h has joined #nixos-aarch64
zupo has joined #nixos-aarch64
t184256 has left #nixos-aarch64 [#nixos-aarch64]
t184256 has joined #nixos-aarch64
quinn has joined #nixos-aarch64
knerten has joined #nixos-aarch64
knerten1 has quit [Ping timeout: 256 seconds]
orivej has joined #nixos-aarch64
alp_ has joined #nixos-aarch64
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
orivej has quit [Ping timeout: 260 seconds]
orivej has joined #nixos-aarch64
orivej_ has joined #nixos-aarch64
orivej has quit [Ping timeout: 246 seconds]
zupo has joined #nixos-aarch64
orivej_ has quit [Quit: No Ping reply in 180 seconds.]
orivej has joined #nixos-aarch64
alp_ has quit [Ping timeout: 260 seconds]
orivej has quit [Quit: No Ping reply in 180 seconds.]
orivej has joined #nixos-aarch64
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
zupo has joined #nixos-aarch64
orivej has quit [Quit: No Ping reply in 180 seconds.]
orivej has joined #nixos-aarch64
cole-h has quit [Quit: Goodbye]
dongcarl has joined #nixos-aarch64
orivej has quit [Quit: No Ping reply in 180 seconds.]
orivej has joined #nixos-aarch64
<eyJhb> Are there any guides for doing nixops with a RPi where the deploying from PC does cross compilation?
orivej has quit [Quit: No Ping reply in 180 seconds.]
<pinkieval> blitzclone[m]: I can build everything but gcg893zp0cx92lblxakk9w0b4l4yymaa-ext4-fs.img.zst (because OOM)
orivej has joined #nixos-aarch64
<pinkieval> (and 62gpvfc8g58gaxawsbv9rabgm4nhyzsc-nixos-sd-image-20.09pre-git-aarch64-linux.img, because it depends on it)
<blitzclone[m]> that's the interesting one :)
<pinkieval> is that enough?
<pinkieval> I can let it run on swap if not
ninjin has quit [Remote host closed the connection]
<pinkieval> oh, so not enough
ninjin has joined #nixos-aarch64
<eyJhb> OOM -> Out of memory?
<blitzclone[m]> pinkieval: if it's not too much effort, it would be useful to know whether it works
<pinkieval> eyJhb: yes
<pinkieval> eyJhb: I think that's what the command in blitzclone[m]'s PR description does
<blitzclone[m]> eyJhb: I can try whether I can get it to work with my pi, now that I can _finally_ build a working sdcard image \o/
<eyJhb> I hate working with PRs
<eyJhb> What is the easy way to checkout somebodies PR?
<eyJhb> git fetch pull/93824/head:fix-rpi4-installer will not work
<blitzclone[m]> eyJhb: try pkgs.gitAndTools.gh
<blitzclone[m]> you can checkout my PR by doing gh pr checkout 93824
<pinkieval> or git fetch pulls/93824/head && git checkout FETCH_HEAD
<pinkieval> or git fetch origin pulls/93824/head && git checkout FETCH_HEAD *
<eyJhb> Next problem, my nixpkgs repo is for me, and the real is in upstream
<eyJhb> Damn it
<pinkieval> s/origin/upstream/ in my command then
<pinkieval> blitzclone[m]: well, I can't ssh on my build machine anymore :p
<pinkieval> I'll tell you when it's back to life
<blitzclone[m]> pinkieval: oops. probably swapping like crazy
<pinkieval> yup
<blitzclone[m]> what kind of machine are you building it on?
<pinkieval> odroid n2
<pinkieval> with an emmc as swap
<pinkieval> it's not great but it's better than the sdcard
<eyJhb> Lets try then
<pinkieval> it sucks there are no affordable arm machines with over 4gb of ram
<pinkieval> (other than the rpi4-8gb, but it's more expansive than it should in france)
<eyJhb> pinkieval: basically same price everywhere
<eyJhb> Too much
<pinkieval> but for some reason the 8gb version is harder to find
<pinkieval> so, not available at the cheaper places
<eyJhb> > DKK 659
<{^_^}> "2283441.590000 VND"
<eyJhb> YES!
<eyJhb> > VND 2283441
<{^_^}> "86.770758 EUR"
<eyJhb> Here in DK
<hexa-> VND?
<hexa-> vietnamese dong
<eyJhb> hexa-: adisbladis screwed me over, it converted to EUR normally
<hexa-> aha
<hexa-> how rude :P
<eyJhb> There is also
<eyJhb> > SEK 100
<{^_^}> "100 SEK (weakest of the Norse Brothers) = 71.000000 DKK"
<eyJhb> So it is OK
<hexa-> haha
<eyJhb> Maybe
<eyJhb> > NOK 100
<{^_^}> "100 NOK (second weakest of the Norse Brothers) = 69.000000 DKK"
<hexa-> > 50 DM
<{^_^}> attempt to call something which is not a function but an integer, at (string):318:1
<eyJhb> > :v NOK
<{^_^}> NOK = x : toString x + " NOK (second weakest of the Norse Brothers) = " + toString (0.69*x) + " DKK"
<eyJhb> Enjoy hexa- :P
<hexa-> noooo
<hexa-> I'm restisting
<hexa-> resisting*
<pinkieval> hold on
<pinkieval> {^_^} interprets nix-expressions?!
<hexa-> yep
<pinkieval> amazing
<hexa-> > lib.toUpper "cool"
<{^_^}> "COOL"
<eyJhb> Have had great fun with it in #nixos-chat
<pinkieval> > builtins.currentSystem
<{^_^}> "x86_64-linux"
<samueldr> (would be fun if it said irc-irc)
<pinkieval> > fetchTarball "http://example.com/"
<{^_^}> access to URI 'http://example.com/' is forbidden in restricted mode
<pinkieval> nice
<eyJhb> Cannot read files either
<eyJhb> > builtins.readFile '/etc/passwd'
<{^_^}> error: syntax error, unexpected $undefined, expecting ')', at (string):318:19
<eyJhb> > builtins.readFile "/etc/passwd"
<{^_^}> access to path '/etc/passwd' is forbidden in restricted mode
<pinkieval> > builtins.readFile "/build/foobar"
<{^_^}> access to path '/build/foobar' is forbidden in restricted mode
<eyJhb> > builtins.readFile "/nix/store/hehe"
<{^_^}> access to path '/nix/store/hehe' is forbidden in restricted mode
<eyJhb> To use MOPRH or to use NixOps, that is the question
<hexa-> or krops
<hexa-> I'm personally a morph user
pbb has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.]
<eyJhb> hexa-: why MORPH over Nixops?
<hexa-> can deploy from multiple machines without shring state
pbb has joined #nixos-aarch64
<eyJhb> Is NixOps single machine?
<hexa-> it has an sqlite database afaik
<hexa-> you'd need to sync that possibly
<eyJhb> That is a pretty big gon
<eyJhb> con&
<eyJhb> con*
<eyJhb> I don't think I can join anymore NixOS channels soon
<{^_^}> nixops#1264 (by grahamc, 17 weeks ago, open): Example NixOps State Backends
orivej has quit [Ping timeout: 256 seconds]
orivej has joined #nixos-aarch64
alp_ has joined #nixos-aarch64
orivej has quit [Ping timeout: 264 seconds]
orivej_ has joined #nixos-aarch64
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<pinkieval> blitzclone[m]: woops, even with 32G swap it got killed
<eyJhb> That.. Seems weird
<pinkieval> bed time for me; remind me tomorrow and I'll try spinning up a VPS
orivej_ has quit [Quit: No Ping reply in 180 seconds.]
orivej has joined #nixos-aarch64
orivej has quit [Ping timeout: 256 seconds]
orivej has joined #nixos-aarch64
<samueldr> ugh :/
<samueldr> my bisect points to a merge commit being the issue, with both sides perfectly working fine
<samueldr> write-up of my findings, related to the pinebook pro https://github.com/samueldr/wip-pinebook-pro/pull/13#issuecomment-664046551
<qyliss> D:
<samueldr> qyliss: ?
<qyliss> a merge introducing an issue sounds horrible
<samueldr> yeah :/
<samueldr> it's also caused by something external to the kernel
<samueldr> you have to use a new u-boot with graphics enabled
<samueldr> so *something* is not as expected during the display init as currently implemented in the kernel
<samueldr> and display AFAIUI uses DMA, and PWM
<samueldr> well, PWM I know for sure, for the backlight
<samueldr> so to me it makes sense that this can happen
* samueldr has an idea
<samueldr> now that I know the subsystem, I can look at patchwork
<samueldr> hm, not sure it actually helps me, so much work in there
<eyJhb> pinkieval: https://termbin.com/fng6
t184256 has left #nixos-aarch64 ["Error from remote client"]
t184256 has joined #nixos-aarch64
orivej has quit [Ping timeout: 240 seconds]
orivej has joined #nixos-aarch64
orivej has quit [Ping timeout: 256 seconds]
orivej has joined #nixos-aarch64
orivej has quit [Quit: No Ping reply in 180 seconds.]
orivej has joined #nixos-aarch64
orivej has quit [Ping timeout: 260 seconds]
orivej has joined #nixos-aarch64
alp_ has quit [Ping timeout: 256 seconds]
orivej has quit [Quit: No Ping reply in 180 seconds.]
<blitzclone[m]> I'm trying to load the dwc2 device tree overlay on my raspberry pi 4
orivej has joined #nixos-aarch64
<blitzclone[m]> but that fails with:
<blitzclone[m]> Failed to apply '/nix/store/maza2r48n3lmq6rg2hjfvl112bdglckr-raspberrypi-firmware-1.20200601/share/raspberrypi/boot/overlays/dwc2.dtbo': FDT_ERR_NOTFOUND
<blitzclone[m]> builder for '/nix/store/jml0050qni2jj858rzfapg5iapgadiiq-device-tree-overlays.drv' failed with exit code 1
<blitzclone[m]> does anyone have an idea?
<blitzclone[m]> the file exists
orivej has quit [Ping timeout: 246 seconds]
orivej has joined #nixos-aarch64
knerten has quit [Quit: knerten]