-4
.git-crypt/.gitattributes
-4
.git-crypt/.gitattributes
.git-crypt/keys/default/0/7595B36DF6C2E95E10E528662932BA0FA3DDD7D6.gpg
.git-crypt/keys/default/0/7595B36DF6C2E95E10E528662932BA0FA3DDD7D6.gpg
This is a binary file and will not be displayed.
-1
.gitattributes
-1
.gitattributes
···
+42
-2
docs/utils.md
+42
-2
docs/utils.md
······+# this is a directory structure, so secrets will be stored as a file in /run/secrets/service/test/secret.+sops.secrets = _utils.genSecrets "" secrets {}; # it's recommended to use a namespace, but having none is still fine.+See https://github.com/soopyc/nix-on-koumakan/blob/b7983776143c15c91df69ef34ba4264a22047ec6/systems/koumakan/services/fedivese/akkoma.nix#L8-L34 for a more extensive example
+1
-9
global/core.nix
+1
-9
global/core.nix
······
+1
global/programs/nix.nix
+1
global/programs/nix.nix
+4
global/system/firmware.nix
+4
global/system/firmware.nix
+29
-15
global/utils.nix
+29
-15
global/utils.nix
···
+1
-1
systems/koumakan/networking/interface.nix
+1
-1
systems/koumakan/networking/interface.nix
systems/koumakan/networking/nma.cry
systems/koumakan/networking/nma.cry
This is a binary file and will not be displayed.
+1
-1
systems/koumakan/security/pam.nix
+1
-1
systems/koumakan/security/pam.nix
systems/koumakan/security/ykid.cry
systems/koumakan/security/ykid.cry
This is a binary file and will not be displayed.
+4
-3
systems/koumakan/services/attic.nix
+4
-3
systems/koumakan/services/attic.nix
······
+3
-3
systems/koumakan/services/static-sites/keine.nix
+3
-3
systems/koumakan/services/static-sites/keine.nix
···
+78
-64
utils/nitter-guest-account.py
+78
-64
utils/nitter-guest-account.py
······-tasks = send_req('post', TASKS_ENDPOINT, headers=request_headers, json=get_tasks_body(flow_token)).json()+tasks = send_req('post', TASKS_ENDPOINT, headers=request_headers, json=get_tasks_body(flow_token)).json()-open_account_task = next(filter(lambda i: i.get('subtask_id') == "OpenAccount", tasks['subtasks']))-error("This might be because of a wide variety of reasons, but it most likely is due to your IP being rate-limited.")+open_account_task = next(filter(lambda i: i.get('subtask_id') == "OpenAccount", tasks['subtasks']))+error("an unhandled error occurred. the tasks object is printed to avoid losing otherwise successful data.")-error("an unhandled error occurred. the tasks object is printed to avoid losing otherwise successful data.")+error("Unable to acquire guest account credentials with 5 attempts as it isn't present in any of the API responses.")+error("This might be because of a wide variety of reasons, but it most likely is due to your IP being rate-limited.")