nix packaging

Still requires manual addition of modules and tweaking pagefind.
This commit is contained in:
outfoxxed 2024-09-28 02:26:13 -07:00
parent ffdbd0e614
commit a787497feb
Signed by: outfoxxed
GPG key ID: 4C88A185FB89301E
5 changed files with 147 additions and 9 deletions

16
flake.nix Normal file
View file

@ -0,0 +1,16 @@
{
inputs = {
nixpkgs.url = "nixpkgs/nixos-unstable";
};
outputs = { self, nixpkgs }: let
forEachSystem = fn: nixpkgs.lib.genAttrs
[ "x86_64-linux" "aarch64-linux" ]
(system: fn system nixpkgs.legacyPackages.${system});
in {
packages = forEachSystem (system: pkgs: rec {
quickshell-web = pkgs.callPackage ./default.nix {};
default = quickshell-web;
});
};
}