Commit graph

294 commits

Author SHA1 Message Date
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