nixos/containers: Don't rm /etc/machine-id on activation
This commit is contained in:
parent
934e7afcb8
commit
a817c7e23a
@ -235,11 +235,6 @@ in
|
|||||||
};
|
};
|
||||||
|
|
||||||
system.activationScripts = {
|
system.activationScripts = {
|
||||||
# impermanence will throw a fit and bail the whole activation script if this already exists (the container
|
|
||||||
# start script pre-creates it for some reason)
|
|
||||||
clearMachineId.text = "rm -f /etc/machine-id";
|
|
||||||
createPersistentStorageDirs.deps = [ "clearMachineId" ];
|
|
||||||
|
|
||||||
# Ordinarily I think the Nix daemon does this but ofc it doesn't in the container
|
# Ordinarily I think the Nix daemon does this but ofc it doesn't in the container
|
||||||
createNixPerUserDirs = {
|
createNixPerUserDirs = {
|
||||||
text =
|
text =
|
||||||
|
Loading…
Reference in New Issue
Block a user