00:33
LnL has joined #nixos-aarch64
00:33
LnL- has quit [Ping timeout: 240 seconds]
00:34
LnL is now known as Guest21243
01:12
orivej has quit [Ping timeout: 265 seconds]
01:13
Guest21243 has quit [Quit: exit 1]
01:14
LnL has joined #nixos-aarch64
01:14
LnL is now known as Guest34424
01:23
Guest34424 has quit [Quit: exit 1]
01:23
LnL- has joined #nixos-aarch64
01:31
h0m2 has quit [Ping timeout: 244 seconds]
01:32
h0m2 has joined #nixos-aarch64
01:33
LnL- has quit [Ping timeout: 246 seconds]
01:34
LnL- has joined #nixos-aarch64
01:39
orivej has joined #nixos-aarch64
02:19
veleiro has quit [Read error: Connection reset by peer]
02:22
knerten2 has joined #nixos-aarch64
02:22
LnL has joined #nixos-aarch64
02:22
LnL is now known as Guest8826
02:23
LnL- has quit [Ping timeout: 258 seconds]
02:24
claudiii has quit [Ping timeout: 272 seconds]
02:25
knerten1 has quit [Ping timeout: 240 seconds]
02:25
NekomimiScience has quit [Ping timeout: 260 seconds]
02:31
orivej has quit [Ping timeout: 256 seconds]
02:33
angerman has quit [Ping timeout: 246 seconds]
02:33
TheNumb has quit [Ping timeout: 260 seconds]
02:34
angerman has joined #nixos-aarch64
02:35
pkral has quit [Ping timeout: 260 seconds]
02:36
Guest8826 has quit [Quit: exit 1]
02:36
LnL- has joined #nixos-aarch64
02:36
TheNumb has joined #nixos-aarch64
02:37
pkral has joined #nixos-aarch64
02:38
claudiii has joined #nixos-aarch64
02:40
NekomimiScience has joined #nixos-aarch64
03:05
LnL- has quit [Ping timeout: 240 seconds]
03:06
LnL has joined #nixos-aarch64
03:06
LnL is now known as Guest388
03:50
cole-h has joined #nixos-aarch64
03:56
Guest388 has quit [Quit: exit 1]
03:56
LnL has joined #nixos-aarch64
03:56
LnL is now known as Guest17318
04:01
Guest17318 has quit [Client Quit]
04:01
LnL- has joined #nixos-aarch64
04:15
LnL- has quit [Quit: exit 1]
04:15
LnL- has joined #nixos-aarch64
04:41
rajivr has joined #nixos-aarch64
04:57
LnL- has quit [Quit: exit 1]
04:57
LnL has joined #nixos-aarch64
04:58
LnL is now known as Guest85852
05:30
zupo has joined #nixos-aarch64
05:33
Guest85852 has quit [Quit: exit 1]
05:33
LnL- has joined #nixos-aarch64
06:11
cole-h has quit [Quit: Goodbye]
06:35
LnL- has quit [Quit: exit 1]
06:36
LnL has joined #nixos-aarch64
06:36
LnL is now known as Guest49890
07:05
Guest49890 has quit [Ping timeout: 246 seconds]
07:06
LnL has joined #nixos-aarch64
07:07
LnL is now known as Guest46852
07:24
Guest46852 has quit [Quit: exit 1]
07:25
LnL- has joined #nixos-aarch64
07:25
orivej has joined #nixos-aarch64
07:26
nature has quit [Ping timeout: 272 seconds]
07:28
LnL- has quit [Remote host closed the connection]
07:28
LnL- has joined #nixos-aarch64
07:28
nature has joined #nixos-aarch64
07:29
nschoe has joined #nixos-aarch64
07:35
LnL- has quit [Quit: exit 1]
07:35
LnL- has joined #nixos-aarch64
07:37
orivej has quit [Ping timeout: 258 seconds]
07:38
LnL- has quit [Remote host closed the connection]
07:39
LnL- has joined #nixos-aarch64
07:45
nschoe has quit [Remote host closed the connection]
07:46
LnL- has quit [Quit: exit 1]
07:46
LnL has joined #nixos-aarch64
07:47
LnL is now known as Guest12502
07:49
Guest12502 has quit [Remote host closed the connection]
07:49
LnL- has joined #nixos-aarch64
08:56
LnL- has quit [Quit: exit 1]
08:56
LnL has joined #nixos-aarch64
08:56
LnL is now known as Guest12354
09:02
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
09:02
Guest12354 has quit [Quit: exit 1]
09:02
LnL- has joined #nixos-aarch64
09:05
AberDerBart[m] has left #nixos-aarch64 ["Kicked by @appservice-irc:matrix.org : Idle for 30+ days"]
09:06
LnL| has joined #nixos-aarch64
09:07
LnL- has quit [Ping timeout: 246 seconds]
09:23
LnL| has quit [Quit: exit 1]
09:23
LnL- has joined #nixos-aarch64
09:39
LnL- has quit [Quit: exit 1]
09:40
zupo has joined #nixos-aarch64
09:45
LnL has joined #nixos-aarch64
09:45
LnL is now known as Guest17465
09:45
Guest17465 has joined #nixos-aarch64
09:45
Guest17465 has quit [Changing host]
09:46
Guest17465 is now known as LnL
09:50
LnL has quit [Quit: exit 1]
09:51
LnL has joined #nixos-aarch64
10:00
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
10:09
zupo has joined #nixos-aarch64
10:10
LnL has quit [Remote host closed the connection]
10:10
LnL has joined #nixos-aarch64
10:23
LnL- has joined #nixos-aarch64
10:23
LnL- has joined #nixos-aarch64
10:23
LnL- has quit [Changing host]
10:25
LnL has quit [Ping timeout: 265 seconds]
10:27
LnL- has quit [Remote host closed the connection]
10:27
LnL has joined #nixos-aarch64
10:27
LnL has joined #nixos-aarch64
10:53
LnL has quit [Ping timeout: 258 seconds]
10:54
LnL has joined #nixos-aarch64
11:01
LnL has quit [Ping timeout: 240 seconds]
11:01
LnL- has joined #nixos-aarch64
11:01
LnL- has joined #nixos-aarch64
11:01
LnL- has quit [Changing host]
11:29
LnL- has quit [Ping timeout: 240 seconds]
11:31
LnL has joined #nixos-aarch64
11:31
LnL has joined #nixos-aarch64
11:31
LnL has quit [Changing host]
11:44
LnL has quit [Quit: exit 1]
11:44
LnL has joined #nixos-aarch64
11:44
LnL has joined #nixos-aarch64
11:44
LnL has quit [Changing host]
11:58
LnL has quit [Ping timeout: 258 seconds]
11:58
nature has quit [Ping timeout: 240 seconds]
11:59
LnL has joined #nixos-aarch64
12:02
nature has joined #nixos-aarch64
12:22
LnL has quit [Ping timeout: 240 seconds]
12:24
LnL has joined #nixos-aarch64
12:24
LnL has joined #nixos-aarch64
12:24
LnL has quit [Changing host]
12:27
FRidh has joined #nixos-aarch64
12:27
LnL- has joined #nixos-aarch64
12:27
LnL- has joined #nixos-aarch64
12:27
LnL- has quit [Changing host]
12:29
LnL has quit [Ping timeout: 258 seconds]
12:43
LnL- has quit [Ping timeout: 240 seconds]
12:44
LnL has joined #nixos-aarch64
12:44
LnL has joined #nixos-aarch64
12:44
LnL has quit [Changing host]
12:55
LnL- has joined #nixos-aarch64
12:55
LnL- has joined #nixos-aarch64
12:55
LnL- has quit [Changing host]
12:56
LnL has quit [Ping timeout: 240 seconds]
12:58
t184256 has left #nixos-aarch64 ["Disconnected: Replaced by new connection"]
12:58
t184256 has joined #nixos-aarch64
13:01
Darkmatter66 has quit [Remote host closed the connection]
13:01
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
13:02
Darkmatter66 has joined #nixos-aarch64
13:11
zupo has joined #nixos-aarch64
13:20
LnL- has quit [Ping timeout: 256 seconds]
13:20
LnL has joined #nixos-aarch64
13:20
LnL has quit [Changing host]
13:20
LnL has joined #nixos-aarch64
13:29
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
13:36
<
nature >
uh-oh... I did a nixos-rebuild switch on my rpi and it told me that /boot ran out of space...
13:38
<
simpson >
Time to delete old generations, maybe? How many kernels do you have in there? You can keep as many as you like and have space for; I'd aim for at least 2.
13:38
<
nature >
I just installed it...
13:38
<
nature >
it's my first nixos-rebuild after flashing the sd-card
13:39
<
simpson >
Is /boot big enough?
13:42
<
nature >
can I delete everything that is in /boot/old ?
13:42
LnL has quit [Ping timeout: 265 seconds]
13:43
LnL has joined #nixos-aarch64
13:43
LnL has joined #nixos-aarch64
13:43
LnL has quit [Changing host]
13:48
Darkmatter66 has joined #nixos-aarch64
13:50
<
nature >
Can anyone help me clean up ? Here is the /boot directory:
13:51
LnL has quit [Quit: exit 1]
13:51
LnL has joined #nixos-aarch64
13:51
LnL has joined #nixos-aarch64
13:51
LnL has quit [Changing host]
13:57
<
nature >
Or can someone just show me the content of their /boot so I can compare and try to delete a few stuff
14:01
LnL has quit [Quit: exit 1]
14:01
LnL has joined #nixos-aarch64
14:01
LnL has joined #nixos-aarch64
14:01
LnL has quit [Changing host]
14:06
LnL has quit [Quit: exit 1]
14:07
LnL has joined #nixos-aarch64
14:16
LnL has quit [Ping timeout: 240 seconds]
14:17
LnL has joined #nixos-aarch64
14:17
LnL has joined #nixos-aarch64
14:17
LnL has quit [Changing host]
14:22
LnL has quit [Quit: exit 1]
14:23
LnL has joined #nixos-aarch64
14:23
LnL has joined #nixos-aarch64
14:27
vika_nezrimaya has quit [Read error: Connection reset by peer]
14:27
vika_nezrimaya has joined #nixos-aarch64
14:30
LnL has quit [Quit: exit 1]
14:30
LnL has joined #nixos-aarch64
14:30
LnL has joined #nixos-aarch64
14:30
LnL has quit [Changing host]
14:32
zupo has joined #nixos-aarch64
14:50
LnL has quit [Quit: exit 1]
14:59
t184256 has left #nixos-aarch64 ["Disconnected: Replaced by new connection"]
14:59
t184256 has joined #nixos-aarch64
15:07
LnL- has joined #nixos-aarch64
15:07
LnL- has joined #nixos-aarch64
15:07
LnL- has quit [Changing host]
15:15
pbb has quit [Ping timeout: 272 seconds]
15:21
<
sphalerite >
nature: /boot/old should be safe to delete yeah
15:21
<
sphalerite >
nature: you can also remove /boot/kernels if you regenerate it with nixos-rebuild boot or nixos-rebuild switch afterwards.
15:23
t184256 has left #nixos-aarch64 ["Error from remote client"]
15:23
t184256 has joined #nixos-aarch64
15:25
<
nature >
sphalerite: thanks!
15:27
<
nature >
hmmmm I know have this error: `/nix/store/bd78qrcgnlg7djfsfnnswx3xxq8fwbhn-grub-2.04/sbin/grub-install: error: cannot find EFI directory`
15:27
cirno999 has joined #nixos-aarch64
15:32
pbb has joined #nixos-aarch64
15:37
vika_nez` has joined #nixos-aarch64
15:38
vika_nezrimaya has quit [Ping timeout: 240 seconds]
15:42
vika_nez` has quit [Ping timeout: 258 seconds]
15:44
LnL- has quit [Quit: exit 1]
15:44
LnL- has joined #nixos-aarch64
15:44
LnL- has joined #nixos-aarch64
15:44
LnL- has quit [Changing host]
15:48
t184256 has left #nixos-aarch64 ["Disconnected: Replaced by new connection"]
15:48
t184256 has joined #nixos-aarch64
15:51
LnL- has quit [Quit: exit 1]
15:51
LnL has joined #nixos-aarch64
16:04
t184256 has left #nixos-aarch64 ["Disconnected: Replaced by new connection"]
16:04
t184256 has joined #nixos-aarch64
16:04
<
nature >
Why does nixos-rebuild switch tries to install for arm64-efi platform ?
16:05
<
nature >
From my understanding the rpi4 is not uefi compatible
16:11
LnL- has joined #nixos-aarch64
16:11
LnL- has joined #nixos-aarch64
16:11
LnL- has quit [Changing host]
16:11
LnL has quit [Ping timeout: 240 seconds]
16:16
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
16:19
LnL- has quit [Quit: exit 1]
16:19
LnL has joined #nixos-aarch64
16:19
LnL has joined #nixos-aarch64
16:19
LnL has quit [Changing host]
16:24
t184256 has left #nixos-aarch64 ["Disconnected: Replaced by new connection"]
16:24
t184256 has joined #nixos-aarch64
16:35
LnL- has joined #nixos-aarch64
16:35
LnL- has quit [Changing host]
16:35
LnL- has joined #nixos-aarch64
16:35
LnL has quit [Ping timeout: 240 seconds]
16:45
LnL has joined #nixos-aarch64
16:45
LnL has joined #nixos-aarch64
16:45
LnL has quit [Changing host]
16:45
LnL- has quit [Ping timeout: 258 seconds]
16:56
LnL has quit [Ping timeout: 240 seconds]
16:56
LnL has joined #nixos-aarch64
16:56
LnL has joined #nixos-aarch64
16:56
LnL has quit [Changing host]
17:04
LnL- has joined #nixos-aarch64
17:04
LnL- has joined #nixos-aarch64
17:06
LnL has quit [Ping timeout: 265 seconds]
17:06
bennofs has joined #nixos-aarch64
17:08
cole-h has joined #nixos-aarch64
17:09
bennofs_ has quit [Ping timeout: 258 seconds]
17:12
LnL- has quit [Quit: exit 1]
17:12
LnL has joined #nixos-aarch64
17:12
LnL has quit [Changing host]
17:12
LnL has joined #nixos-aarch64
17:13
<
cirno999 >
hey, any info how well nixos runs on pinephone or librem 5? i can find some info about installing, not much about actual performance. :P
17:22
<
nature >
I tried using frub.version = 1 but now I have an error that i686 Linux package set can only be used with the x86 family...
17:37
LnL has quit [Quit: exit 1]
17:37
LnL has joined #nixos-aarch64
17:42
LnL has quit [Ping timeout: 258 seconds]
17:42
LnL has joined #nixos-aarch64
17:42
LnL has quit [Changing host]
17:42
LnL has joined #nixos-aarch64
17:54
LnL has quit [Quit: exit 1]
17:54
LnL has joined #nixos-aarch64
17:54
LnL has joined #nixos-aarch64
17:54
LnL has quit [Changing host]
17:57
LnL- has joined #nixos-aarch64
17:57
LnL- has joined #nixos-aarch64
17:57
LnL- has quit [Changing host]
17:58
LnL has quit [Ping timeout: 258 seconds]
18:19
quinn has joined #nixos-aarch64
18:24
LnL- has quit [Ping timeout: 265 seconds]
18:24
LnL has joined #nixos-aarch64
18:24
LnL has joined #nixos-aarch64
18:24
LnL has quit [Changing host]
18:25
AmandaC has quit [Remote host closed the connection]
18:26
Amanda has joined #nixos-aarch64
18:27
Amanda is now known as Guest21769
18:28
LnL has quit [Client Quit]
18:28
LnL has joined #nixos-aarch64
18:28
LnL has joined #nixos-aarch64
18:28
LnL has quit [Changing host]
18:34
alexarice[m] has joined #nixos-aarch64
18:35
LnL has quit [Quit: exit 1]
18:35
LnL has joined #nixos-aarch64
18:35
LnL has joined #nixos-aarch64
18:35
LnL has quit [Changing host]
18:41
LnL has joined #nixos-aarch64
18:41
LnL has joined #nixos-aarch64
18:41
LnL has quit [Changing host]
18:41
orivej has joined #nixos-aarch64
18:45
<
samueldr >
(though skip the uboot ones)
18:45
<
samueldr >
boot.loader.raspberryPi.enable
18:46
t184256 has left #nixos-aarch64 ["Error from remote client"]
18:46
t184256 has joined #nixos-aarch64
18:49
orivej has quit [Ping timeout: 240 seconds]
18:51
LnL has quit [Ping timeout: 256 seconds]
18:51
orivej has joined #nixos-aarch64
18:54
<
nature >
what about this option: boot.loader.generic-extlinux-compatible.enable ?
18:55
<
samueldr >
for boards using u-boot, that's the way to go
18:55
<
samueldr >
the raspberry pi 4 doesn't (yet) use u-boot
18:55
<
nature >
thank you so much samueldr you've been so helpful those last few days :)
18:56
<
nature >
Also once I start deploying with nixops, the deployments I make should reflect what I would like to be in configuration.nix right ?
18:57
<
nature >
like all the boot.loader options too
18:57
<
samueldr >
I think so, yes
18:57
<
samueldr >
(I'm not a nixops user)
18:57
<
nature >
oh ok, I'll just try then and see
18:59
LnL- has joined #nixos-aarch64
18:59
LnL- has joined #nixos-aarch64
18:59
LnL- has quit [Changing host]
19:01
<
Ke >
does your config enable this?
19:04
LnL| has joined #nixos-aarch64
19:05
LnL- has quit [Ping timeout: 264 seconds]
19:09
LnL| has quit [Ping timeout: 240 seconds]
19:11
FRidh has quit [Quit: Konversation terminated!]
19:25
LnL- has joined #nixos-aarch64
19:25
LnL- has joined #nixos-aarch64
19:25
LnL- has quit [Changing host]
19:33
LnL- has quit [Quit: exit 1]
19:34
LnL- has joined #nixos-aarch64
19:34
LnL- has joined #nixos-aarch64
19:37
LnL- has quit [Client Quit]
19:38
LnL- has joined #nixos-aarch64
19:38
LnL- has joined #nixos-aarch64
19:38
<
nature >
I am now quite puzzled, nixos-rebuild switch finbally works
19:38
<
nature >
but each time I reboot it doesn't take any of my changes into account
19:39
<
samueldr >
is the /boot partition mounted properly?
19:39
<
nature >
is it necessary ?
19:39
<
nature >
I thought it should be disabled
19:39
<
samueldr >
I seem to remember a quirk inherited from the generic image that might mean it's slightly broken
19:39
<
samueldr >
yeah, for the generic image
19:39
<
samueldr >
you're using the temporary for like one or two months image for raspberry pi 4
19:40
<
samueldr >
which is now nearing what, a year?
19:40
<
nature >
because my /boot is full, I will need to clean it
19:40
<
nature >
oh really, still under development for an official release you mean ?
19:40
<
samueldr >
it shouldn't exist at all
19:40
<
samueldr >
the generic image will work at some point
19:41
<
samueldr >
but the raspberry pi 4 has been seemingly hard to mainline :/
19:42
<
samueldr >
yeah, you can clear boot/old
19:42
<
nature >
What can I remove "safely ?
19:42
<
nature >
also should I clear the boot that is unmounted ?
19:42
<
samueldr >
even boot/kernels is safe since AFAIK it comes from your usage of extlinux maybe?
19:42
<
samueldr >
it would be a good idea otherwise it might be confusing
19:42
<
nature >
I removed the extlinux option
19:44
LnL- has quit [Quit: exit 1]
19:44
<
samueldr >
yeah, nothing will clean up after it though
19:44
LnL- has joined #nixos-aarch64
19:44
LnL- has quit [Changing host]
19:44
LnL- has joined #nixos-aarch64
19:44
<
nature >
I clean the unmounted boot and removed boot + old
19:45
<
samueldr >
you should `mv` the kernel dir out of it too
19:45
<
nature >
still not enough space...
19:45
<
samueldr >
at rebuild it will copy everything in there anyway
19:45
<
samueldr >
and
*once copied* it would do some cleanups, but see the conundrum?
19:46
<
samueldr >
it can't clean-up if there's no space to fit the newly added things!
19:46
<
samueldr >
doing it the other way around is scary since it means you might not be able to boot!
19:47
<
nature >
yeah... I wouldn't want to have to restart ^^'
19:48
LnL- has quit [Ping timeout: 240 seconds]
19:49
LnL- has joined #nixos-aarch64
19:49
LnL- has joined #nixos-aarch64
19:49
<
nature >
What else could I clean, I still seem to run out of space when rebuilding
19:49
<
samueldr >
that's weird
19:50
<
samueldr >
there's enough space for at least another full copy of itself
19:50
<
nature >
ok let me try again
19:50
<
samueldr >
49M is smaller than 128M
19:50
<
samueldr >
quite smaller :)
19:50
<
samueldr >
and some of the big files are not repeated
19:50
<
samueldr >
the font .pf2 can be removed
19:50
<
samueldr >
the background too, but eh, that's only 10K
19:51
<
samueldr >
you did disable grub, right?
19:51
<
samueldr >
boot.loader.grub.enable = false;
19:51
<
nature >
yeah ran out of space again
19:52
<
nature >
It looks like this now
19:52
<
samueldr >
are you doing something that would make your initrd quite big?
19:52
<
samueldr >
35M/boot/kernel.img.tmp
19:52
<
samueldr >
that's a big kernel
19:52
<
nature >
may I share my configuration.nix
19:52
<
nature >
I added a line
19:52
<
samueldr >
you're using the rpi4 kernel?
19:53
<
nature >
boot.kernelPackages = pkgs.linuxPackages_latest;
19:53
<
samueldr >
that won't work right
19:53
<
samueldr >
boot.kernelPackages = pkgs.linuxPackages_rpi4;
19:53
<
samueldr >
I guess that would be the main difference in size here
19:53
<
nature >
I took it from the wiki on arm but I guess there were speaking about the generic image again
19:53
<
samueldr >
the rpi4 is really grinding my gears :)
19:54
<
samueldr >
maybe since 2020.07 u-boot could be used to reduce the difference
19:54
<
samueldr >
it would likely still need its own kernel, but at least work the same way as the other boards otherwise
19:54
<
nature >
would it be worth form me to go the u-boot way ?
19:54
<
samueldr >
emphatically my biased self says so
19:55
<
samueldr >
u-boot is like using a proper firmware that has well defined semantics
19:55
<
samueldr >
while the default boot chain for the raspberry pi 4 is like having the minimum viable product that works
*for their use case only*
19:57
<
nature >
yes! it worked!
19:58
<
nature >
It's now building
19:58
<
samueldr >
you might have to keep your eye on the old directory when rebuilding
19:58
<
samueldr >
an option is to resize the partition
19:58
<
samueldr >
since it's basically FAT32 and EXT4, you could do it on your computer
19:58
<
nature >
it failed...
19:59
<
nature >
so I should reduce the ext4 and increase the fat32 one ?
19:59
<
samueldr >
that's something that would help
19:59
zupo has joined #nixos-aarch64
19:59
<
nature >
ok after failure old dir is 80M...
19:59
LnL- has quit [Quit: exit 1]
20:00
LnL has joined #nixos-aarch64
20:00
<
nature >
I think I am going to try the resizing
20:01
<
nature >
how hard is it to setup u-boot ?
20:02
<
samueldr >
when I tried last time it didn't boot to the system
20:02
<
nature >
ok i'll resize
20:02
<
samueldr >
so it could go from trivial to basically not working
20:02
<
nature >
yeah.. ^^'
20:03
cole-h has quit [Quit: Goodbye]
20:03
<
nature >
the kernels dir was essential to boot ?
20:04
<
nature >
To know if I need to put it back it place before shuting down and removing sd card
20:04
LnL- has joined #nixos-aarch64
20:04
LnL- has quit [Changing host]
20:04
LnL- has joined #nixos-aarch64
20:04
<
samueldr >
not sure it was
20:04
<
samueldr >
but you can move it from your computer anyway
20:04
<
samueldr >
I believe config.txt only refers to "kernel.img"
20:04
<
samueldr >
which you have right besides it
20:05
LnL has quit [Ping timeout: 264 seconds]
20:05
<
nature >
The sd card is burning hot ^^'
20:06
<
samueldr >
not unusual
20:06
<
samueldr >
the pis since the third (I'm not sure about the 2) are hot bois,
20:06
<
samueldr >
and the sd card itself can run a bit hotter than ambient-to-the-pi since it does some work
20:07
<
nature >
any tools to resize the partitions ?
20:07
<
nature >
parted would work >
20:08
<
nature >
I am used to fdisk ^^'
20:08
<
nature >
And I don't seem to be able to just resize with fdisk
20:08
<
samueldr >
I use gparted
20:09
<
samueldr >
it handles filesystems for you too
20:09
<
nature >
great thing with nixos I can just nix-shell -p :D
20:10
<
nature >
I won't mess up the data on the ext4 patition by reducing the size tho ?
20:11
<
samueldr >
when using gparted it knows how to handle the
*filesystem*
20:11
<
samueldr >
it'll take a hot minute or 10 (maybe more) since it needs to move the beginning of the partition though
20:12
LnL- has quit [Remote host closed the connection]
20:12
zupo has quit [Ping timeout: 258 seconds]
20:13
LnL has joined #nixos-aarch64
20:13
LnL has quit [Changing host]
20:13
LnL has joined #nixos-aarch64
20:16
zupo has joined #nixos-aarch64
20:20
<
nature >
you were spot on
20:20
<
nature >
10min (8 remaining)
20:20
<
samueldr >
sd cards speeds aren't helping :)
20:21
<
nature >
Probably one the first thing I'll do will be to clone the image so it'll be ready to be flashed if this sd card dies
20:22
<
nature >
Also if you don't mind telling, what do you use your nixos rpi4 for ?
20:22
<
samueldr >
working on support for nixos on ARM SBCs
20:22
<
samueldr >
I'm kind of the de facto lead on the topic right now
20:23
LnL- has joined #nixos-aarch64
20:23
LnL- has quit [Changing host]
20:23
LnL- has joined #nixos-aarch64
20:24
<
nature >
That was my next question :)
20:24
<
nature >
kudos then, I am really appreciative of the work!
20:24
LnL has quit [Ping timeout: 240 seconds]
20:25
<
nature >
You're working on this full time ?
20:26
<
samueldr >
no, otherwise I would have looked at the raspberry pi 4 issues :)
20:26
<
samueldr >
I work full time on Mobile NixOS though
20:26
<
samueldr >
(well, looked at the issues recently)
20:27
<
nature >
I had no ideas there was a Mobile NixOS project
20:27
<
samueldr >
I had the idea of trying to use the raspberry pi 4 as a "thick client" desktop replacement using something like x2go, but I had issues with power delivery to the external drive which got me frustrated so I put the project on ice for the time being
20:28
<
nature >
So the raspberry would be the client to access a beefier machine ?
20:29
<
nature >
and really power issues event when it's usb-c powered !?
20:29
<
samueldr >
usb-c does not matter for power
20:29
<
samueldr >
usb-c is the receptacle
20:30
<
samueldr >
what matters is "USB PD"
20:30
<
samueldr >
USB Power Delivery
20:30
<
samueldr >
the raspberry pi 4 does not support power delivery
20:30
<
samueldr >
in fact, a proper power delivery power supply can fail to work properly on early models!
20:30
<
samueldr >
because (again) the foundation cheaped out
20:31
<
samueldr >
so it's basically as the 3B did, it's dumb 5V3A which is technically in spec for newer USB
20:31
rajivr has quit [Quit: Connection closed for inactivity]
20:31
<
samueldr >
and tbf it was using a USB
*spinning rust* hard drive, which uses more power
20:32
<
samueldr >
I'll probably try it out again once the M.2 SSD + enclosure gets here, though the M.2 SSD is going to be used in another machine
20:32
<
samueldr >
but if it works fine I'll be getting another SSD for it
20:38
ashkitten has quit [Quit: WeeChat 2.8]
20:38
<
nature >
oooh got it!
20:38
LnL- has quit [Ping timeout: 264 seconds]
20:38
LnL has joined #nixos-aarch64
20:38
LnL has quit [Changing host]
20:38
LnL has joined #nixos-aarch64
20:39
<
cirno999 >
samueldr do you know the state of any devices?
20:39
<
samueldr >
cirno999: care to expand?
20:39
<
nature >
Also which device are you working on on the mobile project ?
20:39
<
samueldr >
most of those I have on hand
20:39
<
cirno999 >
i'm interested how well does mobile nixos runs on librem 5 or pinephone for example
20:40
<
samueldr >
librem 5 I don't have and it's not planned for me to get one for the time being
20:40
<
samueldr >
though being mainline~ish and u-boot based it should be relatively trivial
20:40
ashkitten has joined #nixos-aarch64
20:40
<
samueldr >
pinephone works fine
20:40
<
samueldr >
the cellular stuff hasn't been worked on yet
20:42
<
cirno999 >
hmm, thanks
20:42
LnL- has joined #nixos-aarch64
20:42
LnL- has joined #nixos-aarch64
20:42
LnL- has quit [Changing host]
20:43
<
cirno999 >
these linux phones are interesting though it would be a pain if i had to go back to something like debian
20:43
LnL has quit [Ping timeout: 260 seconds]
20:47
<
nature >
samueldr: it's boot and connection to my network but I cannot connect as the nixos user, it says: This account is currently not available.
20:47
<
nature >
*booting and connecting
20:48
<
samueldr >
nature: since you're not including the installer profile in your config it doesn't add the nixos user anymore
20:48
<
samueldr >
I figure you didn't set a root password, right%
20:48
<
nature >
is there a default root password ?
20:48
<
samueldr >
no, meaning it's locked :)
20:48
<
nature >
I did but it somehow got earased since the reboot
20:49
<
samueldr >
unlike most SBCs nixos is secure by default, no default passwords no default user accounts that can be accessed through the network
20:49
<
nature >
could I chroot on the sd and try to set a root password ?
20:49
<
samueldr >
maybe it'd work since you use qemu-user things
20:49
<
samueldr >
nixos-enter
20:49
<
samueldr >
another option is to boot an older generation
20:49
<
samueldr >
which you can do by copying the files from the old/ directory you so despise :)
20:50
<
samueldr >
replacing the files where the name match
20:50
<
nature >
I can try that
20:51
<
nature >
oh wait I just got an idea
20:51
<
samueldr >
ssh key in the root account?
20:51
<
nature >
Since I was able to run nixos-rebuilt switch but with boot unmounted
20:52
<
nature >
actually good idea too
20:54
Darkmatter66 has quit [Ping timeout: 265 seconds]
20:57
Darkmatter66 has joined #nixos-aarch64
21:01
<
nature >
neither copying the ssh key not nixos-enter worked :(
21:03
<
nature >
my last idea then, since I was able to nixos-rebuild switch without boot mount and I have a copy of that boot, what if I copied the files on the partition directly ?
21:03
<
samueldr >
in theory it's the same generation that's been built, no?
21:04
<
nature >
it's supposed to be the first nixos-rebuild after boot yeah
21:04
<
samueldr >
at the very worst you can backup your configuration.nix and start over if you break things too much :)
21:05
<
nature >
yes... worst case scenario haha
21:09
LnL- has quit [Quit: exit 1]
21:09
LnL has joined #nixos-aarch64
21:09
LnL has joined #nixos-aarch64
21:09
LnL has quit [Changing host]
21:13
<
nature >
ok, I'll reflash ^^'
21:13
<
nature >
nothing seems to fix it
21:16
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
21:20
<
nature >
so to avoid being locked out again I should have the users.users.nixos ={} config right ?
21:32
LnL has quit [Quit: exit 1]
21:42
<
samueldr >
or your own, switch, and set password
21:42
<
samueldr >
and/or additionally ssh keys in config maybe
21:48
LnL has joined #nixos-aarch64
22:14
LnL has quit [Quit: exit 1]
22:14
LnL has joined #nixos-aarch64
22:14
LnL has quit [Changing host]
22:14
LnL has joined #nixos-aarch64
22:17
LnL has quit [Client Quit]
22:18
LnL has joined #nixos-aarch64
22:27
LnL has quit [Quit: exit 1]
22:28
LnL has joined #nixos-aarch64
22:28
LnL has joined #nixos-aarch64
22:37
LnL has quit [Quit: exit 1]
22:37
LnL has joined #nixos-aarch64
22:37
LnL has quit [Changing host]
22:37
LnL has joined #nixos-aarch64
22:46
kahiru has quit [Read error: Connection reset by peer]
22:46
kahiru has joined #nixos-aarch64
22:47
LnL has quit [Quit: exit 1]
22:47
LnL has joined #nixos-aarch64
22:47
LnL has quit [Changing host]
22:47
LnL has joined #nixos-aarch64
23:00
LnL- has joined #nixos-aarch64
23:00
LnL- has quit [Changing host]
23:00
LnL- has joined #nixos-aarch64
23:01
LnL has quit [Ping timeout: 258 seconds]
23:14
LnL has joined #nixos-aarch64
23:14
LnL has joined #nixos-aarch64
23:14
LnL has quit [Changing host]
23:14
LnL- has quit [Ping timeout: 258 seconds]
23:20
LnL- has joined #nixos-aarch64
23:20
LnL- has quit [Changing host]
23:20
LnL- has joined #nixos-aarch64
23:21
LnL has quit [Ping timeout: 256 seconds]