Merge pull request #8947 from AndersonTorres/oroborus

Oroborus (2.0.20): New Package
This commit is contained in:
Arseniy Seroka
2015-07-26 20:03:47 +03:00
3 changed files with 56 additions and 0 deletions
@@ -0,0 +1,25 @@
{ config, lib, pkgs, ... }:
with lib;
let
cfg = config.services.xserver.windowManager.oroborus;
in
{
###### interface
options = {
services.xserver.windowManager.oroborus.enable = mkEnableOption "oroborus";
};
###### implementation
config = mkIf cfg.enable {
services.xserver.windowManager.session = singleton {
name = "oroborus";
start = ''
${pkgs.oroborus}/bin/oroborus &
waitPID=$!
'';
};
environment.systemPackages = [ pkgs.oroborus ];
};
}