From 017698db3b4d96cfa429595175f53159e1abb178 Mon Sep 17 00:00:00 2001 From: schererleander Date: Fri, 24 Oct 2025 19:13:11 +0200 Subject: formatting --- flake.nix | 19 ++++++++++++------- 1 file changed, 12 insertions(+), 7 deletions(-) (limited to 'flake.nix') diff --git a/flake.nix b/flake.nix index fcbd766..399e4c4 100644 --- a/flake.nix +++ b/flake.nix @@ -46,7 +46,12 @@ ) // { nixosModules.default = - { lib, config, pkgs, ... }: + { + lib, + config, + pkgs, + ... + }: let cfg = config.services.site; inherit (lib) @@ -65,11 +70,11 @@ description = "Domain to serve."; }; - default = lib.mkOption { - type = types.bool; - default = false; - description = "Make this vhost the default for nginx."; - }; + default = lib.mkOption { + type = types.bool; + default = false; + description = "Make this vhost the default for nginx."; + }; package = mkOption { type = types.package; @@ -106,7 +111,7 @@ in { root = "${cfg.package}/share/web"; - default = cfg.default; + default = cfg.default; locations."/" = { tryFiles = "$uri $uri/ /index.html"; -- cgit v1.3.1