{^_^} has quit [Remote host closed the connection]
{^_^} has joined #nixos-aarch64
h0m1 has quit [Ping timeout: 244 seconds]
h0m1 has joined #nixos-aarch64
rsa has joined #nixos-aarch64
andi- has quit [Remote host closed the connection]
andi- has joined #nixos-aarch64
mvnetbiz_ has quit [Quit: Bye!]
mvnetbiz_ has joined #nixos-aarch64
Acou_Bass has quit [Ping timeout: 256 seconds]
Acou_Bass has joined #nixos-aarch64
Acou_Bass has quit [Ping timeout: 246 seconds]
Acou_Bass has joined #nixos-aarch64
hexa- has quit [Ping timeout: 265 seconds]
hexa- has joined #nixos-aarch64
FRidh has joined #nixos-aarch64
orivej has joined #nixos-aarch64
orivej has quit [Ping timeout: 260 seconds]
Zer000 has quit [Ping timeout: 258 seconds]
<sphalerite> ky0ko: aah
zupo has joined #nixos-aarch64
nschoe has joined #nixos-aarch64
<nschoe> Hi everyone! I'm in the process of installing NixOS on my rPi 3B following this: https://nixos.wiki/wiki/NixOS_on_ARM#NixOS_installation_.26_configuration
<nschoe> I've just booted the SD card, it went mostly okay. But /etc/nixos/ is an empty dir on the rPi, is this normal?
<nschoe> So I'm just coming to check if this is normal not to find _anything_ under /etc/nixos/
<nschoe> I know I am supposed to write my first configuration.nix and nixos-rebuild switch to finish the installation per-see, but I was still expecting an empty or template configuration.nix.
<bennofs[m]> nschoe: yes that is normal. You should be able to use nixos-generate-config link on normal install to make a template
<bennofs[m]> s/link/like
<nschoe> bennofs[m]: thanks for your answer! So I must call nixos-generate-config first? I was about to write the template from the link above.
<nschoe> Okay, will do that then
<nschoe> Ahhh yes indeed, it generated th ehardware-configuration.nix and configuration.nix, thanks for that. I was in for troubles.
<bennofs[m]> nschoe: you should check though if the generated ones make sense
<nschoe> Yes sure, I'm doing this. But it provides a nice head start rather thant going from scratch
<nschoe> On the rpi, should I set boot.tmpOnTmpfs and boot.cleanTmpDir to true like on my laptop?
<bennofs[m]> It won't have much space then since RAM is limited on RPi. But if you can live with that little tmp space I guess it would make sense to reduce SD wear
<bennofs[m]> Keep in mind though that nix-build performs builds in /tmp by default, and with tmpfs there may be not enough free space for some builds
<bennofs[m]> And RAM usage is a problem for me often even without extra usage by tmpfs
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<nschoe> bennofs[m]: ah, thanks.
<nschoe> I knew I should ask.
<nschoe> So no tmpFs then
<nschoe> Should I still enable cleanTmpOnBoot?
<bennofs[m]> I would say cleanTmpOnBoot makes sense. I don't know if there is anything specific to this on rpis
nschoe has quit [Quit: No Ping reply in 180 seconds.]
nschoe has joined #nixos-aarch64
<nschoe> bennofs[m]: okay, I enabled it. Will see.
DigitalKiwi has quit [Quit: quite.]
DigitalKiwi has joined #nixos-aarch64
<nschoe> I had a bad experience with this option not being enabled recently: I actually reached max number of inodes on my /tmp at 920k temp files :)
ashkitten has quit [Ping timeout: 272 seconds]
ashkitten has joined #nixos-aarch64
<nschoe> Oh god, thanks to whomever make cache.nixos.org wok on the rPi. It's a life saver.
orivej has joined #nixos-aarch64
zupo has joined #nixos-aarch64
<srk> :))
* srk just rolled znc image for pi2 and it connects \o/ can't access the ssh tho so one more round :D
<nschoe> :)
<nschoe> Meanwhile I just launched a crosscompiation wiht pkgsCross.aarch64-multiplatform on a simple "Hello world" package from Haskell....
<nschoe> I think it's rebuilding the entire world :D
<nschoe> Just to make sure I'm not missing something: I don't have anything to do to specify a binary cache when building for aarch64-multiplatform, right?
<nschoe> I think I remember reading that cache.nixos.org also buils aarch64-multipalteform.
<nschoe> Am I correct or have lauched a command that will take months for nothing? ^^
<clever> nschoe: if you build with --dry-run, youll see what it will build and what it can dl
<nschoe> clever: yes, unfortunately I have already launched the command, and it's running.
<clever> aarch64 should be built already
<nschoe> But in another terminal, the --dry-run returns this: https://gist.github.com/nschoe/4c66a45d9756db6ab3dc3ee1c3a02228
<nschoe> Which worries mebecause I see both gcc and ghc.
<clever> is that from a channel?
<nschoe> clever: my default.nix contains this: "hel = pkgs.pkgsCross.aarch64-multiplatform.haskellPackages.callPackage ./hello.nix {};" (the hello.nix is not GNU hello, its just my haskell hello world)
<clever> nschoe: that will cross-compile, rather then native-compile
<nschoe> so not sure about teh channel. I build with 'nix-build -A hel'
<clever> nschoe: and cache.nixos.org only has native builds
<srk> iirc there was some progress regarding aarch64 ghc but I'm not sure what's the state of it
<nschoe> clever: yes: my goal is to cross compile the package fro mthe laptop to my rapsberry pi
<clever> nschoe: the cache wont help with that then
<nschoe> clever: ouch okay, thank sfor the clarification :)
<nschoe> clever: so does it mean it will acually be quciker to compile directly on the rpi?
<nschoe> Which woud have binary cache?
<clever> nschoe: change the `import <nixpkgs> {}` to `import <nixpkgs> { system = "aarch64-linux"; }` and use plain `pkgs.haskellPackages.callPackage`, then try another --dry-run, and youll see what the pi would have to build, even if your on an x86 machine
<nschoe> clever: okay, trying now
<nschoe> No GCC but still GHC I reckon
<clever> nschoe: building ghc on an rpi might take longer then building gcc+ghc on x86
<nschoe> That's what I thought ^^
<nschoe> Thansk fro the help, though :)
Darkmatter66_ has joined #nixos-aarch64
Darkmatter66 has quit [Ping timeout: 260 seconds]
zarel has quit [Ping timeout: 246 seconds]
zarel has joined #nixos-aarch64
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
zupo has joined #nixos-aarch64
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
evils has quit [Remote host closed the connection]
noonien has joined #nixos-aarch64
nschoe has quit [Ping timeout: 272 seconds]
evils has joined #nixos-aarch64
nschoe has joined #nixos-aarch64
pbb has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.]
pbb has joined #nixos-aarch64
zupo has joined #nixos-aarch64
Acou_Bass has quit [Ping timeout: 260 seconds]
WilliButz has quit [*.net *.split]
ornxka has quit [*.net *.split]
minicom has quit [*.net *.split]
ornxka has joined #nixos-aarch64
minicom has joined #nixos-aarch64
Thra11 has joined #nixos-aarch64
Acou_Bass has joined #nixos-aarch64
WilliButz has joined #nixos-aarch64
nschoe has quit [Ping timeout: 272 seconds]
nschoe has joined #nixos-aarch64
Thra11 has quit [Ping timeout: 260 seconds]
nschoe has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Thra11 has joined #nixos-aarch64
Acou_Bass has quit [Ping timeout: 256 seconds]
WilliButz has quit [*.net *.split]
WilliButz has joined #nixos-aarch64
Acou_Bass has joined #nixos-aarch64
FRidh has quit [Ping timeout: 260 seconds]
lordcirth has quit [Remote host closed the connection]
lordcirth has joined #nixos-aarch64
FRidh has joined #nixos-aarch64
Acou_Bass has quit [Ping timeout: 260 seconds]
FRidh has quit [Quit: Konversation terminated!]
nschoe has joined #nixos-aarch64
Acou_Bass has joined #nixos-aarch64
nschoe has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
zupo has joined #nixos-aarch64
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
zupo has joined #nixos-aarch64
noonien has quit [Quit: Connection closed for inactivity]
zupo has quit [Client Quit]
zupo has joined #nixos-aarch64
andi- has quit [Ping timeout: 240 seconds]
Acou_Bass has quit [Ping timeout: 264 seconds]
Acou_Bass has joined #nixos-aarch64
andi- has joined #nixos-aarch64
andi- has quit [Ping timeout: 244 seconds]
Acou_Bass has quit [Ping timeout: 264 seconds]
Acou_Bass has joined #nixos-aarch64
zupo has quit [Ping timeout: 256 seconds]
zupo has joined #nixos-aarch64
andi- has joined #nixos-aarch64
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Acou_Bass has quit [Ping timeout: 260 seconds]
Acou_Bass has joined #nixos-aarch64
noonien has joined #nixos-aarch64