修改: hosts/desktop/configuration.nix

新文件:   hosts/desktop/hardware-configuration.nix
This commit is contained in:
luochen570
2026-03-02 16:34:23 +08:00
parent 5e57bc60c9
commit 81cee2d50e
2 changed files with 96 additions and 0 deletions

View File

@@ -6,4 +6,25 @@
../../modules/drivers/nvidia.nix
../../modules/drivers/amdgpu.nix
];
# Bootloader.
boot.loader.systemd-boot.enable = true;
boot.loader.efi.canTouchEfiVariables = true;
# Enable CUPS to print documents.
services.printing.enable = true;
# Enable sound with pipewire.
services.pulseaudio.enable = false;
security.rtkit.enable = true;
services.pipewire = {
enable = true;
alsa.enable = true;
alsa.support32Bit = true;
pulse.enable = true;
# If you want to use JACK applications, uncomment this
#jack.enable = true;
};
}