Repository navigation
Expand file tree
/
Copy pathflake.nix
More file actions
61 lines (56 loc) · 1.64 KB
/
Copy pathflake.nix
File metadata and controls
61 lines (56 loc) · 1.64 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
# frappe-nix:managed — generated by frappe-nix (`frappe-init --sync`); edit only inside the frappe-nix:local region.
# App-specific Nix goes in nix/local.nix, a flake-parts module imported below when it exists.
{
description = "esign_webforms: eSign Web Forms";
inputs = {
frappe-nix.url = "github:Avunu/frappe-nix/release-1";
nixpkgs.follows = "frappe-nix/nixpkgs";
frappe = {
url = "github:frappe/frappe/version-16";
flake = false;
};
standards-profile = {
url = "github:Avunu/frappe-standards-profile/main";
flake = false;
};
# frappe-nix:local-begin inputs
# frappe-nix:local-end inputs
};
nixConfig = {
extra-substituters = [ "https://devenv.cachix.org" ];
extra-trusted-public-keys = [
"devenv.cachix.org-1:w1cLUi8dv3hnoSPGAuibQv+f9TZLr6cv/Hm9XgU50cw="
];
};
outputs =
{ frappe-nix, ... }@inputs:
frappe-nix.lib.mkFlake { inherit inputs; } (
{ lib, ... }:
{
imports = [
frappe-nix.flakeModules.default
]
++ lib.optional (builtins.pathExists ./nix/local.nix) ./nix/local.nix;
systems = [
"aarch64-darwin"
"aarch64-linux"
"x86_64-linux"
];
perSystem =
{ pkgs, ... }:
{
formatter = pkgs.nixfmt;
frappe-nix = {
enable = true;
defaultSite = "esign-webforms.localhost";
app = {
enable = true;
frappeVersion = "version-16";
inherit (inputs) frappe;
siblings = [ ];
};
};
};
}
);
}