My NixOS configuration files.
Find a file
Christoph Heiss 47ced6eab5
services: Add PostgreSQL 15 configuration
Fixes: 3c60832 ("machines: Rename 'srht' -> 'serv'")
Signed-off-by: Christoph Heiss <christoph@c8h4.io>
2023-05-04 16:31:31 +02:00
.git-crypt secrets: Update primary GPG key 2023-04-15 18:48:26 +02:00
common common: Add gcc to packages 2023-04-27 22:40:42 +02:00
extra extra: nvim: Fix vim.fn.executable() call 2023-04-30 13:07:34 +02:00
machines pkgs: Properly pull in custom packages via nixpkgs overlay 2023-05-03 23:32:43 +02:00
pkgs pkgs: Properly pull in custom packages via nixpkgs overlay 2023-05-03 23:32:43 +02:00
secrets secrets: acme: Add main domain certficate configuration 2023-05-02 23:02:05 +02:00
services services: Add PostgreSQL 15 configuration 2023-05-04 16:31:31 +02:00
system pkgs: Properly pull in custom packages via nixpkgs overlay 2023-05-03 23:32:43 +02:00
.build.yml make: Move setup script partial out of build manifest into Makefile 2023-04-27 22:47:35 +02:00
.editorconfig tree-wide: Add support for formatting of Markdown and CSS with prettier 2023-04-24 21:19:08 +02:00
.gitattributes flake: Add initial flake with devShell 2023-04-24 16:13:46 +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 pkgs: Properly pull in custom packages via nixpkgs overlay 2023-05-03 23:32:43 +02:00
flake.lock flake: Add initial flake with devShell 2023-04-24 16:13:46 +02:00
flake.nix flake: Add initial flake with devShell 2023-04-24 16:13:46 +02:00
LICENSE Initial commit 2023-04-01 12:15:22 +02:00
Makefile machines: Rename 'srht' -> 'serv' 2023-05-02 23:01:07 +02:00
README.md machines: Rename 'srht' -> 'serv' 2023-05-02 23:01:07 +02:00
shell.nix nix: Add 'morph' to dev-shell packages 2023-04-30 02:34:40 +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.

    • name: LXC container running unbound + blocky.

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

    • trek: Framework laptop.

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

Hacking

Both nix develop and nix-shell will provide a shell with all tools needed.

License

The code is released into the public domain.

Other conditions apply to the following files: