Simplify formatting

This commit is contained in:
Sandro - 2021-09-06 23:56:08 +02:00
parent 02a39af737
commit 020075e11a
Signed by: sandro
GPG Key ID: 3AF5A43A3EECC2E5
1 changed files with 0 additions and 11 deletions

View File

@ -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.