Add unfree environment variable like I should have a long time ago

This commit is contained in:
Jimbo 2024-09-21 20:03:45 -04:00
parent d4ecdc0ecb
commit c03779aee4
2 changed files with 3 additions and 4 deletions

View file

@ -6,6 +6,7 @@
EDITOR = "nvim";
LIBVIRT_DEFAULT_URI = "qemu:///system";
HISTCONTROL = "ignoreboth";
NIXPKGS_ALLOW_UNFREE = "1";
};
};
}

View file

@ -1,10 +1,8 @@
{config, inputs, lib, ...}: {
# This will add each flake input as a registry
# To make nix commands consistent with your flake
# This will add each flake input as a registry to make nix commands consistent with your flake
nix.registry = (lib.mapAttrs (_: flake: {inherit flake;})) ((lib.filterAttrs (_: lib.isType "flake")) inputs);
# This will additionally add your inputs to the system's legacy channels
# Making legacy nix commands consistent as well, awesome!
# This will add your inputs to the system's legacy channels making legacy nix commands consistent
nix.nixPath = ["/etc/nix/path"];
environment.etc =
lib.mapAttrs'