lxqt service: init at 0.11
This commit is contained in:
parent
e7dc5d2057
commit
f3e8bfa823
|
@ -19,7 +19,7 @@ in
|
||||||
# E.g., if KDE is enabled, it supersedes xterm.
|
# E.g., if KDE is enabled, it supersedes xterm.
|
||||||
imports = [
|
imports = [
|
||||||
./none.nix ./xterm.nix ./xfce.nix ./kde4.nix ./kde5.nix
|
./none.nix ./xterm.nix ./xfce.nix ./kde4.nix ./kde5.nix
|
||||||
./enlightenment.nix ./gnome3.nix ./kodi.nix
|
./lxqt.nix ./enlightenment.nix ./gnome3.nix ./kodi.nix
|
||||||
];
|
];
|
||||||
|
|
||||||
options = {
|
options = {
|
||||||
|
|
72
nixos/modules/services/x11/desktop-managers/lxqt.nix
Normal file
72
nixos/modules/services/x11/desktop-managers/lxqt.nix
Normal file
|
@ -0,0 +1,72 @@
|
||||||
|
{ 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";
|
||||||
|
start = ''
|
||||||
|
exec ${pkgs.lxqt.lxqt-common}/bin/startlxqt
|
||||||
|
'';
|
||||||
|
};
|
||||||
|
|
||||||
|
environment.systemPackages = [
|
||||||
|
pkgs.kde5.oxygen-icons5 # default icon theme
|
||||||
|
pkgs.libfm
|
||||||
|
pkgs.libfm-extra
|
||||||
|
pkgs.lxmenu-data
|
||||||
|
pkgs.lxqt.libfm-qt
|
||||||
|
pkgs.lxqt.liblxqt
|
||||||
|
pkgs.lxqt.libqtxdg
|
||||||
|
pkgs.lxqt.libsysstat
|
||||||
|
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
|
||||||
|
pkgs.lxqt.pavucontrol-qt
|
||||||
|
pkgs.lxqt.pcmanfm-qt
|
||||||
|
pkgs.lxqt.qterminal
|
||||||
|
pkgs.lxqt.qtermwidget
|
||||||
|
pkgs.menu-cache
|
||||||
|
pkgs.openbox # default window manager
|
||||||
|
];
|
||||||
|
|
||||||
|
# Link some extra directories in /run/current-system/software/share
|
||||||
|
environment.pathsToLink = [
|
||||||
|
"/share/lxqt"
|
||||||
|
"/share/desktop-directories"
|
||||||
|
];
|
||||||
|
|
||||||
|
};
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user