readme: add & fix lint

This commit is contained in:
Felix Buehler 2023-07-30 12:51:01 +02:00
parent 4267ef43fa
commit 95a721e7b8
4 changed files with 10 additions and 5 deletions

View file

@ -1,9 +1,10 @@
# nixos-config [![built with nix](https://builtwithnix.org/badge.svg)](https://builtwithnix.org) # nixos-config [![built with nix](https://builtwithnix.org/badge.svg)](https://builtwithnix.org)
This repository holds my NixOS configuration. This repository holds my NixOS configuration.
It is fully reproducible, flakes based, and position-independent, meaning there is no moving around of `configuration.nix`. It is fully reproducible, flakes based, and position-independent, ...
used flakes: used flakes:
- image generation: [nixos-generators](https://github.com/nix-community/nixos-generators) - image generation: [nixos-generators](https://github.com/nix-community/nixos-generators)
- disk formatting: [disko](https://github.com/nix-community/disko) - disk formatting: [disko](https://github.com/nix-community/disko)
- secrets: [sops-nix](https://github.com/Mic92/sops-nix) - secrets: [sops-nix](https://github.com/Mic92/sops-nix)
@ -12,7 +13,7 @@ used flakes:
## structure ## structure
``` ```text
. .
├── images # custom image generations ├── images # custom image generations
├── machines # machine definitions ├── machines # machine definitions
@ -25,27 +26,32 @@ used flakes:
## usage ## usage
updating: updating:
```bash ```bash
nix flake update nix flake update
``` ```
deployment: deployment:
```bash ```bash
deploy .#myHost deploy .#myHost
``` ```
secrets: secrets:
```bash ```bash
sops ./machines/myHost/secrets.yaml sops ./machines/myHost/secrets.yaml
``` ```
images: images:
```bash ```bash
nix build .#install-iso nix build .#install-iso
nix build .#aarch64-install --system aarch64-linux nix build .#aarch64-install --system aarch64-linux
``` ```
## inspired by ## inspired by
- [Nix config by Mic92](https://github.com/Mic92/dotfiles) - [Nix config by Mic92](https://github.com/Mic92/dotfiles)
- [Nix config by ambroisie](https://github.com/ambroisie/nix-config) - [Nix config by ambroisie](https://github.com/ambroisie/nix-config)
- [Nix config by pborzenkov](https://github.com/pborzenkov/nix-config) - [Nix config by pborzenkov](https://github.com/pborzenkov/nix-config)

View file

@ -74,6 +74,7 @@
enable = true; enable = true;
excludes = [ "secrets\\.yaml" ]; excludes = [ "secrets\\.yaml" ];
}; };
markdownlint.enable = true;
}; };
}; };

View file

@ -1,3 +0,0 @@
# things to consider when available in the next release:
- systemd-repart

View file

@ -1,4 +1,5 @@
# My personal NixOS-configuration # My personal NixOS-configuration
work in progress... work in progress...
get internet get internet