]> Repositories - machines.git/blob - levanter/disko.nix
Configure gitweb and git-http-backend
[machines.git] / levanter / disko.nix
1 { device, ... }: {
2         disko.devices.disk.${device} = {
3                 inherit device;
4
5                 content = {
6                         type = "gpt";
7
8                         partitions = {
9                                 "boot" = {
10                                         type = "ef02";
11                                         size = "1M";
12                                 };
13
14                                 "root".content = {
15                                         type = "filesystem";
16                                         format = "ext4";
17                                         mountpoint = "/";
18                                 };
19                         };
20                 };
21         };
22 }