Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/fredericrous/dotfiles
Configuration files for Windows, Mac and Linux
https://github.com/fredericrous/dotfiles
Last synced: 2 months ago
JSON representation
Configuration files for Windows, Mac and Linux
- Host: GitHub
- URL: https://github.com/fredericrous/dotfiles
- Owner: fredericrous
- Created: 2021-05-24T00:57:15.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2023-11-01T15:50:49.000Z (about 1 year ago)
- Last Synced: 2024-10-04T09:52:22.823Z (3 months ago)
- Language: Shell
- Size: 26.6 MB
- Stars: 4
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Dotfiles
personal environment files
## Requirements
import your gpg keys
## Usage
Clone the repo with this [chezmoi](https://www.chezmoi.io/) command line:
```sh
sh -c "$(curl -fsLS git.io/chezmoi)" -- init --apply fredericrous
#OR: chezmoi init https://github.com/fredericrous/dotfiles.git
```Apply dotfiles on the machine with
```sh
chezmoi apply -v
```During the execution of `chezmoi apply`, you'll get prompted for passwords.
Without the passwords you should just remove the files that are
prefixed by `encrypted_` and `private_`.
Otherwise, have a look at section **Data Protection**.## Updating dotfiles
To see the differences and resolve the conflict, use the commands:
```sh
chezmoi diff
chezmoi merge
```When the files from the local changed and you just
want to override the repository, run:```sh
chezmoi add
```It is the same command that is used to add new dotfiles to the repo.
When the files from the repository changed, run
```sh
chezmoi apply
````apply` will add the files that aren't present in the home folder.
It will asks for every file that has a diff if it should override it.
The command `chezmoi merge ` helps resolving conflicts before running `apply` again.## Data Protection
### Files Located in a Pass Vault
Login to bitwarden. This is used for:
- `private_dot_ssh/private_id_rsa`
```sh
brew install bitwarden-cli
bw config server
bw login
export BW_SESSION=""
```### Encrypted Files
To decrypt, import the key with
```sh
gpg --import key
```## Similar repos
- https://github.com/neersighted/dotfiles
- https://github.com/twpayne/dotfiles
- https://github.com/alrra/dotfiles
- https://github.com/mathiasbynens/dotfiles