formatting

This commit is contained in:
Vinzenz Schroeter 2024-07-21 14:10:41 +02:00
parent 517753081e
commit 16c9d8e615
3 changed files with 11 additions and 10 deletions

View file

@ -15,7 +15,8 @@ in {
imports = [
# this switches the nix implementation to lix everywhere, but means recompiling lix every build.
# https://lix.systems/add-to-config/
(let
(
let
module = fetchTarball {
name = "source";
url = "https://git.lix.systems/lix-project/nixos-module/archive/2.90.0.tar.gz";
@ -26,7 +27,8 @@ in {
url = "https://git.lix.systems/lix-project/lix/archive/2.90.0.tar.gz";
sha256 = "sha256-f8k+BezKdJfmE+k7zgBJiohtS3VkkriycdXYsKOm3sc=";
};
in import "${module}/module.nix" { lix = lixSrc; }
in
import "${module}/module.nix" {lix = lixSrc;}
)
];
@ -51,6 +53,11 @@ in {
substituters = ["https://nix-community.cachix.org" "https://cache.nixos.org/"];
trusted-public-keys = ["nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs="];
};
gc = {
automatic = true;
dates = "daily";
options = "--delete-older-than 7d";
};
};
system = {
@ -62,12 +69,6 @@ in {
};
};
nix.gc = {
automatic = true;
dates = "daily";
options = "--delete-older-than 7d";
};
documentation = {
enable = true; # documentation of packages
nixos.enable = false; # nixos documentation