common: move to modules, move some files out, modules: adjust dir structure

This commit is contained in:
wo2wz 2025-10-04 18:32:46 -04:00
parent ed5f8c3ae6
commit 0bc9abc4c0
43 changed files with 86 additions and 83 deletions

18
modules/common/nix.nix Executable file
View file

@ -0,0 +1,18 @@
{ config, ... }:
{
nix = {
channel.enable = false;
gc.automatic = true;
optimise = {
automatic = true;
dates = [ "weekly" ];
};
settings = {
experimental-features = [ "nix-command" "flakes" ];
download-buffer-size = 524288000;
};
};
nixpkgs.config.allowUnfree = true;
}