mirror of
https://github.com/Nexoniarz/nexoniarz-config-nixos.git
synced 2026-11-03 04:24:27 +00:00
system.nix had grown to 200 lines covering boot, networking, locale, audio, Bluetooth, fonts, nix settings, hardening, DNS and RGB. Split it by concern into boot.nix, networking.nix, locale.nix, nix-settings.nix, security.nix and audio.nix. Also: - drivers.nix -> hardware.nix, absorbing Bluetooth, the I2C udev rule, OpenRGB and printing - fonts -> desktop.nix - nix-ld and pkgs.file -> apps.nix - the Bottles tmpfiles link -> users.nix, next to services.flatpak The reorganization is behavior-neutral: the dbus-1, system-units, user-units and system-path trees are byte-identical to the previous build once self-referential store paths are normalized, and `nix store diff-closures` against the running system reports exactly one change -- go 1.26.7. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
28 lines
553 B
Nix
28 lines
553 B
Nix
{ config, pkgs, ... }:
|
|
|
|
{
|
|
imports = [
|
|
./hardware-configuration.nix
|
|
|
|
# Core system
|
|
./modules/boot.nix
|
|
./modules/networking.nix
|
|
./modules/locale.nix
|
|
./modules/nix-settings.nix
|
|
./modules/security.nix
|
|
|
|
# Hardware
|
|
./modules/hardware.nix
|
|
./modules/audio.nix
|
|
|
|
# Desktop & user
|
|
./modules/desktop.nix
|
|
./modules/users.nix
|
|
./modules/apps.nix
|
|
./modules/default-apps.nix
|
|
./modules/scripts.nix
|
|
];
|
|
|
|
# Do not change this value. Read documentation before updating.
|
|
system.stateVersion = "26.05";
|
|
}
|