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";
|
EDITOR = "nvim";
|
||||||
LIBVIRT_DEFAULT_URI = "qemu:///system";
|
LIBVIRT_DEFAULT_URI = "qemu:///system";
|
||||||
HISTCONTROL = "ignoreboth";
|
HISTCONTROL = "ignoreboth";
|
||||||
|
NIXPKGS_ALLOW_UNFREE = "1";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,10 +1,8 @@
|
||||||
{config, inputs, lib, ...}: {
|
{config, inputs, lib, ...}: {
|
||||||
# This will add each flake input as a registry
|
# This will add each flake input as a registry to make nix commands consistent with your flake
|
||||||
# To make nix commands consistent with your flake
|
|
||||||
nix.registry = (lib.mapAttrs (_: flake: {inherit flake;})) ((lib.filterAttrs (_: lib.isType "flake")) inputs);
|
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
|
# This will add your inputs to the system's legacy channels making legacy nix commands consistent
|
||||||
# Making legacy nix commands consistent as well, awesome!
|
|
||||||
nix.nixPath = ["/etc/nix/path"];
|
nix.nixPath = ["/etc/nix/path"];
|
||||||
environment.etc =
|
environment.etc =
|
||||||
lib.mapAttrs'
|
lib.mapAttrs'
|
||||||
|
|
Loading…
Reference in a new issue