mirror of
https://github.com/callumio/nixfiles.git
synced 2026-08-06 20:49:17 +01:00
tree imports all now
This commit is contained in:
parent
e692e1ec13
commit
9b48220a2a
11 changed files with 258 additions and 25 deletions
31
tree/nix.nix
Normal file
31
tree/nix.nix
Normal file
|
|
@ -0,0 +1,31 @@
|
|||
{inputs, ...}: {
|
||||
flake.nixosModules.nix-config = {
|
||||
nix = {
|
||||
registry.nixpkgs.flake = inputs.nixpkgs;
|
||||
registry.unstable.flake = inputs.unstable;
|
||||
gc = {
|
||||
automatic = true;
|
||||
dates = "weekly";
|
||||
options = "--delete-older-than 7d";
|
||||
};
|
||||
extraOptions = "gc-keep-outputs = true";
|
||||
settings = {
|
||||
experimental-features = [
|
||||
"nix-command"
|
||||
"flakes"
|
||||
"auto-allocate-uids"
|
||||
];
|
||||
auto-optimise-store = true;
|
||||
auto-allocate-uids = true;
|
||||
substituters = [
|
||||
"https://nix-community.cachix.org"
|
||||
"https://callumio-public.cachix.org"
|
||||
];
|
||||
trusted-public-keys = [
|
||||
"nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs="
|
||||
"callumio-public.cachix.org-1:VucOSl7vh44GdqcILwMIeHlI0ufuAnHAl8cO1U/7yhg="
|
||||
];
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue