Skip to content

Commit

Permalink
update readme
Browse files Browse the repository at this point in the history
  • Loading branch information
solidsnakedev committed Nov 24, 2023
1 parent 46f90cd commit b05c6c5
Showing 1 changed file with 23 additions and 7 deletions.
30 changes: 23 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,20 +1,36 @@
# nixos-config
# NixOS config

## NixOS + Flake + HomeManager
[Link](https://nix-community.github.io/home-manager/index.html#sec-flakes-nixos-module)
## HomeManager flake standalone
[Link](https://nix-community.github.io/home-manager/index.html#sec-flakes-standalone)

## Build NixOS

Clone this repo, then

```
sudo nixos-rebuild switch --flake /home/homeserver/nixos-config/#
git clone [email protected]:solidsnakedev/nixos-config.git
```

Go to `nixos-config` folder
```
home-manager switch --flake .#jonathan
cd nixos-config
```

## Enable vscode server
[link](https://github.com/msteen/nixos-vscode-server)
For NixOS
```
sudo nixos-rebuild switch --flake .
```

For HomeManager

First time running home-manager
```
nix run home-manager/master -- switch --flake .
```

After the initial activation has completed successfully
```
home-manager switch --flake .
```

0 comments on commit b05c6c5

Please sign in to comment.