!oNSIfazDqEcwhcOjSL:matrix.org

disko

353 Members
disko - declarative disk partitioning - https://github.com/nix-community/disko89 Servers

Load older messages


SenderMessageTime
27 Sep 2024
@matthewcroughan:defenestrate.itmatthewcroughan * and manages all this state11:39:56
@joerg:thalheim.ioMic92
In reply to @blimbus:matrix.org
Hi yall, not sure if I'm just stupid and missing something but disko in disko mode is failing to setup luks on an empty drive. If the drive aleady has partitions or anything else on it it works but otherwise just fails somewhere after partitioning. It makes a luks device with password "password" even though it is set to prompt and then doesnt open the volume so creating filesystems fails.
Does it break in the vm test as well?
15:05:13
28 Sep 2024
@perchun:matrix.org@perchun:matrix.org left the room.17:33:17
1 Oct 2024
@-_o:matrix.org-_o joined the room.21:05:14
2 Oct 2024
@josw:matrix.orgjosw joined the room.18:20:40
3 Oct 2024
@matthewcroughan:defenestrate.itmatthewcroughanGave chatgpt the new disko logo as input09:46:16
@matthewcroughan:defenestrate.itmatthewcroughanasked it to improve09:46:18
@matthewcroughan:defenestrate.itmatthewcroughanimage.png
Download image.png
09:46:23
@matthewcroughan:defenestrate.itmatthewcroughanimage.png
Download image.png
09:53:15
@matthewcroughan:defenestrate.itmatthewcroughan🤔09:53:16
@enzime:nixos.devEnzime
In reply to @matthewcroughan:defenestrate.it
sent an image.
gives me serial killer vibes
09:56:18
@gsaurel:laas.frnim65s

When I sent a link to some friends, they were very impressed by the previous logo, and said:

the quality of an open source project is usually inversely proportional to the beauty of its logo, so this "disko" project must be very very good

10:06:09
@matthewcroughan:defenestrate.itmatthewcroughanamen10:07:01
@midirhee12:tchncs.de@midirhee12:tchncs.de joined the room.13:01:29
@bumperboat:matrix.orgbumperboati am liking the idea of the disko rewrite in nushell 🤔17:25:59
@bumperboat:matrix.orgbumperboatnatively handle json in a language that's simliar to nix with an interpreter written in a memory safe language and smaller closure size than python ✔️17:32:02
@waterturkey:matrix.orgwaterturkey

In case anyone is interested or looking for help, I ended up going with this config for now. `# vda 20GB: Root - NixOS

vdb 50GB: Backup RAID-0

vdc 50GB: Backup RAID-0

{
disko.devices = {
disk = {
vda = {
type = "disk";
device = "/dev/vda";
content = {
type = "gpt";
partitions = {
ESP = {
size = "1024M";
type = "EF00";
content = {
type = "filesystem";
format = "vfat";
mountOptions = [ "defaults" ];
mountpoint = "/boot";
};
};
zfs = {
size = "100%";
content = {
type = "zfs";
pool = "zroot";
};
};
};
};
};
vdb = {
type = "disk";
device = "/dev/vdb";
content = {
type = "zfs";
pool = "tank";
};
};
vdc = {
type = "disk";
device = "/dev/vdc";
content = {
type = "zfs";
pool = "tank";
};
};
};
zpool = {
zroot = {
type = "zpool";
options.cachefile = "none";
rootFsOptions = {
compression = "lz4";
"com.sun:auto-snapshot" = "false";
};
mountpoint = "/";
datasets = {
"home" = {
type = "zfs_fs";
mountpoint = "/home";
};
"nix" = {
type = "zfs_fs";
mountpoint = "/nix";
};
"var" = {
type = "zfs_fs";
mountpoint = "/var";
};
};
};
tank = {
type = "zpool";
mode = "mirror";
mountpoint = "/tank";
datasets = {
data = {
type = "zfs_fs";
mountpoint = "/tank/data";
};
};
};
};
};
fileSystems."/boot".neededForBoot = true;
}
`

22:53:32
@waterturkey:matrix.orgwaterturkey *

In case anyone is interested or looking for help, I ended up going with this config for now. \

`# vda 20GB: Root - NixOS

vdb 50GB: Backup RAID-0

vdc 50GB: Backup RAID-0

{
disko.devices = {
disk = {
vda = {
type = "disk";
device = "/dev/vda";
content = {
type = "gpt";
partitions = {
ESP = {
size = "1024M";
type = "EF00";
content = {
type = "filesystem";
format = "vfat";
mountOptions = [ "defaults" ];
mountpoint = "/boot";
};
};
zfs = {
size = "100%";
content = {
type = "zfs";
pool = "zroot";
};
};
};
};
};
vdb = {
type = "disk";
device = "/dev/vdb";
content = {
type = "zfs";
pool = "tank";
};
};
vdc = {
type = "disk";
device = "/dev/vdc";
content = {
type = "zfs";
pool = "tank";
};
};
};
zpool = {
zroot = {
type = "zpool";
options.cachefile = "none";
rootFsOptions = {
compression = "lz4";
"com.sun:auto-snapshot" = "false";
};
mountpoint = "/";
datasets = {
"home" = {
type = "zfs_fs";
mountpoint = "/home";
};
"nix" = {
type = "zfs_fs";
mountpoint = "/nix";
};
"var" = {
type = "zfs_fs";
mountpoint = "/var";
};
};
};
tank = {
type = "zpool";
mode = "mirror";
mountpoint = "/tank";
datasets = {
data = {
type = "zfs_fs";
mountpoint = "/tank/data";
};
};
};
};
};
fileSystems."/boot".neededForBoot = true;
}
`

22:53:54
@waterturkey:matrix.orgwaterturkey *

In case anyone is interested or looking for help, I ended up going with this config for now. \

`

vda 20GB: Root - NixOS

vdb 50GB: Backup RAID-0

vdc 50GB: Backup RAID-0

{
disko.devices = {
disk = {
vda = {
type = "disk";
device = "/dev/vda";
content = {
type = "gpt";
partitions = {
ESP = {
size = "1024M";
type = "EF00";
content = {
type = "filesystem";
format = "vfat";
mountOptions = [ "defaults" ];
mountpoint = "/boot";
};
};
zfs = {
size = "100%";
content = {
type = "zfs";
pool = "zroot";
};
};
};
};
};
vdb = {
type = "disk";
device = "/dev/vdb";
content = {
type = "zfs";
pool = "tank";
};
};
vdc = {
type = "disk";
device = "/dev/vdc";
content = {
type = "zfs";
pool = "tank";
};
};
};
zpool = {
zroot = {
type = "zpool";
options.cachefile = "none";
rootFsOptions = {
compression = "lz4";
"com.sun:auto-snapshot" = "false";
};
mountpoint = "/";
datasets = {
"home" = {
type = "zfs_fs";
mountpoint = "/home";
};
"nix" = {
type = "zfs_fs";
mountpoint = "/nix";
};
"var" = {
type = "zfs_fs";
mountpoint = "/var";
};
};
};
tank = {
type = "zpool";
mode = "mirror";
mountpoint = "/tank";
datasets = {
data = {
type = "zfs_fs";
mountpoint = "/tank/data";
};
};
};
};
};
fileSystems."/boot".neededForBoot = true;
}
`

22:54:28
@waterturkey:matrix.orgwaterturkey *

In case anyone is interested or looking for help, I ended up going with this config for now. \

```

vda 20GB: Root - NixOS

vdb 50GB: Backup RAID-0

vdc 50GB: Backup RAID-0

{
disko.devices = {
disk = {
vda = {
type = "disk";
device = "/dev/vda";
content = {
type = "gpt";
partitions = {
ESP = {
size = "1024M";
type = "EF00";
content = {
type = "filesystem";
format = "vfat";
mountOptions = [ "defaults" ];
mountpoint = "/boot";
};
};
zfs = {
size = "100%";
content = {
type = "zfs";
pool = "zroot";
};
};
};
};
};
vdb = {
type = "disk";
device = "/dev/vdb";
content = {
type = "zfs";
pool = "tank";
};
};
vdc = {
type = "disk";
device = "/dev/vdc";
content = {
type = "zfs";
pool = "tank";
};
};
};
zpool = {
zroot = {
type = "zpool";
options.cachefile = "none";
rootFsOptions = {
compression = "lz4";
"com.sun:auto-snapshot" = "false";
};
mountpoint = "/";
datasets = {
"home" = {
type = "zfs_fs";
mountpoint = "/home";
};
"nix" = {
type = "zfs_fs";
mountpoint = "/nix";
};
"var" = {
type = "zfs_fs";
mountpoint = "/var";
};
};
};
tank = {
type = "zpool";
mode = "mirror";
mountpoint = "/tank";
datasets = {
data = {
type = "zfs_fs";
mountpoint = "/tank/data";
};
};
};
};
};
fileSystems."/boot".neededForBoot = true;
}
```

23:13:11
@waterturkey:matrix.orgwaterturkey *

In case anyone is interested or looking for help, I ended up going with this config for now. \

"```

vda 20GB: Root - NixOS

vdb 50GB: Backup RAID-0

vdc 50GB: Backup RAID-0

{
disko.devices = {
disk = {
vda = {
type = "disk";
device = "/dev/vda";
content = {
type = "gpt";
partitions = {
ESP = {
size = "1024M";
type = "EF00";
content = {
type = "filesystem";
format = "vfat";
mountOptions = [ "defaults" ];
mountpoint = "/boot";
};
};
zfs = {
size = "100%";
content = {
type = "zfs";
pool = "zroot";
};
};
};
};
};
vdb = {
type = "disk";
device = "/dev/vdb";
content = {
type = "zfs";
pool = "tank";
};
};
vdc = {
type = "disk";
device = "/dev/vdc";
content = {
type = "zfs";
pool = "tank";
};
};
};
zpool = {
zroot = {
type = "zpool";
options.cachefile = "none";
rootFsOptions = {
compression = "lz4";
"com.sun:auto-snapshot" = "false";
};
mountpoint = "/";
datasets = {
"home" = {
type = "zfs_fs";
mountpoint = "/home";
};
"nix" = {
type = "zfs_fs";
mountpoint = "/nix";
};
"var" = {
type = "zfs_fs";
mountpoint = "/var";
};
};
};
tank = {
type = "zpool";
mode = "mirror";
mountpoint = "/tank";
datasets = {
data = {
type = "zfs_fs";
mountpoint = "/tank/data";
};
};
};
};
};
fileSystems."/boot".neededForBoot = true;
}

23:13:45
4 Oct 2024
@test-user:c.imperishable.namerendakuenthusiast⚡️ joined the room.10:22:32
@bashfulrobot.:matrix.orgbashfulrobot changed their profile picture.16:24:20
5 Oct 2024
@magic_rb:matrix.redalder.orgmagic_rb changed their profile picture.22:17:50
7 Oct 2024
@lehmanator:tchncs.deSam Lehman changed their profile picture.14:24:20
9 Oct 2024
@beard_beer_code:matrix.orgSoumyaranjan Acharya joined the room.21:04:31
@beard_beer_code:matrix.orgSoumyaranjan Acharya Need help with disko, I'm trying to use the luks-btrfs-subvolume from examples but in nix-install I'm running into "error: The option boot.initrd.luks.devices.crypted.passwordFile' does not exist. Any ideas to solve it will be a lot of help 21:06:14
10 Oct 2024
@tanvir:hackliberty.org@tanvir:hackliberty.org changed their profile picture.13:20:23
@tanvir:hackliberty.org@tanvir:hackliberty.org changed their profile picture.15:15:25
@nero:matrix.desu-infra.ruАлександр Ф. 🇷🇺 joined the room.22:29:05

Show newer messages


Back to Room ListRoom Version: 10