From 67e324107e05f3245ddac034607afd0e1dea478f Mon Sep 17 00:00:00 2001 From: Natasha Moongrave Date: Mon, 30 Mar 2026 20:46:26 +0200 Subject: Refactored the entire configuration --- system/nix.nix | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 system/nix.nix (limited to 'system/nix.nix') diff --git a/system/nix.nix b/system/nix.nix new file mode 100644 index 0000000..ef92dc1 --- /dev/null +++ b/system/nix.nix @@ -0,0 +1,32 @@ +{pkgs, ...}: { + nix = { + package = pkgs.lixPackageSets.stable.lix; + + settings = { + substituters = [ + "https://cache.lix.systems" + "https://cache.nixos.org/" + ]; + + trusted-public-keys = [ + "cache.lix.systems-1:32QFpmvZsbQ8HhH3dBHDx1E8zFGbxqMNxjE2Rk5OGcQ=" + "cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=" + ]; + + experimental-features = ["nix-command" "flakes"]; + }; + }; + + # Fix nixpkgs.overlays for Lix compatibility + nixpkgs.overlays = [ + (final: prev: { + inherit + (prev.lixPackageSets.stable) + nixpkgs-review + nix-eval-jobs + nix-fast-build + colmena + ; + }) + ]; +} -- cgit v1.2.3