Unverified Commit a5dad942 authored by superherointj's avatar superherointj Committed by GitHub
Browse files

Merge pull request #324083 from Djabx/fix-config-snapper

nixos/snapper: fix timeline options type
parents 7cf6d924 e37b07ff
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
@@ -5095,6 +5095,12 @@
    githubId = 56017218;
    keys = [ { fingerprint = "E6F4 BFB4 8DE3 893F 68FC  A15F FF5F 4B30 A41B BAC8"; } ];
  };
  Djabx = {
    email = "alexandre@badez.eu";
    github = "Djabx";
    githubId = 69534;
    name = "Alexandre Badez";
  };
  djacu = {
    email = "daniel.n.baker@gmail.com";
    github = "djacu";
+14 −12
Original line number Diff line number Diff line
@@ -96,48 +96,48 @@ let
    };

    TIMELINE_LIMIT_HOURLY = mkOption {
      type = types.str;
      default = "10";
      type = types.int;
      default = 10;
      description = ''
        Limits for timeline cleanup.
      '';
    };

    TIMELINE_LIMIT_DAILY = mkOption {
      type = types.str;
      default = "10";
      type = types.int;
      default = 10;
      description = ''
        Limits for timeline cleanup.
      '';
    };

    TIMELINE_LIMIT_WEEKLY = mkOption {
      type = types.str;
      default = "0";
      type = types.int;
      default = 0;
      description = ''
        Limits for timeline cleanup.
      '';
    };

    TIMELINE_LIMIT_MONTHLY = mkOption {
      type = types.str;
      default = "10";
      type = types.int;
      default = 10;
      description = ''
        Limits for timeline cleanup.
      '';
    };

    TIMELINE_LIMIT_QUARTERLY = mkOption {
      type = types.str;
      default = "0";
      type = types.int;
      default = 0;
      description = ''
        Limits for timeline cleanup.
      '';
    };

    TIMELINE_LIMIT_YEARLY = mkOption {
      type = types.str;
      default = "10";
      type = types.int;
      default = 10;
      description = ''
        Limits for timeline cleanup.
      '';
@@ -353,4 +353,6 @@ in
      ) (attrNames cfg.configs);
    }
  );

  meta.maintainers = with lib.maintainers; [ Djabx ];
}