31 lines
579 B
Nix
31 lines
579 B
Nix
|
{pkgs, ...}: let
|
||
|
# switch to wayland when possible
|
||
|
defaultSession = "plasmax11";
|
||
|
in {
|
||
|
imports = [
|
||
|
(import ./session-switching.nix defaultSession)
|
||
|
(import ./steam.nix defaultSession)
|
||
|
];
|
||
|
|
||
|
services.desktopManager.plasma6.enable = true;
|
||
|
|
||
|
programs = {
|
||
|
kdeconnect.enable = true;
|
||
|
xwayland.enable = true;
|
||
|
};
|
||
|
|
||
|
# Flatpak support for Discover
|
||
|
services.flatpak.enable = true;
|
||
|
services.packagekit.enable = true;
|
||
|
|
||
|
environment.systemPackages = with pkgs; [
|
||
|
# Misc Apps
|
||
|
firefox
|
||
|
kdePackages.discover
|
||
|
|
||
|
# Libs
|
||
|
wl-clipboard
|
||
|
xclip
|
||
|
];
|
||
|
}
|