54 lines
964 B
Nix
54 lines
964 B
Nix
|
{ 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
|
||
|
];
|
||
|
};
|
||
|
}
|