load urxvt xresources via xresources.nix

This commit is contained in:
lassulus 2015-05-01 14:27:36 +02:00 committed by tv
parent ff1e13cf39
commit 706719acb6

View File

@ -1,18 +1,24 @@
{ config, pkgs, ... }:
let
mainUser = config.users.extraUsers.mainUser;
inherit (config.users.extraUsers) mainUser;
in {
in
{
imports = [
./urxvtd.nix
./xresources.nix
];
services.urxvtd = {
enable = true;
users = [ mainUser.name ];
urxvtPackage = pkgs.rxvt_unicode_with-plugins;
xresources = ''
};
services.xresources.enable = true;
services.xresources.user = mainUser.name;
services.xresources.resources.urxvt = ''
URxvt*scrollBar: false
URxvt*urgentOnBell: true
URxvt*font: -*-clean-*-*-*-*-*-*-*-*-*-*-iso10646-*
@ -53,5 +59,4 @@ in {
URxvt*color7: #eee8d5
URxvt*color15: #fdf6e3
'';
};
}