Apply treefmt
Some checks failed
continuous-integration/drone/pr Build is failing

This commit is contained in:
teutat3s 2023-07-13 20:50:18 +02:00
parent c977bfba38
commit 1268438acd
Signed by: teutat3s
GPG key ID: 4FA1D3FA524F22C1
4 changed files with 34 additions and 30 deletions

View file

@ -1,7 +1,4 @@
{
config,
...
}: {
{config, ...}: {
# Changing the Caddyfile should only trigger a reload, not a restart
systemd.services.caddy.reloadTriggers = [
config.services.caddy.configFile

View file

@ -1,14 +1,16 @@
{ config, lib, pkgs, ... }:
{
imports =
[
# Include the results of the hardware scan.
./hardware-configuration.nix
config,
lib,
pkgs,
...
}: {
imports = [
# Include the results of the hardware scan.
./hardware-configuration.nix
./caddy.nix
./keycloak.nix
];
./caddy.nix
./keycloak.nix
];
pub-solar.core.lite = true;
@ -17,13 +19,15 @@
networking = {
useDHCP = false;
interfaces.enp1s0.ipv4.addresses = [{
address = "80.244.242.4";
prefixLength = 29;
}];
interfaces.enp1s0.ipv4.addresses = [
{
address = "80.244.242.4";
prefixLength = 29;
}
];
defaultGateway = "80.244.242.1";
nameservers = [ "95.129.51.51" "80.244.244.244" ];
nameservers = ["95.129.51.51" "80.244.244.244"];
};
# Enable the OpenSSH daemon.

View file

@ -1,6 +1,7 @@
{ suites, ... }:
{
imports = [
./pioneer-momo-koeln.nix
] ++ suites.pioneer-momo-koeln;
{suites, ...}: {
imports =
[
./pioneer-momo-koeln.nix
]
++ suites.pioneer-momo-koeln;
}

View file

@ -1,12 +1,14 @@
{ config, pkgs, lib, ... }:
with lib;
with pkgs;
let
psCfg = config.pub-solar;
in
{
config,
pkgs,
lib,
...
}:
with lib;
with pkgs; let
psCfg = config.pub-solar;
in {
imports = [
./configuration.nix
];
}