nix-community / impermanence

Modules to help you handle persistent state on systems with ephemeral root storage [maintainer=@talyz]
MIT License
1.16k stars 86 forks source link

impermanence doesn't work with `qemu-vm.nix built systems. #50

Closed tomprince closed 2 years ago

tomprince commented 3 years ago

I'm using nixos testing machinery to setup several nixos VMs for ad-hoc testing of a distributed service. I want to persist some state between run (in particular ssh host keys and tailscale configuration). I tried using impermanence, but it looks like it doesn't work, since qemu-vm.nix overrides config.fileSystems set by impermanence.

talyz commented 3 years ago

Yeah, that's correct. I don't think there's much we can do about it here, though. It sounds like an issue to raise in nixpkgs.