Commit graph

329 commits

Author SHA1 Message Date
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 5f66cd8f14
Restructure home.nix file
Group stuff into namespaces.
E.g. group all home.* options below home = { };
2022-05-20 11:57:00 +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 b74121ec9a
Update todos in readme
system tools are not possible and I stick to ubuntu as a host os.
In general I shouldn't care to much about the host OS.
I use nix for most things and will improve the situation.

Most customers also have ubuntu or debian systems as servers.
It is a good thing to have the same folder and software setup.
2022-05-20 09:32:30 +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 9ff384f839
Remove PHP 7.0 and 7.1
As I've removed them from ubuntu.
No more projects using those versions.
2022-05-19 07:43:32 +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 7eb240b267
Install i3blocks via nix
This was installed via apt but can also be installed via nix.
2022-05-18 20:04:11 +02:00
Daniel Siepmann 02e7f24b52
Add todo for rest neovim plugin 2022-05-18 19:54:03 +02:00
Daniel Siepmann c9a295309a
Extend i3 installation node 2022-05-18 19:52:26 +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 bff5ada561
Add spotdl
Allow to download from Spotify, just like yt-dlp for youtube.
2022-05-16 11:47:50 +02:00
Daniel Siepmann 44060ad9fb
Fix base url of reuter project
We use BASE_URL instead of TYPO3_BASE in this project
2022-05-16 11:47:04 +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 a3b096083a
Add tools to readme 2022-05-15 21:58:03 +02:00
Daniel Siepmann 3b6e9cfe01
Add custom script to push etckeeper state
I'm still on Ubuntu and use etckeeper to track changes to /etc.
This small script will push it to my own Gitea instance as a backup and
online history in case I need it.
2022-05-15 21:40:35 +02:00
Daniel Siepmann 38609c2725
Add nodejs to reuter shell 2022-04-28 12:55:16 +02:00
Daniel Siepmann c5b648ca19
Improve word delimiter for terminal 2022-04-28 12:54:58 +02:00
Daniel Siepmann a33cf1bb7d
Add darktable for foto editing 2022-04-28 12:54:35 +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