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