summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPreston Pan <ret2pop@nullring.xyz>2026-03-09 19:12:44 -0700
committerPreston Pan <ret2pop@nullring.xyz>2026-03-09 19:12:44 -0700
commit1bc86850570489c3a810c9c4192b1c56205b54ab (patch)
tree29948ea61dc6eea89711ca0ee5314f1cb5b8dca1
parent9776145fc444bea2729efe8ee104b41b0ffe3f38 (diff)
send max priority notifications to my phone
-rw-r--r--flake.nix8
1 files changed, 6 insertions, 2 deletions
diff --git a/flake.nix b/flake.nix
index e0bf9d1..3807c8e 100644
--- a/flake.nix
+++ b/flake.nix
@@ -48,7 +48,11 @@
spontaneityHost = spontaneity.config.monorepo.vars.orgHost;
- secretsPath = affinity.config.home-manager.sops.defaultSymlinkPath;
+ userName = spontaneity.config.monorepo.vars.userName;
+
+ internetName = spontaneity.config.monorepo.vars.internetName;
+
+ secretsPath = affinity.config.home-manager.users."${userName}".sops.defaultSymlinkPath;
ntfyFile = affinity.config.monorepo.vars.ntfySecret;
@@ -288,7 +292,7 @@ ${pre-commit-check.shellHook}
git config branch.main.mergeoptions "--no-ff"
alias gprune='git branch --merged | grep -v -E "^\*|main|master|dev" | xargs -r git branch -d'
alias serve='cd result; python3 -m http.server 10005'
-alias build='nix build .#website && curl -u "ret2pop:$(grep ADMIN_PASSWORD "${secretsPath}/${ntfyFile}" | cut -d "\"" -f 2)" -d "Website build done!" https://ntfy.ret2pop.net'
+alias build='nix build .#website && curl -H "Priority: max" -u "${internetName}:$(grep ADMIN_PASSWORD "${secretsPath}/${ntfyFile}" | cut -d "\"" -f 2)" -d "Website build done!" https://ntfy.ret2pop.net/ci-build'
'';
buildInputs = [
deadnix