Skip to content

Commit

Permalink
flake: use enum for mode option
Browse files Browse the repository at this point in the history
  • Loading branch information
derfenix committed Jan 7, 2025
1 parent a56c582 commit 0cf9b85
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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 ].
Expand Down

0 comments on commit 0cf9b85

Please sign in to comment.