feat(jeeves)!: use lix
Also remove `nix.registry` and `nix.nixPath`, not working
This commit is contained in:
parent
21bcbdb893
commit
87e3cf2c3b
1 changed files with 2 additions and 10 deletions
|
@ -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 = [
|
||||||
|
|
Loading…
Reference in a new issue