blood.pet/flake.nix
noe 095b1ade09
All checks were successful
ci/woodpecker/push/build-deploy Pipeline was successful
ci!!
2025-05-14 00:18:25 -07:00

36 lines
No EOL
1 KiB
Nix

{
description = "https://noe.sh";
inputs = {
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
flake-parts.url = "github:hercules-ci/flake-parts";
teapot.url = "git+https://git.sapphic.engineer/noe/teapot";
};
outputs = inputs: inputs.flake-parts.lib.mkFlake { inherit inputs; } {
systems = [ "x86_64-linux" "aarch64-linux" ];
perSystem = { config, self', pkgs, lib, system, ... }: let
in rec {
devShells.default = import ./shell.nix { inherit pkgs; };
apps.default = apps.dev;
apps.dev = pkgs.writeShellScript "noe.sh" ''
${pkgs.python3} -m http.server -d ${packages.default}
'';
packages.default = inputs.teapot.packages.${system}.brewTea {
name = "noe.sh";
version = "0.0.0";
src = ./.;
layoutSrc = ./layouts;
markdollPlugins = let
mkMarkdollPlugin = inputs.teapot.packages.${system}.mkMarkdollPlugin;
in [
(mkMarkdollPlugin "utils" ./plugins/utils.sh)
];
};
};
};
}