Skip to content

Commit

Permalink
feat: nixos-firehol
Browse files Browse the repository at this point in the history
  • Loading branch information
hugosenari committed Feb 15, 2023
1 parent 6863f2e commit 42ab8a4
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions nixos-firehol.nix
Original file line number Diff line number Diff line change
@@ -1,13 +1,19 @@
{ pkgs, ...}:
let
url = "https://github.com/TinHead/nixos-firehol.git";
src = builtins.fetchGit {
inherit url;
rev = "5ce39a2eaa82c870e7c2a32374920c7110757660";
rev = "8e5ac4ac7d14d16efaa9325b8a47d62e4f812b3d";
};
pkg = pkgs.writeText "nixos-firehol.nix"
(builtins.replaceStrings
["lib.mdDoc "]
[""]
(builtins.readFile "${src}/nixos-firehol.nix"));
in
{
files.docs."/gh-pages/src/nixos-firehol.md".modules = [
"${src}/nixos-firehol.nix"
"${pkg}"
];
files.mdbook.summary = ''
---
Expand Down

0 comments on commit 42ab8a4

Please sign in to comment.