2021-05-16 23:23:08 +03:00
|
|
|
{
|
2022-08-14 07:17:24 +03:00
|
|
|
nixConfig.extra-substituters = "https://cache.garnix.io";
|
|
|
|
nixConfig.extra-trusted-public-keys = "cache.garnix.io:CTFPyKSLcx5RMJKfLo5EEPUObbA78b0YQ2DTCJXqr9g=";
|
|
|
|
|
2021-05-16 23:23:08 +03:00
|
|
|
inputs = {
|
2022-08-14 07:17:24 +03:00
|
|
|
emanote.url = "github:srid/emanote";
|
|
|
|
nixpkgs.follows = "emanote/nixpkgs";
|
|
|
|
flake-parts.follows = "emanote/flake-parts";
|
2021-05-16 23:23:08 +03:00
|
|
|
};
|
|
|
|
|
2022-08-14 07:17:24 +03:00
|
|
|
outputs = inputs@{self, flake-parts, nixpkgs, ...}:
|
|
|
|
flake-parts.lib.mkFlake { inherit self; } {
|
|
|
|
systems = ["x86_64-linux"];
|
|
|
|
imports = [inputs.emanote.flakeModule];
|
|
|
|
perSystem = {self', ...}: {
|
|
|
|
emanote.sites."blog" = {
|
2022-10-29 04:07:06 +03:00
|
|
|
layers = [./.];
|
|
|
|
layersString = ["."];
|
2021-05-16 23:23:08 +03:00
|
|
|
};
|
2022-08-14 10:03:26 +03:00
|
|
|
packages.default = self'.packages.blog;
|
|
|
|
apps.default = self'.apps.blog;
|
2022-08-14 07:17:24 +03:00
|
|
|
};
|
|
|
|
};
|
|
|
|
}
|