feat: move nix settings to nix.nix

This commit is contained in:
2026-02-20 19:43:02 +01:00
parent a7a60826bb
commit 5289cb0054
3 changed files with 24 additions and 15 deletions

View File

@@ -18,22 +18,13 @@ let
user: import ../users/${user}/home-manager.nix { inherit inputs; }
);
gib_in_bytes = 1073741824;
in
nixpkgs.lib.nixosSystem {
inherit system;
modules = [
{
nix.settings = {
download-buffer-size = 1 * gib_in_bytes;
experimental-features = [
"nix-command"
"flakes"
];
};
}
../nix.nix
{ nixpkgs.overlays = overlays; }
{ nixpkgs.config.allowUnfree = true; }