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.
This commit is contained in:
1 parent
69691f96d1
commit
066b3acec1
11 files changed
+95
-66
No files matched your search
@@ -25,7 +25,9 @@
|
||||
device = "/dev/sda1";
|
||||
fsType = "ext4";
|
||||
};
|
||||
boot.loader.grub.enable = true;
|
||||
boot.loader.grub.devices = [ "/dev/sda" ];
|
||||
boot.loader.grub.configurationLimit = 50;
|
||||
boot.loader.grub = {
|
||||
enable = true;
|
||||
devices = [ "/dev/sda" ];
|
||||
configurationLimit = 50;
|
||||
};
|
||||
}
|
||||
@@ -67,8 +67,10 @@
|
||||
# headless-сервер для engipy (sapphira проксирует /api/* на него).
|
||||
# Если пользователь берёт ноутбук в руки — пусть остаётся правило
|
||||
# по умолчанию (suspend); но для unattended-режима нужно ignore.
|
||||
services.logind.lidSwitch = "ignore";
|
||||
services.logind.lidSwitchDocked = "ignore";
|
||||
services.logind = {
|
||||
lidSwitch = "ignore";
|
||||
lidSwitchDocked = "ignore";
|
||||
};
|
||||
|
||||
system.stateVersion = "26.05";
|
||||
|
||||
@@ -87,8 +89,10 @@
|
||||
# `modules/pxe-infra/` for the implementation.
|
||||
pxe-infra = {
|
||||
enable = true;
|
||||
bridge.address = "10.66.0.1";
|
||||
bridge.prefixLength = 24;
|
||||
bridge = {
|
||||
address = "10.66.0.1";
|
||||
prefixLength = 24;
|
||||
};
|
||||
# ipxe.efi (universal, ~600K) instead of snp.efi (SNP-only, 310K).
|
||||
# snp.efi worked on linux-virt 6.18.56 but breaks on 6.18.57
|
||||
# (delivered via aports 2b1f5137, 2026-10-16, kernel commit
|
||||
|
||||
@@ -58,8 +58,10 @@
|
||||
services.pipewire = {
|
||||
enable = lib.mkDefault true;
|
||||
systemWide = true;
|
||||
alsa.enable = false;
|
||||
alsa.support32Bit = true;
|
||||
alsa = {
|
||||
enable = false;
|
||||
support32Bit = true;
|
||||
};
|
||||
pulse.enable = true;
|
||||
jack.enable = true;
|
||||
extraConfig.pipewire = {
|
||||
|
||||
Reference in new issue
Block a user