From 48535bb6d41828ee7f3cb53b881246dafe3403c3 Mon Sep 17 00:00:00 2001 From: voidarc Date: Sun, 3 May 2026 20:14:15 +0100 Subject: [PATCH] added shortcut for flakes and updated nvim --- configs/common.nix | 28 +++++++++++++++++++++------- flake.lock | 14 +++++++------- 2 files changed, 28 insertions(+), 14 deletions(-) diff --git a/configs/common.nix b/configs/common.nix index b6207f8..8e27afe 100644 --- a/configs/common.nix +++ b/configs/common.nix @@ -13,13 +13,27 @@ # Nix settings ## Limit Cores on rebuild and enable Flakes - nix.settings = { - cores = 6; - download-buffer-size = 524288000; - experimental-features = [ - "nix-command" - "flakes" - ]; + nix = { + registry = { + voidarc = { + from = { + id = "voidarc"; + type = "indirect"; + }; + to = { + type = "git"; + url = "https://git.voidarc.co.uk/voidarc/flakes.git"; + }; + }; + }; + settings = { + cores = 6; + download-buffer-size = 524288000; + experimental-features = [ + "nix-command" + "flakes" + ]; + }; }; ## Allow unfree packages and add pkgs.unstable diff --git a/flake.lock b/flake.lock index f302b92..3c0ad55 100644 --- a/flake.lock +++ b/flake.lock @@ -318,11 +318,11 @@ }, "nixpkgs_6": { "locked": { - "lastModified": 1776169885, - "narHash": "sha256-l/iNYDZ4bGOAFQY2q8y5OAfBBtrDAaPuRQqWaFHVRXM=", + "lastModified": 1777578337, + "narHash": "sha256-Ad49moKWeXtKBJNy2ebiTQUEgdLyvGmTeykAQ9xM+Z4=", "owner": "NixOS", "repo": "nixpkgs", - "rev": "4bd9165a9165d7b5e33ae57f3eecbcb28fb231c9", + "rev": "15f4ee454b1dce334612fa6843b3e05cf546efab", "type": "github" }, "original": { @@ -406,11 +406,11 @@ "nixpkgs": "nixpkgs_6" }, "locked": { - "lastModified": 1777715181, - "narHash": "sha256-L37NZCqNtnbieh8jVqJ2WSOdtJf+1/ccVZuh3VEXtNg=", + "lastModified": 1777834787, + "narHash": "sha256-yHgNKWcX8AtEX7mJJhnMf8VM4kyjljj/1bpnCZhqDp8=", "ref": "refs/heads/main", - "rev": "98c809990b0e31ab3e8789a0bfa816357a559e03", - "revCount": 70, + "rev": "85b26f78b1b5486b87e64ee725f73042affc8b9b", + "revCount": 73, "type": "git", "url": "file:///home/user01/.dotfiles/.config/nvim" },