dotfiles/.config/nixos/shared/meta-configs.nix
Andrei Jiroh Halili 18b7c4e226 chore(nixos): update configurations and add README
Also set wakatime project name for @hackclub High Seas and
for coding stats

Signed-off-by: Andrei Jiroh Halili <ajhalili2006@andreijiroh.dev>
2024-12-29 22:16:59 +08:00

18 lines
No EOL
528 B
Nix

# This is the meta config file for nixpkgs and nix cli
{ config, pkgs, lib, ... }:
{
# 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" ];
}