summary refs log tree commit diff
path: root/nixos/modules/services/x11/xbanish.nix
diff options
context:
space:
mode:
Diffstat (limited to 'nixos/modules/services/x11/xbanish.nix')
-rw-r--r--nixos/modules/services/x11/xbanish.nix31
1 files changed, 0 insertions, 31 deletions
diff --git a/nixos/modules/services/x11/xbanish.nix b/nixos/modules/services/x11/xbanish.nix
deleted file mode 100644
index b95fac68f16..00000000000
--- a/nixos/modules/services/x11/xbanish.nix
+++ /dev/null
@@ -1,31 +0,0 @@
-{ config, lib, pkgs, ... }:
-
-with lib;
-
-let cfg = config.services.xbanish;
-
-in {
-  options.services.xbanish = {
-
-    enable = mkEnableOption "xbanish";
-
-    arguments = mkOption {
-      description = "Arguments to pass to xbanish command";
-      default = "";
-      example = "-d -i shift";
-      type = types.str;
-    };
-  };
-
-  config = mkIf cfg.enable {
-    systemd.user.services.xbanish = {
-      description = "xbanish hides the mouse pointer";
-      wantedBy = [ "graphical-session.target" ];
-      partOf = [ "graphical-session.target" ];
-      serviceConfig.ExecStart = ''
-        ${pkgs.xbanish}/bin/xbanish ${cfg.arguments}
-      '';
-      serviceConfig.Restart = "always";
-    };
-  };
-}