chore: reformat codebase

This commit is contained in:
Gabriel Arazas 2023-08-27 13:41:29 +08:00
parent 9044c1af9e
commit 7dacbe6963
No known key found for this signature in database
GPG Key ID: ADE0C41DAB221FCC
8 changed files with 33 additions and 29 deletions

View File

@ -4,5 +4,5 @@ return {
pem_cert = os.getenv("CREDENTIALS_DIRECTORY") .. "/cert.pem",
pem_ca = os.getenv("CREDENTIALS_DIRECTORY") .. "/fullchain.pem",
bind_address = "@host_address@:@port@",
}
},
}

View File

@ -22,7 +22,8 @@ in
requires = [ "acme-finished-${weztermDomain}.target" ];
environment.WEZTERM_LOG = "info";
serviceConfig = {
LoadCredential = let
LoadCredential =
let
certDir = config.security.acme.certs."${weztermDomain}".directory;
credentialCertPath = path: "${path}:${certDir}/${path}";
in

View File

@ -57,7 +57,7 @@
_name = name';
};
})
{}
{ }
metadata.systems)
else
acc // {
@ -66,6 +66,6 @@
_name = name';
};
})
{}
{ }
data;
}

View File

@ -158,7 +158,7 @@ in
Additional arguments to be passed on to the ActivityWatch server.
'';
type = with lib.types; listOf str;
default = [];
default = [ ];
defaultText = "[ ]";
example = lib.literalExpression ''
[

View File

@ -53,9 +53,10 @@ in {
};
in
lib.mapAttrs'
(name: remote: lib.nameValuePair "flatpak/remotes.d/${name}.flatpakrepo" {
source = pkgs.fetchurl remote;
})
(name: remote:
lib.nameValuePair
"flatpak/remotes.d/${name}.flatpakrepo"
{ source = pkgs.fetchurl remote; })
urls;
programs.extra-container.enable = true;

View File

@ -6,7 +6,7 @@
, makeWrapper
, gnome
# This is the prefix used for the installed files in the output.
# This is the prefix used for the installed files in the output.
, prefix ? "one.foodogsquared.MoseyBranch."
, serviceScript ? "Hyprland"

View File

@ -4,7 +4,7 @@ let
cfg = config.workflows.workflows.mosey-branch;
workflowName = "mosey-branch";
createServiceScript = { runtimeInputs ? [], text, name }:
createServiceScript = { runtimeInputs ? [ ], text, name }:
let
runtimeInputs' = runtimeInputs ++ [ pkgs.dbus ];
text' = ''
@ -24,7 +24,8 @@ let
runtimeInputs = runtimeInputs';
text = text';
};
in "${script}/bin/${name}";
in
"${script}/bin/${name}";
customDesktopSession = pkgs.callPackage ./config/desktop-session {
serviceScript = createServiceScript {
@ -69,6 +70,7 @@ let
socat
qt5.qtwayland
qt6.qtwayland
pciutils
# The authentication agent.
polkit_gnome