2024-07-27 15:22:55 -04:00
|
|
|
{pkgs, ...}: let
|
2024-08-04 18:44:53 -04:00
|
|
|
defaultSession = "plasma";
|
2024-07-27 15:22:55 -04:00
|
|
|
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;
|
|
|
|
|
2024-09-02 20:36:57 -04:00
|
|
|
# Wayland env vars
|
|
|
|
environment.variables = {
|
|
|
|
NIXOS_OZONE_WL = "1";
|
|
|
|
ELECTRON_OZONE_PLATFORM_HINT = "auto";
|
|
|
|
};
|
|
|
|
|
2024-08-31 19:16:06 -04:00
|
|
|
environment.systemPackages = builtins.attrValues {
|
|
|
|
inherit
|
|
|
|
(pkgs)
|
|
|
|
firefox
|
|
|
|
wl-clipboard
|
|
|
|
xclip
|
|
|
|
;
|
2024-07-27 15:22:55 -04:00
|
|
|
|
2024-08-31 19:16:06 -04:00
|
|
|
inherit
|
|
|
|
(pkgs.kdePackages)
|
|
|
|
discover
|
|
|
|
krfb
|
|
|
|
;
|
|
|
|
};
|
2024-07-27 15:22:55 -04:00
|
|
|
}
|