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 = outputs =
{ { nixpkgs, utils, ... }@inputs:
nixpkgs,
utils,
quickshell,
...
}:
utils.lib.eachDefaultSystem ( utils.lib.eachDefaultSystem (
system: system:
let let
pkgs = nixpkgs.legacyPackages.${system}; pkgs = nixpkgs.legacyPackages.${system};
quickshell = inputs.quickshell.packages.${system}.default;
in in
{ {
devShell = pkgs.mkShell { devShell = pkgs.mkShell { buildInputs = [ quickshell ]; };
buildInputs = [
quickshell.packages.${system}.default
pkgs.kdePackages.qtdeclarative
];
};
defaultPackage = import ./nix/package.nix { defaultPackage = import ./nix/package.nix {
inherit (pkgs) stdenv; inherit (pkgs) stdenv;
quickshell = quickshell.packages.${system}.default; inherit quickshell;
}; };
} }
); );