Rename nvidia option, move gui stuff to its own file
This commit is contained in:
parent
a156fe3662
commit
fa02a4c72a
2 changed files with 30 additions and 29 deletions
28
gui.nix
Normal file
28
gui.nix
Normal file
|
@ -0,0 +1,28 @@
|
|||
{ ... }: {
|
||||
programs.gnome-disks.enable = true;
|
||||
|
||||
services.xserver = {
|
||||
enable = true;
|
||||
xkb = {
|
||||
variant = "";
|
||||
layout = "us";
|
||||
};
|
||||
videoDrivers = [ "nvidia" ];
|
||||
|
||||
# Enable the KDE Plasma Desktop Environment.
|
||||
desktopManager.plasma5.enable = true;
|
||||
};
|
||||
|
||||
sound.enable = true;
|
||||
hardware.pulseaudio.enable = false;
|
||||
security = {
|
||||
sudo.wheelNeedsPassword = false;
|
||||
rtkit.enable = true;
|
||||
};
|
||||
services.pipewire = {
|
||||
enable = true;
|
||||
alsa.enable = true;
|
||||
alsa.support32Bit = true;
|
||||
pulse.enable = true;
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue