| 15 Sep 2025 |
bandithedoge | what should i do when disko-install keeps running out of disk space? | 19:42:54 |
| 16 Sep 2025 |
| -> @oli:catgirl.cloud changed their profile picture. | 06:59:58 |
| -> @oli:catgirl.cloud changed their profile picture. | 09:04:49 |
| lassuluschanged room power levels. | 10:22:46 |
| lassuluschanged room power levels. | 10:23:39 |
| lassuluschanged room power levels. | 10:24:01 |
| 17 Sep 2025 |
mprasil | Is it in NixOS live CD? You might want to add --no-deps to let it use local tools rather than pulling dependencies. | 14:25:54 |
bandithedoge | yeah, i gave up and ended up mounting with disko first and then just running nixos-install | 14:26:55 |
mprasil | Yeah the live CD space is quite limited as it's all in memory. --no-deps helps somewhat. | 14:27:36 |
mprasil | ❓️ What is the purpose of the if statement here or here? | 14:28:53 |
mprasil | It seems to be some effort to not overwrite pre-existing partition. | 14:29:15 |
mprasil | But I found it to be quite a footgun. For example it's pretty common that EFI partition is 1GB (or 500M) an due to that if statemen disko silenty didn't format my EFI partition because previously there was also EFI partition with same size. (so when disko recreated GPT, EFI "adopted" contents of previous vfat there) | 14:31:45 |
mprasil | disko does prompt whether it should destroy data on the disk and --mode destroy,format,mount is also pretty explicit about what the user expects/wants. So this effort to preserve data feels quite a bit surprising. | 14:33:38 |
| 19 Sep 2025 |
| bl1nk changed their profile picture. | 15:21:46 |
| bl1nk changed their profile picture. | 15:24:43 |
| mkg20001 changed their profile picture. | 17:20:47 |
| 21 Sep 2025 |
| rocky ((λ💝.💝)💐) (she/they; ask before DM please) changed their display name from ((λ💝.💝)💐) (she/they; ask before DM please) to rocky ((λ💝.💝)💐) (she/they; ask before DM please). | 16:45:39 |
| 22 Sep 2025 |
| lillecarl changed their display name from LilleCarl (Salsa9) to lillecarl. | 10:36:51 |
| 23 Sep 2025 |
| sinan changed their profile picture. | 02:47:54 |
| Chris P Bacon joined the room. | 09:46:59 |
| kenji changed their display name from a-kenji to kenji. | 10:37:21 |
| @epk123:matrix.org left the room. | 20:08:04 |
| @freexploit:trafkin.com | 20:37:04 |
| @freexploit:trafkin.com | 20:37:30 |
| @freexploit:trafkin.com left the room. | 20:38:09 |
cdata | I ended up filing an issue. Thanks in advance if anyone here has any insights: https://github.com/nix-community/disko/issues/1133 | 20:53:54 |
cdata | * I ended up filing an issue with a minimal test case demonstrating the problem. Thanks in advance if anyone here has any insights: https://github.com/nix-community/disko/issues/1133 | 20:54:38 |
| 29 Sep 2025 |
| Pol joined the room. | 10:06:33 |
no-mood | Could you help me understand what the problem is with this config? I would like to have bcachefs with tiered storage between hdd and nvme, but after deploying with nixos-anywhere, the system won't boot.
{ inputs, ... }:
{
imports = [
inputs.disko.nixosModules.disko
];
# Enable bcachefs support in kernel
boot.supportedFilesystems = [ "bcachefs" ];
disko.devices = {
disk = {
# NVMe SSD - Fast tier for metadata and caching
nvme = {
type = "disk";
device = "/dev/disk/by-id/nvme-SAMSUNG_MZVLB256HAHQ-000H1_S425NX2M363531";
content = {
type = "gpt";
partitions = {
ESP = {
priority = 1;
name = "ESP";
size = "512M";
type = "EF00";
content = {
type = "filesystem";
format = "vfat";
mountpoint = "/boot";
mountOptions = [ "umask=0077" ];
};
};
# NVMe partition for bcachefs (fast tier)
main = {
size = "100%";
content = {
type = "bcachefs";
filesystem = "main_bcachefs";
label = "nvme.main";
extraFormatArgs = [ "--discard" ];
};
};
};
};
};
# HDD - Bulk storage tier
hdd = {
type = "disk";
device = "/dev/disk/by-id/ata-WDC_WD5000AAKX-60U6AA0_WD-WCC2EU003365";
content = {
type = "gpt";
partitions = {
# HDD partition for bcachefs (storage tier)
main = {
size = "100%";
content = {
type = "bcachefs";
filesystem = "main_bcachefs";
label = "hdd.backup";
};
};
};
};
};
};
bcachefs_filesystems = {
main_bcachefs = {
type = "bcachefs_filesystem";
extraFormatArgs = [
"--compression=zstd"
"--background_compression=zstd:15"
# Tiering configuration
"--background_target=hdd"
"--foreground_target=nvme"
"--promote_target=nvme"
"--metadata_target=nvme"
];
subvolumes = {
# Root filesystem - equivalent to @root
"@root" = {
mountpoint = "/";
mountOptions = [
"noatime"
];
};
# Nix store - equivalent to @nix
"@nix" = {
mountpoint = "/nix";
mountOptions = [
"noatime"
];
};
# Persistent data - equivalent to @persist
"@persist" = {
mountpoint = "/persist";
mountOptions = [
"noatime"
];
};
# Backups directory
"@backups" = {
mountpoint = "/var/backups";
mountOptions = [
"noatime"
];
};
};
};
};
};
}
| 11:56:03 |
lassulus | good question, what happens during boot? | 11:58:06 |