Skip to content

Commit

Permalink
webstie changes
Browse files Browse the repository at this point in the history
  • Loading branch information
rasmus-kirk committed Jan 21, 2025
1 parent 560251b commit 0cffac5
Show file tree
Hide file tree
Showing 2 changed files with 43 additions and 29 deletions.
6 changes: 3 additions & 3 deletions flake.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

66 changes: 40 additions & 26 deletions flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 0cffac5

Please sign in to comment.