Commit graph

65 commits

Author SHA1 Message Date
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
Daniel Siepmann 8375064019
Revert "Use nm applet as service"
This reverts commit 69d3c287f8.

This doesn't work under ubuntu.
2023-02-27 13:52:38 +01:00
Daniel Siepmann 69d3c287f8
Use nm applet as service
There is no reason to start as program being part of i3.
Instead a service is easier to handle, e.g. restart.
2023-02-27 07:50:31 +01:00
Daniel Siepmann 702f66916a
Do not install info on nixos
This should save some disk space.
2023-02-24 11:52:21 +01:00
Daniel Siepmann a651f4126d
Followup, streamline own projects 2023-02-18 11:33:15 +01:00
Daniel Siepmann 3c66511ff3
Follow naming conventions also for own projects 2023-02-18 11:23:29 +01:00
Daniel Siepmann 7dceddd44c
Document how to initially setup dev user with password
Better find a way to add this via module options.
2023-02-18 11:23:04 +01:00
Daniel Siepmann 18bd52a23b
Install NixOS on Hikari
No dual boot this time.
But hibernate.
2023-02-15 16:47:44 +01:00
Daniel Siepmann 6a82009b4e
Add first customer project with older php to hikari 2023-02-07 17:51:08 +01:00
Daniel Siepmann 55974567d9
Improve readme for hikari system 2023-02-07 17:48:55 +01:00
Daniel Siepmann b2e3f46643
Extract web dev into own functions for better maintenance
Use a function for static files and TYPO3 that can be called.
That way I separate the actual domains for development from the
definition.
2023-02-07 13:53:54 +01:00
Daniel Siepmann 0da1c28841
Streamline formatting 2023-02-07 08:57:10 +01:00
Daniel Siepmann b03056f2f7
Limit sudo usage on hikari to wheels group 2023-02-05 21:33:56 +01:00