summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorlassulus <lass@aidsballs.de>2015-04-12 20:16:20 +0200
committertv <tv@shackspace.de>2015-05-19 23:17:19 +0200
commit2b9391b5578d245132275055dab6bf304349ac84 (patch)
tree316b1e588ea0e1e7d1984421b102abdbdbee85cb
parent32e316f73bf25588d92fe841c2944cf2c6855670 (diff)
urxvt-lass: use mainUser
-rw-r--r--modules/lass/urxvt-lass.nix9
1 files 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