https://github.com/3noch/dotfiles
Dot files and nix configuration for my systems
https://github.com/3noch/dotfiles
bash dotfiles gpg keybase linux macos nixos nixpkgs pgp shell ssh-key symlink
Last synced: 6 months ago
JSON representation
Dot files and nix configuration for my systems
- Host: GitHub
- URL: https://github.com/3noch/dotfiles
- Owner: 3noch
- Created: 2017-01-17T17:29:51.000Z (almost 9 years ago)
- Default Branch: master
- Last Pushed: 2017-02-11T18:44:47.000Z (over 8 years ago)
- Last Synced: 2025-03-25T02:01:36.832Z (7 months ago)
- Topics: bash, dotfiles, gpg, keybase, linux, macos, nixos, nixpkgs, pgp, shell, ssh-key, symlink
- Language: Nix
- Size: 14.6 KB
- Stars: 5
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
dotfiles for Elliot Cameron (3noch)
===================================# Dotfiles
Symlink dotfiles from `nixos/user/` to your home directory. Once `nix-home` is working we can use that instead.
The files in the repository are not hidden, so you'll need to symlink them to actual "dot" files:
```shell
ln -s dotfiles/nixos/user/bash_profile ~/.bash_profile
```# Security
## Setting up GPG
Using keybase, login and add a new device:
```shell
keybase login
keybase pgp export --secret | gpg --allow-secret-key-import --import
```(For reference: https://iwader.co.uk/post/signing-git-commits-keybase-gpg-key)
## Setting up SSH keys
For each system, generate a set of SSH keys for each remote system you need to access, like this:
```shell
ssh-keygen -t ed25519 -f ~/.ssh/id_ed25519_ -C ":"
```Configure `~/.ssh/config` to specify which identity file to use for each remote:
```
AddKeysToAgent yesHost
IdentitiesOnly yes
IdentityFile ~/.ssh/id_ed25519_
```