This commit is contained in:
Your Name 2024-11-19 22:09:04 +00:00
parent 798031b8e9
commit 2af0a820ee
3 changed files with 48 additions and 21 deletions

42
systems/omoikane/disk.nix Normal file
View file

@ -0,0 +1,42 @@
{...}:
{
disko.devices = {
disk = {
main = {
device = "/dev/nvme0n1";
type = "disk";
content = {
type = "gpt";
partitions = {
ESP = {
end = "500M";
type = "EF00";
content = {
type = "filesystem";
format = "vfat";
mountpoint = "/boot";
mountOptions = [ "umask=0077" ];
};
};
root = {
name = "root";
end = "-0";
content = {
type = "luks";
name = "crypto";
settings = {
allowDiscards = true;
};
content = {
type = "filesystem";
format = "bcachefs";
mountpoint = "/";
};
};
};
};
};
};
};
};
}