From 1e6a1e3f9384e3adeecd937adc510fbfa3cdfac8 Mon Sep 17 00:00:00 2001 From: Gabe Venberg Date: Mon, 21 Oct 2024 16:06:30 +0200 Subject: [PATCH] formatting. --- configs/nixos/factorio-docker.nix | 4 ++-- configs/nixos/homepage.nix | 33 +++++++++++++++---------------- configs/nixos/syncthing.nix | 4 ++-- hosts/cirrostratus/nginx.nix | 2 +- hosts/cirrostratus/restic.nix | 2 +- 5 files changed, 22 insertions(+), 23 deletions(-) diff --git a/configs/nixos/factorio-docker.nix b/configs/nixos/factorio-docker.nix index 5ed941d..900eee7 100644 --- a/configs/nixos/factorio-docker.nix +++ b/configs/nixos/factorio-docker.nix @@ -15,8 +15,8 @@ "34197:34197" "27015:27015" ]; - environment={ - UPDATE_MODS_ON_START="true"; + environment = { + UPDATE_MODS_ON_START = "true"; }; }; }; diff --git a/configs/nixos/homepage.nix b/configs/nixos/homepage.nix index a371673..074fa3c 100644 --- a/configs/nixos/homepage.nix +++ b/configs/nixos/homepage.nix @@ -16,13 +16,13 @@ in { headerStyle = "boxed"; base = "https://${baseurl}"; language = "en"; - hideVersion=true; + hideVersion = true; statusStyle = "dot"; quicklaunch = { searchDescriptions = true; hideInternetSearch = false; hideVisitUrl = false; - provider="duckduckgo"; + provider = "duckduckgo"; }; }; @@ -88,19 +88,18 @@ in { }; } { - Radicale={ - icon="sh-radicale.svg"; - href="https://cal.venberg.xyz"; - siteMonitor="https://cal.venberg.xyz"; - description="Calander administration"; + Radicale = { + icon = "sh-radicale.svg"; + href = "https://cal.venberg.xyz"; + siteMonitor = "https://cal.venberg.xyz"; + description = "Calander administration"; }; } { - Syncthing={ - icon="sh-syncthing.svg"; - href="http://localhost:8384/"; - siteMonitor="http://localhost:8384/"; - description="Local Syncthing dashboard"; + Syncthing = { + icon = "sh-syncthing.svg"; + href = "http://localhost:8384"; + description = "Local Syncthing dashboard"; }; } ]; @@ -116,11 +115,11 @@ in { }; } { - Github={ - icon="si-github-#181717"; - href="https://github.com"; - siteMonitor="https://git.venberg.xyz"; - description="Non self hosted Git forge :("; + Github = { + icon = "si-github-#181717"; + href = "https://github.com"; + siteMonitor = "https://git.venberg.xyz"; + description = "Non self hosted Git forge :("; }; } ]; diff --git a/configs/nixos/syncthing.nix b/configs/nixos/syncthing.nix index 0e8a001..542aaa3 100644 --- a/configs/nixos/syncthing.nix +++ b/configs/nixos/syncthing.nix @@ -14,7 +14,7 @@ overrideFolders = false; openDefaultPorts = true; systemService = true; - dataDir="/home/${config.host.user}/Sync"; - configDir="/home/${config.host.user}/.local/state/syncthing"; + dataDir = "/home/${config.host.user}/Sync"; + configDir = "/home/${config.host.user}/.local/state/syncthing"; }; } diff --git a/hosts/cirrostratus/nginx.nix b/hosts/cirrostratus/nginx.nix index 585cd51..ab43837 100644 --- a/hosts/cirrostratus/nginx.nix +++ b/hosts/cirrostratus/nginx.nix @@ -8,7 +8,7 @@ imports = [ ../../configs/nixos/nginx.nix ]; - services.nginx.clientMaxBodySize="100m"; + services.nginx.clientMaxBodySize = "100m"; services.nginx.virtualHosts = { "gabevenberg.com" = { enableACME = true; diff --git a/hosts/cirrostratus/restic.nix b/hosts/cirrostratus/restic.nix index df28622..8710671 100644 --- a/hosts/cirrostratus/restic.nix +++ b/hosts/cirrostratus/restic.nix @@ -25,7 +25,7 @@ in { sopsFile = "${inputs.nix-secrets}/restic-server"; format = "binary"; path = "/backup/restic/.htpasswd"; - owner="restic"; + owner = "restic"; }; secrets.restic-url = { sopsFile = "${inputs.nix-secrets}/restic-client.yaml";