mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-16 18:53:17 +00:00
c5ff68b3c2
- Update to version 1.3.0 - Remove dependency on `oxygen-icons5`, as Lumina desktop now distributes it’s own "material-design-[light/dark]" icon themes and uses them as the default icon sets.
52 lines
929 B
Nix
52 lines
929 B
Nix
{ config, lib, pkgs, ... }:
|
|
|
|
with lib;
|
|
|
|
let
|
|
|
|
xcfg = config.services.xserver;
|
|
cfg = xcfg.desktopManager.lumina;
|
|
|
|
in
|
|
|
|
{
|
|
options = {
|
|
|
|
services.xserver.desktopManager.lumina.enable = mkOption {
|
|
type = types.bool;
|
|
default = false;
|
|
description = "Enable the Lumina desktop manager";
|
|
};
|
|
|
|
};
|
|
|
|
|
|
config = mkIf (xcfg.enable && cfg.enable) {
|
|
|
|
services.xserver.desktopManager.session = singleton {
|
|
name = "lumina";
|
|
start = ''
|
|
exec ${pkgs.lumina}/bin/start-lumina-desktop
|
|
'';
|
|
};
|
|
|
|
environment.systemPackages = [
|
|
pkgs.fluxbox
|
|
pkgs.libsForQt5.kwindowsystem
|
|
pkgs.lumina
|
|
pkgs.numlockx
|
|
pkgs.qt5.qtsvg
|
|
pkgs.xscreensaver
|
|
];
|
|
|
|
# Link some extra directories in /run/current-system/software/share
|
|
environment.pathsToLink = [
|
|
"/share/desktop-directories"
|
|
"/share/icons"
|
|
"/share/lumina"
|
|
"/share"
|
|
];
|
|
|
|
};
|
|
}
|