Commit graph

47 commits

Author SHA1 Message Date
Daniel Siepmann a6166e0d80
Fix wrong paths for php 8.2 xdebug on ubuntu 2023-02-22 14:29:38 +01:00
Daniel Siepmann c616820b43
Switch to nativeBuildInputs where possible
This is used during build while buildInputs is used for runtime.
2023-02-22 13:59:25 +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 6d76ce80a6
First hikari specific configuration
Add a way to detect the current system.
2022-11-03 09:33:15 +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 9bedce31b2
Revert "Update sitediff manually to 1.2.0"
This reverts commit 2dc016e8c0.

As libcurl.so is missing
2022-09-07 10:16:07 +02:00
Daniel Siepmann 2dc016e8c0
Update sitediff manually to 1.2.0 2022-09-07 10:09:06 +02:00
Daniel Siepmann fac4dc58e6
Revert "Remove sitediff"
This reverts commit 7ba01e66aa.
2022-09-07 09:52:30 +02:00
Daniel Siepmann dded8c5a19
Use official purple-signald package again
As my upstream PR got merged.
2022-09-06 16:46:51 +02:00
Daniel Siepmann 7ba01e66aa
Remove sitediff
I'm not able to install the recent 1.2 version, only legacy versions
which are not usable.
2022-09-06 15:11:03 +02:00
Daniel Siepmann da6057446c
Add sitediff as new nixpkg
Add own nixpkg, follow: https://nixos.org/manual/nixpkgs/stable/#developing-with-ruby
Write a custom Gemfile including the sitediff gem.
Generate lock and gemset via `nix shell nixpkgs#ruby nixpkgs#bundix` and
the documented commands.
2022-09-06 10:06:03 +02:00
Daniel Siepmann e3143ab14c
Update signald file accordingly to feedback in PR 2022-08-29 17:27:01 +02:00
Daniel Siepmann 61e5fb63fe
Add Microsoft Teams to pidgin (login doesn't work yet)
The login doesn't work, but that seems to be an issue of my Microsoft
knowledge instead of the plugin, see: https://github.com/EionRobb/purple-teams/issues/1
2022-08-26 13:51:44 +02:00
Daniel Siepmann 6d5f3cc626
Initial add Pidgin for IM
I've added the following myself:

* mattermost
* purple-signald (waiting for https://github.com/NixOS/nixpkgs/issues/188384)
* purple-events
* purple-libnotify

and added slack from nixpkgs.
I'm also trying to make signal integration work.

Not sure whether I'll keep pidgin, as I expect video calls from within
slack not to work.
But would be cool to have a single open source messenger instead of x
instances of chromium as wrapper around closed source web applications.
2022-08-26 13:19:09 +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 e80a1034a5
Migrate away from 3rd party vim plugin for sqlformat
It didn't work.
Instead I migrated to nix + python directly.
I keep the way to use autocommand to set the formatting.
But no expression but an external program.
This program is created via nix as shell application.
This one uses the sqlparse, just like the plugin.
This will use the std input as file for input.

That way I can re use this in other places.
Integration is way easier, no additional overhead to write python
embedded as vimscript.
Also full dependency control via nix.
2022-05-30 10:43:18 +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