Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/jasonpeacock/dotfiles
Personal dotfiles
https://github.com/jasonpeacock/dotfiles
Last synced: 2 days ago
JSON representation
Personal dotfiles
- Host: GitHub
- URL: https://github.com/jasonpeacock/dotfiles
- Owner: jasonpeacock
- Created: 2017-05-27T16:13:25.000Z (over 7 years ago)
- Default Branch: main
- Last Pushed: 2024-10-23T17:36:11.000Z (28 days ago)
- Last Synced: 2024-10-23T23:23:49.875Z (28 days ago)
- Language: Nix
- Homepage:
- Size: 505 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# New Host Setup
## Nix
Install `nix`, which is referenced by the dotfiles and provides all the applications. Use [Determinate System's installer](https://github.com/DeterminateSystems/nix-installer) which makes the install super-easy:
```bash
curl --proto '=https' --tlsv1.2 -sSf -L https://install.determinate.systems/nix | sh -s -- install
```## Dotfiles
Dotfiles are managed with Git, using [YADM](https://yadm.io). Once setup, the environment
is then managed using Nix/home-manager to install all the shells, tools, etc.Install YADM by cloning it - this allows for easy updates:
```bash
git clone https://github.com/TheLocehiliosan/yadm.git ~/.yadm-project# "Install" to a loation in the default path.
sudo ln -s ~/.yadm-project/yadm /usr/local/bin/yadm
```Clone the actual dotfiles repo:
```bash
yadm clone [email protected]:jasonpeacock/dotfiles.git
```Decrypt any secrets.
```bash
yadm decrypt
```Create host-specific versions of the following files:
```text
~/.config/host-init/.fish
~/.config/home-manager/ssh.nix##hostname.
~/.config/home-manager/git/host.nix##hostname.
```Run the bootstrap, which will link any host-specific files and perform other
setup work such as installing Nix and running `home-manager`.```bash
yadm bootstrap
```