diff options
author | Mark Nipper <nipsy@bitgnome.net> | 2024-04-15 23:57:01 -0700 |
---|---|---|
committer | Mark Nipper <nipsy@bitgnome.net> | 2024-04-15 23:57:01 -0700 |
commit | ae7994f09eb10c6bb3a26cfbad9b9b6ec7ad9dde (patch) | |
tree | a82cd06ccdd8bd0803af4ecc41da03750f2c4a20 /hosts/richese/disks.nix | |
parent | 624c07e8680501a00b3edd45476a6380127aaad7 (diff) | |
download | nix-ae7994f09eb10c6bb3a26cfbad9b9b6ec7ad9dde.tar nix-ae7994f09eb10c6bb3a26cfbad9b9b6ec7ad9dde.tar.gz nix-ae7994f09eb10c6bb3a26cfbad9b9b6ec7ad9dde.tar.bz2 nix-ae7994f09eb10c6bb3a26cfbad9b9b6ec7ad9dde.tar.lz nix-ae7994f09eb10c6bb3a26cfbad9b9b6ec7ad9dde.tar.xz nix-ae7994f09eb10c6bb3a26cfbad9b9b6ec7ad9dde.tar.zst nix-ae7994f09eb10c6bb3a26cfbad9b9b6ec7ad9dde.zip |
Update disko installer and finalize VM configuration
Diffstat (limited to 'hosts/richese/disks.nix')
-rw-r--r-- | hosts/richese/disks.nix | 18 |
1 files changed, 14 insertions, 4 deletions
diff --git a/hosts/richese/disks.nix b/hosts/richese/disks.nix index 9f05d48..a0c8ed4 100644 --- a/hosts/richese/disks.nix +++ b/hosts/richese/disks.nix @@ -46,14 +46,15 @@ type = "zpool"; rootFsOptions = { acltype = "posixacl"; + canmount = "off"; + compression = "on"; dnodesize = "auto"; - xattr = "sa"; - relatime = "on"; - normalization = "formD"; encryption = "aes-256-gcm"; keyformat = "passphrase"; keylocation = "file:///tmp/data.keyfile"; - compression = "on"; + normalization = "formD"; + relatime = "on"; + xattr = "sa"; }; postCreateHook = '' zfs set keylocation="prompt" rpool @@ -63,6 +64,10 @@ #autotrim = "on"; }; datasets = { + "local" = { + type = "zfs_fs"; + options.mountpoint = "none"; + }; "local/root" = { type = "zfs_fs"; options.mountpoint = "legacy"; @@ -76,6 +81,11 @@ }; mountpoint = "/nix"; }; + "user" = { + type = "zfs_fs"; + options.mountpoint = "none"; + mountpoint = "/home"; + }; "user/home" = { type = "zfs_fs"; options.mountpoint = "legacy"; |