Compare commits

...
2 Commits
Author SHA1 Message Date
kurogeek 8945a11073 mob next [ci-skip] [ci skip] [skip ci]
lastFile:machines/buna/disko.nix
2026-08-19 10:33:22 +07:00
kurogeek 0385f3ecf9 inventory.json: update install time of buna 2026-08-19 10:28:41 +07:00
2 changed files with 16 additions and 52 deletions
+1 -1
View File
@@ -19,7 +19,7 @@
"installedAt": 1765277591 "installedAt": 1765277591
}, },
"buna": { "buna": {
"installedAt": 1765343708 "installedAt": 1787110120
}, },
"rana": { "rana": {
"installedAt": 1773134236 "installedAt": 1773134236
+15 -51
View File
@@ -14,8 +14,6 @@ in
}; };
}; };
boot.zfs.forceImportRoot = true;
disko.devices = { disko.devices = {
disk = { disk = {
"os-${hashDisk os}" = { "os-${hashDisk os}" = {
@@ -25,65 +23,31 @@ in
type = "gpt"; type = "gpt";
partitions = { partitions = {
ESP = { ESP = {
size = "1G"; end = "500M";
type = "EF00"; type = "EF00";
content = { content = {
type = "filesystem"; type = "filesystem";
format = "vfat"; format = "vfat";
mountpoint = "/boot"; mountpoint = "/boot";
mountOptions = [ "nofail" ]; mountOptions = [ "umask=0077" ];
}; };
}; };
system = { root = {
size = "100%"; name = "root";
end = "-0";
content = { content = {
type = "zfs"; type = "filesystem";
pool = "zroot"; format = "f2fs";
mountpoint = "/";
extraArgs = [
"-O"
"extra_attr,inode_checksum,sb_checksum,compression"
];
mountOptions = [
"compress_algorithm=zstd:6,compress_chksum,atgc,gc_merge,lazytime,nodiscard"
];
}; };
}; };
swap = {
size = "4G";
content = {
type = "swap";
};
};
};
};
};
};
zpool = {
zroot = {
type = "zpool";
rootFsOptions = {
mountpoint = "none";
compression = "lz4";
acltype = "posixacl";
xattr = "sa";
"com.sun:auto-snapshot" = "true";
};
options.ashift = "12";
datasets = {
"root" = {
type = "zfs_fs";
options.mountpoint = "none";
};
"root/nixos" = {
type = "zfs_fs";
options.mountpoint = "/";
mountpoint = "/";
};
"root/home" = {
type = "zfs_fs";
options.mountpoint = "/home";
mountpoint = "/home";
};
"root/tmp" = {
type = "zfs_fs";
mountpoint = "/tmp";
options = {
mountpoint = "/tmp";
sync = "disabled";
};
}; };
}; };
}; };