b6db7ff6b8
Update typoscript syntax for neovim
2022-06-15 15:10:32 +02:00
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
b3889d2e14
Remove nvd from update script
...
It doesn't work and fails to execute the rest
2022-06-13 08:16:10 +02:00
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
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
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
126ec8481e
Use telescope as select ui in neovim
2022-06-08 08:47:55 +02:00
aeadc44d95
Exclude downloads folder from backup
2022-06-08 08:04:34 +02:00
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
157bc14ba3
Create a bash script containing the update procedure for my ubuntu host
2022-06-02 12:20:35 +02:00
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
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
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
21573b25f5
Ease writeShellApplication calls
...
Provide proper runtimeInputs instead of using nix variables all the
time.
2022-05-31 18:54:47 +02:00
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
8b19401941
Cleanup borg excludes
2022-05-31 07:39:43 +02:00
9040b8eff9
Add bluetooth applet
2022-05-31 07:36:24 +02:00
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
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
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
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
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
32fbafba20
Support new reuter folder structure on my local machine
2022-05-25 13:47:16 +02:00
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
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
14cc26c829
Migrate borg backup to proper shell script installed via nix
2022-05-24 18:24:40 +02:00
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
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
7d9095e5ee
Associate ical text/calendar with thunderbird
2022-05-24 10:51:24 +02:00
a1e93157c4
Migrate phone web app to chromium
...
As it doesn't work with firefox.
2022-05-24 09:29:04 +02:00
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
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
3110d19453
Replace zsh history search with mcfly
...
Let's see whether I keep this setup.
2022-05-23 18:45:50 +02:00
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
3bb91de805
Try to improve phpactor (PHP LSP)
2022-05-23 16:22:40 +02:00
93bd4a08d8
Do not execute PHPUnit tests via codeception
2022-05-23 16:22:27 +02:00
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
4f2549a29e
Add sipgate webphone as "application"
2022-05-23 08:41:24 +02:00
11d1f134cd
Move services to own file
...
To streamline with other setups like home, programs, systemd, etc.
2022-05-22 20:44:54 +02:00
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
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
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
b249b49e2d
Migrate some existing dconf module
2022-05-22 18:43:21 +02:00
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
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
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
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
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
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
1b5f675a07
Add keepassxc config file
...
Also sort and group blocks.
2022-05-22 15:40:27 +02:00
e312a830e7
Configure QT
...
Configure to re use GTK styles to have a streamlined look and feel.
2022-05-22 15:38:57 +02:00
1436c97f2f
Streamline setup and move programs to own nix file
2022-05-20 16:44:33 +02:00
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
e76c198f36
Move systemd to its own file
2022-05-20 16:10:39 +02:00
286911e4b8
Add inline comments
2022-05-20 16:10:37 +02:00
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
2c0dc5b92f
Disable gtk animations
...
Not sure if there are any, I don't use many UIs
2022-05-20 15:51:46 +02:00
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
a880aeb7e4
Document why assigning cmus doesn't work in i3 right now
2022-05-20 14:25:52 +02:00
83b8b50df7
Enforce expected terminal, e.g. by i3-dmenu-desktop
2022-05-20 14:25:21 +02:00
7316408494
Fix firefox assignment in i3
...
Also re add documentation for debugging.
2022-05-20 14:01:53 +02:00
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
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
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
293b5684f5
Remove no longer available and used registry
2022-05-20 13:27:19 +02:00
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
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
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
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
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
ce237df68f
Disable CTRL+j binding for zsh history
2022-05-19 08:08:49 +02:00
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
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
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
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
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
02e7f24b52
Add todo for rest neovim plugin
2022-05-18 19:54:03 +02:00
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
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
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
2636cd4f80
Add twig syntax support to neovim
2022-05-17 21:40:52 +02:00
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
899ae7baba
Update todos for phpactor
2022-05-17 19:29:18 +02:00
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
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
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
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
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
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
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
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
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
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
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
9cba42ddfa
Revert "Remove LSP from Neovim"
...
This reverts commit 49ff32a4e6
.
2022-04-21 07:36:01 +02:00
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
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
cbad0f5a83
Update phpactor
2022-04-19 13:32:27 +02:00
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
ee2e7d04e1
Add info how to re source session variables
2022-04-14 15:09:28 +02:00
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
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
bbea479930
Add seconds to i3 block
...
This shouldn't cost to much electricity / power.
2022-04-14 13:58:27 +02:00
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
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
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
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
437e893592
Remove unused i3 video modes
2022-04-11 07:50:18 +02:00
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
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
f4cdf96abe
Added typescript syntax for Neovim
2022-03-31 15:15:52 +02:00
1dcaf129f6
Hide further elements on customer redmine
2022-03-31 09:55:15 +02:00
61b7c19a2a
Hide promoted posts on reddit
2022-03-31 09:55:02 +02:00
32df656e75
Add statix for nix checking into Neovim
2022-03-30 15:49:54 +02:00
def8300cca
Disable paging for some git commands
...
I don't like pager for those commands.
2022-03-30 13:02:58 +02:00
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
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
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
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
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
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
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
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
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
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
cbe783115c
Update todo comments
2022-03-23 17:42:04 +01:00
f0323720e7
Update typoscript syntax plugin for Neovim
2022-03-23 17:41:47 +01:00
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
cdbf6a8680
Link Git mergetool against nixpkgs neovim
...
Do not use any global path.
2022-03-23 17:27:43 +01:00
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
2faf4ac672
Make Neovim within Tmux happily detect color support
2022-03-23 09:32:45 +01:00
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
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
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
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
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
a652394ba4
Use PHP 7.4 for phpactor
...
As 8.0 triggers some notices.
2022-03-22 13:31:25 +01:00
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
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
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
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
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
5fb8c7f0c0
Use buildVimPluginFrom2Nix as outer most public API
2022-03-17 11:53:49 +01:00
c856a38eab
Auto select first autocomplete item in Neovim.
...
As this is most of the time what I need.
I can deselect and type freely to narrow down anyway.
2022-03-17 10:12:35 +01:00
d7f83654e8
Add Neovim LSP for Yaml files
2022-03-17 09:01:15 +01:00
2dae9f5813
Update neovim plugin todo after reviewing all nixpkgs vim plugins
...
Also read some other sites
2022-03-17 08:04:13 +01:00
8448e85bb1
Add xmllint via ale to neovim
...
Maintain all dependencies via nix / home-manager.
Load xsd schema file.
Define nix xmllint for linting.
2022-03-16 17:12:48 +01:00
7d333c703b
Streamline omnifunc for php
...
use same as for vim
2022-03-16 16:54:46 +01:00
565540611b
Add vim language server
2022-03-16 16:54:23 +01:00
42f9578ef6
Use nix php when starting phpactor language server
2022-03-16 16:53:46 +01:00
ab062b61d4
No need to learn lua yet
2022-03-16 16:53:12 +01:00
7bb2b2921e
Show neovim omnifunc completion also for single item
...
In order to allow to select the item.
2022-03-16 16:52:47 +01:00
02437cefba
Configure Neovim completion
...
Still use menu like default.
Do not show preview as in default.
Do not insert as in default.
Do not select as in default.
This allows me to see suggestions but continue typing to narrow down.
Also allows me to manually select a result.
That way completion is out of my way but there to support me.
2022-03-16 16:25:06 +01:00
c8b487c3fd
Remove todo Neovim plugin telescope can already do this
2022-03-16 16:03:31 +01:00
3269d15f1d
Extend neovim telescope tags with sql
...
Also add alphabetical sorting of configuration keys.
2022-03-16 15:38:49 +01:00
e653973ab5
Remove todo neovim plugin trouble
...
telescope can already show them
2022-03-16 15:15:47 +01:00
9d4f19af6f
Remove already done todo
2022-03-16 15:15:31 +01:00
668882522b
Do only list tracked files by default via telescope in neovim
2022-03-16 15:15:17 +01:00
40cef5b623
Add LSP basics (PHP)
...
Add for PHP via existing phpactor as server.
Use new signature plugin for proper none irritating inline help during
function calls.
TODO: Get rid of preview window showing up …
2022-03-16 14:46:12 +01:00
a842f100b0
Add todos for lua programming language
2022-03-16 14:45:36 +01:00
0d4f5463d1
Migrate Leaderf to Telescope
...
Written in Lua.
Very flexible.
Clean documentation.
Easy to extend and configure.
Can do everything I wanted with a good feeling.
2022-03-16 14:44:49 +01:00
e29ceb3b66
Optimize colors of leaderf Neovim plugin
2022-03-16 12:44:20 +01:00
1991be3686
Remove todo for fzf as I'm now switched to leaderf
2022-03-16 10:17:44 +01:00
42c78c694d
Cleanup leaderf configuration
2022-03-16 10:17:38 +01:00
51cb2c9ad3
Migrate Neovim CtrlP to FinderF
...
Way faster and matches my own preferences. Has a preview and pop up in
the center of the screen.
Comes with many other modes like colorscheme, help, line, etc.
diff --git a/home/programs/neovim.nix b/home/programs/neovim.nix
index 55783de..dda525c 100644
--- a/home/programs/neovim.nix
+++ b/home/programs/neovim.nix
@@ -239,8 +239,8 @@ in {
}
{
- plugin = ctrlp-vim;
- config = pkgs.lib.fileContents ./neovim/plugins/ctrlp.vim;
+ plugin = LeaderF;
+ config = pkgs.lib.fileContents ./neovim/plugins/leaderf.vim;
}
# Syntax
diff --git a/home/programs/neovim/config/functions.vim b/home/programs/neovim/config/functions.vim
index 24e0c00..fea577b 100644
--- a/home/programs/neovim/config/functions.vim
+++ b/home/programs/neovim/config/functions.vim
@@ -113,7 +113,7 @@ function! StartProfiling()
execute(':profile file *')
endfunc
-function! CtrlPCurrentComposerPackage()
+function! LeaderfCurrentComposerPackage()
let l:filePath = split(expand('%:p:h'), '/')
while !filereadable('/' . join(l:filePath + ['composer.json'], '/')) && len(l:filePath)
@@ -121,7 +121,7 @@ function! CtrlPCurrentComposerPackage()
endwhile
if len(l:filePath)
- execute(':CtrlP /' . join(l:filePath, '/'))
+ execute(':LeaderfFile /' . join(l:filePath, '/'))
else
echom 'No composer package detected.'
endif
diff --git a/home/programs/neovim/config/mappings.vim b/home/programs/neovim/config/mappings.vim
index bd3aee9..7b7ad7d 100644
--- a/home/programs/neovim/config/mappings.vim
+++ b/home/programs/neovim/config/mappings.vim
@@ -10,10 +10,11 @@ nnoremap <leader>v :set paste!<cr>
nnoremap <leader>nh :nohlsearch<cr>
" Configure navigation, e.g. go to buffer, file, ...
-nnoremap <leader>p :CtrlP<cr>
-nnoremap <leader>l :CtrlPBuffer<cr>
-nnoremap <leader>r :CtrlPBufTag<cr>
-nnoremap <silent> <leader>c :call CtrlPCurrentComposerPackage()<cr>
+nnoremap <leader>pp :LeaderfSelf<cr>
+nnoremap <leader>pf :LeaderfFile<cr>
+nnoremap <leader>pb :LeaderfBuffer<cr>
+nnoremap <leader>pt :LeaderfBufTag<cr>
+nnoremap <silent> <leader>pc :call LeaderfCurrentComposerPackage()<cr>
nnoremap <leader>k :NERDTreeToggle<cr>
nnoremap <leader>f :NERDTreeFind<cr>
diff --git a/home/programs/neovim/plugins/ctrlp.vim b/home/programs/neovim/plugins/ctrlp.vim
deleted file mode 100644
index c45b87e..0000000
--- a/home/programs/neovim/plugins/ctrlp.vim
+++ /dev/null
@@ -1,26 +0,0 @@
-let g:ctrlp_follow_symlinks = 2
-" Default to regex mode
-let g:ctrlp_regexp = 1
-let g:ctrlp_match_window = 'top,order:ttb,min:1,max:10'
-" let g:ctrlp_open_new_file = '0'
-" let g:ctrlp_lazy_update = 1
-let g:ctrlp_show_hidden = 1
-
-let g:ctrlp_types = ['fil', 'buf', 'buftag']
-
-let g:ctrlp_working_path_mode = 'w'
-let g:ctrlp_max_files = 0
-let g:ctrlp_clear_cache_on_exit = 0
-
-" Configure completion for tags in buffer,
-" e.g. configure which kinds to complete for css.
-let g:ctrlp_buftag_types = {
- \ 'css' : '--css-types=vcit',
- \ 'typescript' : '--typescript-types=cnfvmitesod',
- \ 'xml' : '--xml-types=ci',
- \ 'rst' : '--reStructuredText-types=csSt',
- \ 'markdown' : '--Markdown-types=csStT',
- \ 'fluid' : '--xml-types=si',
- \ 'apache' : '--apache-types=s',
- \ 'yaml' : '--yaml-types=t',
-\ }
diff --git a/home/programs/neovim/plugins/leaderf.vim b/home/programs/neovim/plugins/leaderf.vim
new file mode 100644
index 0000000..7627b07
--- /dev/null
+++ b/home/programs/neovim/plugins/leaderf.vim
@@ -0,0 +1,213 @@
+let g:Lf_WorkingDirectoryMode = 'c'
+
+let g:Lf_FollowLinks = 1
+let g:Lf_ShowHidden = 1
+
+let g:Lf_WindowPosition = 'popup'
+let g:Lf_HideHelp = 1
+
+let g:Lf_GtagsAutoUpdate = 0
+
+let g:Lf_IgnoreCurrentBufferName = 1
+
+let g:Lf_ShowDevIcons = 0
+
+" TODO: Try to port to existing colorscheme, does it work with load order?
+let g:Lf_PopupPalette = {
+ \ 'dark': {
+ \ 'Lf_hl_popup_inputText': {
+ \ 'cterm': 'none',
+ \ 'ctermfg': 'blue',
+ \ 'ctermbg': 'none',
+ \ },
+ \ 'Lf_hl_popup_window': {
+ \ 'cterm': 'none',
+ \ 'ctermfg': 'none',
+ \ 'ctermbg': 'none',
+ \ },
+ \ 'Lf_hl_popup_blank': {
+ \ 'cterm': 'none',
+ \ 'ctermfg': 'none',
+ \ 'ctermbg': 'none',
+ \ },
+ \ 'Lf_hl_popup_cursor': {
+ \ 'cterm': 'none',
+ \ 'ctermfg': 'none',
+ \ 'ctermbg': 'none',
+ \ },
+ \ 'Lf_hl_popup_prompt': {
+ \ 'cterm': 'none',
+ \ 'ctermfg': 'none',
+ \ 'ctermbg': 'none',
+ \ },
+ \ 'Lf_hl_popup_spin': {
+ \ 'cterm': 'none',
+ \ 'ctermfg': 'none',
+ \ 'ctermbg': 'none',
+ \ },
+ \ 'Lf_hl_popup_normalMode': {
+ \ 'cterm': 'none',
+ \ 'ctermfg': 'none',
+ \ 'ctermbg': 'none',
+ \ },
+ \ 'Lf_hl_popup_inputMode': {
+ \ 'cterm': 'none',
+ \ 'ctermfg': 'none',
+ \ 'ctermbg': 'none',
+ \ },
+ \ 'Lf_hl_popup_category': {
+ \ 'cterm': 'none',
+ \ 'ctermfg': 'none',
+ \ 'ctermbg': 'none',
+ \ },
+ \ 'Lf_hl_popup_nameOnlyMode': {
+ \ 'cterm': 'none',
+ \ 'ctermfg': 'none',
+ \ 'ctermbg': 'none',
+ \ },
+ \ 'Lf_hl_popup_fullPathMode': {
+ \ 'cterm': 'none',
+ \ 'ctermfg': 'none',
+ \ 'ctermbg': 'none',
+ \ },
+ \ 'Lf_hl_popup_fuzzyMode': {
+ \ 'cterm': 'none',
+ \ 'ctermfg': 'none',
+ \ 'ctermbg': 'none',
+ \ },
+ \ 'Lf_hl_popup_regexMode': {
+ \ 'cterm': 'none',
+ \ 'ctermfg': 'none',
+ \ 'ctermbg': 'none',
+ \ },
+ \ 'Lf_hl_popup_cwd': {
+ \ 'cterm': 'none',
+ \ 'ctermfg': 'none',
+ \ 'ctermbg': 'none',
+ \ },
+ \ 'Lf_hl_popup_lineInfo': {
+ \ 'cterm': 'none',
+ \ 'ctermfg': 'none',
+ \ 'ctermbg': 'none',
+ \ },
+ \ 'Lf_hl_popup_total': {
+ \ 'cterm': 'none',
+ \ 'ctermfg': 'none',
+ \ 'ctermbg': 'none',
+ \ },
+ \ 'Lf_hl_cursorline': {
+ \ 'cterm': 'none',
+ \ 'ctermfg': 'none',
+ \ 'ctermbg': '235',
+ \ },
+ \ 'Lf_hl_selection': {
+ \ 'cterm': 'none',
+ \ 'ctermfg': 'none',
+ \ 'ctermbg': 'none',
+ \ },
+ \ 'Lf_hl_match0': {
+ \ 'cterm': 'none',
+ \ 'ctermfg': 'blue',
+ \ 'ctermbg': 'none',
+ \ },
+ \ 'Lf_hl_match1': {
+ \ 'cterm': 'none',
+ \ 'ctermfg': 'blue',
+ \ 'ctermbg': 'none',
+ \ },
+ \ 'Lf_hl_match2': {
+ \ 'cterm': 'none',
+ \ 'ctermfg': 'blue',
+ \ 'ctermbg': 'none',
+ \ },
+ \ 'Lf_hl_match3': {
+ \ 'cterm': 'none',
+ \ 'ctermfg': 'blue',
+ \ 'ctermbg': 'none',
+ \ },
+ \ 'Lf_hl_match4': {
+ \ 'cterm': 'none',
+ \ 'ctermfg': 'blue',
+ \ 'ctermbg': 'none',
+ \ },
+ \ 'Lf_hl_match': {
+ \ 'cterm': 'none',
+ \ 'ctermfg': 'blue',
+ \ 'ctermbg': 'none',
+ \ },
+ \ 'Lf_hl_lineLocation': {
+ \ 'cterm': 'none',
+ \ 'ctermfg': 'none',
+ \ 'ctermbg': 'none',
+ \ },
+ \ 'Lf_hl_previewTitle': {
+ \ 'cterm': 'none',
+ \ 'ctermfg': 'none',
+ \ 'ctermbg': 'none',
+ \ },
+ \ 'Lf_hl_winNumber': {
+ \ 'cterm': 'none',
+ \ 'ctermfg': 'none',
+ \ 'ctermbg': 'none',
+ \ },
+ \ 'Lf_hl_winIndicators': {
+ \ 'cterm': 'none',
+ \ 'ctermfg': 'none',
+ \ 'ctermbg': 'none',
+ \ },
+ \ 'Lf_hl_winModified': {
+ \ 'cterm': 'none',
+ \ 'ctermfg': 'none',
+ \ 'ctermbg': 'none',
+ \ },
+ \ 'Lf_hl_winNomodifiable': {
+ \ 'cterm': 'none',
+ \ 'ctermfg': 'none',
+ \ 'ctermbg': 'none',
+ \ },
+ \ 'Lf_hl_winDirname': {
+ \ 'cterm': 'none',
+ \ 'ctermfg': 'none',
+ \ 'ctermbg': 'none',
+ \ },
+ \ 'Lf_hl_quickfixFileName': {
+ \ 'cterm': 'none',
+ \ 'ctermfg': 'none',
+ \ 'ctermbg': 'none',
+ \ },
+ \ 'Lf_hl_quickfixLineNumber': {
+ \ 'cterm': 'none',
+ \ 'ctermfg': 'none',
+ \ 'ctermbg': 'none',
+ \ },
+ \ 'Lf_hl_quickfixColumnNumber': {
+ \ 'cterm': 'none',
+ \ 'ctermfg': 'none',
+ \ 'ctermbg': 'none',
+ \ },
+ \ 'Lf_hl_loclistFileName': {
+ \ 'cterm': 'none',
+ \ 'ctermfg': 'none',
+ \ 'ctermbg': 'none',
+ \ },
+ \ 'Lf_hl_loclistLineNumber': {
+ \ 'cterm': 'none',
+ \ 'ctermfg': 'none',
+ \ 'ctermbg': 'none',
+ \ },
+ \ 'Lf_hl_loclistColumnNumber': {
+ \ 'cterm': 'none',
+ \ 'ctermfg': 'none',
+ \ 'ctermbg': 'none',
+ \ },
+ \ }
+ \ }
+
+let g:Lf_PreviewInPopup = 1
+let g:Lf_PreviewHorizontalPosition = 'center'
+let g:Lf_PreviewCode = 0
+let g:Lf_PreviewResult = {
+ \ 'File': 1,
+ \ 'Buffer': 1,
+ \ 'BufTag': 1,
+ \}
2022-03-16 09:05:13 +01:00
3bf0d66f3b
Add inline todos with new plugins and programs to try
2022-03-16 09:04:03 +01:00
47c3440be6
Add Neovim syntax of i3 config
2022-03-16 09:03:51 +01:00
3131d57d46
Fix neovim terminal within tmux
2022-03-16 09:03:31 +01:00
271758a453
Update Neovim colorscheme
2022-03-16 09:03:19 +01:00
551153f446
Do note use paratest in Neovim plugin vim-test
...
Remove the paratest detection.
I consider paratest only for CI and executing a huge set of tests.
But I use vim-test only to execute a single test file or single test.
2022-03-15 17:29:34 +01:00
f4b39fe17c
Do not show Neovim Ctrlp mru
...
I just don't use this feature.
2022-03-15 10:27:44 +01:00
269b15cc30
Allow Neovim Ctrlp to search only files in current composer package
2022-03-15 10:25:04 +01:00
51ca95129d
Adjust SAC indentation of xliff files
2022-03-15 09:57:03 +01:00
1a61b2b103
Optimize Neovim plugin ctrlp file selection
...
Do not clear cache on exit. I'm working on huge projects and want a fast
file navigation.
Do not limit number of files as default is already way to low for the
large projects I'm working on.
2022-03-15 09:09:05 +01:00
4b825bf453
Add Neovim syntax mustache
...
Customer sac is using handlebars template which have same syntax.
2022-03-15 09:08:32 +01:00
82e29fb63e
Add some comments to neovim setup
2022-03-15 08:41:41 +01:00
9e5a77f592
Migrate Neovim snippets to inline configuration
...
Same as with configuration.
No need for extra repository.
2022-03-15 08:16:18 +01:00
2a55b8e6fd
Adjust Neovim sql comment
...
Use TYPO3 default "#" instead of "--".
I nearly exclusively write SQL comments within TYPO3 sql files.
2022-03-15 08:10:54 +01:00
8541b19663
Adjust neovim configuration for sac customer
2022-03-15 08:01:46 +01:00
7106b7cac7
Add neovim configuration inline instead of another repository
...
This eases maintenance as I don't need to commit and push one repo, and
update rev and sha in here.
Instead I can just change configuration and run home-manager switch.
2022-03-15 08:00:46 +01:00
bbaa8830c3
Remove custom grepping from neovim
...
I'm using plugin ag already.
2022-03-14 16:33:59 +01:00
a683442f90
Remove neovim plugin syntastic
...
I'm using ale for such a long time already …
2022-03-14 16:31:57 +01:00
a4f46efb9a
Update neovim ale plugin settings
2022-03-14 16:29:19 +01:00
628f9acae9
Adjust cmus preferences
...
Do not follow currently played track. Keep view as manually set.
Do not enable repeat by default.
2022-03-14 13:02:26 +01:00
e59fc32ff0
Import pkgs.vimPlugins to shorten plugin definitions
2022-03-14 10:43:50 +01:00
5a72a2a648
Allow vim sqlformat to work
...
Add necessary python package which is used by the plugin.
2022-03-14 10:43:26 +01:00
3b8e4e757f
Use native vim plugin ctrlp file searching
...
This respects wildignore and removes need for custom grep command.
2022-03-14 09:47:01 +01:00
98f4e5c3bb
Adjust vim plugin snipMate snippet_version
...
Keep old version 0, as no snippet was migrated yet.
Need to migrate them prior usage of version 1.
2022-03-14 09:46:26 +01:00
b02993e69e
Adjust Firefox content blocking
...
Set to level 2 block list. Blocks all detected trackers.
2022-03-14 09:45:22 +01:00
082ad58af1
Migrate neovim setup
...
I managed my setup manually.
This commit ports the existing setup to home-manager.
The program module is used to install neovim together with plugins.
Custom plugins are now maintained at Gitea / GitHub and loaded via nix as well.
2022-03-12 11:26:32 +01:00
7c47df37fc
Fix broken ctags configuration location
...
Place ctags configuration in expected location.
It wasn't loaded due to wrong location.
Do not add typescript as I'm not using typescript anymore on a
professional level.
2022-03-12 11:03:59 +01:00
4919105362
Migrate web apps to nix setup
...
Create dedicated xdg desktopEntries to start web apps.
Use chromium where necessary, e.g. due to audio / video experiences.
Start web apps with dedicated Firefox profiles.
Configure those profiles to hide any UI to have an actual app feeling.
2022-03-11 09:52:43 +01:00
c8df55880c
Add firefox
...
Previously installed via apt
2022-03-10 17:15:56 +01:00
152e540dc1
Remove unused option to use xxdiff from git
...
I never used that feature, I always use less as pager and CLI context
for diffing.
2022-03-10 13:36:51 +01:00
f901607929
Export screen instead of tmux as terminal env var
2022-03-09 10:50:34 +01:00
be4bfa9bac
Add note to all tmux key bindings
...
This allows to see an info when listing all bindings.
See: https://github.com/nix-community/home-manager/issues/2540
2022-03-09 09:37:40 +01:00
a62b3053a1
Fix broken LS_COLORS
...
A comment was part of the configuration.
The comment didn't make sense anyway and got removed to fix broken
coloring.
2022-03-07 09:22:06 +01:00
a0832b3767
Add new Git alias
...
I use cherry-picks in one project and am to lazy to always wait for
auto completion.
2022-02-23 13:54:57 +01:00
00320b8a48
Use my own git diff setup
...
That one includes local base and remote at top.
It turns diffthis off for the merged result to have proper code
highlighting of result.
2022-02-21 13:39:22 +01:00
0f1959978b
Migrate JQ to use home-manager module
2022-02-14 16:06:43 +01:00
2cdb96acc6
Migrate TYPO3_ADDITIONAL_CONFIGURATION environment variable
...
This doesn't change and can be set global.
That allows nix shells to pick it up.
2022-02-14 08:03:47 +01:00
51fbae7d71
Move user / system specifics to .profile file instead of .zshrc
...
This ensures it is properly set on login.
Tools like dmenu and such are properly find when installed by nix.
This was not zsh specific anyway.
2022-02-11 11:35:34 +01:00
a62943d0bb
Configure registry for customer projects
...
I created a private repository within `registries/customer-projects`.
This holds flakes.
The folder is registered as registry.
That allows to run the following from within a customer project:
nix run cp\#reuter-phpstan
In order to execute the customer specific application from flake.
2022-02-11 10:03:01 +01:00
e17ea91263
Remove grep alias
...
grep should behave as expected.
There is no official none deprecated way.
2022-02-11 08:48:38 +01:00
593a1ad7e2
Make use of cachix in order to fetch pre compiled phpcs packages
...
The phps used via flake for local development of legacy projects
distributed pre build packages via cachix.
Install cachix and add configuration to allow fetching of pre compiled
packages.
2022-02-10 20:38:16 +01:00
2ba1a01f2c
Migrate borg excludes and installation
2022-02-10 16:19:28 +01:00
4c095733d7
Remove node-version switcher script
...
My host does no longer provide any node or npm or yarn.
Project are partially migrated to shell.nix already.
I still need to migrate all projects. But I'm not working to much on
frontend and don't need to re compile assets to often, so no worries.
Some stuff will not work anymore, e.g. coc within neovim needs nodejs.
That's broken for now, but I don't care to much, not sure whether I used
it at all.
That will be part of neovim migration to home-manager / nix.
2022-02-09 21:16:13 +01:00
b758d564ed
Fix broken tmux default shell
...
I don't understand the issue, I thought tmux would inspect env $SHELL.
Looks like it doesn't and use sh instead.
So we configure to use zsh instead.
2022-02-08 17:46:08 +01:00
ce41d98ba3
Add keepassxs community version
2022-02-08 17:27:07 +01:00
bb7203bf12
Allow experimental nix commands like flake
2022-02-07 21:11:25 +01:00
12be4eb1d3
Fix broken path to SHELL
...
The shell actually is within /bin/zsh instead.
2022-02-07 21:10:25 +01:00
c372dacc8c
Migrate mailhog
...
Install via nix package.
Also configure with custom module, inspired by nix os module.
Bind hard to localhost, do not listen to outer world.
2022-02-07 19:26:50 +01:00
2ab2fb414a
Migrate zsh configuration
...
Use zsh with old configuration.
Ensure i3 will start st terminal with zsh from path (nix / home-manager)
instead of system shell (zsh by Ubuntu).
2022-02-07 14:07:31 +01:00
305a4089b5
Fix broken phpactor configuration option
...
The option itself contains a dot. Therefore wrap in double quotes.
2022-02-07 11:04:36 +01:00
940690646b
Migrate cmus configuration
...
This is now also maintained here.
It no longer starts with class and can't be detected by i3.
2022-02-07 10:19:04 +01:00
b140b4b559
Migrate tig configuration
2022-02-07 09:43:48 +01:00
d4c7a04a14
Migrate phpactor configuration
2022-02-07 09:41:26 +01:00
65c870484a
Adjust litecli configuration
2022-02-07 09:11:01 +01:00
de7506d368
Migrate litecli configuration
2022-02-07 09:10:09 +01:00
1073beb30d
Migrate i3 configuration
...
Still manage i3 tools with apt (Ubuntu), see i3lock issue.
Also migrate existing `.config/` file to use `xdg.configFile` instead.
2022-02-07 08:45:08 +01:00
30015279ba
Document desktop entries for now
...
Do not create desktop item in file system, instead use proper xdg
configuration option. That way we do not need to hard code location of
file and can use a proper set with validation from module.
2022-02-07 08:03:43 +01:00
77f3038cde
Migrate languagetool setup to nix module
...
Define new module which provides the systemd service.
Do not clutter home.nix and do not use custom systemd/ folder.
2022-02-03 15:14:00 +01:00
a3087e4259
Fix wrong sorting direction in htop
2022-02-03 14:47:12 +01:00
c41a367660
Add cmus as own module with desktop file (not linked out of box)
2022-02-03 14:34:32 +01:00
ea1d4136ca
Allow navigation and resize via vim keys (hjkl)
2022-02-03 12:37:53 +01:00
4ecb26bfed
Cleanup folder structure for services, systemd and configurations
2022-02-03 09:12:36 +01:00
654e91ab8b
Migrate tmux setup to home-manager
2022-02-03 09:10:22 +01:00
459169b9b8
Migrate htop configuration to home-manager
...
There is a module for htop, so use that one instead of home.file.
The cool thing is: It has "constants" for some strange integer values.
So nix version is actually readable while the generated config is
strange.
That's a cool pro of nix files.
2022-02-02 22:53:03 +01:00
12e5103903
Migrate silver-searcher setup to home-manager
...
Yeah the agignore is not that cool, but that's what I had.
Needs some polishing in future.
2022-02-02 22:25:13 +01:00
e8e076d85f
Migrate universal-ctags setup to home-manager
...
As we add more and more files, move to set with curly braces.
Maybe home-files is a better approach, but not documented and I don't
understand it to well yet. I guess I've to create a derivation which
"builds" all the files. Maybe to complicated right now.
Might also make sense to build modules for such tools in future where I
can configure within nix, just like git.nix, and it will generate the
config. Might be cool for some things where configs might change, but
the actual things to configure might not. The generation of the file can
change within nix, while configuration within nix stays the same?! ;)
2022-02-02 22:19:55 +01:00
6a67e5df5d
Migrate git setup to home-manager
...
This was previously done through custom dotfiles.
2022-02-02 21:50:24 +01:00
1d843a2b68
Initially add .myclirc file
2022-02-02 21:02:07 +01:00
a02f8c3341
Make languageserver service configurable
...
Do not hard code all values, instead configure them within home.nix.
This is more for learning purposes.
But port and allow might also be changed more frequently in general.
2022-02-02 20:38:24 +01:00
fdbb403bce
Add systemd service for languagetool
...
home-manager doesn't provide a systemd service itself.
That's why we build one ourself.
That also revealed a change in our directory structure.
The structure is now documented within readme.
2022-02-02 18:17:06 +01:00
b096d6b0db
Move service configuration to separate file
...
Do not clutter home.nix with endless configurations.
Instead move configuration per derivation to its own file and import.
2022-02-02 17:24:49 +01:00