Commit graph

77 commits

Author SHA1 Message Date
Daniel Siepmann fdcab9ef9d
Ignore borg internal file which might change during backing up 2024-06-26 07:20:45 +02:00
Daniel Siepmann 01c9ddf702
Format 2024-06-25 11:08:17 +02:00
Daniel Siepmann d23db5c273
Add new customer project 2024-06-25 11:08:11 +02:00
Daniel Siepmann 83bce30e6e
Prepare documentation for custom modules
Not activated yet as it seems unnecessary overhead for now.
2024-06-24 17:31:45 +02:00
Daniel Siepmann 7baf8d5f6e
Allow to define projects in one set
Right now it was necessary to make additions to the generated
configuration.
This now changed by adding further options to the new submodules.
That way each project can be defined as a single set and pass additional
configuration down to the modules.

This makes it easier to maintain projects.
2024-06-24 16:33:25 +02:00
Daniel Siepmann 1f2e25abf2
Remove no longer used file 2024-06-24 10:53:35 +02:00
Daniel Siepmann d3e2c4367d
Add customer project 2024-06-24 10:53:24 +02:00
Daniel Siepmann e895f5a40f
Auto generate certificates for local web development 2024-06-24 07:16:00 +02:00
Daniel Siepmann 1c5e9ac4ad
Migrate web-development projects to proper modules
Create proper modules for TYPO3 and static web projects.
Those modules are now used on all machines.
This replaces the old legacy functions used to setup projects.

