Unverified Commit 90e7159c authored by Wolfgang Walther's avatar Wolfgang Walther
Browse files

treewide: remove unused rec

Auto-fix by nixf-diagnose.
parent 6f066d93
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -97,7 +97,6 @@ let
            # https://github.com/nix-community/nixd/blob/main/libnixf/src/Basic/diagnostic.py
            # TODO: Remove the following and fix things.
            "--ignore=parse-redundant-paren"
            "--ignore=sema-extra-rec"
            "--ignore=sema-extra-with"
            "--ignore=sema-unused-def-lambda-noarg-formal"
            "--ignore=sema-unused-def-lambda-witharg-arg"
+1 −1
Original line number Diff line number Diff line
@@ -16,7 +16,7 @@ in

  options = {

    programs.atop = rec {
    programs.atop = {

      enable = lib.mkEnableOption "Atop, a tool for monitoring system resources";

+1 −1
Original line number Diff line number Diff line
@@ -80,7 +80,7 @@ in
    '';
    allowedPatterns =
      with lib.types;
      lib.mkOption rec {
      lib.mkOption {
        type = attrsOf Pattern;
        description = "The hook config, describing which paths to mount for which system features";
        default = { };
+1 −1
Original line number Diff line number Diff line
@@ -12,7 +12,7 @@ let
  ldapValueType =
    let
      # Can't do types.either with multiple non-overlapping submodules, so define our own
      singleLdapValueType = lib.mkOptionType rec {
      singleLdapValueType = lib.mkOptionType {
        name = "LDAP";
        # TODO: It would be nice to define a { secret = ...; } option, using
        # systemd's LoadCredentials for secrets. That would remove the last
+1 −1
Original line number Diff line number Diff line
@@ -42,7 +42,7 @@ let
    inherit flashbackEnabled nixos-background-dark nixos-background-light;
  };

  nixos-background-info = pkgs.writeTextFile rec {
  nixos-background-info = pkgs.writeTextFile {
    name = "nixos-background-info";
    text = ''
      <?xml version="1.0"?>
Loading