Commit graph

542 commits

Author SHA1 Message Date
Daniel Siepmann c263cdc34a
Remove neovim as man pager
It was slow and always hang after closing.
Keep simple default.
2022-10-10 21:19:18 +02:00
Daniel Siepmann f477833fad
Remove dunst as package, it is installed as service anyway 2022-10-10 12:48:27 +02:00
Daniel Siepmann 81b80f620f
Add association to open mkv files with vlc 2022-10-10 12:47:53 +02:00
Daniel Siepmann 9f69e90fb4
Replace nextcloud client with rclone
rclone is more flexible regarding storages.
nextcloud didn't play with keepass providing keyring.

rclone does not auto sync, I need to find a proper way to keep files in
sync without manuall calling commands …
2022-10-10 12:46:57 +02:00
Daniel Siepmann 6e498612a4
First basic steps to migration of email to neomut und co. 2022-10-06 13:10:32 +02:00
Daniel Siepmann 2481212aba
Improve timing of event notifications
Remind one minute earlier so I always get info ahead of time.
2022-10-06 12:22:44 +02:00
Daniel Siepmann 57a3b8b2e3
Add screenshot tool
I didn't invest time and used what I've used on ubuntu all the time.
I've removed it somehow from ubuntu and add it here.
2022-10-06 09:27:38 +02:00
Daniel Siepmann fa023c38d1
[Replace evolution by thunderbird
I've uninstalled something from ubuntu and evolution refuses to start.
Use thunderbird for email again until I switch to neomutt.
2022-10-06 09:27:38 +02:00
Daniel Siepmann cc3fcb3d50
Add vdirsync and khal with small notification script
Very basic, but maybe better then all the shiny none working solutions.
Will sync all calendars to vdir.
khal is able to parse and show them. khal also offers an cli interface
to fetch events for a certain time.

Properly use keepass xc via secret tool as command line tool
Enable keepassxc usage as secret tool.
Remove crypted file as this no longer keeps passwords

Remove korganizer as it doesn't provide notifications, try khal
2022-10-06 09:27:38 +02:00
Daniel Siepmann c8d9400d49
Clean up packages to install
Remove no longer needed packages
2022-10-05 16:55:05 +02:00
Daniel Siepmann 6d0cc6ad8d
Add customer specific gitignore entry 2022-10-05 16:53:54 +02:00
Daniel Siepmann 25ab746c71
Fix wrong mime assignment for calendar
I've installed korganizer instead of evolution right now.
2022-10-05 16:53:27 +02:00
Daniel Siepmann 3ba4b60e07
Migrate nautilus as file manager from ubuntu to home-manager
I don't want to invest time to check alternatives.
I stick to that one for now.
2022-10-05 16:52:52 +02:00
Daniel Siepmann 8850653389
Add oraproxy for one project 2022-10-04 16:58:10 +02:00
Daniel Siepmann 431bffc905
Always prevent compression within TYPO3
Matches with my apache setup.
2022-10-04 16:57:52 +02:00
Daniel Siepmann 2997f79052
Fix wrong comment style in neovim config file 2022-10-04 15:10:51 +02:00
Daniel Siepmann 285a366357
Maintain docker config.json which includes credentials 2022-10-04 15:09:44 +02:00
Daniel Siepmann 47798807b2
Add private composer registry auth 2022-10-04 15:09:19 +02:00
Daniel Siepmann 278b1e9c37
Disable mouse which got enabled by neovim 0.8.0 2022-10-04 12:34:36 +02:00
Daniel Siepmann 1d26332f60
Add KOrganizer for calendar
As evolution is running into timeouts for none known reason.
2022-10-04 08:58:27 +02:00
Daniel Siepmann 1ea75ea1e4
Migrate neovim plugin derivations to be compatible
Use always pname and version, see: https://github.com/NixOS/nixpkgs/issues/193903
2022-10-04 07:59:26 +02:00
Daniel Siepmann 97ef3d98e5
Finally make event notification centered 2022-09-28 10:00:29 +02:00
Daniel Siepmann d6d7bb7565
Add neovim csv snippet 2022-09-28 09:59:52 +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 2c3d07650e
Add custom css for forge.typo3.org 2022-09-26 08:08:56 +02:00
Daniel Siepmann eed11c64c4
Remove snap from update
I no longer have snaps
2022-09-26 08:08:45 +02:00
Daniel Siepmann edcfa3f56b
Associate common video mime types with vlc 2022-09-21 07:44:46 +02:00
Daniel Siepmann 4c01b29548
Remove thunderbird
It is way to buggy, I've now swtiched over to Evolution for mail,
contacts and calendar.
2022-09-20 07:49:04 +02:00
Daniel Siepmann 39652476f5
Replace spotify with handbrake
I wanna rip some of my DVDs for easier usage via HDD on my TV.
But I don't download via spotify anymore.
2022-09-19 14:28:21 +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 874249b9b8
Install GUI for disk usage 2022-09-15 17:09:19 +02:00
Daniel Siepmann e16f332c39
Hide unnecessary Jira bloat from UI 2022-09-15 17:07:39 +02:00
Daniel Siepmann f154c42a61
Update t3 shell aliases
TYPO3 migrated from master to main long time ago
2022-09-13 05:26:20 +02:00
Daniel Siepmann 42f16ece60
Fix juris website css 2022-09-08 12:12:55 +02:00
Daniel Siepmann 9b6621fd45
Fix slack thumbs up smiley 2022-09-07 17:14:38 +02:00
Daniel Siepmann 2e594f27da
Do not make pidgin windows floating 2022-09-07 17:14:14 +02:00
Daniel Siepmann ff883a2bd9
Update microsoft teams user agent to enable usage of features 2022-09-07 13:57:22 +02:00
Daniel Siepmann 373ec34752
Extend i3 config for evolution and pidgin windows
Make evolution alarm sticky.
Unstick pidgin windows.
2022-09-07 13:56:06 +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 016894d458
Add evolution as calendar UI
Thunderbird no longer sends proper notification (reminder) for upcoming
events.
2022-09-05 13:03:57 +02:00
Daniel Siepmann aa5b59dfac
Keep Firefox privacy.resistFingerprinting on false
See: https://social.tchncs.de/@kuketzblog/108945047476520993
2022-09-05 12:13:16 +02:00
Daniel Siepmann 23e161b0d0
Cleanup outdated pidgin comments
Smileys are now supported globally via native purple support
2022-09-02 13:44:06 +02:00
Daniel Siepmann 8cef3958b5
Add custom themes for purple 2022-09-02 12:38:36 +02:00
Daniel Siepmann 2cb9d53374
Streamline pidgin setup
Use a single file instead of distributed files to setup pidgin.
Add smileys based on:
* https://unicode.org/emoji/charts/full-emoji-list.html
* https://github.com/PowaBanga/pidgin-EAP
* https://developer.pidgin.im/wiki/SmileyThemes#Creating
2022-09-02 11:30:05 +02:00
Daniel Siepmann 046db61df0
Configure neovim to not expand tabs in c code
As my current existing open source code bases use tabs instead of
spaces.
2022-09-01 17:21:57 +02:00
Daniel Siepmann e11021e3cb
Add git-remote-hg as bridge to allow working with mercurial repos
I could use mercurial but am not used to it anymore and prefer git.
Still some open source projects use mercurial instead of git.
This little tool allows me to still clone them, see: https://github.com/mnauw/git-remote-hg
2022-09-01 16:07:33 +02:00
Daniel Siepmann 83396d38cb
Prevent neovim from unexpected indenting -> within PHP
There should be no special handling in order to align them.
They should be indented four spaces like everything else.
2022-09-01 08:19:55 +02:00
Daniel Siepmann 0599e5dc24
Prevent neovim default custom autocomplete in SQL files
I hated it, it also stole `<C-C>` from my workflow to escape to normal
mode.

Thanks: https://www.reddit.com/r/neovim/comments/x2nc8o/cant_disable_sql_omni_complete_in_neovim_072/
2022-09-01 07:57:24 +02:00
Daniel Siepmann 9c62561a9e
Use an emoji that exists on my system, for i3 workspace 4 2022-08-31 13:26:34 +02:00
Daniel Siepmann 3ff8e46f2b
Add custom css to highlight inline code on confluence 2022-08-31 12:46:30 +02:00
Daniel Siepmann 2c45d93c7a
Keep mail on separate workspace
I'm to used to that setup
2022-08-31 10:00:04 +02:00
Daniel Siepmann 30b62d5196
Configure pidgin fonts 2022-08-30 17:31:39 +02:00
Daniel Siepmann 6719549999
Configure prefered commentstring for c programming 2022-08-30 17:31:21 +02:00
Daniel Siepmann a10b82b153
Revert "Add matrix to pidgin (not working right now)"
This reverts commit ddaf533f47.
2022-08-30 14:25:43 +02:00
Daniel Siepmann ddaf533f47
Add matrix to pidgin (not working right now)
Doesn't work yet for me due to:
https://github.com/matrix-org/purple-matrix/issues/28
2022-08-30 14:20:54 +02:00
Daniel Siepmann cebae709fa
Adjust pidgin GTK a bit
I still miss many things and am to unfamiliar with GTK
2022-08-30 14:20:34 +02:00
Daniel Siepmann 907d321ba7
Move all communication to single i3 workspace
As I no longer have so many chat instances, just two (hopefully one in
the future).
That's why I can move email and chat into one workspace.
2022-08-30 12:31:47 +02:00
Daniel Siepmann c2c16a1dec
Remove Jitsi as I can do this within Firefox 2022-08-30 10:51:01 +02:00
Daniel Siepmann 3cdb30ca04
Remove another slack instance
I've applied a purple-slack patch which allows me to sign in via
credentials from active browser sessions, circumventing 2FA.
2022-08-30 10:50:25 +02:00
Daniel Siepmann 7249d90972
Remove no longer needed chats via chromium as I've moved to pidgin
Some are still left but will be tackled in future.
2022-08-30 09:31:28 +02:00
Daniel Siepmann 3e589f45a1
Adjust user systemd files to auto start on session begin 2022-08-29 17:27:33 +02:00
Daniel Siepmann ae2498d389
Extend gtkrc for purple (pidgin) 2022-08-29 17:27:24 +02:00
Daniel Siepmann e3143ab14c
Update signald file accordingly to feedback in PR 2022-08-29 17:27:01 +02:00
Daniel Siepmann fb24bfbc8a
Remove signal desktop in favour of pidgin integration 2022-08-26 13:51:53 +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 dfc7938891
Improve sc-im configuration for TYPO3 csv files
Do not format integers as decimals, which would be written back to file
changing the actual content.
2022-08-25 15:40:58 +02:00
Daniel Siepmann 6836846092
Remove wrong options from zathura configuration
These were duplicates of completion-group repeating completion.
2022-08-24 17:29:47 +02:00
Daniel Siepmann 8b2ebc7e66
Disable color of ncdu
ncdu got color scheme support and enables one by default.
I'm used to ncdu without additional colors and disable the color.
2022-08-24 14:36:38 +02:00
Daniel Siepmann 4ad7d5caf9
Revert "Remove zathura"
This reverts commit 961cc0df66.
2022-08-22 15:29:32 +02:00
Daniel Siepmann 61f72eeb79
Add mappings for new neovim ultest plugin 2022-08-22 15:29:15 +02:00
Daniel Siepmann 17068755af
Add neovim plugin ultest to show test summary and status
I use this to show icons beside methods to see which tests are fine and
which are broken. Same for summary.

I also update my colorscheme to support this plugin.
2022-08-22 11:45:48 +02:00
Daniel Siepmann 1987df7995
Fix sorting within neovim
I've a custom function SortParagraph mapped to a key binding.
This sorted different then php-cs-fixer.
I've switched from neovim built-in sort to command line sort of gnuutils
which sorts the same expected way by default.

This is done by not calling a neovim command but command line program
via "!".
2022-08-22 11:09:35 +02:00
Daniel Siepmann 961cc0df66
Remove zathura
The build is currently broken.
Revert this commit once it is working again.
See related issue in nixpkgs: https://github.com/NixOS/nixpkgs/issues/187305
2022-08-22 07:49:35 +02:00
Daniel Siepmann 6b4f49c553
Fix broken tmux configuration
The shell needs to be referenced by full absolute path.
2022-08-22 07:48:52 +02:00
Daniel Siepmann 2324b20f18
Alter mycli table format and add some infos in comment 2022-08-17 16:17:38 +02:00
Daniel Siepmann 8ed56905cc
Add SC-IM to work with CSV files
An ncurse based vim inspired mode editor for CSV files.
With custom styling.

I need this for fixture and assertion files of TYPO3 Testing Framework.
2022-08-17 15:27:30 +02:00
Daniel Siepmann 2795cb79c3
Fix broken vim php syntax
The loading order (runtimepath) was changed with
cda1f8ae46.
The php syntax loaded as package is now loaded after the neovim native
php syntax file and does not have any effect.

I now remove the package and add the file as XDG config so it is always
loaded first.
This file is not maintained anymore since some years and I still prefer
it over the maintained versions.
2022-08-16 08:05:13 +02:00
Daniel Siepmann 1fcf4bba0b
Adjust TYPO3 custom logging
Use logFileInfix instead of logFile.
As path changes between TYPO3 versions and logs are no longer stored
within typo3temp.
Instead we distinguish the custom log by file infix.
2022-08-16 07:41:34 +02:00
Daniel Siepmann ec3f04f910
Customer Redmine: Hide parent issue in description
This allows to easily copy the issue itself to time tracking.
2022-08-16 07:40:53 +02:00
Daniel Siepmann 74b22e6e5b
Remove unnecessary symlink
The applications path is already added to the necessary environment
variable, see: https://unix.stackexchange.com/questions/310666/nix-desktop-files/311645#311645
No need to do anything else on my end.

This is enabled due to "config.xdg.mime.enable".
2022-08-15 08:50:49 +02:00
Daniel Siepmann 42081fc2a9
Use binaries from $PATH
Do not link against raw pkgs version.
They might be adjusted.
Use the ones from PATH.
2022-08-15 08:41:53 +02:00
Daniel Siepmann 97aa38df93
Migrate fileContents to builtins.readFile
As already done for neovim configuration.
2022-08-15 08:37:40 +02:00
Daniel Siepmann ef8619e2c5
Use installed version of tools from CLI
Do not set to raw packages, but to the environment specifics.
Let $PATH jump in to find the tools.
2022-08-15 08:27:05 +02:00
Daniel Siepmann eb6c58f076
Add missing linebreak in generated neovim configuration
Use builtin function instead. This will keep the trailing line break.
Also always use the braces to make it obvious we are using a function.
2022-08-15 08:26:12 +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 6f554320fe
Add composer configuration
The composer configuration should also be maintained via home-manager.
The files are added to this repo and added via xdg.

The auth.json is crypted of course as it contains my personal tokens.
2022-08-09 12:00:17 +02:00
Daniel Siepmann 4596c6254e
Fix broken php if snippet in neovim 2022-08-03 08:31:17 +02:00
Daniel Siepmann 48e1b9d244
Update phpactor
Install latest master.
2022-08-02 13:20:43 +02:00
Daniel Siepmann 3707831a56
Refactor phpactor neovim plugin into own nix file
This makes it easier to open the file via fuzzy finder.
Everything is located within the file and callPackage will pass the
necessary dependencies.
2022-08-02 13:20:08 +02:00
Daniel Siepmann 964495f0a3
Revert from mcfly back to old zsh history search
It didn't work as good as expected. It sometimes missed further lines.
It did not really shine in its neural network learning, taking into
account exist codes and cwd.
2022-08-01 16:12:18 +02:00
Daniel Siepmann 575fc168a9
Update networkmanager_dmenu
The new package provides an desktop entry. So I can remove my own to
prevent duplicates.
The new package does not integrate the same way in dmenu as before.
But I can provide a configuration which ensures it still will list the
entries in a list with multiple lines.
2022-07-13 07:29:28 +02:00
Daniel Siepmann 84f15724fd
Execute numlockx off
This is necessary when using external bluetooth keyboard.
I didn't see any drawbacks, so let's keep it.
2022-07-12 10:22:29 +02:00
Daniel Siepmann 4db5ad9166
Add --delete to backup script rsync part 2022-07-12 10:22:13 +02:00
Daniel Siepmann 6bf26938d9
Update phpactor 2022-07-12 10:21:42 +02:00
Daniel Siepmann 460270e792
Ignore manually installed games from backup 2022-07-04 08:01:42 +02:00
Daniel Siepmann 638b34f085
Move Firefox addons into "Overflow menu" 2022-07-04 07:37:33 +02:00
Daniel Siepmann d5e8cffec1
Add presentation stuff to neovim
Add plugins and a small function that will trigger all the plugins +
settings.
2022-07-04 07:36:52 +02:00
Daniel Siepmann 6e7ec0955f
Update mcfly option
This was changed with newer releases.
2022-06-27 07:47:27 +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 1c6c5aea3d
Add month name and use English format in i3blocks date 2022-06-15 18:17:23 +02:00
Daniel Siepmann 3250212dc8
Add new customer ssh block 2022-06-15 16:08:03 +02:00
Daniel Siepmann b6db7ff6b8
Update typoscript syntax for neovim 2022-06-15 15:10:32 +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 03da79bc41
Update phpactor to stay compatible
Mainly switch to php8.0 as this is still supported by nix.
Also add git to path (just to be sure it is there)
And update phpactor itself.
2022-06-13 08:15:32 +02:00
Daniel Siepmann 06fbb675c3
Firefox show punycode
In order to actually recognize unconventional encoded signs.
See: https://fosstodon.org/@xpil/108412951909479927
2022-06-08 16:51:27 +02:00
Daniel Siepmann 68e2e85d49
Replace telescope-ui-select-nvim with dressing-nvim
Configures the hole UI stuff, no need for different plugins.
2022-06-08 08:51:31 +02:00
Daniel Siepmann 126ec8481e
Use telescope as select ui in neovim 2022-06-08 08:47:55 +02:00
Daniel Siepmann aeadc44d95
Exclude downloads folder from backup 2022-06-08 08:04:34 +02:00
Daniel Siepmann 45070a76c5
Switch to expected theme
I don't want ubuntu dark as this has orange color.
Instead I want the default which has blue colors.

Don't know how this happened, most parts were blue until today.
2022-06-07 08:49:09 +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 d778b9a20c
Remove forward agent from customer ssh
This is no longer necessary for that agent.
We now deploy via CI and no longer ourself.
2022-06-02 12:15:53 +02:00
Daniel Siepmann 6dbc2011dc
Use light tray icon for keepass
As this is the foreground color. I use a black theme and need a white
icon to make it visible.
2022-06-01 11:20:42 +02:00
Daniel Siepmann e9dc6ba190
Extend Firefox configuration
Disable syncing for most parts.
Disable auto fill (I use Keepass browser extension).

Remove some none useful bookmarks.
2022-06-01 10:12: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 cd63d01702
Configure keepassxc for browser extension support
Add manually installed extensions as comments.
I could install them from user repositories, but I keep this for now.
2022-05-31 08:47:21 +02:00
Daniel Siepmann 8b19401941
Cleanup borg excludes 2022-05-31 07:39:43 +02:00
Daniel Siepmann 9040b8eff9
Add bluetooth applet 2022-05-31 07:36:24 +02:00
Daniel Siepmann 38b010075f
Migrate GPG to ni / home-manager
Install and configure gpg and gpg-agent.
Add my own public key as a test.
2022-05-30 19:17:10 +02:00
Daniel Siepmann 3c1af258b0
Add numlockx
This is used as `numlockx off` in case I add a bluetooth apple keyboard.
This would otherwise send numbers on its right side keys and ignore most
other keys.

Necessary e.g. during some conferences / talks where I use a bluetooth
keyboard.
2022-05-30 18:02:03 +02:00
Daniel Siepmann 56f0e7ce8d
Remove treesitter from neovim
Not an in line replacement yet.
Stuff like auto indent in php doesn't work yet.
No benefit for me for now.
2022-05-30 17:14:17 +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 32fbafba20
Support new reuter folder structure on my local machine 2022-05-25 13:47:16 +02:00
Daniel Siepmann 41a03f832d
Configure neovim to show all telescope builtin + extensions
As seen on
https://www.reddit.com/r/neovim/comments/tw2d1q/are_additional_pickers_supposed_to_appear_in_the/
2022-05-25 13:17:48 +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
Daniel Siepmann 14cc26c829
Migrate borg backup to proper shell script installed via nix 2022-05-24 18:24:40 +02:00
Daniel Siepmann 956ea506b8
Refactor ssh keys
Make public what is already known to the public.
Also define keys in variables for easier maintenance.

Some hostings still don't support ed.
2022-05-24 16:44:17 +02:00
Daniel Siepmann 90b5f5b6d0
Add SSH
Configure ssh, use git-crypt to crypt the configuration.
That way no information like domain name, ip, port, username, etc. are
exposed.
2022-05-24 11:55:50 +02:00
Daniel Siepmann 7d9095e5ee
Associate ical text/calendar with thunderbird 2022-05-24 10:51:24 +02:00
Daniel Siepmann a1e93157c4
Migrate phone web app to chromium
As it doesn't work with firefox.
2022-05-24 09:29:04 +02:00
Daniel Siepmann 3f76453f79
Cleanup ale configuration file
Remove old commented out blocks.
Remove unnecessary function and call, just set the option.
2022-05-23 18:45:51 +02:00
Daniel Siepmann 003b6be119
Integrate languagetool into neovim
I already set it up as service for firefox extension.
This now also integrates into neovim.
2022-05-23 18:45:51 +02:00
Daniel Siepmann 3110d19453
Replace zsh history search with mcfly
Let's see whether I keep this setup.
2022-05-23 18:45:50 +02:00
Daniel Siepmann 9ff11bd6ed
Review possible theme alternatives
I won't change them now, I'm happy.
Move todo into the gtk nix file in case I'm interested in the future.
2022-05-23 17:32:55 +02:00
Daniel Siepmann 3bb91de805
Try to improve phpactor (PHP LSP) 2022-05-23 16:22:40 +02:00
Daniel Siepmann 93bd4a08d8
Do not execute PHPUnit tests via codeception 2022-05-23 16:22:27 +02:00
Daniel Siepmann 10702e20f7
Update phpunit options for reuter in neovim
This project now uses TYPO3 v10 and phpunit 9.5.x.
I now can use testdox :)
2022-05-23 11:47:19 +02:00
Daniel Siepmann 4f2549a29e
Add sipgate webphone as "application" 2022-05-23 08:41:24 +02:00
Daniel Siepmann 11d1f134cd
Move services to own file
To streamline with other setups like home, programs, systemd, etc.
2022-05-22 20:44:54 +02:00
Daniel Siepmann f106eb2b10
Use icon theme also for dunst
Remove custom config and use module options.
Re use already configured theme.
2022-05-22 20:29:00 +02:00
Daniel Siepmann eae10f1a23
Add feh image viewer
I already added an viewer for PDF, this one is for images.
2022-05-22 20:07:36 +02:00
Daniel Siepmann 9e801efd12
Integrate nix-index
This is a try, not sure if I need it, it probably will increase consumed
time by update procedure.
2022-05-22 19:13:53 +02:00
Daniel Siepmann b249b49e2d
Migrate some existing dconf module 2022-05-22 18:43:21 +02:00
Daniel Siepmann 3283c5e1dc
Use home-manager pointerCursor module
This removes need to setup everything myself. Didn't know about it
earlier.
Does exactly what this commit removes.
2022-05-22 18:31:08 +02:00
Daniel Siepmann 240fdd9131
Install nvd
This allows me to easily see which version updates happen between two
store paths (e.g. after updating)

