From 0cf9b85787ff4f7387f7a881989a91e2dda1d86e Mon Sep 17 00:00:00 2001 From: derfenix Date: Tue, 7 Jan 2025 22:15:08 +0300 Subject: [PATCH] flake: use enum for `mode` option --- flake.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/flake.nix b/flake.nix index 1080142..aba88f5 100644 --- a/flake.nix +++ b/flake.nix @@ -77,7 +77,7 @@ ''; }; mode = mkOption { - type = types.str; + type = types.enum [ "hardlink" "symlink" "move" "copy" ]; default = "hardlink"; description = '' Organization mode, one of [ hardlink symlink move copy ].