!DBFhtjpqmJNENpLDOv:nixos.org

NixOS systemd

600 Members
NixOS ❤️ systemd165 Servers

Load older messages


SenderMessageTime
4 Oct 2024
@mjm:midna.devmjmand this is solving a pretty edge case in impermanence i think03:21:48
@elvishjerricco:matrix.orgElvishJerriccobut sure03:21:49
@mjm:midna.devmjmidk how i'd do it03:22:14
@mjm:midna.devmjmi think this wouldn't be an issue for LUKS, since the decrypted FS has its own device and would show up separately from the encrypted one03:23:26
@elvishjerricco:matrix.orgElvishJerricco My first thought was to make a service for the directory you want to make that has RequiresMountsFor=/sysroot/persist/whatever and Before=/sysroot/bind/whatever that does the mkdir 03:23:56
@elvishjerricco:matrix.orgElvishJerriccothat way you don't have to make these assumptions they're making03:25:12
@mjm:midna.devmjm yeah it's weird to me that they would mount it somewhere temporary instead of just introducing a service after /persist or whatever mounts and before the bind mounts 03:26:23
@mjm:midna.devmjmhttps://github.com/nix-community/impermanence/issues/222 if you feel like chiming in03:27:27
@elvishjerricco:matrix.orgElvishJerricco mjm: I mean frankly I think the problem that the service is trying to solve is a silly one 03:28:47
@elvishjerricco:matrix.orgElvishJerriccolike yes, you should make your directories03:28:54
@elvishjerricco:matrix.orgElvishJerriccoit's weird that impermanence has to automated it for you03:29:07
@mjm:midna.devmjmyeah, i think maybe it enables bootstrapping a system with impermanence from the get-go? idk i saw mention of nixos-anywhere in the PR that introduced it03:29:36
@mjm:midna.devmjmbut like, this hasn't been there for a while and i never noticed03:29:57
@mjm:midna.devmjmso 🤷03:30:06
@mjm:midna.devmjmanyway, the fstab generator is pretty slick, excited to have it working!03:31:22
@elvishjerricco:matrix.orgElvishJerriccoyea, thanks for testing!03:35:39
@aloisw:kde.orgaloisw
In reply to @elvishjerricco:matrix.org
doesn't btrfs handle large numbers of snapshots absolutely terribly or something?
The snapshots themselves are not so much the problem, it's mostly the combination with quota that causes the performance issues.
12:56:08
5 Oct 2024
@jeroen:simonetti.nljeroen left the room.13:57:48
@magic_rb:matrix.redalder.orgmagic_rb changed their profile picture.22:17:59
6 Oct 2024
@steveej0:matrix.orgsteveeji'm trying to set up ipv6 prefix delegation with systemd-networkd on my router. i also run dnsmasq there and i'm not sure how relevant that is. what i'm wondering is how i can confirm that my router is actually getting a delegated prefix from my ISP's router, or whether it just gets a single IP6 address09:35:49
@steveej0:matrix.orgsteveej i believe i set all the necessary options on the router's WAN interface to accept RAs and also use dhcpv6 to ask for a delegated prefix. 09:36:31
@k900:0upti.meK900 ip a should show a prefix on the interface 09:37:05
@k900:0upti.meK900If you're getting a prefix09:37:12
@steveej0:matrix.orgsteveej

do you mind showing me an example output for that? this is the wan interface output

4: wan@eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 state UP qlen 1000
    inet6 2001:XXX:9d94:4420:d4ac:76ff:fec0:7837/64 scope global dynamic mngtmpaddr noprefixroute
       valid_lft 7149sec preferred_lft 3549sec
    inet6 fdaa:XXX:ddee:0:d4ac:76ff:fec0:7837/64 scope global mngtmpaddr noprefixroute
       valid_lft forever preferred_lft forever
    inet6 fe80::d4ac:76ff:fec0:7837/64 scope link proto kernel_ll
       valid_lft forever preferred_lft forever

slightly paranoid so i XXXd some values there

09:38:42
@k900:0upti.meK900You have a /6409:39:17
@k900:0upti.meK900So yes that's a prefix09:39:21
@k900:0upti.meK900But normally you'd get a /56 from your ISP09:40:01
@k900:0upti.meK900For prefix delegation to work correctly09:40:05
@k900:0upti.meK900You can configure it to delegate smaller prefixes09:40:18
@k900:0upti.meK900But a typical setup would be to have a /48 or /56 for your router, and a /64 per device09:41:09

Show newer messages


Back to Room ListRoom Version: 6