all repos

dotfiles @ 7a287b169a6d9ade0a256b87f0393cece0d6d573

i use rach linux btw

dotfiles/nix/hosts/thought/disko-config.nix (view raw)

Oleksandr Smirnov Oleksandr Smirnov
olexsmir@gmail.com
nix, 1 month ago
1
{ lib, ... }: {
2
  disko.devices = {
3
    disk.disk1 = {
4
      device = lib.mkDefault "/dev/sda";
5
      type = "disk";
6
      content = {
7
        type = "gpt";
8
        partitions = {
9
          esp = {
10
            name = "ESP";
11
            size = "500M";
12
            type = "EF00";
13
            content = {
14
              type = "filesystem";
15
              format = "vfat";
16
              mountpoint = "/boot";
17
            };
18
          };
19
          root = {
20
            name = "root";
21
            size = "100%";
22
            content = {
23
              type = "filesystem";
24
              format = "ext4";
25
              mountpoint = "/";
26
              mountOptions = [ "defaults" ];
27
            };
28
          };
29
        };
30
      };
31
    };
32
  };
33
}