impermanence: split plaintext store to own file (this will bypass some recursion in the next patch)
This commit is contained in:
parent
d4bf491e9c
commit
e6ccd2e4f7
|
@ -6,12 +6,10 @@ in
|
|||
{
|
||||
imports = [
|
||||
./crypt.nix
|
||||
./plaintext.nix
|
||||
./private.nix
|
||||
];
|
||||
|
||||
config = lib.mkIf cfg.enable {
|
||||
sane.impermanence.stores."plaintext" = {
|
||||
mountpt = "/nix/persist";
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
9
modules/impermanence/stores/plaintext.nix
Normal file
9
modules/impermanence/stores/plaintext.nix
Normal file
|
@ -0,0 +1,9 @@
|
|||
{ config, lib, ... }:
|
||||
|
||||
let
|
||||
cfg = config.sane.impermanence;
|
||||
in lib.mkIf cfg.enable {
|
||||
sane.impermanence.stores."plaintext" = {
|
||||
mountpt = "/nix/persist";
|
||||
};
|
||||
}
|
Loading…
Reference in New Issue
Block a user