xresources.nix: remove old code

This commit is contained in:
lassulus 2015-05-06 02:35:28 +02:00 committed by tv
parent 031b3a530c
commit 4accc099ad

View File

@ -4,30 +4,8 @@
#prefix with Attribute Name #prefix with Attribute Name
#ex: urxvt #ex: urxvt
#TODO: make users configureable
#
#we need something like this:
#
#a.u = [1 2];
#a.x = "test";
#b.u = [1];
#b.x = "tast";
# |
# v
#1."test\ntast";
#2."test";
# #
# #
#users = mkOption {
# type = types.str;
# default = ;
# description = ''
# users for this xresources config.
# '';
#};
with builtins; with builtins;
with lib; with lib;
@ -68,7 +46,6 @@ in
config = config =
let let
cfg = config.services.xresources; cfg = config.services.xresources;
user = cfg.user;
xres = concatStringsSep "\n" (attrValues cfg.resources); xres = concatStringsSep "\n" (attrValues cfg.resources);
in mkIf cfg.enable { in mkIf cfg.enable {