summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNatasha Moongrave <natasha@256phi.eu>2026-03-22 16:25:18 +0100
committerNatasha Moongrave <natasha@256phi.eu>2026-03-22 16:25:18 +0100
commitdc2f095435245a3f5153957a6f793834e40af17e (patch)
tree0adb094fe6a7f0429ca178c2324744380d30b204
parent55ef892ba4b103d931844b8c3dcc996bc528aa4a (diff)
Added Lix cache
-rw-r--r--modules/nixos/base/nix.nix32
1 files changed, 20 insertions, 12 deletions
diff --git a/modules/nixos/base/nix.nix b/modules/nixos/base/nix.nix
index b864a39..a7e2265 100644
--- a/modules/nixos/base/nix.nix
+++ b/modules/nixos/base/nix.nix
@@ -1,30 +1,38 @@
-{ config, lib, pkgs, ... }:
-
{
+ config,
+ lib,
+ pkgs,
+ ...
+}: {
nix = {
package = pkgs.lixPackageSets.stable.lix; # Use lix as the package manager instead of Nix
settings = {
substituters = [
"https://cache.nixos.org/"
+ "https://cache.lix.systems"
];
trusted-public-keys = [
"cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY="
+ "cache.lix.systems-1:32QFpmvZsbQ8HhH3dBHDx1E8zFGbxqMNxjE2Rk5OGcQ="
];
experimental-features = [
- "nix-command"
- "flakes"
+ "nix-command"
+ "flakes"
];
};
};
# Fix nixkpgs.overlays being broken after switching to Lix from Nix
- nixpkgs.overlays = [ (final: prev: {
- inherit (prev.lixPackageSets.stable)
- nixpkgs-review
- nix-eval-jobs
- nix-fast-build
- colmena;
- }) ];
-
+ nixpkgs.overlays = [
+ (final: prev: {
+ inherit
+ (prev.lixPackageSets.stable)
+ nixpkgs-review
+ nix-eval-jobs
+ nix-fast-build
+ colmena
+ ;
+ })
+ ];
}