aboutsummaryrefslogtreecommitdiffstats
path: root/modules (unfollow)
Commit message (Collapse)Author
6 hoursmodules/backup: Add missed `env.vars`Soispha Peetz
6 hoursmodules/mandb: InitSoispha Peetz
6 hoursmodules/{atuin,atuin-sync}: Import the `turtle` module in bothSoispha Peetz
Both depend on `turtle` and it just makes sense if they are supposed to be imported on their own.
7 hoursmodules/disko: Make explicit that it is only for vhack serversSoispha Peetz
This change also includes the import for the `disko` module, as it otherwise would not be imported at all.
7 hoursmodules/age: InitSoispha Peetz
This module might have been forgot in the migration to the new layout, oops.
7 hoursmodules/postgresql: Specify `mainProgram` for `lib.getExe` callSoispha Peetz
`xz` has no `meta.mainProgram` set, so we need to set it manually.
7 hoursmodules/dns: Separate into `nsd` and `unbound` moduleSoispha Peetz
They are two sides of a coin, but it makes more sense to be able to only enable one but not the other (at least in `unbounds` case).
7 hoursmodules/dns: Use the local nsd server to serve access to our zonesSoispha Peetz
7 hoursmodules/anubis: Enable once instances have been configuredSoispha Peetz
Introducing the `enable` option meant that all modules that use it need to enable it before. This default neatly works around that.
7 hoursmodules/dns: Also use a resolving dns serverSoispha Peetz
nsd only does the authoritative dns hosting (think a web server), but unbound does the actual dns querying, with DNSSEC resolving and everything. Before that we implicitly had kresd, as that was what the snm had enabled, but unbound and nsd are meant to work together (both from NLNet).
7 hoursmodules/mail: Remove the backup optionsSoispha Peetz
There are three reasons for this: 1) SNM removed these options, and they would now need to be re-implemented via nixos options. 2) They never did anything; `mailserver.backup.enable` defaults to `false` and was never enabled. 3) We should already include the whole mail stuff in the general backups (e.g. the btrfs snapshot should include it). I'm not so sure what happens with in-flight emails, but I guess that is a very rare edge case?
7 hoursmodules/mail: Use the new `listeners` optionsSoispha Peetz
It's a one-to-one translation.
7 hoursmodules/impermanence: Remove pointless `user`/`group` option for userDirsSoispha Peetz
7 hoursmodules/openssh: Remove pointless `extra_lib` importSoispha Peetz
7 hourscommon/vhack: Use correct name for user's hashed passwordsSoispha Peetz
7 hoursmodules/postgresql: Correct `lib.getExe'` argument orderSoispha Peetz
7 hours{modules/mandb,common/*}: Move to vhack namespaceSoispha Peetz
7 hoursmodules/impermanence: Improve usabilitySoispha Peetz
7 hoursmodules/*: Remove all `mkDefaultEnabled` callsSoispha Peetz
There is no nice way to make this work with the merged config, as we would now need to differentiate between the host being evaluated for.
7 hoursmodules/backup: Remove `Requires` from timer configSoispha Peetz
`systemd` does not understand a Requires= in the [timer] config.
7 hoursmodules/anubis: Add enable optionSoispha Peetz
Otherwise, it would always be enabled.
7 hourshosts/{server2,server3}: Deduplicate some configuration via `modules/common`Soispha Peetz
7 hoursmodules/*: Fix various name mistakes and other issuesSoispha Peetz
7 hoursmodules/*: Always use `extra_lib`, also for `options.mkEnable`Soispha Peetz
7 hourstreewide: Use `extra_modules` to import dependency modulesSoispha Peetz
8 hoursmodules/constants: Add missing ids and sortSoispha Peetz
8 hoursmodules/{postgresql,backup}: Massively improve the backup moduleSoispha Peetz
E.g. we now actually ignore the `/var/lib/postgresql` path.
8 hours{modules/impermanence,common/vhack}: Rework and move always on config to commonSoispha Peetz
8 hours{modules/users,common/vhack}: Don't define users in user moduleSoispha Peetz
This change also switches the default shell to fish. That should work, and make the shell a litter more useful.
8 hoursmodules/openssh: Default enable to trueSoispha Peetz
8 hoursmodules/{coredump,dhcpcd,nscd,oomd,resolvconf}: Reference the nixpkgs ↵Soispha Peetz
options instead of copying default values
8 hoursmodules: Rename back to `by-name`Soispha Peetz
There is no point in keeping just vhack here.
8 hourstreewide: Rework entry points and attribute namesSoispha Peetz
That just makes a lot of stuff easier and more streamlined. Also, all choices between stable or unstable nixpkgs should now be explicit.
2026-10-28modules/fail2ban: Use separate user for fail2banBenedikt Peetz
2026-10-28treewide: FormatBenedikt Peetz
2026-10-28{hosts/server2,modules/nextcloud}: Remove adminPassFileBenedikt Peetz
This is no longer a supported option and admin provisioning should be done via the nextcloud cli now.
2026-10-28modules/mail: Remove commented out codeBenedikt Peetz
2026-10-02modules/mail: Allow configuration of pre-generated dkim keysBenedikt Peetz
That is essential for tests, as we cannot start the server and _then_ manually adjust the DNS settings. But also for general usage, using pre-generated keys is kinda nice, as we don't need to remember to update the DNS settings upon server re-deploy.
2026-10-02modules/mail: Move the user config away from the moduleBenedikt Peetz
That change also does two other things: - soispha@vhack.eu now gets all the admin email That is just so, because it avoids adding another `all_admins` option, and we realistically don't get these email either. So I think that is just easier. - The acme creds are now generated via a `nginx.localhost` That means, that something (i.e. nginx) is actually responding, when you perform a GET request against the email domain. That helps for the ACME http challenges. No idea, how these worked before.
2026-09-28modules/mail: Add `soispha@b-peetz.de` as a separate userBenedikt Peetz
Using it via the alias is kinda sketchy, and not well supported.
2026-08-25modules/nextcloud: add onlyoffice appJaki Schöffel
2026-08-24modules/nextcloud: add mail appJaki Schöffel
2026-08-24modules/mail: add jaki.liJaki Schöffel
2026-08-19modules/users: rename user sils to jakiJaki Schöffel
2026-07-30modules: Use namespacesBenedikt Peetz
That might make it easier in the future to merge different server configs together (and thusly facilitate code-reuse.).
2026-07-19modules/monitoring/grafana/dashboards/systemd_exporter: Fix typoBenedikt Peetz
2026-07-19modules/prometheus: Support prometheus servers in agent modeBenedikt Peetz
2026-07-19modules/monitoring/prometheus: Actually configure the systemd_exporter correctlyBenedikt Peetz
2026-07-19modules/monitoring/prometheus: Remove pointless fqdn labelBenedikt Peetz
2026-07-19modules/nginx: Get rid of the `selfsign` parameterBenedikt Peetz
Nowadays, all our tests also run with valid CA certificates.