Add emanotes flake part
This commit is contained in:
17
flake.nix
17
flake.nix
@@ -5,6 +5,9 @@
|
||||
nixpkgs.url = "github:NixOS/nixpkgs/nixos-25.11";
|
||||
flake-parts.url = "github:hercules-ci/flake-parts";
|
||||
|
||||
emanote.url = "github:srid/emanote";
|
||||
emanote.inputs.nixpkgs.follows = "nixpkgs";
|
||||
emanote.inputs.flake-parts.follows = "flake-parts";
|
||||
git-hooks-nix.url = "github:cachix/git-hooks.nix";
|
||||
git-hooks-nix.inputs.nixpkgs.follows = "nixpkgs";
|
||||
treefmt-nix.url = "github:numtide/treefmt-nix";
|
||||
@@ -18,6 +21,7 @@
|
||||
# 1. Add foo to inputs
|
||||
# 2. Add foo as a parameter to the outputs function
|
||||
# 3. Add here: foo.flakeModule
|
||||
inputs.emanote.flakeModule
|
||||
inputs.git-hooks-nix.flakeModule
|
||||
inputs.treefmt-nix.flakeModule
|
||||
];
|
||||
@@ -66,6 +70,19 @@
|
||||
# module parameters provide easy access to attributes of the same
|
||||
# system.
|
||||
|
||||
emanote.sites = {
|
||||
osds-site = {
|
||||
layers = [
|
||||
{
|
||||
# path = ./nixos-apps/ewanick.com;
|
||||
# pathString = "nixos-apps/ewanick.com";
|
||||
}
|
||||
];
|
||||
baseUrl = "ewanick.com";
|
||||
port = 5567;
|
||||
};
|
||||
};
|
||||
|
||||
# Equivalent to inputs'.nixpkgs.legacyPackages.hello;
|
||||
# packages.default = pkgs.hello;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user