diff options
author | makefu <github@syntax-fehler.de> | 2017-05-12 11:29:46 +0200 |
---|---|---|
committer | makefu <github@syntax-fehler.de> | 2017-05-12 11:29:46 +0200 |
commit | 1ec9f84c651e048705b0201c3dcc9547f63611d0 (patch) | |
tree | ea6e388f22bf9a8e9bac70b9ea970f52abe8f060 /makefu/2configs/gui/urxvtd.nix | |
parent | d92281cf4dc8244076a9826f1586d287db5be9ef (diff) |
m 2: mv base-gui gui/base
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 +} |