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