2023-09-24 12:07:57 +00:00
|
|
|
## Dotfiles
|
2023-01-01 14:16:21 +00:00
|
|
|
|
|
|
|
- [Neovim Nightly](https://github.com/neovim/neovim)
|
|
|
|
- [Fish Shell](https://github.com/fish-shell/fish-shell)
|
2023-06-17 12:52:39 +00:00
|
|
|
- And more
|
2023-01-01 14:16:21 +00:00
|
|
|
|
2023-09-24 12:07:57 +00:00
|
|
|
See [packages.nix]() for a list of programs that I use, which `home-manager`
|
|
|
|
installs automatically.
|
2023-02-18 12:35:56 +00:00
|
|
|
|
|
|
|
## Usage
|
|
|
|
|
2023-09-24 12:07:57 +00:00
|
|
|
Either copy and paste anything you like, or use *Nix*
|
|
|
|
[home-manager](https://github.com/nix-community/home-manager) (recommended)
|
2023-06-17 12:52:39 +00:00
|
|
|
|
2023-09-24 12:07:57 +00:00
|
|
|
- Clone the repository (e.g into `~/.dotfiles`)
|
|
|
|
- `cd ~/.dotfiles`
|
|
|
|
- Install [Nix](https://nixos.org/download)
|
|
|
|
- Enable `flakes`:
|
|
|
|
- Using your editor, open the nix configuration (`/etc/nix/nix.conf`)
|
|
|
|
- Add the following line: `experimental-features = nix-command flakes`
|
|
|
|
- Edit `flakes.nix`, `home.nix` and `packages.nix` to your liking (add/remove
|
|
|
|
packages, configs, etc.)
|
|
|
|
- **Double check your nix config**, you'll probably want to edit them for yourself,
|
|
|
|
especially things like the git config
|
|
|
|
- On your first run: `nix run home-manager/master -- switch --flake ~/.dotfiles`
|
|
|
|
- On subsequent runs: `home-manager switch --flake ~/.dotfiles`
|