35 lines
940 B
Nix
35 lines
940 B
Nix
{
|
|
inputs = {
|
|
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
|
|
|
|
wand.url = "git+ssh://git@git.wizbos.club/wizbos-pub/wand-front-utils.git";
|
|
wand.inputs.nixpkgs.follows = "nixpkgs";
|
|
|
|
utils.url = "github:numtide/flake-utils";
|
|
|
|
flake-compat = {
|
|
url = "github:edolstra/flake-compat";
|
|
flake = false;
|
|
};
|
|
};
|
|
|
|
outputs = { self, nixpkgs, utils, wand, ... }:
|
|
utils.lib.eachDefaultSystem (system:
|
|
let
|
|
pkgs = import nixpkgs { inherit system; };
|
|
in
|
|
{
|
|
packages.gen2space = wand.lib.${system}.mkWandardFront {
|
|
src = ./.;
|
|
name = "gen2.space";
|
|
description = "notgne2's shitty pages";
|
|
backgroundColor = "#220044";
|
|
themeColor = "#004400";
|
|
routes =
|
|
[ "/" "/about" "/404" "/posts" "/posts/viveahk" "/posts/librebasics" ];
|
|
};
|
|
|
|
defaultPackage = self.packages.${system}.gen2space;
|
|
});
|
|
}
|