Commit graph

542 commits

Author SHA1 Message Date
Daniel Siepmann 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
Daniel Siepmann f901607929
Export screen instead of tmux as terminal env var 2022-03-09 10:50:34 +01:00
Daniel Siepmann 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
Daniel Siepmann 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
Daniel Siepmann 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
Daniel Siepmann 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
Daniel Siepmann 0f1959978b
Migrate JQ to use home-manager module 2022-02-14 16:06:43 +01:00
Daniel Siepmann 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
Daniel Siepmann 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
Daniel Siepmann 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
Daniel Siepmann e17ea91263
Remove grep alias
grep should behave as expected.
There is no official none deprecated way.
2022-02-11 08:48:38 +01:00
Daniel Siepmann 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
Daniel Siepmann 2ba1a01f2c
Migrate borg excludes and installation 2022-02-10 16:19:28 +01:00
Daniel Siepmann 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
Daniel Siepmann 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
Daniel Siepmann ce41d98ba3
Add keepassxs community version 2022-02-08 17:27:07 +01:00
Daniel Siepmann bb7203bf12
Allow experimental nix commands like flake 2022-02-07 21:11:25 +01:00
Daniel Siepmann 12be4eb1d3
Fix broken path to SHELL
The shell actually is within /bin/zsh instead.
2022-02-07 21:10:25 +01:00
Daniel Siepmann 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
Daniel Siepmann 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
Daniel Siepmann 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
Daniel Siepmann 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
Daniel Siepmann b140b4b559
Migrate tig configuration 2022-02-07 09:43:48 +01:00
Daniel Siepmann d4c7a04a14
Migrate phpactor configuration 2022-02-07 09:41:26 +01:00
Daniel Siepmann 65c870484a
Adjust litecli configuration 2022-02-07 09:11:01 +01:00
Daniel Siepmann de7506d368
Migrate litecli configuration 2022-02-07 09:10:09 +01:00
Daniel Siepmann 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
Daniel Siepmann 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
Daniel Siepmann 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
Daniel Siepmann a3087e4259
Fix wrong sorting direction in htop 2022-02-03 14:47:12 +01:00
Daniel Siepmann c41a367660
Add cmus as own module with desktop file (not linked out of box) 2022-02-03 14:34:32 +01:00
Daniel Siepmann ea1d4136ca
Allow navigation and resize via vim keys (hjkl) 2022-02-03 12:37:53 +01:00
Daniel Siepmann 4ecb26bfed
Cleanup folder structure for services, systemd and configurations 2022-02-03 09:12:36 +01:00
Daniel Siepmann 654e91ab8b
Migrate tmux setup to home-manager 2022-02-03 09:10:22 +01:00
Daniel Siepmann 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
Daniel Siepmann 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
Daniel Siepmann 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
Daniel Siepmann 6a67e5df5d
Migrate git setup to home-manager
This was previously done through custom dotfiles.
2022-02-02 21:50:24 +01:00
Daniel Siepmann 1d843a2b68
Initially add .myclirc file 2022-02-02 21:02:07 +01:00
Daniel Siepmann 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
Daniel Siepmann 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
Daniel Siepmann 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