My NixOS configuration files.
Find a file
2023-04-28 14:40:53 +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: Remove 'scss' treesitter plugin as it's broken 2023-04-28 14:40:53 +02:00
machines system: Rework email configuration to make selective enabling possible 2023-04-27 17:29:11 +02:00
pkgs extra: bin: Add git-multi-shortlog script and install on desktops 2023-04-27 20:59:56 +02:00
secrets system: Rework email configuration to make selective enabling possible 2023-04-27 17:29:11 +02:00
services machines: Add srht 2023-04-22 15:00:19 +02:00
system home-manager: Fix tmux uptime display using custom script 2023-04-27 22:40:42 +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 machines: Add srht 2023-04-22 15:00:19 +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 make: Fix too early expansion of the 'M=' argument when calling morph 2023-04-27 22:47:35 +02:00
README.md tree-wide: Add support for formatting of Markdown and CSS with prettier 2023-04-24 21:19:08 +02:00
shell.nix extra: bin: Add git-multi-shortlog script and install on desktops 2023-04-27 20:59:56 +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.

    • srht: LXC container running sourcehut.

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