home: gdb: use 'mkPackageOption'

This commit is contained in:
Bruno BELANYI 2024-07-08 13:10:07 +00:00
parent dc90e14e60
commit f11cdb3675

View file

@ -9,14 +9,7 @@ in
rr = {
enable = my.mkDisableOption "rr configuration";
package = mkOption {
type = types.package;
default = pkgs.rr;
defaultText = literalExample "pkgs.rr";
description = ''
Package providing rr
'';
};
package = mkPackageOption pkgs "rr" { };
};
};