system: move all to defaults

This commit is contained in:
Elec3137 2026-03-23 21:06:39 -07:00
commit 09ad3d8197
4 changed files with 0 additions and 0 deletions

View file

@ -1,33 +0,0 @@
{
pkgs,
lib,
config,
...
}:
let
name = "lix";
cfg = config.nixowos.system.${name};
in
{
options.nixowos.system.${name} = {
enable = lib.mkEnableOption name;
};
config = lib.mkIf cfg.enable {
# use lix, a fork of nix
# see: https://lix.systems/about
nix.package = pkgs.lixPackageSets.stable.lix;
# overlays so that all nix tools use lix
nixpkgs.overlays = [
(final: prev: {
inherit (prev.lixPackageSets.stable)
nixpkgs-review
nix-eval-jobs
nix-fast-build
colmena
;
})
];
};
}