feat(jeeves)!: use lix

Also remove `nix.registry` and `nix.nixPath`, not working
This commit is contained in:
reo101 2024-09-15 16:51:30 +03:00
parent 21bcbdb893
commit 87e3cf2c3b
Signed by: reo101
GPG key ID: 675AA7EF13964ACB

View file

@ -44,16 +44,8 @@
hardware.enableRedistributableFirmware = true; hardware.enableRedistributableFirmware = true;
hardware.cpu.amd.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware; hardware.cpu.amd.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;
nix = let nix = {
flakeInputs = lib.filterAttrs (lib.const (lib.isType "flake")) inputs; package = pkgs.lix-monitored;
in {
# This will add each flake input as a registry
# To make nix3 commands consistent with your flake
registry = lib.mapAttrs (_: value: { flake = value; }) flakeInputs;
# This will additionally add your inputs to the system's legacy channels
# Making legacy nix commands consistent as well, awesome!
nixPath = lib.mapAttrsToList (key: value: "${key}=flake:${key}") flakeInputs;
settings = { settings = {
trusted-users = [ trusted-users = [