blob: ea1f1dd9514bff6d4ee3be1ea1fc35a3d7c510ed (
plain) (
blame)
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
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
|
# Dotfiles
A personal collection of system and user configuration files dotfiles, managed with [nix](https://nixos.org/), [home-manager](https://github.com/nix-community/home-manager) and [git-crypt](https://www.agwa.name/projects/git-crypt/).
## Deploy
### Install NixOS;
`TODO`
### Adjust `configuration.nix`
Activate the `flake` experimental feature.
Add fonts configuration (until it can be done from HomeManager).
Add the following to your `configuration.nix` as an initial user.
```nix
users.users.dyamon = {
createHome = true;
home = "/home/dyamon";
isNormalUser = true;
initialPassword = "password01";
extraGroups = [ "wheel" "video" "input" "networkmanager" ];
packages = with pkgs; [
gnupg openssh
git git-crypt
neovim
];
};
```
### Restart system and change the password for the new user;
`TODO`
### Manually copy over GPG keys.
From a backup.
tar zxvf the archive.
gpg --import secret.key
gpg --edit-key {KEY} trust quit
... enter 5<RETURN> (I trust ultimately)
... enter y<RETURN> (Really set this key to ultimate trust - Yes)
`TODO`
### Create a new SSH key to use alongside `git`.
`TODO`
NOTE call it `~/.ssh/id_ed25519_git`
NOTE private `ssh` keys must have `600` permission or will be ignored by the agent.
### Add new SSH key to `gitolite` server.
`TODO`
### Clone this repository.
`TODO`
### Clone password store.
Clone repo into ~/.password-store
NOTE for everything to work on first deploy we need to keep the store in the default location.
Custom location is set via env variable and it won't come into play until one logs in again.
This makes it more cumbersome for other parts of the deployment to use pass on a first run.
`TODO`
### Port system configuration to repository.
`TODO`
### Deploy NixOS configuration.
`TODO`
### Deploy Home Manager configuration.
`TODO`
|