system: move all to defaults
This commit is contained in:
parent
986a9c5551
commit
09ad3d8197
4 changed files with 0 additions and 0 deletions
33
defaults/lix.nix
Normal file
33
defaults/lix.nix
Normal file
|
|
@ -0,0 +1,33 @@
|
|||
{
|
||||
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
|
||||
;
|
||||
})
|
||||
];
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue