Commit cfd241e8 authored by Felix Buehler's avatar Felix Buehler
Browse files

nixos/services.urxvtd: remove `with lib;`

parent 907513b0
Loading
Loading
Loading
Loading
+4 −8
Original line number Diff line number Diff line
@@ -4,18 +4,14 @@
  pkgs,
  ...
}:

# maintainer: siddharthist

with lib;

let
  cfg = config.services.urxvtd;
in
{
  options.services.urxvtd = {
    enable = mkOption {
      type = types.bool;
    enable = lib.mkOption {
      type = lib.types.bool;
      default = false;
      description = ''
        Enable urxvtd, the urxvt terminal daemon. To use urxvtd, run
@@ -23,10 +19,10 @@ in
      '';
    };

    package = mkPackageOption pkgs "rxvt-unicode" { };
    package = lib.mkPackageOption pkgs "rxvt-unicode" { };
  };

  config = mkIf cfg.enable {
  config = lib.mkIf cfg.enable {
    systemd.user.services.urxvtd = {
      description = "urxvt terminal daemon";
      wantedBy = [ "graphical-session.target" ];