pbb has quit [Ping timeout: 246 seconds]
pbb has joined #nixos-aarch64
alp has quit [Ping timeout: 240 seconds]
webster23 has quit [Ping timeout: 240 seconds]
h0m1 has quit [Ping timeout: 260 seconds]
h0m1 has joined #nixos-aarch64
h0m1 has quit [Ping timeout: 252 seconds]
h0m1 has joined #nixos-aarch64
alp has joined #nixos-aarch64
alp has quit [Ping timeout: 265 seconds]
FRidh has joined #nixos-aarch64
alp has joined #nixos-aarch64
alp has quit [Ping timeout: 246 seconds]
Darkmatter66 has joined #nixos-aarch64
Darkmatter66_ has quit [Read error: Connection reset by peer]
alp has joined #nixos-aarch64
orivej has quit [Ping timeout: 272 seconds]
nschoe has joined #nixos-aarch64
nschoe has quit [Ping timeout: 260 seconds]
nschoe has joined #nixos-aarch64
orivej has joined #nixos-aarch64
alp has quit [Ping timeout: 265 seconds]
alp has joined #nixos-aarch64
orivej has quit [Ping timeout: 240 seconds]
orivej has joined #nixos-aarch64
* srk was drooling at kicad schematics yesterday :D
kahiru has joined #nixos-aarch64
<kahiru> Hi, anyone tried to run nixos on odroid c2 recently? I'm aware https://nixos.wiki/wiki/NixOS_on_ARM/ODROID-C2 exists, but it seems pretty dated
orivej has quit [Ping timeout: 256 seconds]
zarel_ has quit [Ping timeout: 240 seconds]
zarel has joined #nixos-aarch64
nschoe has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
zupo has joined #nixos-aarch64
alp has quit [Ping timeout: 246 seconds]
<andi-> samueldr: just a quick thought: compress the boot.img and recover.img files using gzip to remove some space needs from hydra (and to avoid having to download the whole runtime closure). I've started playing with my oneplus3 and android sine I was about to update to android 10 anyway.
greizgh has quit [Quit: greizgh]
greizgh has joined #nixos-aarch64
alp has joined #nixos-aarch64
webster23 has joined #nixos-aarch64
alp has quit [Remote host closed the connection]
alp has joined #nixos-aarch64
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
zupo has joined #nixos-aarch64
zupo has quit [Client Quit]
<srk> heh, resize fails occasionally - e2fsck 1.45.5 (07-Jan-2020) -> Resizing to minimum allowed size -> resize2fs 1.45.5 (07-Jan-2020) -> Please run 'e2fsck -f temp.img' first.
<srk> but if I re-run it, it works
FRidh has quit [Quit: Konversation terminated!]
pbb has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.]
pbb has joined #nixos-aarch64
zarel has quit [Quit: ZNC 1.7.4 - https://znc.in]
zarel has joined #nixos-aarch64
zupo has joined #nixos-aarch64
stego has joined #nixos-aarch64
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<stego> Hi here! new nix os user on raspberry pi4! I'm trying to enable the ssh service, but even after editing the configuration.nix file and applying the changes, the service doesn't want to start. Is here someone kind enouth to help me figure out what i'm missing? :) thanks!
<srk> hello! sure, what's the error?
<srk> stego: ^
<stego> Thanks @srk, so, after i try to update the system there is an error that says "Option 'services.awstats.configs.<name>.extraConfig' has no description"
<srk> ou, weird. do you have awstats and docs enabled? does it happen while building manual?
<srk> awstats or docs
<stego> then betore it ends it says "cannot connect to deamon at '/nix/var/nix/deamon-socket/socket' : Connection refused
<srk> that's weird as well! consult 'systemctl --failed' and 'systemctl status nix-daemon'
<stego> well i don't think so, I didn't specified them in my onfiguration.nix fiel
<srk> using official aarch64 image for 20.03?
<stego> ok i'm checking!
<srk> also check 'dmesg' for sd card errors :D
<stego> I'm using the image founf in this github issue :) https://github.com/NixOS/nixpkgs/issues/63720#issuecomment-617458264
<srk> bad idea! :D
<srk> ,rpi
<{^_^}> rpi defined
<stego> hahaha
<srk> but I'm not actually sure about the aarch64 image built by hydra, they were some bug reports on this channel recently
<srk> I've managed to cross-compile image from staging with few fixes today
<stego> thanks, so I need to use the generic nix aarch64 image, and use the raspberry pi4 configurations as sayd in the wiki page? :D
<stego> oh nice!
<srk> there are more options, you can try to fix the one you have
<srk> and update if it nixos-rebuilds
<srk> maybe try rebooting to see if nix-daemon is back, check systemctl --failed and retry
<stego> i'm gonna ty, hoping that the nixos default login user goes away leaving place for the user that i specified in the config!
<srk> if the error comes from building manpage you can also disable documentation.nixos.enable
<stego> try* lol
alp has quit [Ping timeout: 244 seconds]
<srk> that kind-of tells you what was used to build the image
<srk> it will take some time till pi4 support is first-class, kernel looks fine but u-boot is still missing few things
<stego> yep, I've readden something here and there and it seems that the pi4 is still not well supported by the mainline kernel!
<srk> I've tried 5.6.10 today but it didn't boot, maybe just the combination of rpi-bootloader and mainline kernel is no good
<srk> so now it's running 4.19 via linuxPackages_rpi4 /o\
zupo has joined #nixos-aarch64
<stego> it just seems to be the best performing kernel for now for the pi4 and the gentoo arm64 image is the proof! nice os, but it is just too much for this device hahaah
<srk> lol, no binary caches.. :D
<stego> good luck building every update :D
<srk> I will test #82718 as well
wavirc22_ has joined #nixos-aarch64
<{^_^}> https://github.com/NixOS/nixpkgs/pull/82718 (by misuzu, 7 weeks ago, open): nixos/lib/make-ext4-fs: use mkfs.ext4 instead of cptofs
wavirc22 has quit [Ping timeout: 260 seconds]
wavirc22 has joined #nixos-aarch64
wavirc22_ has quit [Ping timeout: 260 seconds]
alp has joined #nixos-aarch64
<stego> @srk I successfully booted the image that you shared. should now I generate the config files with nixos-generate-configs? :)
<srk> stego: is that installer image or does it have /etc/nixos/configuration.nix?
alp has quit [Quit: Leaving]
<stego> the image doeen't have any configuration.nix,so I generated it with the nixos-generate-config, but I just realized that I didn't have to do that, because according to the wiki, i'm going to import it with <nixpkgs/nixos/modules/...> am I correct?
wavirc22 has quit [Quit: ZNC 1.7.2+deb3 - https://znc.in]
wavirc22 has joined #nixos-aarch64
<lopsided98> kahiru: I run NixOS on an ODROID-C2. U-Boot for the board is now packaged in nixpkgs, flashing instructions are here: https://github.com/NixOS/nixpkgs/blob/master/pkgs/misc/uboot/default.nix#L182
wavirc22 has quit [Read error: Connection reset by peer]
wavirc22_ has joined #nixos-aarch64
<srk> stego: not sure tbh, can you link the wiki section?
wavirc22_ has quit [Read error: Connection reset by peer]
wavirc22 has joined #nixos-aarch64
<kahiru> lopsided98++
<{^_^}> lopsided98's karma got increased to 12
<kahiru> thanks, I'll give it a try
Robertof has joined #nixos-aarch64
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<srk> stego: the imports = [ <nixpkgs/nixos/modules/installer/cd-dvd/sd-image-raspberrypi4.nix> ]; does set a bootloader and kernelPackages for you and also allows you to build sdImage
<kahiru> lopsided98: does it mean I can take the latest aarch64 image, dd it onto the sd card, flash uboot and then it should be good to go?
<srk> stego: so you don't have to repeat all that in your /etc/nixos/configuration.nix
<lopsided98> kahiru: I think so. Its been a while since I set it up so I don't remember if anything else is needed
<stego> srk: ok I managed to write a config file and I've just typed nixos-rebuild switch. It seems to work! thanks :)
<srk> stego: yw! have fun :)
<stego> srk: next step, setting up my sway environment :D
Robertof_ has joined #nixos-aarch64
Robertof has quit [Read error: Connection reset by peer]
zupo has joined #nixos-aarch64
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
alp has joined #nixos-aarch64
Robertof__ has joined #nixos-aarch64
Robertof_ has quit [Ping timeout: 256 seconds]
stego has quit [Ping timeout: 256 seconds]
stego has joined #nixos-aarch64
zupo has joined #nixos-aarch64
<samueldr> andi-: it does, with a somewhat less-pure parameter
<samueldr> but only for hydra builds
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
alp has quit [Ping timeout: 260 seconds]
alp has joined #nixos-aarch64
Robertof_ has joined #nixos-aarch64
Robertof__ has quit [Ping timeout: 246 seconds]
stego has quit [Quit: Lost terminal]
vika_nezrimaya has joined #nixos-aarch64
zupo has joined #nixos-aarch64
<thefloweringash> wild guess: is the presence of a builder for the nixpkgs-unstable-armv7l jobset determined by packet's spot market? from prometheus it looks like there's been 0 builders for about a week
zupo has quit [Ping timeout: 272 seconds]
zupo has joined #nixos-aarch64
dongcarl has joined #nixos-aarch64
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
alp has quit [Ping timeout: 260 seconds]
<andi-> samueldr: Not in my case. I didn't want to compile things on my own so I just `nix build <store path>` where store path was from the log of https://hydra.nixos.org/build/117066073
<andi-> and those carry a reference to the runtime closure
<samueldr> oh I see
<samueldr> I was thinking of the system image, mainly
<andi-> It was actually working well.. considering I had no networking or adb access :D
<samueldr> if you have a type-c usb hub, and usb ethernet, it can work
<samueldr> but a PD type-c hub won't charge with it
<andi-> I tried to setup a proper build for my device but it threw some weird errors with `evalWith`
<samueldr> with nixpkgs-unstable?
<andi-> I wish that stupid purism would ever arrive.. maybe I just need to order anoher phone so I can tinker with the Oneplus..
<samueldr> uh, nixos-unstable*
<andi-> yeah
<andi-> IIRC it was when I tried to build the installer attribute
<samueldr> hm
<andi-> let me look it up
<samueldr> I'm feeling a bit under the weather right now, not sure I'll look into it deeply, but I can at least say whether it should or shouldn't work
<andi-> no pressure, I commited it to https://github.com/andir/nixos-mobile-oneplus3-test, since you are making use if <nixpkgs> in random places around the code I added that shell.nix as workaround to pin things properly without having to pass it on the commandline all the time
<samueldr> I do want to remove the use NIX_PATH, I should look again at what issues there was
<andi-> I don't know how much you looked into that device but if you say it would be a reasonable amount of effort to get more stuff working on it I might just buy this used thing off ebay for ~80€....
<samueldr> another oneplus3?
<andi-> yeah
<andi-> I need a phone
<samueldr> it's part of those I want to give the best support
<samueldr> and it's also one that has good support in misc. projects, and it's also a phone that you can tinker with freely without fear of bricks
<samueldr> I verified with an EDL firehose loader and it's possible to read/write the storage, so it's even one that could be repartitioned relatively safely
<samueldr> because, still unverified, I believe that even if all LUN (hardware partitions) were erased, you could recover using EDL
<samueldr> (LUNs can't be repartitioned though)
<samueldr> you could do worse than a oneplus3
<andi-> ok
<andi-> I'll have an eye on the auction then
<samueldr> I think its only flaw, and it'll be with all other devices, is that damned battery
<samueldr> yes, sure, it can be changed
<samueldr> but good luck finding an official one!
<samueldr> andi-: I think `installer` is broken, what actually concerns me here is why `build.default` won't work
<samueldr> what idiotic mistake did I make that breaks the config again
<samueldr> hmm
<samueldr> andi-: is it normal that `default.nix` wants to `import ./default.nix`?
<andi-> hu
<samueldr> from your repo :)
<andi-> that should have been configuration.nix /o\
<samueldr> okay
<samueldr> I think I see another issue
<andi-> now at least installer terminates without an error and just says there is none
<samueldr> in configuration.nix you are using the lib/configuration.nix thing
<samueldr> that should only be used from a nixos eval, not inside a mobile-nixos eval
<andi-> oh yeah then local.nix would be the correct way.
<samueldr> line 6 of configuration.nix basically imports mobile-nixos, but since you're evaluating from the mobile-nixos import already, you're importing it a second time
<andi-> and that other file should just be in /etc/nixos on the device
<samueldr> sounds about right
<samueldr> or I *guess* it could be a normal nixos import using that configuration.nix
<samueldr> use nix-build -A build.android-bootimg # to get only the boot image, the cross-compiled system is not at all useful