aboutsummaryrefslogtreecommitdiff
path: root/modules/nixos/base
diff options
context:
space:
mode:
authorNatasha Moongrave <natasha@256phi.eu>2026-02-12 13:14:43 +0100
committerNatasha Moongrave <natasha@256phi.eu>2026-02-12 13:14:43 +0100
commit813836583a6cc4656e71a52ef217169009374594 (patch)
treee0027d281c7da1d15a56b20b5ae45a877c1187f3 /modules/nixos/base
parent1fae553aba1b4fe9e2cf2a4902575df613ab9b90 (diff)
switched to lix from nix
Diffstat (limited to 'modules/nixos/base')
-rw-r--r--modules/nixos/base/nix.nix33
1 files changed, 23 insertions, 10 deletions
diff --git a/modules/nixos/base/nix.nix b/modules/nixos/base/nix.nix
index 87e93f4..b864a39 100644
--- a/modules/nixos/base/nix.nix
+++ b/modules/nixos/base/nix.nix
@@ -1,17 +1,30 @@
{ config, lib, pkgs, ... }:
{
- nix.settings = {
- substituters = [
- "https://cache.nixos.org/"
- ];
+ nix = {
+ package = pkgs.lixPackageSets.stable.lix; # Use lix as the package manager instead of Nix
- trusted-public-keys = [
- "cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY="
- ];
- experimental-features = [
- "nix-command"
- "flakes"
+ settings = {
+ substituters = [
+ "https://cache.nixos.org/"
];
+
+ trusted-public-keys = [
+ "cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY="
+ ];
+ experimental-features = [
+ "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;
+ }) ];
+
}