My NixOS configuration files.
Find a file
Christoph Heiss 7bfe43b86a
home-manager: desktop: Add zip to default shell tools
Signed-off-by: Christoph Heiss <christoph@c8h4.io>
2023-10-15 23:44:07 +02:00
.git-crypt secrets: Update primary GPG key 2023-04-15 18:48:26 +02:00
common common: packages: Add bc to system tools 2023-10-15 23:43:34 +02:00
extra extra: nvim: Add autocmd to set commentstring for Terraform files 2023-10-13 21:45:40 +02:00
machines machines: fort: Enable IPv4 forwarding 2023-10-13 19:51:31 +02:00
modules/services services: Move custom homer service definition to modules 2023-05-10 21:38:19 +02:00
pkgs tree-wide: Consolidate all nixpkgs/home-manager sources 2023-07-31 22:47:23 +02:00
secrets secrets: wireguard: Fix file permissions 2023-10-13 20:46:41 +02:00
services machines: fort: Enable fail2ban service 2023-10-11 22:07:23 +02:00
system home-manager: desktop: Add zip to default shell tools 2023-10-15 23:44:07 +02:00
.build.yml make: Check that all commits are properly signed on lint step 2023-07-05 18:31:23 +02:00
.editorconfig tree-wide: Add support for formatting of Markdown and CSS with prettier 2023-04-24 21:19:08 +02:00
.gitattributes pkgs: Add homer and dashboard-icons 2023-05-09 17:11:05 +02:00
.gitignore Initial commit 2023-04-01 12:15:22 +02:00
.prettierrc.json tree-wide: Add support for formatting of Markdown and CSS with prettier 2023-04-24 21:19:08 +02:00
.stylua.toml build: Add stylua configuration for linting lua code 2023-04-18 20:55:16 +02:00
default.nix tree-wide: Consolidate all nixpkgs/home-manager sources 2023-07-31 22:47:23 +02:00
flake.lock flake: Update inputs 2023-09-25 14:17:46 +02:00
flake.nix flake: Update inputs 2023-09-25 14:17:46 +02:00
LICENSE Initial commit 2023-04-01 12:15:22 +02:00
Makefile build: Instruct home-manager to automatically back up existing files 2023-10-03 09:43:52 +02:00
README.md readme: Apply monospace font to desktop background filename 2023-08-11 16:12:02 +02:00
sources.nix machines: serv: Pull in fixed paperless-ngx service for newer systemd 2023-10-12 12:52:22 +02:00
statix.toml build: Disable lint W23 (repeated_keys) for statix 2023-09-25 14:16:44 +02:00

My nixOS configuration

Structure

  • common: Contains configuration that should be applied on every machine.

  • extra: Non-Nix files, e.g. configuration files for other applications.

  • machines: Host-specific configuration.

    • fort: Public-reachable server on Hetzner infra.

    • name: LXC container running unbound + blocky.

    • serv: LXC container running different services, like sourcehut and paperless.

    • trek: Framework laptop.

    • zero: Main Ryzen 9 workstation.

  • modules: Additional NixOS modules.

  • pkgs: Custom packages.

  • secrets: Secrects encrypted using git-crypt.

  • services: Configuration for bigger service deployments, e.g. nginx.

  • system: Configurations describing "classes" of machines, like servers or desktops.

Notable files

  • default.nix: Morph deployment definitions

  • flake.nix: Nix development shell definition

  • sources.nix: Contains all Nix package/module source definitions

Hacking

nix develop will provide an ephemeral shell with all tools needed.

License

The code is released into the public domain.

Other conditions apply to the following files: