- fix: nvidia.nix missing semicolon (build error) - remove: ranger, vim from core/pkg.nix (yazi + neovim covers) - remove: htop duplicate in home/pkg.nix (keep in system) - replace: neofetch with fastfetch in home/pkg.nix - remove: nixd LSP, keep nil only in nvchad.nix - remove: empty server/pkg.nix and no-op server/firewall.nix - remove: redundant services.pulseaudio.enable = false default - add: comprehensive README.md documenting architecture
23 lines
551 B
Nix
23 lines
551 B
Nix
{ ... }:
|
|
{
|
|
# 可在此合并由 nixos-generate-config 生成的机器专属配置:
|
|
# 磁盘布局、引导加载器、文件系统、硬件选项等。
|
|
imports = [
|
|
../../modules/drivers/nvidia.nix
|
|
../../modules/drivers/amdgpu.nix
|
|
];
|
|
|
|
# Bootloader.
|
|
boot.loader.systemd-boot.enable = true;
|
|
boot.loader.efi.canTouchEfiVariables = true;
|
|
|
|
# Enable sound with pipewire.
|
|
security.rtkit.enable = true;
|
|
services.pipewire = {
|
|
enable = true;
|
|
alsa.enable = true;
|
|
alsa.support32Bit = true;
|
|
pulse.enable = true;
|
|
};
|
|
}
|