mirror of
https://github.com/kaesaecracker/nixos-configuration.git
synced 2025-01-18 02:20:14 +01:00
formatting
This commit is contained in:
parent
517753081e
commit
16c9d8e615
|
@ -17,7 +17,7 @@ in {
|
|||
desktopManager.gnome.enable = true;
|
||||
displayManager = {
|
||||
gdm.enable = true;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
displayManager.defaultSession = "gnome";
|
||||
|
|
|
@ -12,7 +12,7 @@ in {
|
|||
services = {
|
||||
# Enable CUPS to print documents.
|
||||
printing.enable = true;
|
||||
|
||||
|
||||
avahi = {
|
||||
enable = true; # runs the Avahi daemon
|
||||
nssmdns4 = true; # enables the mDNS NSS plug-in
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue