From 87e3cf2c3b50a4341f31629e5e15d263fd82d5f1 Mon Sep 17 00:00:00 2001 From: reo101 Date: Sun, 15 Sep 2024 16:51:30 +0300 Subject: [PATCH] feat(jeeves)!: use `lix` Also remove `nix.registry` and `nix.nixPath`, not working --- hosts/nixos/jeeves/configuration.nix | 12 ++---------- 1 file changed, 2 insertions(+), 10 deletions(-) diff --git a/hosts/nixos/jeeves/configuration.nix b/hosts/nixos/jeeves/configuration.nix index fa3e568..9225d3d 100644 --- a/hosts/nixos/jeeves/configuration.nix +++ b/hosts/nixos/jeeves/configuration.nix @@ -44,16 +44,8 @@ hardware.enableRedistributableFirmware = true; hardware.cpu.amd.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware; - nix = let - flakeInputs = lib.filterAttrs (lib.const (lib.isType "flake")) inputs; - 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; + nix = { + package = pkgs.lix-monitored; settings = { trusted-users = [