TODO: test ephemeral root works as expected
This commit is contained in:
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user