---
config:
flowchart:
nodeSpacing: 25
rankSpacing: 25
---
flowchart LR
flake["flake.nix"]
flake --> hosts["hosts/"]
hosts --> server["server/configuration.nix"]
hosts --> desktop["desktop/configuration.nix"]
server --> modules["modules/"]
desktop --> modules
Note
NOT exhaustive.
- Clone, or download the repository:
curl -L -O https://github.com/zzzealed/nix-config/archive/refs/heads/main.tar.gz- Unzip with:
tar -xzf main.tar.gz- Enter shell:
cd nix-config-main && nix-shell- Rebuild and switch with a host's (eg. desktop's) configuration:
sudo nixos-rebuild switch --flake .#desktopImportant
You need to use nixos-generate-config and replace hosts/foo/hardware-configuration.nix.
Important
You also need a valid SSH-key defined in secrets/secrets.nix to decrypt any secrets.
- Init:
services.octodnsblocker: NixOS/nixpkgs#517510 - Init:
services.crowdsecblocker: NixOS/nixpkgs#535319 - Init:
sops.secretsblocker: Mic92/sops-nix#970 - Init:
base24-schemeblocker: nix-community/stylix#252 - Switch hosts
server,pitoboot.loader.limine - Make all files+dirs kebab-case
- More
pkgs.navidocs -
services.*: Unique ports? - Just rawdog dnsmasq instead of Pihole
-
home.nix->hm.nix&<other>.hm.nix -
<name>.l.zzzealed.com-><name>.i.zzzealed.com