diff options
author | José Romildo Malaquias <malaquias@gmail.com> | 2016-10-03 19:12:17 -0300 |
---|---|---|
committer | José Romildo Malaquias <malaquias@gmail.com> | 2016-10-06 08:02:43 -0300 |
commit | f3e8bfa8237b75892b470dca116763db62a34c4c (patch) | |
tree | 0f104412258810d1a03b94ffced609c2f738cac7 /nixos/modules/services/x11/desktop-managers/lxqt.nix | |
parent | e7dc5d2057465794b50a84070bd13fda37d4494f (diff) | |
download | nixpkgs-f3e8bfa8237b75892b470dca116763db62a34c4c.tar nixpkgs-f3e8bfa8237b75892b470dca116763db62a34c4c.tar.gz nixpkgs-f3e8bfa8237b75892b470dca116763db62a34c4c.tar.bz2 nixpkgs-f3e8bfa8237b75892b470dca116763db62a34c4c.tar.lz nixpkgs-f3e8bfa8237b75892b470dca116763db62a34c4c.tar.xz nixpkgs-f3e8bfa8237b75892b470dca116763db62a34c4c.tar.zst nixpkgs-f3e8bfa8237b75892b470dca116763db62a34c4c.zip |
lxqt service: init at 0.11
Diffstat (limited to 'nixos/modules/services/x11/desktop-managers/lxqt.nix')
-rw-r--r-- | nixos/modules/services/x11/desktop-managers/lxqt.nix | 72 |
1 files changed, 72 insertions, 0 deletions
diff --git a/nixos/modules/services/x11/desktop-managers/lxqt.nix b/nixos/modules/services/x11/desktop-managers/lxqt.nix new file mode 100644 index 00000000000..0349d61abbc --- /dev/null +++ b/nixos/modules/services/x11/desktop-managers/lxqt.nix @@ -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" + ]; + + }; +} |