diff options
author | lassulus <lass@lassul.us> | 2017-05-12 19:30:07 +0200 |
---|---|---|
committer | lassulus <lass@lassul.us> | 2017-05-12 19:30:07 +0200 |
commit | 58a7a56eeffe3f95beaab6d19d37c58a81b022f5 (patch) | |
tree | 385104ae2e65956c5529bac9213d066070d9d3cf /makefu/2configs/gui/urxvtd.nix | |
parent | d04f5af71e0861210a6a307aa8d3289abed2ada8 (diff) | |
parent | 39c264108329a412446c091852dd5a655da38b27 (diff) |
Merge remote-tracking branch 'gum/master'
Diffstat (limited to 'makefu/2configs/gui/urxvtd.nix')
-rw-r--r-- | makefu/2configs/gui/urxvtd.nix | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/makefu/2configs/gui/urxvtd.nix b/makefu/2configs/gui/urxvtd.nix new file mode 100644 index 000000000..286b87ab3 --- /dev/null +++ b/makefu/2configs/gui/urxvtd.nix @@ -0,0 +1,21 @@ +{ config, pkgs, ... }: + +let + mainUser = config.krebs.build.user.name; +in { + systemd.services.urxvtd = { + wantedBy = [ "multi-user.target" ]; + before = [ "graphical.target" ]; + reloadIfChanged = true; + serviceConfig = { + SyslogIdentifier = "urxvtd"; + ExecReload = "${pkgs.coreutils}/bin/echo NOP"; + ExecStart = "${pkgs.rxvt_unicode_with-plugins}/bin/urxvtd"; + Restart = "always"; + RestartSec = "2s"; + StartLimitBurst = 0; + User = mainUser; + }; + }; + # TODO: sessionCommands from base-gui related to urxvt in this file +} |