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
Payas Relekar 54acf430c7 hermes: Make build for bare-metal
After more than a year later, I've moved back to NixOS on bare-metal.

WSL is fine and all, but it has enough warts that get really annoying,
especially as a Java developer.
2023-08-20 14:12:52 +05:30

53 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
];
};
}