apply treefmt

This commit is contained in:
Jörg Thalheim 2023-07-05 11:13:05 +02:00
parent 7b74fb1f54
commit 8f7963368d
6 changed files with 10 additions and 8 deletions

View File

@ -1,4 +1,4 @@
{ config, pkgs, ... }: {
{ pkgs, ... }: {
services.postgresql.enable = true;
services.postgresql.package = pkgs.postgresql_14;

View File

@ -1,4 +1,4 @@
{ pkgs, ...}: {
{ pkgs, ... }: {
security.acme.defaults.email = "admins@clan.lol";
security.acme.acceptTerms = true;
@ -6,7 +6,7 @@
virtualHosts."clan.lol" = {
forceSSL = true;
enableACME = true;
root = pkgs.runCommand "clan.lol" {} ''
root = pkgs.runCommand "clan.lol" { } ''
mkdir -p $out;
cat > $out/index.html <<EOF
<html>

View File

@ -1,6 +1,8 @@
{ self, ... }: let
{ self, ... }:
let
nixosVars = builtins.fromJSON (builtins.readFile ./nixos-vars.json);
in {
in
{
imports = [
self.nixosModules.web01
self.nixosModules.hcloud