nysh/flake.nix
2024-08-24 21:28:39 +02:00

30 lines
750 B
Nix

{
description = "A very basic flake";
inputs = {
nixpkgs.url = "github:nixos/nixpkgs?ref=nixos-unstable";
utils.url = "github:numtide/flake-utils";
quickshell = {
url = "git+https://git.outfoxxed.me/outfoxxed/quickshell";
inputs.nixpkgs.follows = "nixpkgs";
};
};
outputs =
{ nixpkgs, utils, ... }@inputs:
utils.lib.eachDefaultSystem (
system:
let
pkgs = nixpkgs.legacyPackages.${system};
quickshell = inputs.quickshell.packages.${system}.default;
in
{
devShell = pkgs.mkShell { buildInputs = [ quickshell ]; };
defaultPackage = import ./nix/package.nix {
inherit (pkgs) stdenv;
inherit quickshell;
};
}
);
}