README.md (1533B) download
1# My Dotfiles!
2
3Welcome to my repository! Here you'll find my dotfiles, but not just plain dotfiles, a *[home-manager](https://nix-community.github.io/home-manager/) config*!
4
5## Installation
6
7### Requirements
8
9- [Git](https://git.org)
10- [Nix the package manager](https://nixos.org/download/)
11- [Home Manager](https://nix-community.github.io/home-manager/)
12
13For user-services I use [runit](https://smarden.org/runit) which is the default service supervisor of [Void Linux](https://voidlinux.org).
14
15### Instruction
16
17You've got the `home-manager`-command, which uses the default path `~/.config/home-manager`.
18
19Remove this directory with as you want my config as a basis:
20```bash
21$ rm -rf ~/.config/home-manager
22```
23
24Then clone this repository into just removed location with:
25```bash
26$ git clone https://github.com/friedelschoen/dotfiles ~/.config/home-manager
27```
28
29**IMPORTANT** Home Manager is curious about you and your home-directory. As your name probably isn't Friedel, change your username and homeDirectory in `home.nix` (these two lines are marked with '# EDIT ME').
30
31
32Now the magic begins...!
33
34Home Manager is respects you and your own configuration so you don't need to worry it removes files.
35
36You can build this project with:
37```bash
38$ home-manager build
39```
40
41If everything went right, there should be a `./result`-directory (well actually a symbolic link to a directory but who asked). Congrats, youself just built your new home. It's time to move and make everything appear in place:
42```bash
43$ home-manager switch
44```