add nova-plugin: in-process cxx-qt stats plugin replacing nova-stats subprocess
This commit is contained in:
parent
40cc681e9a
commit
e39d47177b
19 changed files with 1893 additions and 233 deletions
12
flake.nix
12
flake.nix
|
|
@ -74,12 +74,13 @@
|
|||
};
|
||||
nova-stats = pkgs.callPackage ./nix/stats-daemon.nix { };
|
||||
nova-shaders = pkgs.callPackage ./nix/shaders.nix { };
|
||||
nova-plugin = pkgs.callPackage ./nix/plugin.nix { };
|
||||
in
|
||||
rec {
|
||||
inherit nova-stats nova-shaders;
|
||||
inherit nova-stats nova-shaders nova-plugin;
|
||||
nova-shell = pkgs.callPackage ./nix/package.nix {
|
||||
quickshell = qs;
|
||||
inherit nova-stats nova-shaders;
|
||||
inherit nova-stats nova-shaders nova-plugin;
|
||||
};
|
||||
nova-shell-cli = pkgs.runCommand "nova-shell-cli" { nativeBuildInputs = [ pkgs.makeWrapper ]; } ''
|
||||
mkdir -p $out/bin
|
||||
|
|
@ -99,7 +100,7 @@
|
|||
cd $src
|
||||
export QML_IMPORT_PATH="${rawPkgs.qt6.qtdeclarative}/lib/qt-6/qml:${
|
||||
quickshell.packages.${pkgs.stdenv.hostPlatform.system}.default
|
||||
}/lib/qt-6/qml"
|
||||
}/lib/qt-6/qml:${self.packages.${pkgs.stdenv.hostPlatform.system}.nova-plugin}/lib/qt-6/qml"
|
||||
qmllint -E \
|
||||
-I shell/modules -I shell/services -I shell/applets -I shell/dock -I shell/lock \
|
||||
shell/shell.qml shell/modules/*.qml shell/services/*.qml \
|
||||
|
|
@ -126,6 +127,7 @@
|
|||
quickshell = qsUnpatched;
|
||||
nova-stats = rawPkgs.callPackage ./nix/stats-daemon.nix { };
|
||||
nova-shaders = rawPkgs.callPackage ./nix/shaders.nix { };
|
||||
nova-plugin = rawPkgs.callPackage ./nix/plugin.nix { };
|
||||
};
|
||||
}
|
||||
);
|
||||
|
|
@ -142,7 +144,10 @@
|
|||
rustfmt
|
||||
libnotify
|
||||
qt6.qtdeclarative
|
||||
qt6.qtbase
|
||||
pkg-config
|
||||
];
|
||||
QMAKE = "${rawPkgs.qt6.qtbase}/bin/qmake6";
|
||||
};
|
||||
}
|
||||
);
|
||||
|
|
@ -157,6 +162,7 @@
|
|||
formatting = treefmt-eval.config.build.check self;
|
||||
build = self.packages.${pkgs.stdenv.hostPlatform.system}.default;
|
||||
nova-stats = self.packages.${pkgs.stdenv.hostPlatform.system}.nova-stats;
|
||||
nova-plugin = self.packages.${pkgs.stdenv.hostPlatform.system}.nova-plugin;
|
||||
docs = self.packages.${pkgs.stdenv.hostPlatform.system}.docs;
|
||||
qmllint =
|
||||
let
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue