add qs alias

This commit is contained in:
Damocles 2026-04-10 23:46:10 +02:00
parent d92a46035d
commit e5d32f231b
2 changed files with 15 additions and 7 deletions

View file

@ -47,13 +47,18 @@
packages = forAllSystems (
{ pkgs, ... }:
rec {
nova-shell = pkgs.callPackage ./nix/package.nix {
quickshell = quickshell.packages.${pkgs.stdenv.hostPlatform.system}.default.override {
withX11 = false;
withI3 = false;
};
let
qs = quickshell.packages.${pkgs.stdenv.hostPlatform.system}.default.override {
withX11 = false;
withI3 = false;
};
in
rec {
nova-shell = pkgs.callPackage ./nix/package.nix { quickshell = qs; };
nova-shell-cli = pkgs.runCommand "nova-shell-cli" { } ''
mkdir -p $out/bin
ln -s ${qs}/bin/quickshell $out/bin/nova-shell
'';
default = nova-shell;
}
);