diff --git a/README.md b/README.md index 2491bc1..6ba9c56 100644 --- a/README.md +++ b/README.md @@ -27,50 +27,51 @@ To get started with this setup, follow these steps: 3. **Copy one of the hosts configuration to set up your own**: -```bash + ```bash cd hosts cp -r slim3 cd -``` + ``` 4. **Put your `hardware-configuration.nix` file there**: -```bash - cp /etc/nixos/hardware-configuration.nix ./ -``` + ```bash + cp /etc/nixos/hardware-configuration.nix ./ + ``` 5. **Edit `hosts//local-packages.nix` and `nixos/packages.nix` files if needed**: -```bash + + ```bash vim local-packages.nix vim ../../nixos/packages.nix -``` + ``` 6. **Finally, edit the `flake.nix` file**: -```diff -... - outputs = { self, nixpkgs, home-manager, ... }@inputs: let - system = "x86_64-linux"; --- homeStateVersion = "24.11"; -++ homeStateVersion = ""; --- user = "amper"; -++ user = ""; - hosts = [ --- { hostname = "slim3"; stateVersion = "24.05"; } --- { hostname = "330-15ARR"; stateVersion = "24.11"; } -++ { hostname = ""; stateVersion = ""; } - ]; -... -``` + ```diff + ... + outputs = { self, nixpkgs, home-manager, ... }@inputs: let + system = "x86_64-linux"; + -- homeStateVersion = "24.11"; + ++ homeStateVersion = ""; + -- user = "amper"; + ++ user = ""; + hosts = [ + -- { hostname = "slim3"; stateVersion = "24.05"; } + -- { hostname = "330-15ARR"; stateVersion = "24.11"; } + ++ { hostname = ""; stateVersion = ""; } + ]; + ... + ``` 7. **Rebuilding**: -```bash -cd nixos-config-reborn -nixos-rebuild switch --flake ./# -# or nixos-install --flake ./# if you are installing on a fresh system -home-manager switch -``` + ```bash + cd nixos-config-reborn + nixos-rebuild switch --flake ./# + # or nixos-install --flake ./# if you are installing on a fresh system + home-manager switch + ``` ## 😎 Enjoy!