refactor: combine nix-settings and nixpkgs modules into one nix module

This commit is contained in:
wi11-holdsworth 2025-10-22 17:26:30 +11:00
parent a62a9b6990
commit f4c10a0a0b
3 changed files with 8 additions and 5 deletions

View file

@ -1,4 +1,11 @@
{
lib,
...
}:
{
# allow packages with non-free licenses
nixpkgs.config.allowUnfree = true;
nix = {
gc = {
automatic = true;

View file

@ -1,3 +0,0 @@
{
nixpkgs.config.allowUnfree = true;
}