Simplify formatting
This commit is contained in:
parent
02a39af737
commit
020075e11a
11
README.md
11
README.md
|
@ -36,18 +36,10 @@ nix registry add c3d2 git+https://gitea.c3d2.de/C3D2/nix-config
|
|||
set this to your NixOS configuration:
|
||||
```nix
|
||||
{ pkgs, ... }: {
|
||||
```
|
||||
```nix
|
||||
nix = {
|
||||
```
|
||||
```nix
|
||||
package = pkgs.nixFlakes;
|
||||
extraOptions = "experimental-features = nix-command flakes";
|
||||
```
|
||||
```nix
|
||||
};
|
||||
```
|
||||
```nix
|
||||
}
|
||||
```
|
||||
|
||||
|
@ -100,8 +92,6 @@ cd nix-config/
|
|||
nixops deploy -d hq --check --include=[hostname]
|
||||
```
|
||||
|
||||
|
||||
|
||||
### Creating new Container
|
||||
|
||||
This does not work yet, as the nixos-system-x86_64-linux.tar.xz image is broken.
|
||||
|
@ -128,7 +118,6 @@ nix build c3d2#nixosConfigurations.dhcp.config.system.build.tarball
|
|||
nixos-rebuild switch -I nixos-config=./hosts/containers/$HOST/configuration.nix --target-host "root@$HOST.hq.c3d2.de"
|
||||
```
|
||||
|
||||
|
||||
# Secrets
|
||||
|
||||
Add your gpg-id to the .gpg-id file in secrets and let somebody reencrypt it for you.
|
||||
|
|
Loading…
Reference in New Issue