Skip to content

Commit 592d97c

Browse files
authored
Update DualBoot.md (#53)
Plasma5 and sound options have been removed
1 parent 50b23e4 commit 592d97c

File tree

1 file changed

+11
-5
lines changed

1 file changed

+11
-5
lines changed

src/tutorials/installation/DualBoot.md

Lines changed: 11 additions & 5 deletions
Original file line numberDiff line numberDiff 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
}

0 commit comments

Comments
 (0)