30 lines
595 B
Nix
30 lines
595 B
Nix
{
|
|
pkgs,
|
|
inputs,
|
|
...
|
|
}: {
|
|
nix = {
|
|
nixPath = ["nixpkgs=${inputs.nixpkgs}"];
|
|
gc = {
|
|
automatic = true;
|
|
dates = "weekly";
|
|
options = "--delete-older-than 14d";
|
|
};
|
|
settings = {
|
|
experimental-features = ["nix-command" "flakes"];
|
|
auto-optimise-store = true;
|
|
};
|
|
};
|
|
|
|
nixpkgs = {
|
|
overlays = [
|
|
inputs.nur.overlays.default
|
|
inputs.niri.overlays.niri
|
|
inputs.nix-alien.overlays.default
|
|
];
|
|
config = {
|
|
allowUnfree = true;
|
|
};
|
|
};
|
|
environment.systemPackages = [inputs.alejandra.defaultPackage.${pkgs.system}];
|
|
}
|