Repository navigation
Expand file tree
/
Copy pathsettings.nix
More file actions
56 lines (54 loc) · 1.43 KB
/
Copy pathsettings.nix
File metadata and controls
56 lines (54 loc) · 1.43 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
{config, pkgs, lib, ...}:
with lib;
{
options = {
settings = {
name = mkOption {
default = "Jarrell Waggoner";
type = with types; uniq string;
};
username = mkOption {
default = "malloc47";
type = with types; uniq string;
};
email = mkOption {
default = "malloc47@gmail.com";
type = with types; uniq string;
};
vm = mkOption {
type = types.bool;
default = false;
};
terminal = mkOption {
default = "alacritty";
type = with types; uniq string;
};
fontName = mkOption {
default = "Inconsolata";
type = with types; uniq string;
};
fontSize = mkOption {
default = 12;
type = types.int;
};
profile = mkOption {
default = "malloc47";
type = with types; uniq string;
description = ''
Profiles are a higher-level grouping than hosts. They are
useful to combine multiple related things (e.g. ssh keys)
that should be available on multiple hosts.
'';
};
xkbFile = mkOption {
default = "none";
type = with types; uniq string;
description = ''
Filename of the xkb file to load (or "none" if no keyboard
layout is desired). File is specified without extension and
must be present in the xkb directory.
'';
};
};
};
}