nixpkgs/nixos/modules/services/x11/desktop-managers/lxqt.nix

85 lines
2.0 KiB
Nix
Raw Normal View History

2016-10-03 15:12:17 -07:00
{ config, lib, pkgs, ... }:
with lib;
let
xcfg = config.services.xserver;
cfg = xcfg.desktopManager.lxqt;
in
{
options = {
services.xserver.desktopManager.lxqt.enable = mkOption {
type = types.bool;
default = false;
description = "Enable the LXQt desktop manager";
};
};
config = mkIf (xcfg.enable && cfg.enable) {
services.xserver.desktopManager.session = singleton {
name = "lxqt";
bgSupport = true;
2016-10-03 15:12:17 -07:00
start = ''
exec ${pkgs.lxqt.lxqt-common}/bin/startlxqt
'';
};
environment.systemPackages = [
pkgs.kde5.kwindowsystem # provides some QT5 plugins needed by lxqt-panel
2016-10-05 17:00:01 -07:00
pkgs.kde5.libkscreen # provides plugins for screen management software
2016-10-03 15:12:17 -07:00
pkgs.kde5.oxygen-icons5 # default icon theme
pkgs.libfm
pkgs.libfm-extra
pkgs.lxmenu-data
2016-10-06 15:01:04 -07:00
pkgs.lxqt.compton-conf
2016-10-03 15:12:17 -07:00
pkgs.lxqt.libfm-qt
pkgs.lxqt.liblxqt
pkgs.lxqt.libqtxdg
pkgs.lxqt.libsysstat
2016-10-08 06:37:10 -07:00
pkgs.lxqt.lximage-qt
2016-10-03 15:12:17 -07:00
pkgs.lxqt.lxqt-about
pkgs.lxqt.lxqt-admin
pkgs.lxqt.lxqt-common
pkgs.lxqt.lxqt-config
pkgs.lxqt.lxqt-globalkeys
pkgs.lxqt.lxqt-l10n
pkgs.lxqt.lxqt-notificationd
pkgs.lxqt.lxqt-openssh-askpass
pkgs.lxqt.lxqt-panel
pkgs.lxqt.lxqt-policykit
pkgs.lxqt.lxqt-powermanagement
pkgs.lxqt.lxqt-qtplugin
pkgs.lxqt.lxqt-runner
pkgs.lxqt.lxqt-session
pkgs.lxqt.lxqt-sudo
2016-10-07 02:57:25 -07:00
pkgs.lxqt.obconf-qt
2016-10-03 15:12:17 -07:00
pkgs.lxqt.pavucontrol-qt
pkgs.lxqt.pcmanfm-qt
2016-10-15 03:46:12 -07:00
pkgs.lxqt.qlipper
2016-10-10 04:08:00 -07:00
pkgs.lxqt.qps
2016-10-03 15:12:17 -07:00
pkgs.lxqt.qterminal
pkgs.lxqt.qtermwidget
pkgs.lxqt.screengrab
2016-10-03 15:12:17 -07:00
pkgs.menu-cache
pkgs.openbox # default window manager
2016-10-05 17:00:01 -07:00
pkgs.qt5.qtsvg # provides QT5 plugins for svg icons
pkgs.xscreensaver
2016-10-03 15:12:17 -07:00
];
# Link some extra directories in /run/current-system/software/share
environment.pathsToLink = [
"/share/desktop-directories"
2016-10-05 16:39:03 -07:00
"/share/icons"
"/share/lxqt"
2016-10-03 15:12:17 -07:00
];
};
}