nixos-config/modules/system/settings/nix/default.nix
2025-03-24 04:28:36 -04:00

24 lines
435 B
Nix

{ config, lib, pkgs, unstable, ... }:
{
imports = [
./gc
./unfree
];
nix = {
package = pkgs.lix;
settings = {
experimental-features = [
"nix-command"
"flakes"
];
auto-optimise-store = true;
trusted-users = [ "@wheel" ];
};
};
_module.args.pkgsUnstable = import unstable {
inherit (pkgs.stdenv.hostPlatform) system;
inherit (config.nixpkgs) config;
};
}