nixos/malcontent: init

This commit is contained in:
Jan Tojnar 2020-03-10 23:18:47 +01:00
parent 82fc5b2eed
commit 31dd8332bc
No known key found for this signature in database
GPG key ID: 7FAB2A15F7A607A4
2 changed files with 33 additions and 0 deletions

View file

@ -297,6 +297,7 @@
./services/desktops/geoclue2.nix
./services/desktops/gsignond.nix
./services/desktops/gvfs.nix
./services/desktops/malcontent.nix
./services/desktops/pipewire.nix
./services/desktops/gnome3/at-spi2-core.nix
./services/desktops/gnome3/chrome-gnome-shell.nix

View file

@ -0,0 +1,32 @@
# Malcontent daemon.
{ config, lib, pkgs, ... }:
with lib;
{
###### interface
options = {
services.malcontent = {
enable = mkEnableOption "Malcontent";
};
};
###### implementation
config = mkIf config.services.malcontent.enable {
environment.systemPackages = [ pkgs.malcontent ];
services.dbus.packages = [ pkgs.malcontent ];
};
}