!oNSIfazDqEcwhcOjSL:matrix.org

disko

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

Load older messages


SenderMessageTime
3 Oct 2024
@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
@nero:matrix.desu-infra.ruАлександр Ф. 🇷🇺 22:29:10
11 Oct 2024
@artturin:matrix.orgArtturin joined the room.19:29:51
12 Oct 2024
@joerg:thalheim.ioMic92Looks like you put bits that would belong into disko configuration into boot.initrd.luks.devices.crypted?06:22:18
15 Oct 2024
@sebastian:srx.digitalcrstl joined the room.11:16:22
@tanvir:hackliberty.org@tanvir:hackliberty.org changed their display name from Tanvir to 𝒕𝒂𝒏𝒗𝒊𝒓.16:07:03
@tanvir:hackliberty.org@tanvir:hackliberty.org changed their profile picture.20:15:33
16 Oct 2024
@h7x4:nani.wtfh7x4 joined the room.11:31:19
17 Oct 2024
@joerg:thalheim.ioMic92 changed their display name from Mic92 to Mic3000.06:51:17
@joerg:thalheim.ioMic92 changed their display name from Mic3000 to Mic3000 🌋.06:51:46
@joerg:thalheim.ioMic92 changed their display name from Mic3000 🌋 to Mic92.12:22:31
18 Oct 2024
@relichunter:nitro.chatrelichunter changed their profile picture.10:04:13
@cinerealkiara:matrix.org@cinerealkiara:matrix.org joined the room.20:57:53
19 Oct 2024
@nakibrayan:matrix.imRayan Nakib (ريان نقيب) joined the room.08:15:30
@nam3l33ss:matrix.org·☽•Nameless☆•777 · ± changed their profile picture.19:11:20
@nero:matrix.desu-infra.ruАлександр Ф. 🇷🇺 20:08:35
21 Oct 2024
@ginkogruen:matrix.orgginkogruen joined the room.08:21:02

Show newer messages


Back to Room ListRoom Version: 10