chore: simplify flake

This commit is contained in:
Nydragon 2024-08-24 21:28:39 +02:00
parent f4f3b0714a
commit 34f99e0165
Signed by: nydragon
SSH key fingerprint: SHA256:iQnIC12spf4QjWSbarmkD2No1cLMlu6TWoV7K6cYF5g

View file

@ -12,27 +12,18 @@
};
outputs =
{
nixpkgs,
utils,
quickshell,
...
}:
{ nixpkgs, utils, ... }@inputs:
utils.lib.eachDefaultSystem (
system:
let
pkgs = nixpkgs.legacyPackages.${system};
quickshell = inputs.quickshell.packages.${system}.default;
in
{
devShell = pkgs.mkShell {
buildInputs = [
quickshell.packages.${system}.default
pkgs.kdePackages.qtdeclarative
];
};
devShell = pkgs.mkShell { buildInputs = [ quickshell ]; };
defaultPackage = import ./nix/package.nix {
inherit (pkgs) stdenv;
quickshell = quickshell.packages.${system}.default;
inherit quickshell;
};
}
);