No description
Find a file
Gutyina Gergő a0617b2ebb
Some checks failed
Build some packages and populate cache / build-ci (push) Failing after 1m29s
flake.lock: Update
Flake lock file updates:

• Updated input 'fenix':
    'github:nix-community/fenix/fed19e07073ae5abc0ca2a9f8e23581c7e9b0884' (2026-11-29)
  → 'github:nix-community/fenix/749fc5aba1d77d304ef39288b12a3d9a426babfc' (2026-11-30)
• Updated input 'gep-dotfiles':
    'git+https://git.tchfoo.com/gepbird/dotfiles?ref=refs/heads/main&rev=5c1397f8efd451c2bd653edb61ae30988bd88ed9' (2026-11-29)
  → 'git+https://git.tchfoo.com/gepbird/dotfiles?ref=refs/heads/main&rev=8b698a2a6196ff83c7f049aa03f4455f6f324a7b' (2026-12-01)
• Updated input 'home-manager':
    'github:nix-community/home-manager/5f5abf5eb8de62d954232f3797b5bf4505656b91' (2026-11-28)
  → 'github:nix-community/home-manager/84b10ba48b25ae0e8a87867684e5f025f550db58' (2026-11-30)
• Updated input 'nix-index-database':
    'github:nix-community/nix-index-database/c0407c1190fdae51c48d00ee363f04966700007d' (2026-11-29)
  → 'github:nix-community/nix-index-database/dc814325a5da6712f1eaa5f99cfa5f9ce4aa3cb5' (2026-11-30)
• Updated input 'nur':
    'github:nix-community/NUR/d79ab499f29efdb40ffbc10fb771559637634def' (2026-11-29)
  → 'github:nix-community/NUR/2d4f571d547bb1487e5de19e5204d1a2319875c2' (2026-12-01)
• Updated input 'tangled-core':
    'git+https://tangled.org/tangled.org/core?ref=refs/heads/master&rev=da733f612b405f75901eb6228caa86303380b871' (2026-11-29)
  → 'git+https://tangled.org/tangled.org/core?ref=refs/heads/master&rev=489a8f80d03b3e3338a8ec0177fbd44f87b5f196' (2026-12-01)
• Updated input 'ymstnt-dotfiles':
    'git+https://git.tchfoo.com/ymstnt/dotfiles?ref=refs/heads/main&rev=46d3580a54d15899d50b5be67dff52a027c97e19' (2026-11-23)
  → 'git+https://git.tchfoo.com/ymstnt/dotfiles?ref=refs/heads/main&rev=538b74efe602d0e87314d95e3e140403209700c9' (2026-11-30)
• Updated input 'ymstnt-dotfiles/nixpkgs-patch-lumo-desktop':
    'https://github.com/NixOS/nixpkgs/pull/589916.diff?narHash=sha256-mXjTOkZYDnYbfXB9s9yuz1pbVHFvlM0xpLKbzicbbT8%3D'
  → 'https://github.com/NixOS/nixpkgs/pull/589916.diff?narHash=sha256-RxRaMEtxF9%2Bv4w9A%2B/qen1Q0jZdaABB3a47Urlxg1Ko%3D'
• Added input 'ymstnt-dotfiles/nixpkgs-patch-virtualbox-fix-eval':
    'https://github.com/NixOS/nixpkgs/pull/594659.diff?narHash=sha256-X415DUZiXnn35gEnLLDMrci/MJ/h7YrtvMmYokRo9Oc%3D'
2026-12-01 16:31:57 +01:00
.github/workflows feat(ci): specify action urls for forgejo compatibility 2025-12-31 01:56:02 +01:00
hosts feat(raspi-doboz): disable modules under ymstnt.com domain 2026-10-19 12:51:35 +02:00
modules dns-curl-bug: drop as the fix was merged into lix 2.96 2026-11-18 16:53:23 +01:00
secrets feat(tangled): knot -> knot-rs 2026-10-31 19:05:35 +01:00
.gitignore feat(gitignore): ignore all files that start with result 2026-09-14 17:08:04 +02:00
.sops.yaml feat(secrets): add raspi-doboz host key 2026-01-08 19:51:57 +01:00
DEPLOYMENT.md feat(DEPLOYMENT.md): add instructions for samba 2026-04-20 20:37:20 +02:00
flake.lock flake.lock: Update 2026-12-01 16:31:57 +01:00
flake.nix chore(flake): remove obsolete input override 2026-11-23 01:23:01 +01:00
README.md doc: update references from agenix to sops-nix 2025-12-23 20:35:09 +01:00

Configuration for our Raspberry PI server

Deployment

See DEPLOYMENT for instructions on how apply this config to a new system.

Adding new modules

Example service

To add a new service, create a file in the modules directory, for example:

# file: modules/example.nix
{ pkgs, ... }:

{
  services.example = {
    enable = true;
    package = pkgs.example;
  };
}

Note

Until https://github.com/NixOS/nix/issues/7107 is fixed, don't forget to stage new files with git!

The module will be automatically enabled. If you want to disable it, you can exclude it when importing all the modules:

# file: hosts/raspi-doboz/configuration.nix
imports =
 [ ./hardware-configuration.nix ]
 ++ modules.allModulesExcept [
   "example"
 ];

Service with nginx, borgmatic, or other config

If a new service also needs to create an nginx virtual host, backup some data using borgmatic, set up temporary files, open ports, use a sops-nix secret, etc., then prefer putting those configs in the new module rather than the nginx, borgmatic modules.

# file: modules/example.nix
{ pkgs, ... }:

{
  services.example = {
    enable = true;
    package = pkgs.example;
  };

  services.nginx.virtualHosts."example.ymstnt.com".locations = {
    # ...
  };

  services.borgmatic.configurations.raspi = {
    sqlite_databases = [
      # ...
    ];
  };
}