aboutsummaryrefslogtreecommitdiff
path: root/flake.nix
diff options
context:
space:
mode:
authorCollin Williams <96917990+bluedragon1221@users.noreply.github.com>2026-01-11 13:36:45 -0600
committerCollin Williams <96917990+bluedragon1221@users.noreply.github.com>2026-01-11 13:36:45 -0600
commitdbc5cb478c7fad1c1750421486252f0a5d98ef9c (patch)
tree2ca74b6cf1db48e2a1a4989b13a6bc7ac6dcfe32 /flake.nix
parent32a7e59b93a9c3748cd6aeca3d4fc9dadf8e0f59 (diff)
now there's docs
Diffstat (limited to 'flake.nix')
-rw-r--r--flake.nix15
1 files changed, 10 insertions, 5 deletions
diff --git a/flake.nix b/flake.nix
index 6f71eb4..35afadd 100644
--- a/flake.nix
+++ b/flake.nix
@@ -38,14 +38,13 @@
flake = false;
};
- tsnsrv = {
- url = "github:boinkor-net/tsnsrv";
- inputs.nixpkgs.follows = "nixpkgs";
- };
+ nmd.url = "github:gvolpe/nmd";
};
outputs = inputs: let
- inherit (import ./lib/nix-furnace/mkSystem.nix) mkNixosSystem;
+ inherit (import ./lib/nix-furnace/mkSystem.nix) mkNixosSystem genDocs;
+
+ buildPkgs = import inputs.nixpkgs {system = "x86_64-linux";};
in rec {
nixosConfigurations."mercury" = mkNixosSystem {
inherit inputs;
@@ -63,6 +62,12 @@
username = "collin";
};
+ packages."x86_64-linux".docs = buildPkgs.callPackage genDocs {
+ inherit inputs;
+ pkgs = buildPkgs;
+ hostname = "mercury";
+ };
+
deploy.nodes."ganymede" = {
hostname = "ganymede";
sshUser = "root";