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, ... }:
{
imports =
[ # Include the results of the hardware scan.
[
# Include the results of the hardware scan.
./hardware-configuration.nix
../../modules/games/steam.nix
inputs.nix-minecraft.nixosModules.minecraft-servers
@ -45,7 +46,7 @@
networking = {
hostName = "lambdaOS"; # Define your hostname.
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.
@ -63,9 +64,9 @@
settings = {
# auto optimise every so often
# auto-optimise-store = true;
experimental-features = ["nix-command" "flakes"];
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=" ];
experimental-features = [ "nix-command" "flakes" ];
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=" ];
};
optimise.automatic = true;
gc = {
@ -247,13 +248,13 @@
proxy_read_timeout 600s;
proxy_send_timeout 600s;
send_timeout 600s;'';
in {
in
{
"noa.voorwaarts.nl" = {
default = true;
forceSSL = true;
enableACME = true;
serverAliases = [ "images.noa.voorwaarts.nl" "sods.noa.voorwaarts.nl" "testing.noa.voorwaarts.nl" ];
};
"images.noa.voorwaarts.nl" = {
@ -370,6 +371,11 @@
acme = {
acceptTerms = true;
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;
};

View file

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