nixos-vps/modules/system.nix
ashisgreat22 24d01ac630 Add modular service configuration with SearXNG and Nginx
- Create modules/ directory with reusable NixOS modules
- Add system module for main user configuration
- Add podman module for rootless container support
- Add nginx module with automatic Let's Encrypt SSL
- Add searxng module with Anubis AI firewall protection
- Configure SearXNG at search.ashisgreat.xyz
- Enable nginx reverse proxy with HTTPS

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-17 19:47:43 +01:00

25 lines
431 B
Nix

# System Module
# Provides: Common system configuration options used by other modules
{
config,
lib,
pkgs,
...
}:
let
cfg = config.myModules.system;
in
{
options.myModules.system = {
mainUser = lib.mkOption {
type = lib.types.str;
default = "ashie";
description = "Main user account for running services";
};
};
config = {
# Nothing here by default - just provides the option
};
}