Fetch store paths via `home-manager generations` and run `nvd diff
<old> <new>`
2022-05-22 18:23:22 +02:00
Daniel Siepmann 369c3a28ce
Switch chromium back to nix package
Snap packages can't use the user installed cursor theme
https://bugs.launchpad.net/ubuntu/+source/snapd/+bug/1585332

Also the nix package is working once more for me, no need to use the
snap version.
2022-05-22 17:58:55 +02:00
Daniel Siepmann e782687068
Streamline cursor theme
Some apps use different sources.
I setup xresources and ensure there is only one icon theme (includes
cursor).

This uses the single source of truth, thanks to nix / home-manager.

Except snap packages, those still don't work.
2022-05-22 17:51:01 +02:00
Daniel Siepmann 70d5002cbf
Use German locales for some types
I'm still German and living in Germany.
It is strange to have Sunday as first day of week.
I configure some languages to be German, others to be English.

I also fix the wrong utf8 syntax, Ubuntu uses `utf8` instead.
2022-05-22 16:53:31 +02:00
Daniel Siepmann 7ca113b60e
Install zathura as Document Viewer (PDFs)
It uses vim keybindings and can be configured via module.
Set it as default application for PDFs.
2022-05-22 16:40:42 +02:00
Daniel Siepmann 1b5f675a07
Add keepassxc config file
Also sort and group blocks.
2022-05-22 15:40:27 +02:00
Daniel Siepmann e312a830e7
Configure QT
Configure to re use GTK styles to have a streamlined look and feel.
2022-05-22 15:38:57 +02:00
Daniel Siepmann 1436c97f2f
Streamline setup and move programs to own nix file 2022-05-20 16:44:33 +02:00
Daniel Siepmann 5cc06b6967
Add keychain application
In order to not worry about ssh-agent integration, it will take care and
ask for passphrases on first zsh start.
2022-05-20 16:20:44 +02:00
Daniel Siepmann e76c198f36
Move systemd to its own file 2022-05-20 16:10:39 +02:00
Daniel Siepmann 286911e4b8
Add inline comments 2022-05-20 16:10:37 +02:00
Daniel Siepmann 6c7275bd84
Remove todo
I could move them to xinitrc, but that doesn't seem better.
Looks like the current solution is ok.
2022-05-20 15:55:02 +02:00
Daniel Siepmann 2c0dc5b92f
Disable gtk animations
Not sure if there are any, I don't use many UIs
2022-05-20 15:51:46 +02:00
Daniel Siepmann 2e89e7f369
Configure GTK
Add new gtk configuration.

