This commit is contained in:
2026-03-09 10:50:12 +03:00
commit f1a81a6408
119 changed files with 8378 additions and 0 deletions
+27
View File
@@ -0,0 +1,27 @@
{ xlib, ... }:
{
disko.devices = {
disk = {
"${xlib.device.hostname}" = {
device = "/dev/nvme0n1p4";
type = "disk";
content = {
type = "gpt";
partitions = {
root = {
size = "100%";
content = {
type = "filesystem";
format = "ext4";
mountpoint = "/";
extraArgs = [
"-L ${xlib.device.hostname}" # Filesystem label
];
};
};
};
};
};
};
};
}
+43
View File
@@ -0,0 +1,43 @@
{ xlib, ... }:
{
disko.devices = {
disk = {
"${xlib.device.hostname}" = {
device = "/dev/sda";
type = "disk";
content = {
type = "gpt";
partitions = {
ESP = {
size = "500M";
type = "EF00";
content = {
type = "filesystem";
format = "vfat";
mountpoint = "/boot";
mountOptions = [ "umask=0077" ];
};
};
root = {
size = "100%";
content = {
type = "filesystem";
format = "ext4";
mountpoint = "/";
# extraArgs = [
# "-L ${xlib.device.hostname}" # Filesystem label
# ];
};
};
swap = {
size = "2048M";
content = {
type = "swap";
};
};
};
};
};
};
};
}
+39
View File
@@ -0,0 +1,39 @@
{
disko.devices = {
disk = {
main = {
device = "/dev/mmcblk0";
type = "disk";
content = {
type = "gpt";
partitions = {
ESP = {
type = "EF00";
size = "512M";
content = {
type = "filesystem";
format = "vfat";
mountpoint = "/boot";
mountOptions = [ "umask=0077" ];
};
};
swap = {
size = "2G";
content = {
type = "swap";
};
};
root = {
size = "100%";
content = {
type = "filesystem";
format = "ext4";
mountpoint = "/";
};
};
};
};
};
};
};
}
+33
View File
@@ -0,0 +1,33 @@
{
disko.devices = {
disk = {
main = {
device = "/dev/vda";
type = "disk";
content = {
type = "gpt";
partitions = {
boot = {
type = "EF02";
size = "1M";
};
root = {
size = "100%";
content = {
type = "filesystem";
format = "ext4";
mountpoint = "/";
};
};
swap = {
size = "1G";
content = {
type = "swap";
};
};
};
};
};
};
};
}