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 a896a4a87f
commit 8f4defe84b
3 changed files with 8 additions and 5 deletions

View file

@ -13,8 +13,7 @@
"localisation" "localisation"
"network" "network"
"nh" "nh"
"nix-settings" "nix"
"nixpkgs"
"nixvim" "nixvim"
"syncthing" "syncthing"
"systemd-boot" "systemd-boot"

View file

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

View file

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