Use tmpfiles to provide the generated sources like themes to the system.
Also use for desktop files and remove old no longer needed readme entry.
2022-05-20 15:39:28 +02:00
Daniel Siepmann a880aeb7e4
Document why assigning cmus doesn't work in i3 right now 2022-05-20 14:25:52 +02:00
Daniel Siepmann 83b8b50df7
Enforce expected terminal, e.g. by i3-dmenu-desktop 2022-05-20 14:25:21 +02:00
Daniel Siepmann 7316408494
Fix firefox assignment in i3
Also re add documentation for debugging.
2022-05-20 14:01:53 +02:00
Daniel Siepmann 9b55ddb965
Do not handle mime apps right now
The whole folder is currently manually linked to nix home manager
application folder.
Also I don't really need it.
2022-05-20 14:01:06 +02:00
Daniel Siepmann 74ace250ee
Move stuff from i3 to xsession
As this is not related to i3 as window manager.
Also add xrandr --auto to have proper output by default.
2022-05-20 13:55:27 +02:00
Daniel Siepmann 9085969661
Extend xdg management via home-manager
Enable management of xdg and mime.
Configure mime default app associations via home-manager.
2022-05-20 13:46:33 +02:00
Daniel Siepmann 293b5684f5
Remove no longer available and used registry 2022-05-20 13:27:19 +02:00
Daniel Siepmann 2823c2f0f9
Maintain more global options via home-manager
Use home-manager to create xsession.
Readme contains info on how to start xsession on login.

