···11I use [lix](https://git.lix.systems/lix-project/lix).
2233+> [!NOTE]
44+> Furthermore this is with a custom patch set through [izlix](https://github.com/isabelroses/izlix). Though I don't recommend using izlix. If you want the patches you may copy them for personal use.
55+36This flake makes a point of using lix where possible.
4758To do so we add the following snippet taken from [modules/base/nix/overlays/default.nix](https://github.com/isabelroses/dotfiles/blob/463e509725f610d802c483fdc00ce0b77cd778c2/modules/base/nixpkgs/overlays/default.nix#L13-L25).
+4
docs/src/guides/making-it-your-own.md
···2929 the home-manager users and configuring the options.
30304. You will then want to edit `modules/nixos/environment/locale.nix` such that
3131 you have the correct timezone and locale.
3232+5. You likely don't want to use my lix fork, so you should regex replace
3333+ `izlix` with your preferred nix implementation. If your preferred nix
3434+ implementation does not support nested `input.follows` you will have to edit
3535+ the `flake.nix`.
32366. There is a lot of maintenance burden in this repository, so you should see
3337 what you can remove safely. But there's no safe way to guide you on this so best of luck.
3438
+9
flake.nix
···1313 # https://deer.social/profile/did:plc:mojgntlezho4qt7uvcfkdndg/post/3loogwsoqok2w
1414 nixpkgs.url = "https://channels.nixos.org/nixpkgs-unstable/nixexprs.tar.xz";
15151616+ # lix a good fork of nix, but also patched with my stuff
1717+ # so really you want: https://git.lix.systems/lix-project/lix/archive/main.tar.gz
1818+ izlix = {
1919+ type = "github";
2020+ owner = "isabelroses";
2121+ repo = "izlix";
2222+ inputs.nixpkgs.follows = "nixpkgs";
2323+ };
2424+1625 # improved support for darwin
1726 darwin = {
1827 type = "github";
+4-1
modules/base/nix/nix.nix
···33 pkgs,
44 _class,
55 inputs,
66+ inputs',
67 ...
78}:
89let
···2627 #
2728 # You cannot build nix.exe with lix, I don't really know who this affects but...
2829 # https://akko.isabelroses.com/notice/AjMDXG28c8sLqhci0G
2929- package = pkgs.lixPackageSets.git.lix;
3030+ #
3131+ # NOTE: we are also using a specifically patched version, you can see this from overlays/lix.nix
3232+ package = inputs'.izlix.packages.lix;
30333134 # pin the registry to avoid downloading and evaluating a new nixpkgs version everytime
3235 registry = (mapAttrs (_: flake: { inherit flake; }) flakeInputs) // {
···11-{ pkgs, ... }:
11+{ inputs', ... }:
22{
33 nix = {
44 # setting nix to be our preferred fork
55- package = pkgs.lixPackageSets.git.lix;
55+ package = inputs'.izlix.packages.lix;
6677 # we can disable channels since we can just use the flake
88 channel.enable = false;