diff --git a/lib/options.nix b/lib/options.nix index c25e663..b865080 100644 --- a/lib/options.nix +++ b/lib/options.nix @@ -62,8 +62,6 @@ }; git = { # setup your git author - username = "satr14"; # forgejo username - server = "https://git.satr14.my.id"; # forgejo server url user = "Satria"; email = "admin@satr14.my.id"; }; diff --git a/modules/home/core/zsh.nix b/modules/home/core/zsh.nix index 8ce99d3..ca4bd4f 100644 --- a/modules/home/core/zsh.nix +++ b/modules/home/core/zsh.nix @@ -1,4 +1,4 @@ -{ git, hostname, flake-path, zsh-theme, ... }: { +{ hostname, flake-path, zsh-theme, ... }: { programs = { pay-respects = { enable = true; @@ -64,7 +64,6 @@ "wm-disp" = "wm-ctl dispatch dpms"; "gh-author-setup" = "git config user.name $(gh api -H \"Accept: application/vnd.github+json\" -H \"X-GitHub-Api-Version: 2022-11-28\" /user | jq -r .login) && git config user.email $(gh api -H \"Accept: application/vnd.github+json\" -H \"X-GitHub-Api-Version: 2022-11-28\" /user/emails | jq -r \".[1].email\")"; - "fg-create-repo" = "git remote add origin ${git.server}/${git.username}/$(basename $PWDw).git && git push"; "convert-pdf" = "libreoffice --headless --convert-to pdf"; "mcl" = "portablemc start -l $(cat ~/.minecraft/portablemc-launch-params.json | jq -r .email) $(cat ~/.minecraft/portablemc-launch-params.json | jq -r .version)"; diff --git a/modules/system/homelab/proxy.nix b/modules/system/homelab/proxy.nix index 3edaf2a..de27f58 100644 --- a/modules/system/homelab/proxy.nix +++ b/modules/system/homelab/proxy.nix @@ -47,7 +47,7 @@ in { domain = "*.${base}"; extraDomainNames = [ base ]; dnsProvider = "cloudflare"; - environmentFile = "/mnt/data/acme/.env"; + environmentFile = "/var/lib/acme/cloudflare.env"; # ^^^contents: CLOUDFLARE_DNS_API_TOKEN=XXXXX }; };