Skip to content

Commit

Permalink
Merge pull request #21 from solidsnakedev/mac
Browse files Browse the repository at this point in the history
update readme
  • Loading branch information
solidsnakedev authored Nov 24, 2023
2 parents 3110dea + b05c6c5 commit 1868c91
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 git@github.com: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 1868c91

Please sign in to comment.