forked from auxolotl/templates
docs: change some note related to darwin
This commit is contained in:
parent
da7568a623
commit
0036c467dd
|
@ -14,7 +14,8 @@ There are 3 main templates in this repository:
|
||||||
1. Run `nix flake new -t github:auxolotl/templates#darwin NixFiles` in the teminal. This will setup the basic configuration for the system, this generate a configuration for you from the files located in the `darwin` directory.
|
1. Run `nix flake new -t github:auxolotl/templates#darwin NixFiles` in the teminal. This will setup the basic configuration for the system, this generate a configuration for you from the files located in the `darwin` directory.
|
||||||
2. The next step is to go into the `NixFiles` directory this can be achieved by running `cd NixFiles`.
|
2. The next step is to go into the `NixFiles` directory this can be achieved by running `cd NixFiles`.
|
||||||
3. Now we you need to read over the configuration files and make any changes that you see fit, some of these must include changing your username and hostname.
|
3. Now we you need to read over the configuration files and make any changes that you see fit, some of these must include changing your username and hostname.
|
||||||
4. You now must rebuild this configuration we can do this with `darwin-rebuild switch --flake .`. This assumes that your host name has not changed.
|
4. You now must rebuild this configuration we can do this with `nix run darwin-rebuild -- switch --flake .#hostname` hostname should be subsituted for your systems hostname.
|
||||||
|
5. After your first run you are now able to use the `darwin-rebuild switch --flake .` command to rebuild your system.
|
||||||
|
|
||||||
#### With Linux
|
#### With Linux
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue