Files
oqyude 066b3acec1 refactor(nix): consolidate fragmented attribute-path writes
Same owner written as '.a = ...; .b = ...;' repeated dotted paths is now one
attrset block. Behaviour-preserving (values, list order and comments kept):

- 3xui-reconfig description/serviceConfig in server/ and vds/ (separate units,
  different PANEL_URL - deliberately not extracted into a shared module)
- authelia after/wants inside the existing config = mkIf wrapper
- gitea-actions-runner settings: runner/metrics/health_check/container
- boot.loader.grub, services.logind, pxe-infra.bridge, pipewire.alsa
- nix.{distributedBuilds,buildMachines}; nix.settings on WSL (mkForce kept)
- build.activation on termux (nix-on-droid freeform)

Also in this commit: lamet.opencodes.zeroq.su upstream 6061 -> 4096
(verified by nix eval of the vhost proxyPass).

nix-instantiate --parse: 12/12 files OK.
2026-10-25 02:10:05 +03:00

34 lines
928 B
Nix

# Host: "default" (device: minimal)
#
# The host record lives in configurations/default.nix; this file is only the
# module body. `xlib` (identity, dirs, helpers) arrives as a module argument.
#
# This is a TEMPLATE — never deployed. Real hosts use their own configurations
# (mini-pc.nix, server.nix, vds.nix, etc.) with their own disko + grub.
# The stubs below exist only so `nix flake check` and `nix build .#default`
# evaluate without assertion failures — they are never used to build a real
# system.
{
inputs,
...
}:
{
imports = [
inputs.self.nixosModules.default
];
system.stateVersion = "26.05";
# Stubs for `nix flake check`. Replace with real disko + hardware on
# real hosts; never deploy this configuration.
fileSystems."/" = {
device = "/dev/sda1";
fsType = "ext4";
};
boot.loader.grub = {
enable = true;
devices = [ "/dev/sda" ];
configurationLimit = 50;
};
}