refactor: some nix code cleanups

This commit is contained in:
matt1432 2025-01-06 14:41:55 -05:00
parent df9a370408
commit 82c8cb4b1f
24 changed files with 392 additions and 715 deletions
modules/borgbackup

View file

@ -31,7 +31,7 @@ in {
default = null;
};
dumpCommand = mkOption {
type = with types; nullOr path;
type = types.nullOr types.path;
default = null;
};
repo = mkOption {
@ -104,7 +104,7 @@ in {
default = [];
};
readWritePaths = mkOption {
type = with types; listOf path;
type = types.listOf types.path;
default = [];
};
privateTmp = mkOption {