-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
5 changed files
with
353 additions
and
6 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
{ | ||
nixConfig = { | ||
extra-substituters = "https://srid.cachix.org"; | ||
extra-trusted-public-keys = "srid.cachix.org-1:3clnql5gjbJNEvhA/WQp7nrZlBptwpXnUk6JAv8aB2M="; | ||
}; | ||
|
||
inputs = { | ||
emanote.url = "github:srid/emanote"; | ||
nixpkgs.follows = "emanote/nixpkgs"; | ||
flake-parts.follows = "emanote/flake-parts"; | ||
}; | ||
|
||
outputs = inputs@{ self, flake-parts, nixpkgs, ... }: | ||
flake-parts.lib.mkFlake { inherit inputs; } { | ||
systems = nixpkgs.lib.systems.flakeExposed; | ||
imports = [ inputs.emanote.flakeModule ]; | ||
perSystem = { self', pkgs, system, ... }: { | ||
emanote = { | ||
# By default, the 'emanote' flake input is used. | ||
# package = inputs.emanote.packages.${system}.default; | ||
sites."default" = { | ||
layers = [ ./. ]; | ||
layersString = [ "." ]; | ||
port = 8181; | ||
prettyUrls = true; | ||
}; | ||
}; | ||
devShells.default = pkgs.mkShell { | ||
buildInputs = [ | ||
pkgs.nixpkgs-fmt | ||
]; | ||
}; | ||
formatter = pkgs.nixpkgs-fmt; | ||
}; | ||
}; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
# For documentation and available settings, see | ||
# https://github.com/srid/emanote/blob/master/emanote/default/index.yaml | ||
|
||
page: | ||
siteTitle: mission-control | ||
headHtml: | | ||
<snippet var="js.highlightjs" /> | ||
template: | ||
# You can add your own variables here, like editBaseUrl. | ||
# See after-note.tpl to see where editBaseUrl gets used. | ||
editBaseUrl: https://github.com/Platonic-Systems/mission-control/edit/main/doc | ||
|
||
# Uncomment this to get neuron-style pages | ||
# name: /templates/layouts/note | ||
# layout: | ||
# note: | ||
# containerClass: container mx-auto max-w-screen-lg | ||
|
||
sidebar: | ||
collapsed: false | ||
|
||
# If you are hosting on GitLab Pages, you may want to remove this. | ||
urlStrategy: pretty |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -17,6 +17,7 @@ | |
dev = { | ||
dir = "./dev"; | ||
}; | ||
doc.dir = "./doc"; | ||
}; | ||
}; | ||
} |