diff --git a/flake.lock b/flake.lock index caf8156..444c096 100644 --- a/flake.lock +++ b/flake.lock @@ -20,17 +20,17 @@ }, "nixpkgs": { "locked": { - "lastModified": 1733038015, - "narHash": "sha256-kIKqS3093Xz5vuvSLk0x1hqo2pFaGwMjnwr3qrTBkzk=", + "lastModified": 1733335574, + "narHash": "sha256-F2lOx7b5kTO088Eq2wnb8UZo+S/RGpegObyhf1dEhD0=", "owner": "NixOS", "repo": "nixpkgs", - "rev": "767b0e3398fb899d0c88a9f7aecf30dd1cad3166", + "rev": "f1a18363305d2314cd9994d22fc13497916aced7", "type": "github" }, "original": { "owner": "NixOS", "repo": "nixpkgs", - "rev": "767b0e3398fb899d0c88a9f7aecf30dd1cad3166", + "rev": "f1a18363305d2314cd9994d22fc13497916aced7", "type": "github" } }, @@ -39,11 +39,11 @@ "nixpkgs": "nixpkgs" }, "locked": { - "lastModified": 1733103061, - "narHash": "sha256-EJcGyrX+6Cp2RF1xwjtQFItxZZ/cM7R7R8viD96wBGU=", + "lastModified": 1733352979, + "narHash": "sha256-QQhZgADZ2IYXjl9BiCWajOB0KXKzhhS4zrlgu71tqBU=", "owner": "nix-ocaml", "repo": "nix-overlays", - "rev": "bb9da215149cd4172efe6522e6fa399b48bf54fd", + "rev": "2680def9838fc1bdc36540f3db2ad666e70fb016", "type": "github" }, "original": { diff --git a/nix/culr-module.nix b/nix/culr-module.nix index 9fcbfc3..427643e 100644 --- a/nix/culr-module.nix +++ b/nix/culr-module.nix @@ -7,15 +7,15 @@ inherit (lib) mkIf mkEnableOption mkOption types; cfg = config.programs.culr; in { - options.programs.meat = { + options.programs.culr = { enable = mkEnableOption "culr"; pattern = mkOption { - type = with types; nullOr str; + type = with types; either (listOf int) str; default = null; description = "colourising pattern"; }; palette = mkOption { - type = with types; nullOr str; + type = with types; listOf str; default = null; description = "palette to use in comma separated RGB hex eg. #0f0f0f"; };