diff --git a/flake.lock b/flake.lock index 3aecaeb..ada76e5 100644 --- a/flake.lock +++ b/flake.lock @@ -62,11 +62,11 @@ ] }, "locked": { - "lastModified": 1737498153, - "narHash": "sha256-sLQ8e5MyKMPqiPkkOW3cdNdgyJvTvmnZC8e1YCu1TYg=", + "lastModified": 1737502356, + "narHash": "sha256-IF8rpMs63pPu+EvLRQ1mfyc1EZHP7BNeK3dN048tf1U=", "owner": "rasmus-kirk", "repo": "website-builder", - "rev": "839d95ce9e52fb93be15272b0870c546275b7b2d", + "rev": "d9fc8c15f297fa7a588b3ca251ef77e1f0c6ebb5", "type": "github" }, "original": { diff --git a/flake.nix b/flake.nix index 69c1ac2..c732fb1 100644 --- a/flake.nix +++ b/flake.nix @@ -52,35 +52,49 @@ packages = forAllSystems ({pkgs}: let website = website-builder.lib { - pkgs = pkgs; - src = "${self}"; - headerTitle = "Nixarr"; - standalonePages = [{ + pkgs = pkgs; + src = "${self}"; + headerTitle = "Nixarr"; + standalonePages = [ + { title = "Nixarr - Media Server Nixos Module"; inputFile = ./README.md; outputFile = "index.html"; - }]; - includedDirs = [ "docs" ]; - articleDirs = [ "docs/wiki" ]; - navbar = [ - { title = "Home"; location = "/"; } - { title = "Options"; location = "/nixos-options"; } - { title = "Wiki"; location = "/wiki"; } - { title = "Github"; location = "https://github.com/rasmus-kirk/nixarr"; } - ]; - favicons = { - # For all browsers - "16x16" = "/docs/img/favicons/16x16.png"; - "32x32" = "/docs/img/favicons/32x32.png"; - # For Google and Android - "48x48" = "/docs/img/favicons/48x48.png"; - "192x192" = "/docs/img/favicons/192x192.png"; - # For iPad - "167x167" = "/docs/img/favicons/167x167.png"; - # For iPhone - "180x180" = "/docs/img/favicons/180x180.png"; - }; - nixosModules = ./nixarr; + } + ]; + includedDirs = ["docs"]; + articleDirs = ["docs/wiki"]; + navbar = [ + { + title = "Home"; + location = "/"; + } + { + title = "Options"; + location = "/nixos-options"; + } + { + title = "Wiki"; + location = "/wiki"; + } + { + title = "Github"; + location = "https://github.com/rasmus-kirk/nixarr"; + } + ]; + favicons = { + # For all browsers + "16x16" = "/docs/img/favicons/16x16.png"; + "32x32" = "/docs/img/favicons/32x32.png"; + # For Google and Android + "48x48" = "/docs/img/favicons/48x48.png"; + "192x192" = "/docs/img/favicons/192x192.png"; + # For iPad + "167x167" = "/docs/img/favicons/167x167.png"; + # For iPhone + "180x180" = "/docs/img/favicons/180x180.png"; + }; + nixosModules = ./nixarr; }; in { default = website.package;