Commit graph

325 commits

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