From 42eabf1c4aed3dff04a4621a042fead823835858 Mon Sep 17 00:00:00 2001 From: Arseniy Seroka Date: Tue, 27 Oct 2015 13:40:04 +0300 Subject: [PATCH] Revert "i3wm: Add debug & logging options" --- .../services/x11/window-managers/i3.nix | 23 +------------------ 1 file changed, 1 insertion(+), 22 deletions(-) diff --git a/nixos/modules/services/x11/window-managers/i3.nix b/nixos/modules/services/x11/window-managers/i3.nix index 510997e76af..e85c3bce591 100644 --- a/nixos/modules/services/x11/window-managers/i3.nix +++ b/nixos/modules/services/x11/window-managers/i3.nix @@ -23,23 +23,6 @@ in If left at the default value, $HOME/.i3/config will be used. ''; }; - - debug = mkOption { - default = false; - example = true; - type = types.bool; - description = "Enable debug/verbose logging (see -V option)"; - }; - - logFile = mkOption { - default = null; - example = "$HOME/.i3/i3log"; - type = types.string; - description = '' - Path to a logfile for i3. - If left at the default value, logs will appear in display-manager.service's logs. - ''; - }; }; }; @@ -49,11 +32,7 @@ in name = "i3"; start = '' ${pkgs.i3}/bin/i3 ${optionalString (cfg.configFile != null) - ''-c "${cfg.configFile}"'' - } ${optionalString cfg.debug - ''-V'' - } ${optionalString (cfg.logFile != null) - ''>> "${cfg.logFile}"'' + "-c \"${cfg.configFile}\"" } & waitPID=$! '';