TODO: test ephemeral root works as expected

This commit is contained in:
2025-04-27 16:05:18 -05:00
parent 3e792a7361
commit 2d53e81605
2 changed files with 16 additions and 11 deletions
+5
View File
@@ -89,6 +89,11 @@ in
];
};
# Rollback root on reboot
boot.initrd.postDeviceCommands = lib.mkAfter ''
zfs rollback -r zpool/local/root@blank
'';
networking.hostName = meta.hostname;
networking.hostId = meta.hostId;