From 15853f918ae21562e5f70d7c7539e397505b7bd9 Mon Sep 17 00:00:00 2001 From: servius Date: Sun, 1 Feb 2026 22:01:37 +0530 Subject: [PATCH] chore(services): delete command-runner.nix and its entry in default.nix --- nixos/ryu/services/command-runner.nix | 27 --------------------------- nixos/ryu/services/default.nix | 1 - 2 files changed, 28 deletions(-) delete mode 100644 nixos/ryu/services/command-runner.nix diff --git a/nixos/ryu/services/command-runner.nix b/nixos/ryu/services/command-runner.nix deleted file mode 100644 index 90da3b0b..00000000 --- a/nixos/ryu/services/command-runner.nix +++ /dev/null @@ -1,27 +0,0 @@ -{ - config, - lib, - pkgs, - ... -}: { - # services.command-runner = { - # enable = false; - # port = 5599; - # user = "servius"; - # commands = let - # hyprctl = "${pkgs.hyprland}/bin/hyprctl"; - # in - # { - # "display_on" = [hyprctl "-i" "{instance}" "dispatch" "dpms" "on"]; - # "display_off" = [hyprctl "-i" "{instance}" "dispatch" "dpms" "off"]; - # "display_toggle" = [hyprctl "-i" "{instance}" "dispatch" "dpms" "toggle"]; - # "display_status" = [hyprctl "-i" "{instance}" "-j" "monitors"]; - # "hyprland_instance" = [hyprctl "-j" "instances"]; - # } - # // (builtins.foldl' (acc: elem: acc // elem) {} (lib.map (name: { - # "display_on_${name}" = [hyprctl "-i" "{instance}" "dispatch" "dpms" "on" name]; - # "display_off_${name}" = [hyprctl "-i" "{instance}" "dispatch" "dpms" "off" name]; - # "display_toggle_${name}" = [hyprctl "-i" "{instance}" "dispatch" "dpms" "toggle" name]; - # }) ["HDMI-A-1" "DP-3" "DP-1"])); - # }; -} diff --git a/nixos/ryu/services/default.nix b/nixos/ryu/services/default.nix index 10bd7ac8..94c1942f 100644 --- a/nixos/ryu/services/default.nix +++ b/nixos/ryu/services/default.nix @@ -4,7 +4,6 @@ # ./zerotier.nix # ./dnscrypt.nix ./caddy.nix - ./command-runner.nix ./dualsense.nix ./fprintd.nix ./fwupd.nix