Commit graph

43 commits

Author SHA1 Message Date
Daniel Siepmann 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
Daniel Siepmann 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
Daniel Siepmann 12daec4075
Update outdated todo
This won't be fixed, I have another workflow.
2023-03-13 07:44:56 +01:00
Daniel Siepmann 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
Daniel Siepmann 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
Daniel Siepmann bd175bcdf7
Ensure target folder for T3 docs exists
podman will not work if it is missing.
2023-03-01 08:55:10 +01:00
Daniel Siepmann 8e5195fb99
Fix broken docker image name when using podman 2023-02-28 20:20:44 +01:00
Daniel Siepmann d07fd1b491
Keep less generations
I don't need all the old ones
2023-02-24 11:52:43 +01:00
Daniel Siepmann a6166e0d80
Fix wrong paths for php 8.2 xdebug on ubuntu 2023-02-22 14:29:38 +01:00
Daniel Siepmann 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
Daniel Siepmann 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
Daniel Siepmann 6b31c8a6d4
Make custom-project work on hikari
I've a different folder structure there.
2023-02-18 11:22:18 +01:00
Daniel Siepmann 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
Daniel Siepmann 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
Daniel Siepmann 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
Daniel Siepmann 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
Daniel Siepmann 52f85e0463
Remove outdated comment 2023-02-07 11:11:26 +01:00
Daniel Siepmann 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
Daniel Siepmann 174bc4d446
Streamline custom project file name and add instance path 2023-01-18 16:29:04 +01:00
Daniel Siepmann ec12316dc2
Add dmenu script to open customer issue in their issue tracker 2023-01-17 13:07:08 +01:00
Daniel Siepmann 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
Daniel Siepmann 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
Daniel Siepmann 682258a24e
Add xdebug for PHP 8.2 2023-01-03 15:23:28 +01:00
Daniel Siepmann b6f52946e5
Once more try to include nvd in system update 2022-11-11 14:08:42 +01:00
Daniel Siepmann 3919c7abb6
Add nixos update command 2022-11-11 14:08:34 +01:00
Daniel Siepmann 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
Daniel Siepmann 0386c33962
Add simple scripts to execute rclone to sync 2022-10-11 20:49:21 +02:00
Daniel Siepmann 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
Daniel Siepmann 6af935b3e4
Remove video recording dmenu
I do no video recording anymore
2022-10-11 19:10:17 +02:00
Daniel Siepmann 24ba29e713
Update phpactor 2022-10-11 15:12:55 +02:00
Daniel Siepmann 8850653389
Add oraproxy for one project 2022-10-04 16:58:10 +02:00
Daniel Siepmann 8b2dba9f70
Update phpactor, use fetchurl instead of fetchzip
Accordingly to help in https://discourse.nixos.org/t/fetchzip-results-in-do-not-know-how-to-unpack-source-archive-due-to-wrong-nix-store-path/22014
2022-09-26 15:26:10 +02:00
Daniel Siepmann eed11c64c4
Remove snap from update
I no longer have snaps
2022-09-26 08:08:45 +02:00
Daniel Siepmann 4677538858
Update phpactor
Also provide a script to create new versions of phpactor.
2022-09-16 09:50:20 +02:00
Daniel Siepmann 64ab6616fa
Remove unnecessary rsync reference from backup script
The script already adds rsync to the path, no need to use the more
complex approach within the string.
2022-08-09 12:01:33 +02:00
Daniel Siepmann 4db5ad9166
Add --delete to backup script rsync part 2022-07-12 10:22:13 +02:00
Daniel Siepmann a30a811537
Improve ubuntu system update
Autoremove stuff (e.g. old linux kernels).
Do not ask to update firmware, assume yes.
2022-06-20 07:43:20 +02:00
Daniel Siepmann 853b765010
Add PHP 8.1 to xdebug script
Disable already included the 8.1, just enable missed it.
2022-06-15 15:09:25 +02:00
Daniel Siepmann b3889d2e14
Remove nvd from update script
It doesn't work and fails to execute the rest
2022-06-13 08:16:10 +02:00
Daniel Siepmann 157bc14ba3
Create a bash script containing the update procedure for my ubuntu host 2022-06-02 12:20:35 +02:00
Daniel Siepmann 21573b25f5
Ease writeShellApplication calls
Provide proper runtimeInputs instead of using nix variables all the
time.
2022-05-31 18:54:47 +02:00
Daniel Siepmann 60188ff1da
Remove nix-index
It is slow as hell and I don't think I need the benefits.
2022-05-30 09:53:59 +02:00
Daniel Siepmann bfb5e08460
Move custom packages out of overlays
No need for overlays.
Instead create own packages and call them via callPackage.
That will keep them simpler and allows dependency injection.
I can follow existing patterns from nixpkgs, etc.
2022-05-24 18:50:10 +02:00