diff --git a/README.md b/README.md index 8ef295b..16aab32 100644 --- a/README.md +++ b/README.md @@ -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 . +```