Fix impermanence vm

This commit is contained in:
caem 2023-06-24 20:56:54 +02:00
parent a1c5c3b291
commit fb414ef491
9 changed files with 59 additions and 47 deletions

Binary file not shown.

View file

@ -0,0 +1,19 @@
{ impermanence, ... }:
{
imports = [
impermanence.nixosModules.impermanence
];
environment.persistence."/nix/persist/common" = {
directories = [
"/etc/ssh"
"/var/lib"
];
files = [
"/etc/machine-id"
"/etc/shadow"
];
};
}

View file

@ -0,0 +1,7 @@
{ ... }:
{
imports = [
./common.nix
];
}