Commit d6c740d

HPCesia <me@hpcesia.com>
2026-03-23 08:24:40
feat: using lix
1 parent dfccbf4
Changed files (3)
modules/core/nix/default.nix
@@ -1,10 +1,12 @@
 {
   flake.modules.nixos.core = {
     nix.settings = {
-      experimental-features = ["auto-allocate-uids"];
+      experimental-features = ["auto-allocate-uids" "cgroups"];
 
       # Select UIDs for builds automatically, EXPERIMENTAL
       auto-allocate-uids = true;
+      # Required by auto-allocate-uids
+      use-cgroups = true;
       # Automatically hard link identical files in the Nix store
       auto-optimise-store = true;
       # Remote servers preferred substituters instead of local builders
modules/core/nix/lix.nix
@@ -0,0 +1,17 @@
+{
+  flake.modules.nixos.core = {pkgs, ...}: {
+    nixpkgs.overlays = [
+      (final: prev: {
+        inherit
+          (prev.lixPackageSets.stable)
+          nixpkgs-review
+          nix-eval-jobs
+          nix-fast-build
+          colmena
+          ;
+      })
+    ];
+
+    nix.package = pkgs.lixPackageSets.stable.lix;
+  };
+}
modules/flake/nixpkgs.nix
@@ -16,6 +16,16 @@
       config = {allowUnfree = true;};
       overlays = [
         inputs.nur.overlays.default
+        (final: prev: {
+          inherit
+            (final.lixPackageSets.stable)
+            nixpkgs-review
+            nix-direnv
+            nix-eval-jobs
+            nix-fast-build
+            colmena
+            ;
+        })
       ];
     };
     pkgsDirectory = config.flake.meta.rootPath + "/pkgs/by-name";