aboutsummaryrefslogtreecommitdiffstats
path: root/system/services (unfollow)
Commit message (Collapse)Author
2024-06-05fix(fail2ban): increase max retry number to 7Silas Schöffel
2024-06-05fix(nix-sync): Don't try to exit in a subshellBenedikt Peetz
The `(cmd1 && cmd2)` pattern works, but fails with commands like `exit` as the parentheses start a new subshell, which the `exit` command will then close instead of exiting the main shell. The curly brackets have the intended effect here, as they simply group the commands together.
2024-06-05fix(nix-sync): Ensure that the `target` for `ln` never ends with a `/`Benedikt Peetz
Otherwise, `ln` tries to create the symlink _in_ the target directory.
2024-06-05fix(nix-sync): Add code-path to create a repo's path, if absentBenedikt Peetz
2024-06-01fix(nix-sync): Ensure that the service can write to all needed pathsBenedikt Peetz
Previously, the generated service _could_ write to the directory, but wanted to create the directory, if it was absent. Creating this directory, requires to be able to write in the parent directory. This is fixed, by ensuring that the parent directories are included.
2024-06-01fix(nix-sync): Explicitly set the `network-online.target` dependencyBenedikt Peetz
2024-06-01feat(etebase)!: disable etebase-serverSilas Schöffel
Sadly, it's author didn't manage to update to a newer version of django before the used version (3.2) reached EOL and was affected by CVE-2024-27351. It's unreasonable to continue using it.
2024-06-01fix(system/services/invidious): set db.user to invidiousSilas Schöffel
This also changes the dbname to "invidious" which isn't mentioned in the commit message as it's the default in nixpkgs.
2024-06-01fix(treewide): use invidious-router module provided by nixpkgsSilas Schöffel
2024-06-01feat(system/services/nginx)!: Change meaning of `root` keyBenedikt Peetz
The `root` key was rather useless (it was always just the `/etc/.../<domain>` path.). This change gives it a real meaning. See the 'BREAKING CHANGE' section for more information. BREAKING CHANGE: Previously the `root` key denoted the _absolute_ root of a repository. Now it just denotes the root relative (i.e. a path within the built repository) to the repos cloning position. You should just remove the absolute part of the path (that, which is not an output in your built repository)
2024-05-26feat(system/services/nginx): add wkd for sils.liSilas Schöffel
2024-05-26feat(system/services/nginx): add wkd for s-schoeffel.deSilas Schöffel
2024-05-26fix(system/services/nginx/hosts): Update trinitrix source git pathBenedikt Peetz
2024-05-25feat(system/services/nginx): Add the trinitrix websiteBenedikt Peetz
2024-05-25feat(system/services/nginx): Add the GPG WKDBenedikt Peetz
2024-04-26feat(system/servies): remove snapperSilas Schöffel
We handle backups with restic
2024-04-25feat(system/services/fail2ban): add postfix jailSilas Schöffel
This bans IP Addresses which fail to login into postfix at least 3 times in 600 seconds.
2024-04-25style(system/services/mastodon): format with alejandraSilas Schöffel
2024-04-25fix(system/services/mastodon): change back to stable packageSilas Schöffel
2024-04-24fix(treewide): move former git-crypted files to correct locationSilas Schöffel
They were accidentally added at the wrong location in dd4b6bcfc16c7c795b697195eb6703966352d9f4
2024-04-02fix(system/services/taskserver): Add required kernel settingsSoispha
These are the defaults, but I think it is better to explicitly state them to ensure that we don't suffer from a mistake, when we think about changing them in the future.
2024-03-29chore(git-crypt): Remove `git-crypt` and associated encrypted filesSoispha
2024-03-29refactor(system/services/taskserver): Move away from git-cryptSoispha
2024-03-28fix(system/services/libreddit): correct binary location in systemd serviceSilas Schöffel
This is a manual fix until we get this merged into nixpkgs Co-authored-by: Benedikt Peetz <benedikt.peetz@b-peetz.de>
2024-03-28feat(system/servics/libreddit): Use the continued redlib packageSoispha
Fixes: #87
2024-03-10fix(system/services/invidious-router): add new healthcheck configsils
2024-02-25fix(system/services/invidious-router): remove invidious.vhack.eu from ↵sils
instance list This is necessary because of a bug in our instance which causes search to fail under certain circumstances.
2024-02-21style(system/services/invidious-router): one list entry per linesils
2024-02-21fix(system/services/invidious-router): change allowed_status_codes type to intsils
2024-02-21fix(system/services/invidious-router): bind to 127.0.0.1sils
2024-02-21fix(system/services/invidious-router): correct typosils
2024-02-19feat(system/services/invidious-router): add extraDomainssils
2024-02-19feat(system/services/invidious-router): add configurationsils
2024-02-15fix: update mastodonsils
This uses the mastodon package from nixos-unstable-small because backporting of a security release failed and we can't afford to wait.
2024-02-11feat: remove keycloaksils
2024-02-10fix(system/services/invidious-router): fix typo in domainsils
2024-02-10feat: add invidious-routersils
2024-01-19fix(system/services/restic): create /srv/snapshots if non-existentsils
2024-01-14fix(sys/services/restic): Set the system start time to 'daily'Soispha
Considering that the db dump takes longer than an hour, an hourly service start time could lead to multiple dumps happening concurrently. This should reduce this risk
2024-01-14fix(sys/services/restic): Include a db dump of PostgreSQLSoispha
Including this dump should remove the risk of a backup with a corrupt PostgreSQL database. Initial test showed that the backup takes around 32 GB and runs in under 3 hours. There is one big oversight not yet included in this commit: All services running a SQLite database are not included in this dump and thus can not be safely recovered. At present these are: - etebase-server (db.sqlite3) - murmur (murmur.sqlite) (This is list was generated with `sudo fd sqlite /srv/`)
2024-01-07fix(system/services): import restic configsils
2024-01-07feat(system): add resticsils
2024-01-06feat(system/services/mastodon): define streamingProcessessils
2024-01-06feat(system/services/fail2ban): define config in daemonSettingssils
This isn't strictly necessary as we define the default config
2024-01-06feat(system/services/matrix): use mautrix-whatsapp module provided bysils
nixpkgs
2023-11-30refactor(system/services/etebase): explain outcommented static filessils
2023-11-27fix(system/services/etebase): don't serve static filessils
This doesn't work as nginx doesn't have the right permissions.
2023-11-27fix(system/services/etebase): serve static_rootsils
2023-11-27fix(system/services/etebase): micellanous changes to make it worksils
2023-11-20fix(system/services/nix): add nixremote to trusted-userssils