That way home-manager can maintain languages, keyboard and further stuff
globally for user.

No more need to set stuff as workaround within i3 or zsh.
Also enabled to start systemd units after login, as home-manager will
create and trigger `hm-graphical-session.target`.
2022-05-20 12:47:01 +02:00
Daniel Siepmann fb009d303d
Split home.nix into multiple files
Use dedicated files for files, packages and xdg.
This shortens the huge home.nix file.
2022-05-20 12:45:42 +02:00
Daniel Siepmann ec90898c38
Add tree sitter to neovim
This installs used languages.
Also update colorscheme to support new hi groups introduced by ts.
2022-05-20 11:05:26 +02:00
Daniel Siepmann 7257a671e4
Revert "Remove network manager applet"
This reverts commit b67bb428bf.

the networkmanager dmenu doesn't work (e.g. establishing vpn connection)
if applet is not launched.
2022-05-19 11:17:01 +02:00
Daniel Siepmann b67bb428bf
Remove network manager applet
I don't need / use this.
Instead I already use dmenu networkmanager.
2022-05-19 10:55:25 +02:00
Daniel Siepmann ce237df68f
Disable CTRL+j binding for zsh history 2022-05-19 08:08:49 +02:00
Daniel Siepmann eb3282b453
Add replacement for i3 battery
The module doesn't work or exist anymore.
I use a lightwight battery icon instead which I add as a service to
start during login.

And I don't need the wifi thingy.
2022-05-19 07:18:51 +02:00
Daniel Siepmann 48a0c8fa5a
Integrate i3blocks via nix
This was missing after migrating to i3 via nix.
i3blocks was installed via apt before.

home-manager doesn't provide options, I keep my old file. It is updated
for the used version.
2022-05-19 07:02:56 +02:00
Daniel Siepmann 4edeb38471
cRemove i3blocks trigger from keybinding
I don't have those blocks for some time already. No need to trigger
them.
2022-05-19 07:02:24 +02:00
Daniel Siepmann dc304dbcee
Keep zsh CTRL+r binding
I'm way to used to that.
I guess I'll use it for switching to search mode, and then use j+k for
moving.
2022-05-19 07:00:58 +02:00
Daniel Siepmann 965c095482
Use i3 maintained by nix
Install and configure i3 via nix home-manager.
This commit just migrates existing configuration.

It doesn't clean things up, e.g. move stuff to expected locations.
I configure x* tools from within i3 right now …
Also didn't clean things up, e.g. sort and group related things.
2022-05-18 22:31:18 +02:00
Daniel Siepmann 02e7f24b52
Add todo for rest neovim plugin 2022-05-18 19:54:03 +02:00
Daniel Siepmann 676e0e311a
Allow forward history search in zsh
That allows me to search backward and go forward once I got to far.
I also switch to CTRL+j and CTRL+k to use vim like bindings to search
back and forth.
2022-05-18 19:49:39 +02:00
Daniel Siepmann 1500eb1871
Add BufOnly vim plugin
This allows me to easily close (and wipe) all buffers except the current
one.
I no longer need to close and re open vim to quickly have a clean state.
2022-05-18 19:47:03 +02:00
Daniel Siepmann 47eac8a8ad
Allow neovim test plugin to detect codeception test
It missed the dist file during detection.
I already opened an PR upstream: https://github.com/vim-test/vim-test/pull/654
2022-05-18 19:39:35 +02:00
Daniel Siepmann 2636cd4f80
Add twig syntax support to neovim 2022-05-17 21:40:52 +02:00
Daniel Siepmann e960cc3c20
Add lua language server to neovim
As I write lua from time to time to extend Neovim.
This is picked from https://github.com/neovim/nvim-lspconfig/blob/master/doc/server_configurations.md#sumneko_lua
Just cmd is changed to install the server via nix and call the
installed version.
2022-05-17 20:49:00 +02:00
Daniel Siepmann 899ae7baba
Update todos for phpactor 2022-05-17 19:29:18 +02:00
Daniel Siepmann 25e5dff4e9
Adjust Neovim keymappings for PHP / LSP
Telescope no longer provides LSP code actions.
I add a mapping to trigger code actions.

