summary refs log tree commit diff
path: root/nixos/modules/services/desktops/malcontent.nix
diff options
context:
space:
mode:
authorJan Tojnar <jtojnar@gmail.com>2020-03-10 23:18:47 +0100
committerJan Tojnar <jtojnar@gmail.com>2020-03-10 23:30:20 +0100
commit31dd8332bc6f2dd0035f99feab95a82799183ae6 (patch)
tree11bf67cf967ce995bc35cab45b09c01174e79a9b /nixos/modules/services/desktops/malcontent.nix
parent82fc5b2eedadfa1d2f59a8a2a5270d41c15674fa (diff)
downloadnixpkgs-31dd8332bc6f2dd0035f99feab95a82799183ae6.tar
nixpkgs-31dd8332bc6f2dd0035f99feab95a82799183ae6.tar.gz
nixpkgs-31dd8332bc6f2dd0035f99feab95a82799183ae6.tar.bz2
nixpkgs-31dd8332bc6f2dd0035f99feab95a82799183ae6.tar.lz
nixpkgs-31dd8332bc6f2dd0035f99feab95a82799183ae6.tar.xz
nixpkgs-31dd8332bc6f2dd0035f99feab95a82799183ae6.tar.zst
nixpkgs-31dd8332bc6f2dd0035f99feab95a82799183ae6.zip
nixos/malcontent: init
Diffstat (limited to 'nixos/modules/services/desktops/malcontent.nix')
-rw-r--r--nixos/modules/services/desktops/malcontent.nix32
1 files changed, 32 insertions, 0 deletions
diff --git a/nixos/modules/services/desktops/malcontent.nix b/nixos/modules/services/desktops/malcontent.nix
new file mode 100644
index 00000000000..416464cbe08
--- /dev/null
+++ b/nixos/modules/services/desktops/malcontent.nix
@@ -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 ];
+
+  };
+
+}