aboutsummaryrefslogtreecommitdiff
path: root/nix/modules/vars.nix
blob: ed545fd92bde2293407257d0bf9a52e3e06b5975 (plain)
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
{ lib, ... }:
{
  hostName = lib.mkOption {
    type = lib.types.str;
    default = "continuity";
    example = "hostname";
    description = "system hostname";
  };

  userName = lib.mkOption {
    type = lib.types.str;
    default = "preston";
    example = "myUser";
    description = "system username";
  };

  fullName = lib.mkOption {
    type = lib.types.str;
    default = "Preston Pan";
    example = "John Doe";
    description = "Full Name";
  };

  gpgKey = lib.mkOption {
    type = lib.types.str;
    default = "AEC273BF75B6F54D81343A1AC1FE6CED393AE6C1";
    example = "1234567890ABCDEF...";
    description = "GPG key fingerprint";
  };

  remoteHost = lib.mkOption {
    type = lib.types.str;
    default = "nullring.xyz";
    example = "example.com";
    description = "Address to push to and pull from for website and git repos";
  };

  timeZone = lib.mkOption {
    type = lib.types.str;
    default = "America/Vancouver";
    example = "America/Chicago";
    description = "Linux timezone";
  };
  disk = lib.mkOption {
    type = lib.types.str;
    default = "/dev/sda";
    example = "/dev/nvme0n1";
    description = "Disk to install NixOS to";
  };
}