I also ensure that I don't have to wait for phpactor menu.
And I didn't use hover anyway.
2022-05-17 13:07:40 +02:00
Daniel Siepmann 847550b3c9
Hide disturbing HTML on redmine
In order to easy copy & paste issue title + number to time tracking.
2022-05-17 11:32:39 +02:00
Daniel Siepmann a00fa83f55
Do not clean files in phpactor
It didn't work for some reason and shouldn't be to important
2022-05-17 09:31:17 +02:00
Daniel Siepmann 7ffc0d5d5e
Update phpactor
Phpactor removed assertions. I no longer need to build a custom php
environment disabling assertions.
2022-05-17 09:23:00 +02:00
Daniel Siepmann 0bf5b771de
Disable assertions in phpactor
phpactor uses assertions. Those break on my system.
I disable the assertions for phpactor by altering the configuration of
the php to use.
2022-05-17 08:52:39 +02:00
Daniel Siepmann f44ecfa7e8
Add composer to phpactor
This allows to use full potential of phpactor.
We wrap the binary to promote PHP and Composer.

We ensure that the neovim plugin is not calling PHP, but only the
wrapper, which ensures that proper PHP version will be used.
2022-05-17 08:34:40 +02:00
Daniel Siepmann 13b5bf6e73
Update phpactor
To also include https://github.com/phpactor/phpactor/pull/1604 which
should fix the stale processes after exiting neovim.
2022-05-17 07:42:19 +02:00
Daniel Siepmann a2be50bac9
Update phpactor
This should contain an issue not closing process on neovim exit, see:
https://github.com/phpactor/phpactor/issues/1599 and
ad43a19480
2022-05-16 12:50:29 +02:00
Daniel Siepmann 9a48a4fdac
Improve neotags installation
Remove unnecessary files.
Compile python. Cache files end up later by root for some reason. We
compile upfront.
2022-05-16 12:03:05 +02:00
Daniel Siepmann f3e90cd960
Fix broken TYPO3 auto login
Enable auto login
Fix broken include of additional configuration. Seems it is loaded
multiple times, we should prevent _once to always have it loaded.
2022-05-16 11:46:25 +02:00
Daniel Siepmann cfd91f23b7
Update phpactor to not break when used as LSP
Update to commit
dc54d380d5
which should fix the exit code
2022-04-21 07:37:37 +02:00
Daniel Siepmann 9cba42ddfa
Revert "Remove LSP from Neovim"
This reverts commit 49ff32a4e6.
2022-04-21 07:36:01 +02:00
Daniel Siepmann 40de1d353f
Keep old git merge behaviour
I find it way to much / complicated and am used to my old way to merge
things which I keep for now.
2022-04-19 13:33:45 +02:00
Daniel Siepmann 49ff32a4e6
Remove LSP from Neovim
It results in 137 exit codes way to often at the moment.
Issue is not LSP (=Language Server Protocol) itself but phpactor
implementations.

