1769288238

This commit is contained in:
2026-01-24 22:57:18 +02:00
parent fa32ae5510
commit 84020b1572
94 changed files with 1428 additions and 1024 deletions
+49
View File
@@ -0,0 +1,49 @@
{
pkgs,
# inputs,
# config,
lib,
...
}: {
# imports = with inputs; [lix.nixosModules.default];
nix = {
package = pkgs.lixPackageSets.git.lix;
# package = pkgs.lixPackageSets.latest.lix;
channel.enable = false;
daemonCPUSchedPolicy = "idle";
optimise = {
automatic = true;
dates = ["weekly"];
};
};
nix.settings = {
auto-optimise-store = true;
experimental-features = [
"nix-command"
"flakes"
# for container in builds support
"auto-allocate-uids"
"cgroups"
# Enable the use of the fetchClosure built-in function in the Nix language.
# "fetch-closure"
# Allow derivation builders to call Nix, and thus build derivations recursively.
# "recursive-nix"
# Allow the use of the impure-env setting.
# "configurable-impure-env"
];
# no longer need to pre-allocate build users for everything
auto-allocate-uids = lib.mkDefault true;
# Needs a patch in Nix to work properly: https://github.com/NixOS/nix/pull/13135
use-cgroups = true;
# for container in builds support
system-features = ["uid-range"];
use-xdg-base-directories = true;
};
}