summary refs log tree commit diff stats
path: root/.envrc (unfollow)
Commit message (Collapse)Author
4 daysbuild(pkgs/back): Apply source filteringBenedikt Peetz
This avoids useless rebuilds, just because files like the `README.md` changed.
4 daysdocs(pkgs/back): Add note about needed write accessBenedikt Peetz
4 daysfix(pkgs/back): Set `meta.mainProgram`Benedikt Peetz
4 daysfix(modules/disko): Actually honor `cfg.enable`Benedikt Peetz
4 daystest(scripts/lint_missing_tests.sh): RemoveBenedikt Peetz
This functionality is now available via the `coImport` feature in the `mkByName` `nixLib` function.
4 daysstyle(treewide): FormatBenedikt Peetz
4 daysbuild(flake): Use treefmt as nix formatterBenedikt Peetz
This allows us to also keep markdown and other documents, that aren't nix, formatted.
4 daysfeat(pkgs): Hook up to the flake and add needed infrastructureBenedikt Peetz
4 daysfeat(pkgs/back): InitBenedikt Peetz
Other options, for example `git-bug webui --read-only` is just to bugged to be useful.
6 daysfix(modules/disko): Remove deprecated legacy type and migrate to `by-name` disko/updateBenedikt Peetz
6 daysfix(system/services/mastodon): Update char patch to v4.3Benedikt Peetz
7 daysfix(modules/redlib): Change subdomain to `redlib` migrate-by-nameBenedikt Peetz
The old `libreddit` subdomain still has redirection to avoid this being a breaking change. But keeping the old subdomain is rather weird considering their new name.
7 daysrefactor(system/services/libreddit): Migrate to `by-name`Benedikt Peetz
This also includes a rename into `redlib` because of upstream changes.
7 daysrefactor({modules,test}): Migrate to a `by-name` structureBenedikt Peetz
8 daysfix(treewide): Update to nixos release 24.11 update-24.11Benedikt Peetz
8 daysbuild(system/services/taskserver/certs/generate): Convert to `nix-shell`Benedikt Peetz
Lix does not support the newer `nix shell` shebang.
2024-12-06fix(system/services/invidious-router): remove_no_ratio = false HEAD mainSilas Schöffel
2024-11-16fix(system/services/libreddit): Use unstable `redlib` versionBenedikt Peetz
The current stable version has a bug with regard to parsing the current reddit json responses.
2024-11-16build(flake.lock): UpdateBenedikt Peetz
2024-11-03docs(system/services/matrix): Fix typos in commentBenedikt Peetz
2024-11-03build(flake): UpdateBenedikt Peetz
2024-10-05feat(taskserver/certs/ca.certs.pem): Regenerate certificate taskdBenedikt Peetz
2024-10-05refactor(taskserver/certs): Format scripts and allow selecting which certs ↵Benedikt Peetz
to generate
2024-10-05chore(taskserver/certs/ca.key.pem.gpg): reencrypt with new keys as recipientsSilas Schöffel
2024-10-04fix(system/services/invidious-router): Use the unstable pkg updateBenedikt Peetz
This has been updated to provide a means to send the user to YouTube, if no invidious instances are available.
2024-10-04build(flake): UpdateBenedikt Peetz
2024-09-21build(flake): UpdateBenedikt Peetz
2024-09-18fix(system/services/invidious-router): Set health check path to a video URLBenedikt Peetz
The main page does sometimes load, but videos are still not playable. This new path really checks, whether the instance works.
2024-09-06fix(system/impermanence): Persist `/var/lib/nixos`Benedikt Peetz
Otherwise, the mapping of uid/gid to user name or group name could change between reboots, which would result in magically change permissions. We were already affected by this at some point, so just remove the possibility of it happening again.
2024-09-06fix(git-server/cgit): Don't run `cgit` as `root` use `git` insteadBenedikt Peetz
This option was newly added, as previously only on `fcgiwrap` instance was run as root. We probably have not been affected by this, as our `fcgiwrap` instance was already running as `git:nginx`. Usage of the new options seems better either way, as they provide a finer grained control over the user _each_ `fcgiwrap`ped service is running at. The security advisory: https://discourse.nixos.org/t/51419
2024-09-06fix(services/matrix/mautrix-whatsapp): Disable to remove libolmBenedikt Peetz
Libolm is marked as insecure and must thus be removed from the system closure.
2024-09-06build(flake): Update inputsBenedikt Peetz
2024-08-19fix(system/services/invidious-router): Stop filtering regionsSilas Schöffel
Filtering regions limits our possible instance selection without actually providing great value. Let's stop discriminating based on server location.
2024-08-16feat(system/services/mastodon): Apply patch to increase the message length mastodonBenedikt Peetz
2024-08-14fix(disks): Increase root tmpfs size to 6GBBenedikt Peetz
The 2GB are just not enough.
2024-08-14chore(version): v0.24.0 v0.24.0Benedikt Peetz
2024-08-14docs(nixos/git-server): Improve the comment on the possible git config keysBenedikt Peetz
2024-08-14fix(nixos/git-server): Use the correct number in the `section-from-path` settingBenedikt Peetz
Take for example a repository name like: `some/organisation/project_a/team_c/repo_b`. Setting the setting to `-1` means that cgit traverses the path from left to right, until it has found 1 element (and `section-from-path` (or n for short)is 0, because n is incremented after each iteration). E.g. : ~ [n=-1] starting point: `some/organisation/project_a/team_c/repo_b` ~ [n=0] after the first iteration: `some/organisation/project_a/team_c/repo_b` Now `some/organisation/project_a/team_c` becomes the section, whilst `repo_b` becomes the repo name.
2024-08-13build(flake.nix): Remove `ragenix` from the devshellBenedikt Peetz
The rust code does not compile, resulting in a really bothersome wait every time a command is run in the devshell because direnv tries to build it again.
2024-08-13test(nixos/git-server): Include the start of a test for cgit's README renderingBenedikt Peetz
2024-08-13fix(nixos/git-server): Correctly specify the section from path lengthBenedikt Peetz
Cgit effectively splits the repo path on '/' and then takes `section-from-path` segments, which form the section. A negative value here results in cgit traversing the path from left to right instead of right to left. Beware that cgit only sets the section, if the path contains `section-from-path` or more slashes in it (thus rendering this setting defunct with the previous value of 1000). There seems to be no way to tell cgit to always use all components up-to the second to last for the section name, thus requiring all projects that need a longer than 1 section length to set the `cgit.section` git config variable via gitolite.
2024-08-13fix(nixos/git-server): Correctly enable the git config feature of gitoliteBenedikt Peetz
The previously set variable is only used in the gitolite.conf file for the `config` specifications on each repo. We can't use that because we use "wild-repos". Thus we need to add the `user-configs` option to each repo, allow users to change the git settings specified there with a simple `ssh git@git.vhack.eu config <repo> --set cgit.owner <name>`.
2024-08-13fix(nixos/git-server): Use correct regex syntax in allowed git config valuesBenedikt Peetz
2024-08-13fix(nixos/git-server): Correctly specify cgit's css pathBenedikt Peetz
2024-08-13feat(nixos/git-server): Add nice gitolite featuresBenedikt Peetz
2024-08-13fix(nixos/git-server): Tell gitolite to allow changing some `git` settingsBenedikt Peetz
2024-08-13test(tests/git-server): Add initial testsBenedikt Peetz
The last line, testing for the about page rendering is not yet working. I assume that's because of our hand-rolled list-to-string function thingy in the `cgitrc`. After <https://github.com/NixOS/nixpkgs/pull/317293> is merged, this should probably improve immensely.
2024-08-13feat(nixos/git-server): Add further cgit settingsBenedikt Peetz
A lot of the added settings here have been tested. They will get get tests to ensure they stay working, in later commits.
2024-08-02build(tests): Add complementary scriptsBenedikt Peetz
2024-08-02test(tests): Init infrastructureBenedikt Peetz
The modules still need to be imported one-by-one in `default.nix` files because we have yet to rewrite this, but the new test infrastructure might as well use the new `fileset` functions from `nixpkgs`.