-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathprovisioning.txt
47 lines (35 loc) · 1.36 KB
/
provisioning.txt
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
# Final steps to login to services and complete configuration
$ sudo -s
gpg-connect-agent: failed to create temporary file '/root/.gnupg/.#lk0x00000000024e95a0.bellman.1527': No such file or directory
gpg-connect-agent: can't connect to the agent: No such file or directory
gpg-connect-agent: error sending standard options: No agent running
$ sudo mkdir /root/.gnupg
nmtui # connect to wireless interface
$ mkdir -p ~/.config/nixpkgs
$ cd ~/.config/nixpkgs
$ ln -s ../../nixos-config/pkgs/config.nix
$ ln -s ../../nixos-config/pkgs/overlays.nix
# Checkout password-store (requires keybase)
$ git clone keybase://private/danielfullmer/password-store .password-store
# Regenerate key-stubs
$ gpg --card-status
# Sign into chromium / firefox
# Add ca.crt as a trusted CA
$ notmuch # Do setup procedure, use /home/danielrf/mail as directory
# set gpg_path properly in ~/.notmuch-config
$ notmuch new # generate mail/.notmuch database
$ mkdir mail/<username>.gmail # must be in a subdir of the notmuch mail/ dir
$ cd mail/<username>.gmail
$ gmi init ....@gmail.com
$ gmi sync # Get everything
# Join zerotier
$ sudo zerotier-cli join ${zerotier.network}
# Create hydra user
$ sudo -s
$ hydra-create-user ...
# (Optional) Copy secrets:
/home/danielrf/.config/cachix
/home/danielrf/.config/rclone
/home/danielrf/.config/keybase
/home/danielrf/.config/Signal
/home/danielrf/.config/chromium