Disko tweaks to Qemu

This commit is contained in:
Bun 2025-03-24 04:07:35 -04:00
parent 85c8fbd88e
commit 0b8d1f4eaf

View file

@ -6,7 +6,7 @@
disk = {
"${config.networking.hostName}" = {
type = "disk";
device = "/dev/sda";
device = "/dev/vda";
content = {
type = "gpt";
partitions = {
@ -48,21 +48,21 @@
subvolumes = {
"/root" = {
mountpoint = "/";
mountOptions = [ "compress=zstd" "noatime" "ssd" ];
mountOptions = [ "compress=zstd" "noatime" ];
};
"/prev" = {
mountpoint = "/prev";
mountOptions = [ "compress=zstd" "noatime" "ssd" "noexec" ];
mountOptions = [ "compress=zstd" "noatime" "noexec" ];
};
"/nix" = {
mountpoint = "/nix";
mountOptions = [ "compress=zstd" "noatime" "ssd" ];
mountOptions = [ "compress=zstd" "noatime" ];
};
# Impermanence
"/persist" = {
mountpoint = "/persist";
mountOptions = [ "compress=zstd" "noatime" "ssd" ];
mountOptions = [ "compress=zstd" "noatime" ];
};
"/persist/.snapshots" = { };
"/persist/home" = { };