!oNSIfazDqEcwhcOjSL:matrix.org

disko

367 Members
disko - declarative disk partitioning - https://github.com/nix-community/disko94 Servers

Load older messages


SenderMessageTime
9 Jan 2024
@matthewcroughan:defenestrate.itmatthewcroughan changed their display name from matthewcroughan - Linux 6.7 When to matthewcroughan.08:36:25
14 Jan 2024
@guanran928:mozilla.org@guanran928:mozilla.org removed their profile picture.02:56:14
27 Jan 2024
@lehmanator:gnulinux.club@lehmanator:gnulinux.club removed their profile picture.16:57:46
@lehmanator:gnulinux.club@lehmanator:gnulinux.club removed their display name Sam Lehman.17:01:18
@lehmanator:gnulinux.club@lehmanator:gnulinux.club left the room.17:06:16
@bumperboat:matrix.orgbumperboatim running the --vm-test with nixos-anywhere on a nixosConfiguration that has a luks device. it seems like it creates it with the 'secretsecret' key. looking at the tests - it seems like its waiting for the text 'vda' to send the password on reboot. but the device is part of a lvm, so its not vda, its disk-disk1-luks . at least this is why I think it's timing out. anyone know more?23:11:18
29 Jan 2024
@lehmanator:tchncs.deSam Lehman joined the room.11:03:00
@lehmanator:tchncs.deSam Lehman set a profile picture.11:06:03
@hxr404:tchncs.dehxr404 ✨ [it/she] joined the room.19:29:55
31 Jan 2024
@guanran928:mozilla.org@guanran928:mozilla.org changed their display name from Charles He to 茅藛漏氓鈥β济┞ヂ┞惻该解€∶ぢ尖€撁┧喡δ兤捖︹€♀€犆ヂ姑€ε撁р€犅┞惻改冣€灺γβ澛ζ掆€犆р€毬β氣€澝┞幝矫偮懊р€犅┞徛伱€ε该ヂ徛疵┞幝该娐趁ヂ徛徝.01:01:21
@guanran928:mozilla.org@guanran928:mozilla.org changed their display name from 茅藛漏氓鈥β济┞ヂ┞惻该解€∶ぢ尖€撁┧喡δ兤捖︹€♀€犆ヂ姑€ε撁р€犅┞惻改冣€灺γβ澛ζ掆€犆р€毬β氣€澝┞幝矫偮懊р€犅┞徛伱€ε该ヂ徛疵┞幝该娐趁ヂ徛徝 to Charles He.01:09:44
@federicodschonborn:matrix.org@federicodschonborn:matrix.org changed their profile picture.03:36:21
@federicodschonborn:matrix.org@federicodschonborn:matrix.org changed their profile picture.06:21:57
2 Feb 2024
@waterturkey:matrix.orgwaterturkey joined the room.21:35:09
@lily:lily.flowersLily Foster joined the room.21:37:46
@waterturkey:matrix.orgwaterturkey Hi Lily Foster - is it possible to set up native btrfs raid1 with disko? It seems like a few people have been asking about it on the github, but I haven't been able to confirm if it is available. 21:51:56
@waterturkey:matrix.orgwaterturkeyAlso, sorry to ping you if you aren't the right person to ask!21:52:15
@lily:lily.flowersLily Foster
In reply to @waterturkey:matrix.org
Hi Lily Foster - is it possible to set up native btrfs raid1 with disko? It seems like a few people have been asking about it on the github, but I haven't been able to confirm if it is available.
no worries! i don't think it's currently possible with disko, unfortunately
22:49:35
@waterturkey:matrix.orgwaterturkey
In reply to @lily:lily.flowers
no worries! i don't think it's currently possible with disko, unfortunately
That's what I was thinking. Do you think it would work if I pre-formated the btrfs raid1 and then added the /dev/sda as a subvolume mountpoint in disko?
22:55:48
@waterturkey:matrix.orgwaterturkeyJust trying to think of a workaround22:56:27
3 Feb 2024
@waterturkey:matrix.orgwaterturkey
In reply to @waterturkey:matrix.org
Just trying to think of a workaround
I've just tried it on a VM and it didn't work. Guess I'll do it the old fashioned way.
00:43:32
@guanran928:mozilla.org@guanran928:mozilla.org changed their display name from Charles He to Charles He |moved -> @lime:catgirl.cloud.07:17:55
@guanran928:mozilla.org@guanran928:mozilla.org changed their display name from Charles He |moved -> @lime:catgirl.cloud to Charles He | moved -> @lime:catgirl.cloud.07:32:29
@networkexception:chat.upi.linetworkException (moving to @networkexception:nwex.de) changed their profile picture.11:45:31
@tim92:matrix.orgtim joined the room.14:17:28
@dave:tiredofit.ca@dave:tiredofit.caBTRFS Raid 1 will work with Disko May I suggest if it is giving you problems set up your subvolumes on your second disk instead of the first. Otherwise I ha r a fre examples of it here: https://github.com/tiredofit/nixos-config/tree/main/templates/disko 23:34:20
@dave:tiredofit.ca@dave:tiredofit.ca* BTRFS Raid 1 will work with Disko May I suggest if it is giving you problems set up your subvolumes on your second disk instead of the first. Otherwise I have a few examples of it here: https://github.com/tiredofit/nixos-config/tree/main/templates/disko 23:34:34
4 Feb 2024
@waterturkey:matrix.orgwaterturkey
In reply to @dave:tiredofit.ca
BTRFS Raid 1 will work with Disko May I suggest if it is giving you problems set up your subvolumes on your second disk instead of the first. Otherwise I have a few examples of it here: https://github.com/tiredofit/nixos-config/tree/main/templates/disko
Thanks! This is exactly what I was looking for.
09:38:17
11 Feb 2024
@guanran928:mozilla.org@guanran928:mozilla.org changed their display name from Charles He | moved -> @lime:catgirl.cloud to Charles He.07:16:05
@eyjhb:eyjhb.dkeyJhb
{ lib, ... }:

{
  disko.devices = {
    disk.disk1 = {
      type = "disk";
      device = lib.mkDefault "/dev/sda";
      content = {
        type = "gpt";
        partitions = {
          boot = {
            name = "boot";
            size = "1M";
            type = "EF02";
          };
          esp = {
            name = "ESP";
            size = "500M";
            type = "EF00";
            content = {
              type = "filesystem";
              format = "vfat";
              mountpoint = "/boot";
            };
          };
          zfs = {
            size = "100%";
            content = {
              type = "zfs";
              pool = "zpool";
            };
          };
        };
      };
    };
    zpool = {
      rpool = {
        type = "zpool";
        # mode = "mirror";
        rootFsOptions.compression = "zstd";
        # rootFsOptions."com.sun:auto-snapshot" = "false";

        datasets = {
          "root" = {
            type = "zfs_fs";
            mountpoint = "/";
            options.mountpoint = "legacy";
            postCreateHook = "zfs snapshot rpool/root@blank";
          };
          "local/nix" = {
            type = "zfs_fs";
            mountpoint = "/nix";
            options.mountpoint = "legacy";
          };
          "local/stash" = {
            type = "zfs_fs";
            mountpoint = "/state/stash";
            options.mountpoint = "legacy";
          };

          # safe 
          "safe/home" = {
            type = "zfs_fs";
            mountpoint = "/state/home";
            options.mountpoint = "legacy";
          };
          "safe/persistent" = {
            type = "zfs_fs";
            mountpoint = "/state/root";
            options.mountpoint = "legacy";
          };
        };
      };
    };
  };
}


11:59:25

Show newer messages


Back to Room ListRoom Version: 10