(untested) config for stinky and diff script.
This commit is contained in:
14
common/global/impermanence-options.nix
Normal file
14
common/global/impermanence-options.nix
Normal file
@@ -0,0 +1,14 @@
|
||||
{
|
||||
lib,
|
||||
...
|
||||
}:
|
||||
{
|
||||
# Define impermanence options that need to be available to all modules
|
||||
# The actual impermanence implementation is in common/impermanence.nix or common/impermanence-tmpfs.nix
|
||||
|
||||
options.custom.impermanence.persistPath = lib.mkOption {
|
||||
type = lib.types.str;
|
||||
default = "/persist";
|
||||
description = "Path where persistent data is stored (e.g., /persist for btrfs, /nix/persist for tmpfs)";
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user