forked from Fachschaft/nixConfig
Fixed commas Genno requested [#9]
This commit is contained in:
parent
b76ae185b6
commit
5b74127fce
1 changed files with 3 additions and 3 deletions
|
@ -6,7 +6,7 @@ There are multiple ways to build and deploy a machine configuration. Which is th
|
||||||
most appropriate depends on the context and scenario. So first there will be a general
|
most appropriate depends on the context and scenario. So first there will be a general
|
||||||
explanation how this works and afterwards we will talk about some scenarios.
|
explanation how this works and afterwards we will talk about some scenarios.
|
||||||
|
|
||||||
If you run `nix flake show` you should get an output similar to this
|
If you run `nix flake show`, you should get an output similar to this
|
||||||
```
|
```
|
||||||
$ nix flake show
|
$ nix flake show
|
||||||
git+file:///home/nerf/git/nixConfig?ref=refs%2fheads%2fnyarlathtop&rev=9d0eb749287d1e9e793811759dfa29469ab706dc
|
git+file:///home/nerf/git/nixConfig?ref=refs%2fheads%2fnyarlathtop&rev=9d0eb749287d1e9e793811759dfa29469ab706dc
|
||||||
|
@ -43,7 +43,7 @@ doesn't need to fetch the build dependencies this way. One has a local check if
|
||||||
And so on...
|
And so on...
|
||||||
|
|
||||||
#### Build
|
#### Build
|
||||||
If you have this repository local in your current directory you can just run
|
If you have this repository local in your current directory, you can just run
|
||||||
```
|
```
|
||||||
$ nix build .#nixosConfigurations.<name>.config.system.build.toplevel
|
$ nix build .#nixosConfigurations.<name>.config.system.build.toplevel
|
||||||
```
|
```
|
||||||
|
@ -134,7 +134,7 @@ Just run
|
||||||
nixos-install --flake 'git+https://gitea.mathebau.de/Fachschaft/nixConfig?ref=<branchname>#<name>'
|
nixos-install --flake 'git+https://gitea.mathebau.de/Fachschaft/nixConfig?ref=<branchname>#<name>'
|
||||||
```
|
```
|
||||||
where `<branchname>` is the branch you install from and `<name>` is the name of the configuration you build.
|
where `<branchname>` is the branch you install from and `<name>` is the name of the configuration you build.
|
||||||
If the build system is already in the nix store this will start the installation, else it will first attempt to build
|
If the build system is already in the nix store, this will start the installation, else it will first attempt to build
|
||||||
it. That should be the whole installation process, just reboot. The machine should be fully setup. No additional user
|
it. That should be the whole installation process, just reboot. The machine should be fully setup. No additional user
|
||||||
or service setup, after the reboot.
|
or service setup, after the reboot.
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue