Skip to content

Commit

Permalink
updated stuff
Browse files Browse the repository at this point in the history
  • Loading branch information
rasmus-kirk committed Oct 8, 2024
1 parent d100a23 commit 37c061a
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 9 deletions.
7 changes: 3 additions & 4 deletions docs/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,9 @@ This is the options documentation for my personal nix modules

### Importing Modules

The options that I have created allows varying behaviour between machines,
while avoiding writing the same configuration snippets twice. Even though
the modules are created and maintained for personal use the flake allows
others to reuse the modules if they so please:
The options I’ve created allow for different behaviors across devices, while
avoiding redundant configuration snippets. Although these modules are designed
for personal use, it's possible for others to reuse them:

```nix
{
Expand Down
4 changes: 2 additions & 2 deletions docs/mkDocs.nix
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ in
pandoc \
--standalone \
--metadata title="$title" \
--metadata date="$(date -u '+%Y-%m-%d - %H:%M:%S %Z')" \
--metadata timestamp="$(date -u '+%Y-%m-%d - %H:%M:%S %Z')" \
--highlight-style docs/pandoc/gruvbox.theme \
--template docs/pandoc/template.html \
--css docs/pandoc/style.css \
Expand Down Expand Up @@ -94,7 +94,7 @@ in
--standalone \
--highlight-style docs/pandoc/gruvbox.theme \
--metadata title="Kirk Modules - Option Documentation" \
--metadata date="$(date -u '+%Y-%m-%d - %H:%M:%S %Z')" \
--metadata timestamp="$(date -u '+%Y-%m-%d - %H:%M:%S %Z')" \
--css /docs/pandoc/style.css \
--template docs/pandoc/template.html \
-V lang=en \
Expand Down
6 changes: 3 additions & 3 deletions docs/pandoc/template.html
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@
<a href="./">Home</a>
<a href="./nixos.html">Nixos</a>
<a href="./home.html">Home Manager</a>
<a href="https://github.com/rasmus-kirk/nix-configuration">Github</a>
<a href="https://github.com/rasmus-kirk/nix-config">Github</a>
</div>
</nav>
<div class="content content-wrap">
Expand Down Expand Up @@ -90,8 +90,8 @@ <h2 id="$idprefix$toc-title">$toc-title$</h2>
</div>
<footer>
<div class="content">
$if(date)$
<div>$date$</div>
$if(timestamp)$
<div>$timestamp$</div>
$endif$
</div>
</footer>
Expand Down

0 comments on commit 37c061a

Please sign in to comment.