diff --git a/nixos/modules/services/networking/magic-wormhole-mailbox-server.nix b/nixos/modules/services/networking/magic-wormhole-mailbox-server.nix index 03210bca371c..2edd81045dde 100644 --- a/nixos/modules/services/networking/magic-wormhole-mailbox-server.nix +++ b/nixos/modules/services/networking/magic-wormhole-mailbox-server.nix @@ -1,11 +1,19 @@ -{ config, lib, pkgs, ... }: +{ + config, + lib, + pkgs, + ... +}: with lib; let cfg = config.services.magic-wormhole-mailbox-server; dataDir = "/var/lib/magic-wormhole-mailbox-server;"; - python = pkgs.python3.withPackages (py: [ py.magic-wormhole-mailbox-server py.twisted ]); + python = pkgs.python3.withPackages (py: [ + py.magic-wormhole-mailbox-server + py.twisted + ]); in { options.services.magic-wormhole-mailbox-server = { @@ -23,6 +31,5 @@ in StateDirectory = baseNameOf dataDir; }; }; - }; }