!oNSIfazDqEcwhcOjSL:matrix.org

disko

349 Members
disko - declarative disk partitioning - https://github.com/nix-community/disko87 Servers

Load older messages


SenderMessageTime
21 Nov 2025
@disco_stick:matrix.orgredesign your logo changed their display name from Juggalo Championship Wrestling to 9PM (Till I Come).05:51:13
@disco_stick:matrix.orgredesign your logo changed their display name from 9PM (Till I Come) to Juggalo Championship Wrestling.06:21:38
@lunagl:envs.netluna I see, so how would I apply a disko config from a flakes diskoConfigurations to my nixos config? 17:33:51
22 Nov 2025
@blimbus:matrix.orgblimbusYou just import the disko configuration in your main system config, so if your flake outputs diskoConfigurations.my-pc you can import self.diskoConfigurations.my-pc in your system config and it will apply the config.01:31:14
@blimbus:matrix.orgblimbus* You just import the disko configuration in your main system config, so if your flake outputs diskoConfigurations.my-pc you can import self.diskoConfigurations.my-pc in your system config and it will apply the config. You can also of course import it into other flakes.01:31:47
@blimbus:matrix.orgblimbus * You just import the disko configuration in your main system config, so if your flake outputs diskoConfigurations.my-pc you can import self.diskoConfigurations.my-pc in your system config and it will apply the config. You can also of course import it into other flakes. 01:35:53
@neochaotics:matrix.orgDoopa joined the room.05:35:35
@cameronraysmith:matrix.orgcameronraysmith joined the room.14:58:31
23 Nov 2025
@spewdins:beeper.comspewdinsHi friends15:39:03
@spewdins:beeper.comspewdinsI’m struggling to find a use case for disko15:39:12
@spewdins:beeper.comspewdinsWhat are some of the most common use cases?15:39:21
@spewdins:beeper.comspewdinsAnd, does it only ever make sense for a computer you know the hardware for? For example, a config for one specific mini pc which will be the same disks always, or vs a config for several different devices on a home network15:40:20
@d:metropolis.nexusdave :3 set a profile picture.16:52:42
@nagasaki:matrix.pyxiss.deNagasakiMy best use case is in virtualisation. Like declaring how big your disk in a virtual machine is.20:21:16
@spewdins:beeper.comspewdinsooo that’s a really good use case…20:21:43
@debtquity:matrix.orgdebtquity

can disko be used to re-configure partitions?

currently, system is setup like this:

NAME          MOUNTPOINT LABEL      SIZE
sda                               223.6G
├─sda1                                1M
├─sda2        /boot                 500M
└─sda3                            223.1G
  ├─pool-app  /app                   10G
  └─pool-root /                   213.1G
sdb                                28.9G
├─sdb1                   FIRMWARE    30M
└─sdb2                   NIXOS_SD  28.9G

But really, I want to move the FIRMWARE labeled partition on sdb to sda

23:58:16
25 Nov 2025
@sylvie:karp.lolSylvie (They/She) 🏳️‍⚧️ changed their display name from Sylvie (any) 🏳️‍⚧️ to Sylvie (They/She) 🏳️‍⚧️.15:49:18
@steeringwheelrules:tchncs.de@steeringwheelrules:tchncs.de left the room.18:12:22
@disco_stick:matrix.orgredesign your logo changed their display name from Juggalo Championship Wrestling to redesign your logo.19:51:37
28 Nov 2025
@mou_bugtracker:matrix.orgmou joined the room.18:22:34
29 Nov 2025
@not-jack:matrix.orgnot-jack joined the room.18:37:29
30 Nov 2025
@not-jack:matrix.orgnot-jack

whats the advantage to having both boot and an ESP partitions?

          partitions = {
            boot = {
              size = "1M";
              type = "EF02"; # for grub MBR
            };
            ESP = {
              size = "1G";
              type = "EF00";
              content = {
                type = "filesystem";
                format = "vfat";
                mountpoint = "/boot";
                mountOptions = [ "umask=0077" ];
              };
            };
13:39:39
@not-jack:matrix.orgnot-jack *

whats the advantage to having both boot and an ESP partitions?

          partitions = {
            boot = {
              size = "1M";
              type = "EF02"; # for grub MBR
            };
            ESP = {
              size = "1G";
              type = "EF00";
              content = {
                type = "filesystem";
                format = "vfat";
                mountpoint = "/boot";
                mountOptions = [ "umask=0077" ];
              };
            };
13:39:49
@not-jack:matrix.orgnot-jack what does the boot partition do here? 13:44:42
@hexa:lossy.networkhexathat's called hybrid14:04:27
@hexa:lossy.networkhexaif you don't care or the thing needs to be portable14:04:36
@not-jack:matrix.orgnot-jackso i can get rid of it?14:05:47
@mou_bugtracker:matrix.orgmou

I'm using systemd-boot (no grub) with UEFI, and for this it is enought to have single /boot with ESP like this

          type = "gpt";
          partitions = {
            ESP = {
              type = "EF00";
              size = "2G";
              content = {
                type = "filesystem";
                format = "vfat";
                mountpoint = "/boot";
              };
            };
14:08:25
@mou_bugtracker:matrix.orgmoubut your config mentioned MBR in comments, so it might be different situation for you14:09:13
@not-jack:matrix.orgnot-jackthis is the default config for single disk ext414:10:19

Show newer messages


Back to Room ListRoom Version: 10