chore: create persistent mountpoints

This commit is contained in:
Nicole Dresselhaus 2025-06-11 09:22:08 +02:00
parent ac4240f56a
commit 254019c5ee
2 changed files with 71 additions and 1 deletions

View File

@ -14,8 +14,10 @@
size = "512M"; type = "EF00";
content = {
type = "filesystem";
format = "fat32";
format = "vfat";
extraArgs = [ "-F32" ];
mountpoint = "/boot";
mountpointCreate = true;
};
};
rpool = {
@ -37,16 +39,19 @@
root = {
type = "zfs_fs";
mountpoint = "/";
mountpointCreate = true;
options.compression = "zstd";
};
nix = {
type = "zfs_fs";
mountpoint = "/nix";
mountpointCreate = true;
options.compression = "zstd";
};
home = {
type = "zfs_fs";
mountpoint = "/home";
mountpointCreate = true;
options.compression = "zstd";
};
};
@ -58,6 +63,7 @@
datasets.media = {
type = "zfs_fs";
mountpoint = "/tank";
mountpointCreate = true;
options.compression = "zstd";
};
};

64
flake.lock generated Normal file
View File

@ -0,0 +1,64 @@
{
"nodes": {
"disko": {
"inputs": {
"nixpkgs": [
"nixpkgs"
]
},
"locked": {
"lastModified": 1749436314,
"narHash": "sha256-CqmqU5FRg5AadtIkxwu8ulDSOSoIisUMZRLlcED3Q5w=",
"owner": "nix-community",
"repo": "disko",
"rev": "dfa4d1b9c39c0342ef133795127a3af14598017a",
"type": "github"
},
"original": {
"owner": "nix-community",
"repo": "disko",
"type": "github"
}
},
"nixos-hardware": {
"locked": {
"lastModified": 1749195551,
"narHash": "sha256-W5GKQHgunda/OP9sbKENBZhMBDNu2QahoIPwnsF6CeM=",
"owner": "NixOS",
"repo": "nixos-hardware",
"rev": "4602f7e1d3f197b3cb540d5accf5669121629628",
"type": "github"
},
"original": {
"owner": "NixOS",
"repo": "nixos-hardware",
"type": "github"
}
},
"nixpkgs": {
"locked": {
"lastModified": 1749494155,
"narHash": "sha256-FG4DEYBpROupu758beabUk9lhrblSf5hnv84v1TLqMc=",
"owner": "NixOS",
"repo": "nixpkgs",
"rev": "88331c17ba434359491e8d5889cce872464052c2",
"type": "github"
},
"original": {
"owner": "NixOS",
"ref": "nixos-25.05",
"repo": "nixpkgs",
"type": "github"
}
},
"root": {
"inputs": {
"disko": "disko",
"nixos-hardware": "nixos-hardware",
"nixpkgs": "nixpkgs"
}
}
},
"root": "root",
"version": 7
}