urxvt-lass: use mainUser

This commit is contained in:
lassulus 2015-04-12 20:16:20 +02:00 committed by tv
parent 32e316f73b
commit 2b9391b557

View File

@ -1,13 +1,16 @@
{ pkgs, ... }: { config, pkgs, ... }:
{ let
mainUser = config.users.extraUsers.mainUser;
in {
imports = [ imports = [
./urxvtd.nix ./urxvtd.nix
]; ];
services.urxvtd = { services.urxvtd = {
enable = true; enable = true;
users = [ "lass" ]; users = [ mainUser.name ];
urxvtPackage = pkgs.rxvt_unicode_with-plugins; urxvtPackage = pkgs.rxvt_unicode_with-plugins;
xresources = '' xresources = ''
URxvt*scrollBar: false URxvt*scrollBar: false