]> Repositories - machines.git/blob - monsoon/disko.nix
Update flake
[machines.git] / monsoon / disko.nix
1 let
2         device = "/dev/nvme0n1";
3 in {
4         disko.devices.disk.${device} = {
5                 inherit device;
6
7                 content = {
8                         type = "gpt";
9
10                         partitions = {
11                                 "boot" = {
12                                         type = "ef00";
13                                         size = "2G";
14
15                                         content = {
16                                                 type = "filesystem";
17                                                 format = "vfat";
18                                                 mountpoint = "/boot";
19                                                 mountOptions = [ "umask=77" ];
20                                         };
21                                 };
22
23                                 "root".content = {
24                                         type = "filesystem";
25                                         format = "ext4";
26                                         mountpoint = "/";
27                                 };
28                         };
29                 };
30         };
31 }