s0melapt0p-nix -> isla: rename

Signed-off-by: s0me1newithhand7s <git+me@hand7s.org>
This commit is contained in:
s0me1newithhand7s 2026-02-08 22:06:50 +03:00
parent aae7900229
commit c1445349f0
74 changed files with 107 additions and 101 deletions

47
isla/disko/disk.nix Normal file
View file

@ -0,0 +1,47 @@
{...}: {
disko = {
devices = {
disk = {
main = {
device = "/dev/disk/by-id/ata-ST92503010AS_5YH0CJFL";
type = "disk";
content = {
type = "gpt";
partitions = {
ESP = {
type = "EF00";
size = "1024M";
name = "boot";
content = {
type = "filesystem";
format = "vfat";
mountpoint = "/boot";
mountOptions = [
"fmask=0022"
"dmask=0022"
];
};
};
luks = {
size = "100%";
content = {
type = "luks";
name = "lvm-crypted";
settings = {
allowDiscards = true;
};
content = {
type = "lvm_pv";
vg = "pool";
};
};
};
};
};
};
};
};
};
}

57
isla/disko/lvm_vg.nix Normal file
View file

@ -0,0 +1,57 @@
{...}: {
disko = {
devices = {
lvm_vg = {
pool = {
type = "lvm_vg";
lvs = {
root = {
size = "100%";
content = {
type = "btrfs";
extraArgs = [
"-f"
];
subvolumes = {
"/root" = {
mountpoint = "/";
mountOptions = [
"compress=zstd"
"commit=100"
"max_inline=256"
"ssd_spread"
"noatime"
];
};
"/home" = {
mountpoint = "/home";
mountOptions = [
"compress=zstd"
"max_inline=256"
"commit=100"
"ssd_spread"
"noatime"
];
};
"/nix" = {
mountpoint = "/nix";
mountOptions = [
"compress=zstd"
"commit=100"
"max_inline=256"
"ssd_spread"
"noatime"
];
};
};
};
};
};
};
};
};
};
}