Still I only use phpactor with LSP, so remove for now.
2022-04-19 13:32:54 +02:00
Daniel Siepmann cbad0f5a83
Update phpactor 2022-04-19 13:32:27 +02:00
Daniel Siepmann df46cb05ed
Cleanup nix flakes + shells
Remove flakes for now.
I will use shells for now to not have a mixed setup.
Add composer v1 for a single customer project as overlay due to usage in
shell instead of flakes.

Adjust folder to not have unnecessary deep structure.

Add shell for reuter monorepo using composer v1.
2022-04-14 15:46:49 +02:00
Daniel Siepmann ee2e7d04e1
Add info how to re source session variables 2022-04-14 15:09:28 +02:00
Daniel Siepmann 5221385642
Migrate global TYPO3 configurations
Those were the last piece in my old .dotfiles repository.
The whole configuration is now defined here.

Only customer specifics are in a separate location / repo to not expose
any sensible data.
2022-04-14 15:07:29 +02:00
Daniel Siepmann 048c0df915
Setup Neovim yamllint the same way as xmllint
Do not install globally.
Provide configuration at expected location as default / fallback.
2022-04-14 14:31:19 +02:00
Daniel Siepmann bbea479930
Add seconds to i3 block
This shouldn't cost to much electricity / power.
2022-04-14 13:58:27 +02:00
Daniel Siepmann 979d114f9c
Remove no longer used composer version from i3 blocks
I already removed the command as a hack.
Instead I know remove the whole block.

I no longer have global composer available.
Instead I use nix shell.
2022-04-14 13:54:47 +02:00
Daniel Siepmann bdbaaba2fd
Remove Neovim cmp autocomplete
I found it to disturbing and prefer the native behaviour I am used to.
2022-04-12 16:44:03 +02:00
Daniel Siepmann f77855abac
Add Neovim snippet for PHP invoke
Useful as many event handler will only implement this method.
2022-04-12 16:41:44 +02:00
Daniel Siepmann 95d0cb9a2c
Do not use vim as pager
That is inconvenient I often wanna see something and get back to work.
But vim is just to much and more complex to quit.
2022-04-11 07:52:55 +02:00
Daniel Siepmann 437e893592
Remove unused i3 video modes 2022-04-11 07:50:18 +02:00
Daniel Siepmann 9f42237e25
Add screen recording "setup"
Change i3 config to match current hardware setup.
Add custom dmenu script to start and stop recording.

Move internal dmenu scripts into local variables.
2022-04-01 09:40:31 +02:00
Daniel Siepmann c3df8f0029
Remove community substituter
As it reports that some keys won't match and I don't use it right now.

Reverts 175ebf6 content wise but keeps syntax improvements
2022-03-31 19:42:53 +02:00
Daniel Siepmann f4cdf96abe
Added typescript syntax for Neovim 2022-03-31 15:15:52 +02:00
Daniel Siepmann 1dcaf129f6
Hide further elements on customer redmine 2022-03-31 09:55:15 +02:00
Daniel Siepmann 61b7c19a2a
Hide promoted posts on reddit 2022-03-31 09:55:02 +02:00
Daniel Siepmann 32df656e75
Add statix for nix checking into Neovim 2022-03-30 15:49:54 +02:00
Daniel Siepmann def8300cca
Disable paging for some git commands
I don't like pager for those commands.
2022-03-30 13:02:58 +02:00
Daniel Siepmann 0feb84f5c1
Hide frustrating unnecessary status badge in redmine
I copy the issue id and description for time tracking and the badge is
in between.
I disable it as I don't need it. That way I also won't copy it to time
tracking anymore.
2022-03-30 13:01:54 +02:00
Daniel Siepmann 49b485236c
Add markdown to ctags
As many projects use markdown and headlines.
That allows to jump to tags via telescope and tagbar within Neovim.
2022-03-29 16:17:14 +02:00
Daniel Siepmann 3255241ae2
Give page a chance over less
page also uses neovim, but re uses existing setup and improves over
nvimpager.
2022-03-29 15:39:01 +02:00
Daniel Siepmann 2cd771c838
Use less as general pager
I tried nvimpager but it was a bit complex for me to re use existing
Neovim settings tweak for specific usage as pager.
I decided to stick with less for everything.
2022-03-29 15:29:10 +02:00
Daniel Siepmann 8de53581b2
Integrate gitlint via ale for SAC customer project
We have pretty simple rules.
The first line needs to match a specific pattern.
2022-03-29 13:51:59 +02:00
Daniel Siepmann 3b3f2d0588
Integrate gitlint via ale into Neovim for writing commit message
This is only done for one customer yet, as this customer has clean rules
which are already provided as community rules via gitlint.
2022-03-29 11:52:32 +02:00
Daniel Siepmann 939f80dba9
Configure phpactor accessor generation
This now makes it usable for myself.
It will add the "get" prefix and uppercase the property name.

