impermanence: split plaintext store to own file (this will bypass some recursion in the next patch)

This commit is contained in:
colin 2023-01-03 08:02:03 +00:00
parent d4bf491e9c
commit e6ccd2e4f7
2 changed files with 10 additions and 3 deletions

View File

@ -6,12 +6,10 @@ in
{
imports = [
./crypt.nix
./plaintext.nix
./private.nix
];
config = lib.mkIf cfg.enable {
sane.impermanence.stores."plaintext" = {
mountpt = "/nix/persist";
};
};
}

View File

@ -0,0 +1,9 @@
{ config, lib, ... }:
let
cfg = config.sane.impermanence;
in lib.mkIf cfg.enable {
sane.impermanence.stores."plaintext" = {
mountpt = "/nix/persist";
};
}