mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-07-13 13:40:28 +03:00
gnustep: remove gdnc service
gdnc is a user process and can't be made into a NixOS module very easily. It can still be put in the user's login script. According to the GNUstep documentation it will be started as soon as it is needed.
This commit is contained in:
parent
5ea9bd0920
commit
08ce2d9d40
2 changed files with 0 additions and 32 deletions
|
@ -498,7 +498,6 @@
|
|||
./services/x11/hardware/multitouch.nix
|
||||
./services/x11/hardware/synaptics.nix
|
||||
./services/x11/hardware/wacom.nix
|
||||
./services/x11/gdnc.nix
|
||||
./services/x11/redshift.nix
|
||||
./services/x11/window-managers/awesome.nix
|
||||
#./services/x11/window-managers/compiz.nix
|
||||
|
|
|
@ -1,31 +0,0 @@
|
|||
{ config, lib, pkgs, ... }:
|
||||
with lib;
|
||||
|
||||
let
|
||||
cfg = config.services.gdnc;
|
||||
in {
|
||||
options = {
|
||||
services.gdnc.enable = mkEnableOption "Enable gdnc, the GNUstep distributed notification center";
|
||||
};
|
||||
config = mkIf cfg.enable {
|
||||
assertions = singleton {
|
||||
assertion = config.services.gdnc.enable -> config.services.gdomap.enable;
|
||||
message = "Cannot start gdnc without starting gdomap";
|
||||
};
|
||||
environment.systemPackages = [ pkgs.gnustep.make pkgs.gnustep.base ];
|
||||
systemd.services.gdnc = {
|
||||
path = [ pkgs.gnustep.base ];
|
||||
description = "gdnc: GNUstep distributed notification center";
|
||||
requires = [ "gdomap.service" ];
|
||||
wantedBy = [ "multi-user.target" ];
|
||||
serviceConfig = {
|
||||
ExecStart = ''
|
||||
${pkgs.gnustep.base}/bin/gdnc -f
|
||||
'';
|
||||
Restart = "always";
|
||||
RestartSec = 10;
|
||||
TimeoutStartSec = "30";
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue