mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-26 21:33:03 +03:00
Fluxbox: adding system support (as a module)
This commit is contained in:
parent
fe270c011c
commit
49fcac0d6b
@ -293,6 +293,7 @@
|
|||||||
./services/x11/window-managers/awesome.nix
|
./services/x11/window-managers/awesome.nix
|
||||||
#./services/x11/window-managers/compiz.nix
|
#./services/x11/window-managers/compiz.nix
|
||||||
./services/x11/window-managers/default.nix
|
./services/x11/window-managers/default.nix
|
||||||
|
./services/x11/window-managers/fluxbox.nix
|
||||||
./services/x11/window-managers/icewm.nix
|
./services/x11/window-managers/icewm.nix
|
||||||
./services/x11/window-managers/bspwm.nix
|
./services/x11/window-managers/bspwm.nix
|
||||||
./services/x11/window-managers/metacity.nix
|
./services/x11/window-managers/metacity.nix
|
||||||
|
28
nixos/modules/services/x11/window-managers/fluxbox.nix
Normal file
28
nixos/modules/services/x11/window-managers/fluxbox.nix
Normal file
@ -0,0 +1,28 @@
|
|||||||
|
{ config, lib, pkgs, ... }:
|
||||||
|
|
||||||
|
with lib;
|
||||||
|
|
||||||
|
let
|
||||||
|
cfg = config.services.xserver.windowManager.fluxbox;
|
||||||
|
in
|
||||||
|
{
|
||||||
|
###### interface
|
||||||
|
options = {
|
||||||
|
services.xserver.windowManager.fluxbox.enable = mkOption {
|
||||||
|
default = false;
|
||||||
|
description = "Enable the Fluxbox window manager.";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
|
###### implementation
|
||||||
|
config = mkIf cfg.enable {
|
||||||
|
services.xserver.windowManager.session = singleton {
|
||||||
|
name = "fluxbox";
|
||||||
|
start = ''
|
||||||
|
${pkgs.fluxbox}/bin/startfluxbox &
|
||||||
|
waitPID=$!
|
||||||
|
'';
|
||||||
|
};
|
||||||
|
environment.systemPackages = [ pkgs.fluxbox ];
|
||||||
|
};
|
||||||
|
}
|
@ -10,13 +10,7 @@ stdenv.mkDerivation rec {
|
|||||||
name = "fluxbox-${version}";
|
name = "fluxbox-${version}";
|
||||||
version = "1.3.5";
|
version = "1.3.5";
|
||||||
|
|
||||||
buildInputs = [
|
buildInputs = [ pkgconfig freetype fribidi libXext libXft libXpm libXrandr libXrender xextproto libXinerama imlib2 ];
|
||||||
pkgconfig
|
|
||||||
freetype fribidi
|
|
||||||
libXext libXft libXpm libXrandr libXrender xextproto
|
|
||||||
libXinerama
|
|
||||||
imlib2
|
|
||||||
];
|
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "mirror://sourceforge/fluxbox/${name}.tar.bz2";
|
url = "mirror://sourceforge/fluxbox/${name}.tar.bz2";
|
||||||
@ -24,7 +18,7 @@ stdenv.mkDerivation rec {
|
|||||||
};
|
};
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
description = "Full-featured, light-resource X window manager.";
|
description = "Full-featured, light-resource X window manager";
|
||||||
longDescription = ''
|
longDescription = ''
|
||||||
Fluxbox is a X window manager based on Blackbox 0.61.1 window manager sources.
|
Fluxbox is a X window manager based on Blackbox 0.61.1 window manager sources.
|
||||||
It is very light on resources and easy to handle but yet full of features to make an easy,
|
It is very light on resources and easy to handle but yet full of features to make an easy,
|
||||||
|
Loading…
Reference in New Issue
Block a user