More option simplification

This commit is contained in:
Jimbo 2025-03-01 17:48:06 -05:00
parent 8ac994204c
commit c4d69ff019
6 changed files with 13 additions and 24 deletions

22
system/nix/default.nix Normal file
View file

@ -0,0 +1,22 @@
{ config, pkgs, unstable, ... }:
{
nix = {
settings = {
experimental-features = [
"nix-command"
"flakes"
];
auto-optimise-store = true;
};
gc = {
automatic = true;
dates = "weekly";
options = "--delete-older-than 7d";
};
};
_module.args.pkgsUnstable = import unstable {
inherit (pkgs.stdenv.hostPlatform) system;
inherit (config.nixpkgs) config;
};
}