diff options
author | Linnnus <[email protected]> | 2023-10-01 22:43:58 +0200 |
---|---|---|
committer | Linnnus <[email protected]> | 2023-10-01 23:08:32 +0200 |
commit | 7e27f6f2250bd4e0faa5d5e626dce541a8bb22e4 (patch) | |
tree | 11eb68ec0ae6e1f9cd1f4d7b645cc55e582b1873 /hosts/ahmed/notifications.linus.onl.nix | |
parent | 241bbaf27ad990d0630b7b48f3e9858e8f42b88f (diff) |
Use alejandra formatter
Diffstat (limited to 'hosts/ahmed/notifications.linus.onl.nix')
-rw-r--r-- | hosts/ahmed/notifications.linus.onl.nix | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/hosts/ahmed/notifications.linus.onl.nix b/hosts/ahmed/notifications.linus.onl.nix index 7addaad..d77a0e7 100644 --- a/hosts/ahmed/notifications.linus.onl.nix +++ b/hosts/ahmed/notifications.linus.onl.nix @@ -1,6 +1,9 @@ -{ pkgs, lib, config, ... }: - -let +{ + pkgs, + lib, + config, + ... +}: let inherit (lib) mkEnableOption mkOption types mkIf optional; domain = "notifications.linus.onl"; @@ -9,8 +12,7 @@ let internal-port = 13082; cfg = config.modules."notifications.linus.onl"; -in -{ +in { options.modules."notifications.linus.onl" = { enable = mkEnableOption "notifications.linus.onl static site"; @@ -27,7 +29,7 @@ in }; # Register domain name. - services.cloudflare-dyndns.domains = [ "notifications.linus.onl" ]; + services.cloudflare-dyndns.domains = ["notifications.linus.onl"]; # Serve the generated page using NGINX. services.nginx.virtualHosts."notifications.linus.onl" = { |