formatting

This commit is contained in:
Noa Aarts 2024-06-04 12:13:51 +02:00
parent 4f1351053d
commit 9c28397d38
2 changed files with 354 additions and 347 deletions

View file

@ -5,7 +5,8 @@
{ config, pkgs, inputs, nix-colors, ... }: { config, pkgs, inputs, nix-colors, ... }:
{ {
imports = imports =
[ # Include the results of the hardware scan. [
# Include the results of the hardware scan.
./hardware-configuration.nix ./hardware-configuration.nix
../../modules/games/steam.nix ../../modules/games/steam.nix
inputs.nix-minecraft.nixosModules.minecraft-servers inputs.nix-minecraft.nixosModules.minecraft-servers
@ -45,7 +46,7 @@
networking = { networking = {
hostName = "lambdaOS"; # Define your hostname. hostName = "lambdaOS"; # Define your hostname.
hosts = { hosts = {
"127.0.0.1" = ["images.noa.voorwaarts.nl" "sods.noa.voorwaarts.nl" "noa.voorwaarts.nl" "testing.noa.voorwaarts.nl" ]; "127.0.0.1" = [ "images.noa.voorwaarts.nl" "sods.noa.voorwaarts.nl" "noa.voorwaarts.nl" "testing.noa.voorwaarts.nl" ];
}; };
}; };
# networking.wireless.enable = true; # Enables wireless support via wpa_supplicant. # networking.wireless.enable = true; # Enables wireless support via wpa_supplicant.
@ -63,9 +64,9 @@
settings = { settings = {
# auto optimise every so often # auto optimise every so often
# auto-optimise-store = true; # auto-optimise-store = true;
experimental-features = ["nix-command" "flakes"]; experimental-features = [ "nix-command" "flakes" ];
substituters = ["https://hyprland.cachix.org" "https://cache.iog.io" "https://cuda-maintainers.cachix.org" ]; substituters = [ "https://hyprland.cachix.org" "https://cache.iog.io" "https://cuda-maintainers.cachix.org" ];
trusted-public-keys = ["hyprland.cachix.org-1:a7pgxzMz7+chwVL3/pzj6jIBMioiJM7ypFP8PwtkuGc=" "hydra.iohk.io:f/Ea+s+dFdN+3Y/G+FDgSq+a5NEWhJGzdjvKNGv0/EQ=" "cuda-maintainers.cachix.org-1:0dq3bujKpuEPMCX6U4WylrUDZ9JyUG0VpVZa7CNfq5E=" ]; trusted-public-keys = [ "hyprland.cachix.org-1:a7pgxzMz7+chwVL3/pzj6jIBMioiJM7ypFP8PwtkuGc=" "hydra.iohk.io:f/Ea+s+dFdN+3Y/G+FDgSq+a5NEWhJGzdjvKNGv0/EQ=" "cuda-maintainers.cachix.org-1:0dq3bujKpuEPMCX6U4WylrUDZ9JyUG0VpVZa7CNfq5E=" ];
}; };
optimise.automatic = true; optimise.automatic = true;
gc = { gc = {
@ -247,13 +248,13 @@
proxy_read_timeout 600s; proxy_read_timeout 600s;
proxy_send_timeout 600s; proxy_send_timeout 600s;
send_timeout 600s;''; send_timeout 600s;'';
in { in
{
"noa.voorwaarts.nl" = { "noa.voorwaarts.nl" = {
default = true; default = true;
forceSSL = true; forceSSL = true;
enableACME = true; enableACME = true;
serverAliases = [ "images.noa.voorwaarts.nl" "sods.noa.voorwaarts.nl" "testing.noa.voorwaarts.nl" ];
}; };
"images.noa.voorwaarts.nl" = { "images.noa.voorwaarts.nl" = {
@ -370,6 +371,11 @@
acme = { acme = {
acceptTerms = true; acceptTerms = true;
defaults.email = "acme@voorwaarts.nl"; defaults.email = "acme@voorwaarts.nl";
certs."noa.voorwaarts.nl".extraDomainNames = [
"images.noa.voorwaarts.nl"
"sods.noa.voorwaarts.nl"
"testing.noa.voorwaarts.nl"
];
}; };
polkit.enable = true; polkit.enable = true;
}; };

View file

@ -67,6 +67,7 @@
opam opam
stack stack
cargo cargo
gcc
bend bend