This repository has been archived by the owner on Aug 13, 2022. It is now read-only.
forked from styx-static/styx-theme-ghostwriter
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconf.nix
82 lines (71 loc) · 1.75 KB
/
conf.nix
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
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
{ lib }:
with lib;
{
site = {
title = mkOption {
description = "Site title.";
type = types.str;
default = "Ghostwriter Blog";
};
description = mkOption {
description = "Site description.";
type = types.str;
default = ''
Ghostwriter blog description
'';
};
copyright = mkOption {
description = "Site copyright.";
type = types.str;
default = ''
© 2017. All rights reserved.
'';
};
};
social = {
twitter = mkOption {
description = "Twitter link";
type = with types; nullOr string;
default = null;
};
github = mkOption {
description = "GitHub link";
type = with types; nullOr string;
default = null;
};
gitlab = mkOption {
description = "GitHub link";
type = with types; nullOr string;
default = null;
};
stack-overflow = mkOption {
description = "Stack overflow link";
type = with types; nullOr string;
default = null;
};
google-plus = mkOption {
description = "Google plus link";
type = with types; nullOr string;
default = null;
};
linked-in = mkOption {
description = "Linked in link";
type = with types; nullOr string;
default = null;
};
email = mkOption {
description = "GitHub link";
type = with types; nullOr string;
default = null;
};
};
itemsPerPage = mkOption {
default = 3;
description = "Number of posts per page.";
type = types.int;
};
# defaults
lib.jquery.enable = true;
lib.font-awesome.enable = true;
lib.googlefonts = [ "Open Sans:300italic,400italic,600italic,700italic,400,600,700,300&subset=latin,cyrillic-ext,latin-ext,cyrillic" ];
}