diff options
| author | Natasha Moongrave <natasha@256phi.eu> | 2026-03-30 20:46:26 +0200 |
|---|---|---|
| committer | Natasha Moongrave <natasha@256phi.eu> | 2026-03-30 20:46:26 +0200 |
| commit | 67e324107e05f3245ddac034607afd0e1dea478f (patch) | |
| tree | d14a4b6e98fc707c72e24f0879b0e4297aaad78f /system/nix.nix | |
| parent | 2316eab54de77c351e88c5657eeaaa703ff4c498 (diff) | |
Refactored the entire configuration
Diffstat (limited to 'system/nix.nix')
| -rw-r--r-- | system/nix.nix | 32 |
1 files changed, 32 insertions, 0 deletions
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 + ; + }) + ]; +} |
