diff --git a/.editorconfig b/.editorconfig index dcf6e40..2ecdb28 100644 --- a/.editorconfig +++ b/.editorconfig @@ -2,7 +2,7 @@ end_of_line = lf charset = utf-8 -[*.nix] +[*.{nix,json}] indent_style = space indent_size = 2 trim_trailing_whitespace = true diff --git a/.renovaterc.json b/.renovaterc.json new file mode 100644 index 0000000..b4bf63f --- /dev/null +++ b/.renovaterc.json @@ -0,0 +1,36 @@ +{ + "$schema": "https://docs.renovatebot.com/renovate-schema.json", + "assignees": [ + "jalil" + ], + "automerge": true, + "automergeStrategy": "fast-forward", + "automergeType": "pr", + "commitBodyTable": true, + "dependencyDashboard": true, + "prCreation": "immediate", + "extends": [ + "config:recommended" + ], + "nix": { + "fileMatch": [ + "(^|/)flake\\.nix$" + ], + "commitMessageTopic": "nixpkgs", + "commitMessageExtra": "to {{newValue}}", + "enabled": true + }, + "lockFileMaintenance": { + "enabled": true, + "recreateWhen": "always", + "rebaseStalePrs": true, + "branchTopic": "lock-file-maintenance", + "commitMessageAction": "Lock file maintenance", + "schedule": [ + "* 1-2 * * *" + ] + }, + "automergeSchedule": [ + "* 1-2 * * *" + ] +} diff --git a/flake.lock b/flake.lock index e0e7094..aa83873 100644 --- a/flake.lock +++ b/flake.lock @@ -212,17 +212,18 @@ }, "nixpkgs": { "locked": { - "lastModified": 1734875076, - "narHash": "sha256-Pzyb+YNG5u3zP79zoi8HXYMs15Q5dfjDgwCdUI5B0nY=", + "lastModified": 1735264675, + "narHash": "sha256-MgdXpeX2GuJbtlBrH9EdsUeWl/yXEubyvxM1G+yO4Ak=", "owner": "NixOS", "repo": "nixpkgs", - "rev": "1807c2b91223227ad5599d7067a61665c52d1295", + "rev": "d49da4c08359e3c39c4e27c74ac7ac9b70085966", "type": "github" }, "original": { - "id": "nixpkgs", + "owner": "NixOS", "ref": "nixos-24.11", - "type": "indirect" + "repo": "nixpkgs", + "type": "github" } }, "nixvim": { @@ -399,17 +400,18 @@ }, "unstable": { "locked": { - "lastModified": 1734649271, - "narHash": "sha256-4EVBRhOjMDuGtMaofAIqzJbg4Ql7Ai0PSeuVZTHjyKQ=", + "lastModified": 1735291276, + "narHash": "sha256-NYVcA06+blsLG6wpAbSPTCyLvxD/92Hy4vlY9WxFI1M=", "owner": "NixOS", "repo": "nixpkgs", - "rev": "d70bd19e0a38ad4790d3913bf08fcbfc9eeca507", + "rev": "634fd46801442d760e09493a794c4f15db2d0cbb", "type": "github" }, "original": { - "id": "nixpkgs", + "owner": "NixOS", "ref": "nixos-unstable", - "type": "indirect" + "repo": "nixpkgs", + "type": "github" } } }, diff --git a/flake.nix b/flake.nix index 3a54bf3..f6cd17d 100644 --- a/flake.nix +++ b/flake.nix @@ -5,8 +5,8 @@ # Flake inputs inputs = { - nixpkgs.url = "nixpkgs/nixos-24.11"; - unstable.url = "nixpkgs/nixos-unstable"; + nixpkgs.url = "github:NixOS/nixpkgs/nixos-24.11"; + unstable.url = "github:NixOS/nixpkgs/nixos-unstable"; # Lix lix-module = { url = "https://git.lix.systems/lix-project/nixos-module/archive/2.91.1-1.tar.gz";