my over complex system configurations dotfiles.isabelroses.com/
nixos nix flake dotfiles linux
10
fork

Configure Feed

Select the types of activity you want to include in your feed.

Revert "various: use lix from nixpkgs"

This reverts commit 347acd4a2a4d65f713857c0f7afb450d1e8698be.

isabel 536f7c75 b867df3e

+26 -6
+3
docs/src/configuration/lix.md
··· 1 1 I use [lix](https://git.lix.systems/lix-project/lix). 2 2 3 + > [!NOTE] 4 + > 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. 5 + 3 6 This flake makes a point of using lix where possible. 4 7 5 8 To 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
··· 29 29 the home-manager users and configuring the options. 30 30 4. You will then want to edit `modules/nixos/environment/locale.nix` such that 31 31 you have the correct timezone and locale. 32 + 5. You likely don't want to use my lix fork, so you should regex replace 33 + `izlix` with your preferred nix implementation. If your preferred nix 34 + implementation does not support nested `input.follows` you will have to edit 35 + the `flake.nix`. 32 36 6. There is a lot of maintenance burden in this repository, so you should see 33 37 what you can remove safely. But there's no safe way to guide you on this so best of luck. 34 38
+9
flake.nix
··· 13 13 # https://deer.social/profile/did:plc:mojgntlezho4qt7uvcfkdndg/post/3loogwsoqok2w 14 14 nixpkgs.url = "https://channels.nixos.org/nixpkgs-unstable/nixexprs.tar.xz"; 15 15 16 + # lix a good fork of nix, but also patched with my stuff 17 + # so really you want: https://git.lix.systems/lix-project/lix/archive/main.tar.gz 18 + izlix = { 19 + type = "github"; 20 + owner = "isabelroses"; 21 + repo = "izlix"; 22 + inputs.nixpkgs.follows = "nixpkgs"; 23 + }; 24 + 16 25 # improved support for darwin 17 26 darwin = { 18 27 type = "github";
+4 -1
modules/base/nix/nix.nix
··· 3 3 pkgs, 4 4 _class, 5 5 inputs, 6 + inputs', 6 7 ... 7 8 }: 8 9 let ··· 26 27 # 27 28 # You cannot build nix.exe with lix, I don't really know who this affects but... 28 29 # https://akko.isabelroses.com/notice/AjMDXG28c8sLqhci0G 29 - package = pkgs.lixPackageSets.git.lix; 30 + # 31 + # NOTE: we are also using a specifically patched version, you can see this from overlays/lix.nix 32 + package = inputs'.izlix.packages.lix; 30 33 31 34 # pin the registry to avoid downloading and evaluating a new nixpkgs version everytime 32 35 registry = (mapAttrs (_: flake: { inherit flake; }) flakeInputs) // {
+2 -1
modules/flake/packages/default.nix
··· 9 9 perSystem = 10 10 { 11 11 pkgs, 12 + inputs', 12 13 ... 13 14 }: 14 15 let ··· 18 19 # keep-sorted start block=yes newline_separated=yes 19 20 docs = self.callPackage ./docs/package.nix { }; 20 21 21 - iztaller = self.callPackage ./iztaller/package.nix { }; 22 + iztaller = self.callPackage ./iztaller/package.nix { nix = inputs'.izlix.packages.lix; }; 22 23 23 24 libdoc = self.callPackage ./docs/lib.nix { }; 24 25 # keep-sorted end
+2 -2
modules/flake/packages/iztaller/package.nix
··· 1 1 { 2 - lixPackageSets, 2 + nix, 3 3 gum, 4 4 vim, 5 5 parted, ··· 10 10 name = "iztaller"; 11 11 12 12 runtimeInputs = [ 13 - lixPackageSets.git.lix 13 + nix 14 14 gum 15 15 vim 16 16 parted
+2 -2
modules/iso/nix.nix
··· 1 - { pkgs, ... }: 1 + { inputs', ... }: 2 2 { 3 3 nix = { 4 4 # setting nix to be our preferred fork 5 - package = pkgs.lixPackageSets.git.lix; 5 + package = inputs'.izlix.packages.lix; 6 6 7 7 # we can disable channels since we can just use the flake 8 8 channel.enable = false;