More option simplification
This commit is contained in:
parent
8ac994204c
commit
c4d69ff019
6 changed files with 13 additions and 24 deletions
22
system/nix/default.nix
Normal file
22
system/nix/default.nix
Normal 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;
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue