Commit graph

63 commits

Author SHA1 Message Date
4a6b4b8f1c
Migrate hostname detection
Define it as variable instead of function.
Pass variable and do individual checks instead of function call.
2024-05-29 16:32:07 +02:00
56fed868b0
Streamline formatting of function arguments 2024-05-29 09:50:32 +02:00
bb4c0753f1
Optimize updates and cleanups
Ensure old entries are deleted to free up disk space and inodes.
Ensure to optimize in the end, in order to free up disk space and
inodes.
2024-05-27 22:21:07 +02:00
fac58895ab
Revert "Store less generations"
This reverts commit eabfb55de4.

The issues doesn't seem to be the number of generations,
but that nixos itself keeps all channels as gc roots.
This prevents proper cleanup of old channel data.
2024-05-26 22:01:14 +02:00
eabfb55de4
Store less generations
They consume inodes and disk space.
And I in general only need the last two.
2024-05-23 14:47:00 +02:00
4e01ec1044
Switch from config to inline settings for vpn
That way I can get rid of another dependency to a file.
2024-04-10 11:26:07 +02:00
d9f5bb36ab
Provide a command to serve a TYPO3 testing instance
This is useful in order to remember the actual command.
The necessary environment arguments need to be set.

This can be executed from within a functional-* folder.
2024-04-03 09:31:17 +02:00
09a81da417
Migrate shell alias for TYPO3 git push to custom command
To streamline the setup, as other things are also commands instead of
aliases.
2024-03-14 09:07:44 +01:00
dbf35c677e
Add new TYPO3 documentation rendering based on phpDocumentor
Keep old rendering as some projects are not migrated yet and need the
old rendering.
2024-03-14 07:22:30 +01:00
b72441d4bb
Remove customer specific shell into customer project 2023-10-18 15:15:29 +02:00
652dbf9e39
Remove nix store optimise
As this only frees up a little amount of memory.
2023-10-18 12:08:12 +02:00
96c9150e4a
Add reuter VPN 2023-10-11 09:24:43 +02:00
467ce2fdde
Add custom zcat wrapper which adds an ETA progress
Useful when importing large database dumps.
2023-08-17 11:26:41 +02:00
8abf04faa2
Migrate to upstream phpactor
This got merged upstream and I'll use the official version now.
2023-06-19 10:50:24 +02:00
3b1bf7f698
Migrate from docker to podman (compose)
As this is rootless, daemonless and can be maintained via home manager
instead of system.
2023-06-14 07:34:06 +02:00
a7d4a5c51b
Adjust image repository for T3 docs rendering
They moved from docker hub to GitHub registry.
2023-05-11 08:31:33 +02:00
71da7bc98f
Revert "Use upstream phpactor"
As the fetched version causes system crash and high cpu usage.

This reverts commit bd6c8adb7f.
2023-04-11 08:38:39 +02:00
bd6c8adb7f
Use upstream phpactor
phpactor was added to upstream.
This only included the lsp usable package, not vim plugin.

I no longer need my own build script as I now use the upstream version.
That way I benefit from all the maintenance and updates.

I use the package source to build the neovim plugin.
2023-04-11 07:43:26 +02:00
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
34ecfaccdc
Support multiple EXT:solr cores 2023-04-04 09:24:20 +02:00
d1ec08d755
Move custom packages into own default.nix and load all at once
This separates foreign packages and custom ones.
2023-03-16 08:40:10 +01:00
bb64b6d859
Streamline push etckeeper and os update
The os update and backup now include etckeeper as its part of the
workflow.
The os updates now have the same name on all systems. That should reduce
friction, same command for same workflow, just different implementation.
2023-03-16 08:38:16 +01:00
12daec4075
Update outdated todo
This won't be fixed, I have another workflow.
2023-03-13 07:44:56 +01:00
c0d988fc89
Fix none working update script
Nix adds errexit and failpipe.
Using head will end in 141 SIGPIPE, see: https://unix.stackexchange.com/a/580119/185477

I apply the workaround / fix as suggested on StackExchange.

