From 2b9391b5578d245132275055dab6bf304349ac84 Mon Sep 17 00:00:00 2001 From: lassulus Date: Sun, 12 Apr 2015 20:16:20 +0200 Subject: urxvt-lass: use mainUser --- modules/lass/urxvt-lass.nix | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/modules/lass/urxvt-lass.nix b/modules/lass/urxvt-lass.nix index ca3fe363c..b633ce98b 100644 --- a/modules/lass/urxvt-lass.nix +++ b/modules/lass/urxvt-lass.nix @@ -1,13 +1,16 @@ -{ pkgs, ... }: +{ config, pkgs, ... }: -{ +let + mainUser = config.users.extraUsers.mainUser; + +in { imports = [ ./urxvtd.nix ]; services.urxvtd = { enable = true; - users = [ "lass" ]; + users = [ mainUser.name ]; urxvtPackage = pkgs.rxvt_unicode_with-plugins; xresources = '' URxvt*scrollBar: false -- cgit v1.2.3