aboutsummaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
Diffstat (limited to 'modules')
-rw-r--r--modules/default.nix1
-rw-r--r--modules/rmpc.nix13
2 files changed, 14 insertions, 0 deletions
diff --git a/modules/default.nix b/modules/default.nix
index df66ace..d429b21 100644
--- a/modules/default.nix
+++ b/modules/default.nix
@@ -27,5 +27,6 @@
./zathura.nix
./zoxide.nix
./firefox.nix
+ ./rmpc.nix
];
}
diff --git a/modules/rmpc.nix b/modules/rmpc.nix
new file mode 100644
index 0000000..f692c03
--- /dev/null
+++ b/modules/rmpc.nix
@@ -0,0 +1,13 @@
+{ config, lib, pkgs, ... }:
+let
+ cfg = config.modules.rmpc;
+in
+{
+ options.modules.rmpc.enable = lib.mkEnableOption "rmpc";
+
+ config = lib.mkIf cfg.enable {
+ programs.rmpc = {
+ enable = true;
+ };
+ };
+}