Commit graph

998 commits

Author SHA1 Message Date
Daniel Siepmann 9e5a77f592
Migrate Neovim snippets to inline configuration
Same as with configuration.
No need for extra repository.
2022-03-15 08:16:18 +01:00
Daniel Siepmann 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
Daniel Siepmann 8541b19663
Adjust neovim configuration for sac customer 2022-03-15 08:01:46 +01:00
Daniel Siepmann 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
Daniel Siepmann bbaa8830c3
Remove custom grepping from neovim
I'm using plugin ag already.
2022-03-14 16:33:59 +01:00
Daniel Siepmann a683442f90
Remove neovim plugin syntastic
I'm using ale for such a long time already …
2022-03-14 16:31:57 +01:00
Daniel Siepmann a4f46efb9a
Update neovim ale plugin settings 2022-03-14 16:29:19 +01:00
Daniel Siepmann 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
Daniel Siepmann e59fc32ff0
Import pkgs.vimPlugins to shorten plugin definitions 2022-03-14 10:43:50 +01:00
Daniel Siepmann 5a72a2a648
Allow vim sqlformat to work
Add necessary python package which is used by the plugin.
2022-03-14 10:43:26 +01:00
Daniel Siepmann 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
Daniel Siepmann 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
Daniel Siepmann b02993e69e
Adjust Firefox content blocking
Set to level 2 block list. Blocks all detected trackers.
2022-03-14 09:45:22 +01:00
Daniel Siepmann 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
Daniel Siepmann 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
Daniel Siepmann fb03129a0a
Improve xdg desktop situation
Do not install package which won't work anyway.
Get out of the way for existing apt installed version.
Symlink whole applications folder to not update after each run.
2022-03-11 11:50:38 +01:00
Daniel Siepmann b3fa907571
Fix typo in comment 2022-03-11 11:40:32 +01:00
Daniel Siepmann 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
Daniel Siepmann a0b6cf5ec9
Add chromium
Necessary for some web apps …
Previously installed via apt.

Add chromedriver for locally acceptance tests.
2022-03-10 17:27:04 +01:00
Daniel Siepmann d0287c7d5b
Add geckodriver
In order to run acceptance tests with firefox locally
Remove no longer to dos
2022-03-10 17:19:10 +01:00
Daniel Siepmann c8df55880c
Add firefox
Previously installed via apt
2022-03-10 17:15:56 +01:00
Daniel Siepmann 592fe1e87e
Add thunderbird
Previously installed via apt
2022-03-10 14:17:35 +01:00
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 f745996436
Improve customer-project tmux starter script
Do not add whitespace before exports. Let them be saved to zsh history.
This allows to search them and execute them in other splits more easily.

Remove dead unused code, e.g. testing database, which I didn't use for a
while.
2022-03-09 13:28:16 +01:00
Daniel Siepmann 9a5ddfda91
Add bc (terminal calculator) 2022-03-09 13:26:56 +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 f678e68bd3
Remove the testing database from tmux customer project script
I didn't use it anyway and it just bloated the code and was always
irritating to show up in bootstrapped setup.
2022-03-07 07:18:52 +01:00
Daniel Siepmann 6bf3dd88c4
Remove runtime inputs for system update script
In order to use from actual path, prevent issues with broken versions.
The script was linked against an 2021 version of home-manager which was
incompatible with current unstable nixpkgs.
That prevented updates.

There is now no concrete version, but it will use the once from current
PATH.
This allows to use the latest "current" version as defined by system.
2022-03-07 07:17:32 +01:00
Daniel Siepmann f9960b8e61
Add espeak
As it sometimes is helpful to hear text. E.g. on notifications.
2022-02-23 14:54:48 +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 972475915e
Add │ as worddelimiter for st terminal
As I use tmux and │ is used to separate panes.
That eases to copy something from inside a pane which has contact to the
separator.
2022-02-21 14:19:17 +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 fd8a22c0f9
Add export of TYPO3_DATABASE to zsh history 2022-02-21 13:23:23 +01:00
Daniel Siepmann a4678d6a8c
Add mutagen (mid3v2 cli tool) 2022-02-21 08:32:11 +01:00
Daniel Siepmann 0f1959978b
Migrate JQ to use home-manager module 2022-02-14 16:06:43 +01:00
Daniel Siepmann 983fcb8b76
Add composer v2
Add own flake in order to update without caring to much about nix
releases.
2022-02-14 15:12:02 +01:00
Daniel Siepmann 9aa3886c96
Make composer version obvious 2022-02-14 14:39:10 +01:00
Daniel Siepmann 84d126bafc
Remove composer version switcher
Composer is no longer globally installed.
Instead it is part of nix shell.
2022-02-14 14:21:49 +01:00
Daniel Siepmann 06c64134cf
Small improvements
Use single `inherit` and don't add unnecessary `rec`.
2022-02-14 08:05:23 +01:00
Daniel Siepmann 000b52cced
Migrate update to own package 2022-02-14 08:05:09 +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 154b0262ab
Trim trialing whitespace 2022-02-11 08:48:35 +01:00
Daniel Siepmann 1804902632
Migrate rst2pdf to callPackage
More or less in order to have a show case and working example.
There is no huge benefit in that case.
But it demonstrates that a default.nix could call callPackage and
benefit from 1:1 copy of nixpkgs package definition.
Also eases debugging of the derivation / package.
2022-02-11 08:38:17 +01:00
Daniel Siepmann bf40d77b92
Optimize update command
Use new nix store gc.
Also optimise file system usage by optimising -> converting duplicates
to hardlinks.
2022-02-10 21:34:32 +01:00
Daniel Siepmann 1902f4f66d
Add flake for composer v1
Still needed for a single legacy project.
Copied content from nixpkgs composer file and adopted for flake and v1.
2022-02-10 21:19:10 +01:00