File tree Expand file tree Collapse file tree 1 file changed +11
-5
lines changed
src/tutorials/installation Expand file tree Collapse file tree 1 file changed +11
-5
lines changed Original file line number Diff line number Diff line change @@ -415,16 +415,22 @@ vim /mnt/etc/nixos/configuration.nix
415415 };
416416 time.timeZone = "Asia/Shanghai";
417417 i18n.defaultLocale = "en_US.UTF-8";
418- services.xserver = {
419- enable = true;
418+ services = {
419+ xserver. enable = true;
420420 displayManager.sddm.enable = true;
421- desktopManager.plasma5 .enable = true;
421+ desktopManager.plasma6 .enable = true;
422422 };
423423 environment.systemPackages = with pkgs; [
424424 vim alacritty
425425 ];
426- sound.enable = true;
427- hardware.pulseaudio.enable = true;
426+
427+ services.pipewire = {
428+ enable = true; # if not already enabled
429+ alsa.enable = true;
430+ alsa.support32Bit = true;
431+ pulse.enable = true;
432+ };
433+
428434 nix.settings.substituters = [ "https://mirror.sjtu.edu.cn/nix-channels/store" ];
429435 system.stateVersion = "23.11"; # 不要改动
430436}
You can’t perform that action at this time.
0 commit comments