Skip to content

Commit 5b8e1b8

Browse files
committed
docs(readme): restore home-manager installation step
Restores the `nix-channel` and `home-manager install` commands to the manual installation guide. This step was accidentally removed during a previous refactoring.
1 parent a5c6930 commit 5b8e1b8

1 file changed

Lines changed: 14 additions & 4 deletions

File tree

README.md

Lines changed: 14 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,17 @@ sh <(curl -L https://nixos.org/nix/install) --daemon
3232
```
3333
After the installation, **close and reopen your terminal** to ensure the Nix environment is loaded.
3434

35-
### 2. Clone This Repository
35+
### 2. Install Home Manager
36+
37+
Next, install Home Manager, which is used to manage the user-specific environment.
38+
39+
```bash
40+
nix-channel --add https://github.com/nix-community/home-manager/archive/release-25.05.tar.gz home-manager
41+
nix-channel --update
42+
nix-shell '<home-manager>' -A install
43+
```
44+
45+
### 3. Clone This Repository
3646

3747
Next, clone this repository into the correct directory (`~/.config/home-manager`).
3848

@@ -41,7 +51,7 @@ Next, clone this repository into the correct directory (`~/.config/home-manager`
4151
nix-shell -p git --run "git clone 'https://github.com/pedrobrantes/dotfiles.git' '${HOME}/.config/home-manager'"
4252
```
4353

44-
### 3. Configure Secrets with Bitwarden and SOPS
54+
### 4. Configure Secrets with Bitwarden and SOPS
4555

4656
This configuration uses `sops-nix` to manage secrets, which are securely stored in Bitwarden.
4757

@@ -68,7 +78,7 @@ bw get notes sops-nix_age_private.key | tee ~/.config/sops/age/keys.txt
6878
chmod 600 ~/.config/sops/age/keys.txt
6979
```
7080

71-
### 4. Apply the Configuration
81+
### 5. Apply the Configuration
7282

7383
Finally, navigate to the repository directory and apply the configuration using Home Manager.
7484

@@ -118,4 +128,4 @@ sh <(curl -L https://nixos.org/nix/install) --no-daemon
118128

119129
After this, you can proceed with the standard manual installation steps (cloning the repository, setting up secrets, and applying the configuration) from within the `proot-distro` environment.
120130

121-
</details>
131+
</details>

0 commit comments

Comments
 (0)