-
Notifications
You must be signed in to change notification settings - Fork 4
/
conf.nix
50 lines (49 loc) · 1.3 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
{
config,
pkgs,
lib,
...
}:
{
options =
with lib;
with types;
{
username = mkOption { type = str; };
osx_username = mkOption {
type = str;
default = username;
};
osx_hostname = mkOption {
type = str;
default = hostname;
};
hostname = mkOption { type = str; };
timezone = mkOption { type = str; };
locale = mkOption { type = str; };
locale_settings = mkOption { type = attrs; };
hashedPassword = mkOption { type = str; };
sshKeys = mkOption { type = types.listOf str; };
};
config = {
username = "seds";
osx_username = "benmezger";
hostname = "lenin";
osx_hostname = "work";
timezone = "Europe/Amsterdam";
locale = "en_US.UTF-8";
locale_settings = {
LC_ADDRESS = "nl_NL.UTF-8";
LC_IDENTIFICATION = "nl_NL.UTF-8";
LC_MEASUREMENT = "nl_NL.UTF-8";
LC_MONETARY = "nl_NL.UTF-8";
LC_NAME = "nl_NL.UTF-8";
LC_NUMERIC = "nl_NL.UTF-8";
LC_PAPER = "nl_NL.UTF-8";
LC_TELEPHONE = "nl_NL.UTF-8";
LC_TIME = "nl_NL.UTF-8";
};
hashedPassword = "$y$j9T$9e8lY.GFRO4g7B9XhJat41$cZ7f/BHb9WzvE1BwKZJTQwrram/8ZfgT.jYCX90acHA";
sshKeys = [ "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIFZPZ+lDBETiLkDt5W7KqCwk67b2eTBbRqI923tjVhnS" ];
};
}