mirror of
https://github.com/kaesaecracker/nixos-configuration.git
synced 2025-01-18 10:30:14 +01:00
formatting
This commit is contained in:
parent
517753081e
commit
16c9d8e615
|
@ -17,7 +17,7 @@ in {
|
||||||
desktopManager.gnome.enable = true;
|
desktopManager.gnome.enable = true;
|
||||||
displayManager = {
|
displayManager = {
|
||||||
gdm.enable = true;
|
gdm.enable = true;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
displayManager.defaultSession = "gnome";
|
displayManager.defaultSession = "gnome";
|
||||||
|
|
|
@ -15,7 +15,8 @@ in {
|
||||||
imports = [
|
imports = [
|
||||||
# this switches the nix implementation to lix everywhere, but means recompiling lix every build.
|
# this switches the nix implementation to lix everywhere, but means recompiling lix every build.
|
||||||
# https://lix.systems/add-to-config/
|
# https://lix.systems/add-to-config/
|
||||||
(let
|
(
|
||||||
|
let
|
||||||
module = fetchTarball {
|
module = fetchTarball {
|
||||||
name = "source";
|
name = "source";
|
||||||
url = "https://git.lix.systems/lix-project/nixos-module/archive/2.90.0.tar.gz";
|
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";
|
url = "https://git.lix.systems/lix-project/lix/archive/2.90.0.tar.gz";
|
||||||
sha256 = "sha256-f8k+BezKdJfmE+k7zgBJiohtS3VkkriycdXYsKOm3sc=";
|
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/"];
|
substituters = ["https://nix-community.cachix.org" "https://cache.nixos.org/"];
|
||||||
trusted-public-keys = ["nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs="];
|
trusted-public-keys = ["nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs="];
|
||||||
};
|
};
|
||||||
|
gc = {
|
||||||
|
automatic = true;
|
||||||
|
dates = "daily";
|
||||||
|
options = "--delete-older-than 7d";
|
||||||
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
system = {
|
system = {
|
||||||
|
@ -62,12 +69,6 @@ in {
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
nix.gc = {
|
|
||||||
automatic = true;
|
|
||||||
dates = "daily";
|
|
||||||
options = "--delete-older-than 7d";
|
|
||||||
};
|
|
||||||
|
|
||||||
documentation = {
|
documentation = {
|
||||||
enable = true; # documentation of packages
|
enable = true; # documentation of packages
|
||||||
nixos.enable = false; # nixos documentation
|
nixos.enable = false; # nixos documentation
|
||||||
|
|
Loading…
Reference in a new issue