This repository has been archived on 2024-03-26. You can view files and clone it, but cannot push or open issues or pull requests.
nixos/modules/plasma-desktop.nix

54 lines
964 B
Nix
Raw Normal View History

{ config, pkgs, ...}:
{
services = {
xserver = {
enable = true;
dpi = 96;
# Enable the KDE Plasma Desktop Environment.
displayManager = {
sddm = {
enable = true;
enableHidpi = true;
autoNumlock = true;
};
defaultSession = "plasmawayland";
};
desktopManager.plasma5 = {
enable = true;
runUsingSystemd = true;
};
# Enable touchpad support.
libinput.enable = true;
};
fwupd = {
enable = true;
package = pkgs.fwupd;
};
};
security.pam.services.sddm.enableKwallet = true;
programs = {
xwayland.enable = true;
kdeconnect.enable = true;
};
nixpkgs = {
config = {
# Enable plasma integration
firefox.enablePlasmaBrowserIntegration = true;
};
};
environment = {
systemPackages = with pkgs; [
# dev
yakuake
# Wayland
wl-clipboard
];
};
}