This repository has been archived by the owner on Aug 13, 2022. It is now read-only.
forked from styx-static/styx-theme-agency
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconf.nix
65 lines (61 loc) · 1.53 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
{ lib }:
with lib;
{
/* General settings
*/
site = {
title = mkOption {
default = "The Agency";
type = types.str;
description = "Title of the site.";
};
author = mkOption {
default = "Your name";
type = types.str;
description = "Content of the author `meta` tag.";
};
description = mkOption {
default = "Your description";
type = types.str;
description = "Content of the description `meta` tag.";
};
};
/* Footer
This section control the links and copyright in the footer
*/
footer = {
copyright = mkOption {
default = "Published under the Apache License 2.0.";
description = "Footer copyright text.";
type = types.str;
};
social = mkOption {
description = "Social media links to display in the footer.";
type = with types; listOf attrs;
default = [];
example = [
{ icon = "fa-twitter"; link ="#"; }
{ icon = "fa-facebook"; link ="#"; }
{ icon = "fa-linkedin"; link ="#"; }
];
};
quicklinks = mkOption {
description = "Footer links.";
type = with types; listOf attrs;
default = [];
example = [
{ text = "Privacy Policy"; link ="#"; }
{ text = "Terms of Use"; link ="#"; }
];
};
};
lib.jquery.enable = true;
lib.bootstrap.enable = true;
lib.font-awesome.enable = true;
lib.googlefonts = [
"Montserrat:400,700"
"Kaushan Script"
"Droid Serif:400,700,400italic,700italic"
"Roboto Slab:400,100,300,700"
];
}