refactor: expose persistence dir as part of inputs
This commit is contained in:
parent
9a6c9bf84c
commit
261d239597
@ -16,10 +16,11 @@
|
||||
outputs = inputs @ { self, nixpkgs, impermanence, agenix, ... }:
|
||||
let
|
||||
inputs.secrets = ./secrets;
|
||||
inputs.persist-dir = "/nix/persist";
|
||||
defaults = {
|
||||
config = {
|
||||
environment.persistence = {
|
||||
"/nix/persist" = {
|
||||
"${inputs.persist-dir}" = {
|
||||
hideMounts = true;
|
||||
directories = [
|
||||
"/var/lib"
|
||||
|
Loading…
Reference in New Issue
Block a user