Move Desktop things to Desktop.nix

This commit is contained in:
2024-05-04 16:20:05 -04:00
parent 683f19d596
commit b9fbcb5864
2 changed files with 31 additions and 79 deletions

View File

@@ -9,6 +9,36 @@
};
})];
# Wayland support
hardware = {
opengl.enable = true;
opengl.driSupport = true;
opengl.driSupport32Bit = true;
nvidia = {
modesetting.enable = true;
powerManagement.enable = true;
open = false;
};
};
services.xserver.enable = true;
services.xserver.displayManager.sddm.enable = true;
services.xserver.desktopManager.plasma5.enable = true;
programs.xwayland.enable = true;
# Configure keymap in X11
services.xserver.layout = "us";
# Enable sound.
# rtkit is optional but recommended
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;
};
# Bitwarden Outdaed Nodejs
nixpkgs.config.permittedInsecurePackages = [
"openssl-1.1.1v"