Add unfree environment variable like I should have a long time ago
This commit is contained in:
parent
d4ecdc0ecb
commit
c03779aee4
|
@ -6,6 +6,7 @@
|
|||
EDITOR = "nvim";
|
||||
LIBVIRT_DEFAULT_URI = "qemu:///system";
|
||||
HISTCONTROL = "ignoreboth";
|
||||
NIXPKGS_ALLOW_UNFREE = "1";
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
|
@ -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'
|
||||
|
|
Loading…
Reference in a new issue