That way multiple projects can easily be defined within one file.
2024-06-24 07:15:59 +02:00
Daniel Siepmann 672487d838
Streamline format of function arguments 2024-06-24 07:15:59 +02:00
Daniel Siepmann 856abdd25d
Update projects 2024-06-20 07:55:32 +02:00
Daniel Siepmann 8c5127aa45
Add fwupd to hikari3
In order to update firmware and bios.
2024-06-19 07:53:42 +02:00
Daniel Siepmann a2b755cb3b
Exclude unnecessary file from backup 2024-06-18 15:29:02 +02:00
Daniel Siepmann 9eeb1794db
Allow group to enter mysql data dir
That way my user within the mysql group can tail the query log.
Default is 0700 which would prevent that.
2024-06-18 11:20:03 +02:00
Daniel Siepmann ffc5121bb7
Add system backup 2024-06-18 10:04:32 +02:00
Daniel Siepmann 56a18fe39b
Migrate borgbackups to private
* Trigger every five minutes.
* Do not query password manager for now.
2024-06-18 08:39:10 +02:00
Daniel Siepmann 0dfc8d3ed0
Add feature toggles for customer project
That way I can switch a single nix variable to alter the configuration.
2024-06-17 09:42:26 +02:00
Daniel Siepmann 68c30ac459
Trigger backups every 4 hours starting at 8
They always prompt for password and every 15 minutes is way too much.
2024-06-17 08:37:09 +02:00
Daniel Siepmann 71328adc93
hikari3: Setup auto backups via borg
Add one for work (projects) and one for home.
2024-06-17 08:28:19 +02:00
Daniel Siepmann 988182e974
Optimize mysql logrotate 2024-06-14 19:06:27 +02:00
Daniel Siepmann 674edb9e74
hikari3: Configure different port for customer project 2024-06-13 19:13:21 +02:00
Daniel Siepmann ecb46c8494
hikari3: Add logrotate for sql query log 2024-06-13 09:46:47 +02:00
Daniel Siepmann 98a48b2695
hikari3: Add new customer project 2024-06-12 20:32:15 +02:00
Daniel Siepmann a1297c350a
Remove copied readme 2024-06-12 19:55:32 +02:00
Daniel Siepmann 6a39223ba3
hikari3: Fix none working shutdown and reboot
Thanks to https://0xda.de/blog/2024/06/framework-and-nixos-day-two/
2024-06-12 17:00:33 +02:00
Daniel Siepmann 40eafcf6ac
Add static frontend for customer 2024-06-12 14:14:42 +02:00
Daniel Siepmann fa80faefdc
Add hikari3 2024-06-12 10:37:35 +02:00
Daniel Siepmann 0dc9b55027
Update PHP version of project 2024-05-29 16:32:26 +02:00
Daniel Siepmann c2614f4753
Enable apple facetime again
I disabled general unfree software.
Facetime hd is unfree and needs explicitly to be enabled again.
2024-04-30 17:53:14 +02:00
Daniel Siepmann c69cd044f5
Migrate autoLogin configuration to new module 2024-04-15 08:45:09 +02:00
Daniel Siepmann 0973ee80ac
Remove general allowUnfree and use specific allowUnfreePredicate
That way I have an allow list instead of wildcard.
2024-03-07 10:39:13 +01:00
Daniel Siepmann 40c5a25176
Adjust hikari boot menu to use full width 2023-12-27 15:06:04 +01:00
Daniel Siepmann d298cb4746
Add commented out slow query log
To easily enable for debugging purposes.
2023-12-07 19:21:25 +01:00
Daniel Siepmann cdeeb0f769
Replace lib.types.string
This got deprecated, see: https://github.com/NixOS/nixpkgs/pull/66346
2023-10-08 16:47:21 +02:00
Daniel Siepmann 3e5eb09225
Document why I allow unfree software
Maybe there is a way to only allow specific software in order to get a
notice if there is an unwanted software.
2023-09-21 18:20:06 +02:00
Daniel Siepmann a8c22a42f1
Looks like virtualisation podman is not needed? 2023-09-21 18:19:52 +02:00
Daniel Siepmann c5f2095d14
Disable printing
As I didn't print anything for years and don't even have a printer.
2023-09-21 18:19:30 +02:00
Daniel Siepmann 34784bf81c
Use latest kernel on hikary
Needs modification of nixos-hardware, see:
- https://github.com/NixOS/nixos-hardware/issues/648
- https://github.com/NixOS/nixos-hardware/pull/649
2023-06-13 17:23:06 +02:00
Daniel Siepmann b3a83334ae
Remove nameservers
Use the once defined from outside, e.g. within router.
Setting custom ones might break things, e.g. when using VPN or being on
foreign network.
2023-06-13 17:23:05 +02:00
Daniel Siepmann 7bfbd47dc8
Strictly define how much documentation should be generated 2023-05-11 07:52:16 +02:00
Daniel Siepmann 8f6c0e26f5
Fix typos 2023-05-11 07:51:58 +02:00
Daniel Siepmann da0b0f2b72
Migrate PHP config from fpm to php
This is required for newer xdebug versions.
This also feels cleaner.
2023-04-21 08:01:34 +02:00
Daniel Siepmann a3ebd243a8
Use podman for t3 docs rendering but docker-compose everywhere else
podman-compose has some issues on ubuntu and with volumes.
I'll keep docker-compose.

But I prefer podman for t3docs rendering as it doesn't fuck up the file
permissions.
2023-04-06 13:52:54 +02:00
Daniel Siepmann 0a1e2f8012
Ad new customer server 2023-03-15 14:45:34 +01:00
Daniel Siepmann f238f2df84
Use a named function instead of re using the import over and over again 2023-03-11 09:15:26 +01:00
Daniel Siepmann 1e335d2ad2
Improve TYPO3 global config handling
It at least is not linking to nix store but copies files and allows
editing.
2023-03-08 09:16:46 +01:00
Daniel Siepmann 910d5a027d
Add xdebug for step debugging to php fpm for all TYPO3 projects 2023-03-08 08:55:54 +01:00
Daniel Siepmann 3fbb26a6f6
Improve web development setup
Group kinds of projects in files.
Hide info for customers via git crypt.
Solve todo to auto generate permissions for databases.
2023-03-08 08:37:56 +01:00
Daniel Siepmann 1be9c42770
Stick to 5.15 kernel in order to keep compatibility for mba6x_bl 2023-03-08 08:33:59 +01:00
Daniel Siepmann da15c937b9
Add VPNs
I sync the configurations via NextCloud and move them to
/etc/NetworkManager/system-connections/ by hand.
2023-03-01 08:54:11 +01:00