!BgJZHVOYkwVcEKLAyM:nixos.org

NixOS Deployments

1213 Members
NixOS Deployment tooling301 Servers

Load older messages


SenderMessageTime
20 Jul 2025
@dmjio:matrix.org@dmjio:matrix.org left the room.09:57:48
21 Jul 2025
@nyxvectar:matrix.org@nyxvectar:matrix.org left the room.16:05:29
@jovalie:matrix.org@jovalie:matrix.org joined the room.23:47:56
22 Jul 2025
@federicodschonborn:matrix.org@federicodschonborn:matrix.org changed their display name from The Worm πŸ³οΈβ€πŸŒˆ (he/they) to Wormy McWormface πŸ³οΈβ€πŸŒˆ (he/they).18:28:33
@maxcf:matrix.orgMax joined the room.18:56:52
23 Jul 2025
@assert-inequality:matrix.orgAssertInequality joined the room.16:39:57
@assert-inequality:matrix.orgAssertInequality

Hi Folks
Does disko accept regex as device? docs doesn't necessarily have a "spec"

On Hetzner, an attached volume is showing up as /dev/sda for some weird reason, with the VPS's built-in disk showing up as /dev/sdb

I noticed that /dev/disk/by-id has consistent naming with built-in storage having QEMU in the name and attached volume storage having HC

Since I'm trying to use the nixos-anywhere terraform module, I realistically won't be able to rely on the inconsistent /dev/sdX device names.

16:45:49
24 Jul 2025
@uep:matrix.orguep can you find something more consistent in one of the other subdirs, maybe one of /dev/disk/by-{path,id} 07:11:26
@uep:matrix.orguepid probably has some "random" elements like a wwn, but path might be stable for a given vps instance shape at least?07:12:14
@assert-inequality:matrix.orgAssertInequality

I think path should work, I see no reason it should change

Here's how it's structured:

pci-0000:06:00.0-scsi-0:0:0:0 -> ../../sr0
pci-0000:06:00.0-scsi-0:0:0:1 -> ../../sdb
pci-0000:06:00.0-scsi-0:0:0:1-part/
pci-0000:06:00.0-scsi-0:0:0:1-part1 -> ../../sdb1
pci-0000:06:00.0-scsi-0:0:0:1-part2 -> ../../sdb2
pci-0000:06:00.0-scsi-0:0:0:2 -> ../../sda
pci-0000:06:00.0-scsi-0:0:0:2-part/
pci-0000:06:00.0-scsi-0:0:0:2-part1 -> ../../sda1
pci-0000:06:00.0-scsi-0:0:0:2-part9 -> ../../sda9

So I think I can safely assume that :1 would always be the built-in storage

12:10:45
@uep:matrix.orguepIt looks that way, and the a/b ordering is just timing related for the probe order. That's what I'd expect, this looks promising but if course make sure22:58:40
@0x4a6f:matrix.org[0x4A6F] I think you should stick to /dev/disk/by-id/scsi-0HC_Volume_XXXXXXXXX for the Hetzner Cloud Volume. 23:05:39
25 Jul 2025
@uep:matrix.orguepi think that's where the regex question started; the pattern is easy to see but unless disko supports matching against it, you can't use it without knowing the id in advance for any given node00:32:07
@uep:matrix.orguep(i have no idea if it does support that kind of matching, it's been too long since i played with it)00:32:40
@federicodschonborn:matrix.org@federicodschonborn:matrix.org changed their display name from Wormy McWormface πŸ³οΈβ€πŸŒˆ (he/they) to Cat McFishface πŸ³οΈβ€πŸŒˆ (he/they).01:43:59
@jovalie:matrix.org@jovalie:matrix.org left the room.05:26:02
@0x4a6f:matrix.org[0x4A6F]Is there a way to get it out of hetzner api?05:48:07
@leona:leona.isleonaYes, there’s a linuxDevice field: https://docs.hetzner.cloud/reference/cloud#volumes-list-volumes05:50:57
26 Jul 2025
@oak:universumi.fioak πŸ³οΈβ€πŸŒˆβ™₯️ changed their profile picture.08:27:10
@er10:matrix.org@er10:matrix.org joined the room.08:28:19
@er10:matrix.org@er10:matrix.org

Hello, hope not an off-topic question here :

how to best setup / configure hblock on NixOS ?

 * https://raw.githubusercontent.com/hectorm/hmirror/master/data/ublock-abuse/list.txt
 * https://raw.githubusercontent.com/hectorm/hmirror/master/data/ublock-badware/list.txt
 * https://raw.githubusercontent.com/hectorm/hmirror/master/data/ublock-privacy/list.txt
 * https://raw.githubusercontent.com/hectorm/hmirror/master/data/urlhaus/list.txt
[INFO] Applying denylist
[INFO] Sanitizing blocklist
[INFO] Sorting blocklist
[INFO] Applying format template
[ERROR] Cannot write file: /etc/hosts
o***@3*** /etc [1]> ```
 
is the prompt I get, and the gnome hblocker extension does not function -- 

Thanks for aiding and advice... 
09:54:20
27 Jul 2025
@pamplemouss_:matrix.org@pamplemouss_:matrix.org left the room.15:04:16
@etu:failar.nu@etu:failar.nu left the room.17:52:23
28 Jul 2025
@guilhermenl:matrix.org@guilhermenl:matrix.org joined the room.20:28:14
@guilhermenl:matrix.org@guilhermenl:matrix.org left the room.20:28:59
@alex:acrawford.com@alex:acrawford.com left the room.21:29:43
29 Jul 2025
@dontblameme:matrix.orgDontBlameMe joined the room.00:23:17
@yapxuan:matrix.org@yapxuan:matrix.org left the room.06:45:56
@maxcf:matrix.orgMax changed their display name from Maximilian Canez Fernandes to HAL9000.20:17:38
30 Jul 2025
@yan:we2.eeyan πŸ’• joined the room.01:26:38

Show newer messages


Back to Room ListRoom Version: 6