Commit graph

55 commits

Author SHA1 Message Date
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 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 499067899f
Add note about rnix-lsp for autocompletion in neovim
Doesn't work yet for my setup, don't know why.
Still leave it here as a reminder, so I don't need to search again.
2022-02-09 19:42:21 +01:00
Daniel Siepmann 9b435f36c9
Migrate next-cloud environments to list
Thanks to https://framapiaf.org/@julm/107764071641134635 for posting the
suggestion.

This should allow me to remove the first entry, as soon as update
migrates from string to list, which I can suggest via PR.
2022-02-08 20:42:54 +01:00
Daniel Siepmann d00eb968a4
Add none working mytop
Installation / compilation works, but execution is broken.
See comment within the default.nix file.
2022-02-08 20:22:30 +01:00
Daniel Siepmann 00b8f205e4
Add rst2pdf
Does not exist yet, add own derivation via overlay.
Exclude tests for documented reasons.

Fix broken indentation in readme.rst
(used as test case for installed rst2pdf);
2022-02-08 20:00:11 +01:00
Daniel Siepmann f12bfc8974
Migrate nextcloud client 2022-02-08 19:17:44 +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 2223bf9fa4
Add sqlite 2022-02-08 17:16:47 +01:00
Daniel Siepmann 75512b8ffe
Add kcachegrind 2022-02-08 17:14:19 +01:00
Daniel Siepmann 8a7f1e40eb
Add yamllint 2022-02-08 17:09:57 +01:00
Daniel Siepmann bbf1e1f7a1
Add wget 2022-02-08 17:09:39 +01:00
Daniel Siepmann 26adfba1ad
Add tree 2022-02-08 17:06:47 +01:00
Daniel Siepmann 1664a07001
Add sound-juicer 2022-02-08 16:57:19 +01:00
Daniel Siepmann 6617b177f8
Add ncdu 2022-02-08 16:38:29 +01:00
Daniel Siepmann ad62182595
Add ffmpeg 2022-02-08 16:27:51 +01:00
Daniel Siepmann 04bee5c7ff
Add curl 2022-02-08 16:25:23 +01:00
Daniel Siepmann 3856316572
Add audacity
The configuration seems shitty, much like it is auto updated by the
tool, so not put into this repo for now.
2022-02-08 16:21:35 +01:00
Daniel Siepmann 1e972ba215
Migrate Signal and Mattermost for communication 2022-02-08 16:11:39 +01:00
Daniel Siepmann 4ce3dfec4a
Migrate existing customerProject bash script
This scripts is run from shell and created my development environment
(IDE) within a new tmux session.

Don't expect documentation. It was written only for myself.
This is grown and contains fallbacks to old conventions.
2022-02-08 15:40:16 +01:00
Daniel Siepmann fdde37afd7
Migrate custom dmenu selection
Add my very first own derivation (via overlay).
Use existing scripts for dmenu.
"Build" result for nix out of the scripts,
e.g. replace references to nix dependencies.
Create proper output so nix can move it to proper places.
2022-02-08 13:56:15 +01:00
Daniel Siepmann 953922fc5c
Add jq tool to work with json on command line 2022-02-08 12:50:43 +01:00
Daniel Siepmann 329032aa5a
Add desktop entry for networkmanager_dmenu 2022-02-08 07:54:27 +01:00
Daniel Siepmann f26bda4321
Add networkmanager_dmenu
This was previously locally installed from repo and called with system
python3.

Can now be started as "application" which will use the installed
(patched) dmenu.
2022-02-07 21:17:32 +01:00
Daniel Siepmann bb7203bf12
Allow experimental nix commands like flake 2022-02-07 21:11: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 f4c7cbead1
Add yt-dlp
Used to download videos from mediatheks, e.g. for traveling in train.
2022-02-07 12:25:38 +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 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 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 c41a367660
Add cmus as own module with desktop file (not linked out of box) 2022-02-03 14:34:32 +01:00
Daniel Siepmann eb7b372ca6
Adjust sorting of packages
Group related packages.
2022-02-03 13:04:35 +01:00
Daniel Siepmann b4fa234705
Remove i3lock-color
Seems to be not working (login auth does not work).
Probably because build against nix pam and does not know my password?
2022-02-03 12:51:54 +01:00
Daniel Siepmann 446f7fdf0e
Migrate manually installed robo3t to home-manager
The tool wasn't available via apt and was manually installed beforehand.
2022-02-03 09:46:08 +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 d0ed878cd0
Move last package from nix-env to home-manager (cacert) 2022-02-02 20:27:26 +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