That way the script runs and can execute the cleanup and diff.
2023-03-07 15:46:46 +01:00
328591c15f
Remove no longer needed dmenu scripts
I now migrate to shell.nix.
And I've now enabled xdebug all the time within webserver (php-fpm).
2023-03-07 08:02:21 +01:00
bd175bcdf7
Ensure target folder for T3 docs exists
podman will not work if it is missing.
2023-03-01 08:55:10 +01:00
8e5195fb99
Fix broken docker image name when using podman 2023-02-28 20:20:44 +01:00
d07fd1b491
Keep less generations
I don't need all the old ones
2023-02-24 11:52:43 +01:00
a6166e0d80
Fix wrong paths for php 8.2 xdebug on ubuntu 2023-02-22 14:29:38 +01:00
e38beec96f
Improve sql connection for custom project
It should use my own user, but that won't work on ubuntu right now.
2023-02-20 13:43:23 +01:00
69b62931da
Create new tmux session with environment variables
This ensures they are also set for first pane.
Previous versions didn't set them for first pane, but only following
panes.
2023-02-20 09:12:14 +01:00
6b31c8a6d4
Make custom-project work on hikari
I've a different folder structure there.
2023-02-18 11:22:18 +01:00
c9ce9b957b
Use tmux set-environment
This allows to set environment for whole session.
Way better than sending explicit export commands in different shells.

This also allows each new pane to inherit the same environment.
2023-02-18 11:21:24 +01:00
b9c9d8f934
Remove runtime inputs from custom project
Those tools are expected to be globally available.
Defining runtime input will not expose system wide versions but link
specific versions.
Updating the packages will not update within the environment as custom
project starts a tmux session with the inherited runtime inputs.
2023-02-14 14:27:38 +01:00
a10f010a43
Update phpactor
Also improve performance by ignoring diagnostics.
Remove unused files.
Shorten PATH setting.
Switching to PHP 82 as most recent version.
2023-02-14 08:29:04 +01:00
0b451f07a9
Allow to use TYPO3 documentation rendering on both systems
I use docker on hikari2 and podman on hikari.
I now change the bash script based on that.
2023-02-08 12:55:05 +01:00
52f85e0463
Remove outdated comment 2023-02-07 11:11:26 +01:00
3dfe633ac2
Add EXT:tea docs rendering setup
* Use podman instead of docker.
* Provide wrapper script for rendering.
* Add rendering result as local domain.
2023-02-05 16:28:17 +01:00
174bc4d446
Streamline custom project file name and add instance path 2023-01-18 16:29:04 +01:00
ec12316dc2
Add dmenu script to open customer issue in their issue tracker 2023-01-17 13:07:08 +01:00
0d2b4f1e7f
Adjust custom-project tmux starter script
Respect new folder structure for reuter.
Move variable initialization into section. Do not initialize if we
already can attach to a session.

Remove legacy database handling. Instead fetch customer name from file
path and concatenate project and customer to database name. This also
supports more deeply nested folder structure within customer folder.
2023-01-10 08:28:29 +01:00
2e02b5abfe
Migrate/streamline customerProject bash script
Use writeShellApplication and adjust code to pass shellcheck.
Remove unnecessary overhead after migrating to writeShellApplication.
This involves binary paths as they are imported.

Also rename to custom-project to follow my naming scheme for custom
scripts.
2023-01-08 15:18:23 +01:00
682258a24e
Add xdebug for PHP 8.2 2023-01-03 15:23:28 +01:00
b6f52946e5
Once more try to include nvd in system update 2022-11-11 14:08:42 +01:00
3919c7abb6
Add nixos update command 2022-11-11 14:08:34 +01:00
86991939c7
Make dmenu scripts vertical
Recent dmenu update changed spacing which is irritating.
Streamline all scripts to use vertical output.
2022-10-31 13:48:02 +01:00
0386c33962
Add simple scripts to execute rclone to sync 2022-10-11 20:49:21 +02:00
60410692dc
Use notify-send from nix within scripts
Also adjust dmenu selection to follow my naming conventions.
Ensure other dependencies are provided via nix.
2022-10-11 19:11:34 +02:00
6af935b3e4
Remove video recording dmenu
I do no video recording anymore
2022-10-11 19:10:17 +02:00
24ba29e713
Update phpactor 2022-10-11 15:12:55 +02:00