mirror of
https://github.com/derfenix/photocatalog.git
synced 2026-03-11 21:35:34 +03:00
flake: use enum for mode option
This commit is contained in:
@@ -77,7 +77,7 @@
|
|||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
mode = mkOption {
|
mode = mkOption {
|
||||||
type = types.str;
|
type = types.enum [ "hardlink" "symlink" "move" "copy" ];
|
||||||
default = "hardlink";
|
default = "hardlink";
|
||||||
description = ''
|
description = ''
|
||||||
Organization mode, one of [ hardlink symlink move copy ].
|
Organization mode, one of [ hardlink symlink move copy ].
|
||||||
|
|||||||
Reference in New Issue
Block a user