refactor(gyroflow): move package to module

This commit is contained in:
514fpv 2024-03-18 09:38:16 +08:00
parent 1ec95fe714
commit 6707ee74fd
Signed by: koishi
SSH key fingerprint: SHA256:axz0uIzzY+5W19i7QOUuiw5LSqhKfCBKPf3L4xFRxLw
2 changed files with 8 additions and 3 deletions

View file

@ -6,6 +6,13 @@
in {
options.home.gyroflow = {
enable = mkEnableOption "gyroflow stabilisation software";
package = mkOption {
type = with types; package;
default = pkgs.gyroflow.overrideAttrs (finalAttrs: previousAttrs: {
buildInputs = previousAttrs.buildInputs ++ [ pkgs.qt6Packages.qtwayland ];
});
description = "gyroflow package";
};
};
config = {