dotfiles
My PC Dotfiles & Websitegit clone https://github.com/maydayv7/dotfiles
site/_module.nix (621B)
1## Website Configuration ##
2_: {
3 perSystem = {
4 lib,
5 pkgs,
6 ...
7 }: {
8 # Website
9 packages.website = pkgs.callPackage ./. {inherit lib pkgs;};
10
11 # 'git' Frontend
12 packages.stagit = pkgs.callPackage ./git/stagit {};
13 apps.gitsite = {
14 type = "app";
15 program = lib.getExe (pkgs.callPackage ./git {inherit lib pkgs;});
16 };
17
18 # Development Shell
19 devShells.website = import ./shell.nix {inherit pkgs;};
20
21 # Formatting Errors
22 treefmt.config.programs.prettier.excludes = [
23 "site/templates/macros/javascript.html"
24 "site/templates/macros/menu.html"
25 ];
26 };
27}