diff --git a/hosts/nixos/common/global/persistence.nix b/hosts/nixos/common/global/persistence.nix index 638199d..ffcd441 100644 --- a/hosts/nixos/common/global/persistence.nix +++ b/hosts/nixos/common/global/persistence.nix @@ -1,5 +1 @@ -{ - environment.persistence."/persist/state".files = [ - "/etc/machine-id" - ]; -} +{ } diff --git a/hosts/nixos/lapetus/default.nix b/hosts/nixos/lapetus/default.nix index 5bafc5b..4186fa0 100644 --- a/hosts/nixos/lapetus/default.nix +++ b/hosts/nixos/lapetus/default.nix @@ -21,6 +21,9 @@ in # ID required by zfs. networking.hostId = "08357db3"; + # Set machine id for log continuity + environment.etc.machine-id.text = "d9571439c8a34e34b89727b73bad3587"; + # https://nixos.wiki/wiki/FAQ/When_do_I_update_stateVersion system.stateVersion = "23.05"; diff --git a/hosts/nixos/tethys/default.nix b/hosts/nixos/tethys/default.nix index d9c49ab..037b301 100644 --- a/hosts/nixos/tethys/default.nix +++ b/hosts/nixos/tethys/default.nix @@ -21,6 +21,9 @@ # Set the name of this machine! networking.hostName = "tethys"; + # Set machine id for log continuity + environment.etc.machine-id.text = "08357db3540c4cd2b76d4bb7f825ec88"; + # https://nixos.wiki/wiki/FAQ/When_do_I_update_stateVersion system.stateVersion = "22.11";