See: https://phpactor.readthedocs.io/en/master/reference/configuration.html#code-transform-refactor-generate-accessor-prefix
2022-03-28 17:50:41 +02:00
Daniel Siepmann 3cd038aeed
Source full directory instead of single file for phpactor
This is a preparation to also eventually add templates subfolder.
This also demonstrates that "source" also can have a folder instead of
single file.
2022-03-28 17:49:58 +02:00
Daniel Siepmann 175ebf65b2
Add nix community binary caches from cachix.org
No use case yet, but that way I don't have to worry in future.
2022-03-28 13:57:31 +02:00
Daniel Siepmann 992116b57d
Migrate nix and nix registry configuration to home manager module
There is an existing module.
Existing manually written and linked files are replaced with usage of
the module.

This has the advantage that I don't need to know where to place the
files and which format to use.
Furthermore, the module will check whether I've typos in options and
whether values match expected types.
2022-03-24 07:39:56 +01:00
Daniel Siepmann cbe783115c
Update todo comments 2022-03-23 17:42:04 +01:00
Daniel Siepmann f0323720e7
Update typoscript syntax plugin for Neovim 2022-03-23 17:41:47 +01:00
Daniel Siepmann 126b0fa422
Add new plugin to Neovim for easier merges
I'll give it a try and check how well it works.
2022-03-23 17:28:36 +01:00
Daniel Siepmann cdbf6a8680
Link Git mergetool against nixpkgs neovim
Do not use any global path.
2022-03-23 17:27:43 +01:00
Daniel Siepmann 774e4f8555
Rename Neovim custom telescope
The keyboard shortcut was already in use.
I therefore renamed custom_functions into custom runs.
That way I can add multiple things in the future.
E.g. the items to select can also be a table which defines the name as
well as what to execute. That way I could add functions, commands and
other things.
2022-03-23 16:37:26 +01:00
Daniel Siepmann 2faf4ac672
Make Neovim within Tmux happily detect color support 2022-03-23 09:32:45 +01:00
Daniel Siepmann 380e4b6cd7
Add first custom Neovim Telescope picker
This adds a list of my custom defined functions for easier calling.
2022-03-23 09:31:33 +01:00
Daniel Siepmann 30db8651a7
Improve cmp and lsp integration in Neovim
Use omni after more specific completions.
Add buffer to completion, not as fallback. I often wanna complete from
current buffer.

Keep syntax consistent when requiring lua modules.
2022-03-23 08:23:10 +01:00
Daniel Siepmann b97c6b363b
Enable Neovim cmp lsp support
It just works now, I probably have changed something to make that happen
but don't know what exactly.
2022-03-23 07:41:26 +01:00
Daniel Siepmann e8270eeda3
Always use php 7.4 for phpactor
I already used 7.4 for language server integration.
2022-03-22 14:39:04 +01:00
Daniel Siepmann cb7d380e0b
Add Neovim cmp autocompletion
Finally a fast none disturbing auto completion.
lsp_signature_nvim is kept as it provides info while filling in
arguments.
cmp lsp didn't work in my case, so didn't add it.
2022-03-22 13:31:26 +01:00
Daniel Siepmann a652394ba4
Use PHP 7.4 for phpactor
As 8.0 triggers some notices.
2022-03-22 13:31:25 +01:00
Daniel Siepmann e64f6b8030
Migrate whole Neovim configuration into expected structure
That way I can load my whole configuration as a plugin.
I no longer need to explicitly set any configuration via nix as init.vim
or such things.
2022-03-22 09:38:34 +01:00
Daniel Siepmann 6884adfa9d
Remove language server written in nodejs
Due to high risk of insecure dependencies, even dependencies vanishing
file system.
2022-03-22 09:18:59 +01:00
Daniel Siepmann 1b2e8a969a
Remove Neovim dadbod database integration
Autocompletion is way behind mycli / litecli. And that's more important
to me. So do not keep the plugins. Keep existing workflow instead.
2022-03-22 07:47:28 +01:00
Daniel Siepmann a527da50ac
Add Neovim dadbod-* plugins
Not sure if I'll settle on that. I'm currently used to mycli and
litecli.
But sounds useful to have it within the editor to not have different
programs with different configuration and behaviour.
2022-03-21 16:01:01 +01:00
Daniel Siepmann a9c1c526f1
Adjust Neovim Telescope design
Use ascending sorting to move selection to the prompt.
Also shorten width as it felt to much on my larger screen.
2022-03-21 15:49:17 +01:00
Daniel Siepmann 5fb8c7f0c0
Use buildVimPluginFrom2Nix as outer most public API 2022-03-17 11:53:49 +01:00