dotfiles/.config/nixos/shared/meta-configs.nix
Andrei Jiroh Halili 824366c5dd chore(global): initial commit for nixpkgs branch
Need to commit and push for community help at @hackclub slack
later.

Signed-off-by: Andrei Jiroh Halili <ajhalili2006@andreijiroh.dev>
2024-12-29 19:39:14 +08:00

18 lines
No EOL
509 B
Nix

# This is the meta config file for nixpkgs and nix cli
{ ... }:
{
# Adopted from https://fnordig.de/til/nix/home-manager-allow-unfree.html,
# but we'll also enable it system-wide too.
nixpkgs = {
config = {
allowUnfree = true;
# https://github.com/nix-community/home-manager/issues/2942
allowUnfreePredicate = (_: true);
};
};
# Enable the Flakes feature and the accompanying new nix command-line tool
nix.settings.experimental-features = [ "nix-command" "flakes" ];
}