Commit graph

711 commits

Author SHA1 Message Date
Daniel Siepmann e16a01f3ac
Add dunst configuration via patch
Add a patch to alter the delivered configuration to my needs (e.g. color
scheme).

Also document configuration process in readme.
2022-02-01 18:25:43 +01:00
Daniel Siepmann 1f2b324435
Extend nixpkgs dunst systemd service
The service can not be enabled, as it doesn't contain the ``[Install]``.
The overlay patches that two lines to the service.

That's to my current knowledge.
2022-02-01 17:56:44 +01:00
Daniel Siepmann 5cfffce1f0
Add readme
In order to document the contents of the folder.
How to install and run daily tasks like updating.

Also might increase in future to include further info.
2022-02-01 17:24:24 +01:00
Daniel Siepmann f4ed3f064f
Install languagetool (with todos / questions)
Right now I've a custom service in
~/.config/systemd/user/languagetool-server.service:

    [Unit]
    Description=LanguateTool Server

    StartLimitBurst=3
    StartLimitInterval=400

    [Service]
    Restart=on-failure
    RestartSec=2s

    ; This should work, but doesn't seem to work: https://www.freedesktop.org/software/systemd/man/systemd.resource-control.html
    ; Maybe due to legacy control group hierarchy version 1?
    ; MemoryMax=3%
    Environment="JAVA_TOOL_OPTIONS=-Xmx256m"
    ExecStart=/home/daniels/.nix-profile/bin/languagetool-http-server --port 8081 --allow-origin "*"

    [Install]
    WantedBy=default.target

Unsure how I can generate the service file.
2022-02-01 16:18:30 +01:00
Daniel Siepmann d011e4db3e
Convert nix package list to own overlay
That should be more modern then the manual entry.
It actually allows to reference the "current" package states, e.g. from
other overlays with applied patches.

Installation is now not different from any other derivation:

    nix-env -i my-packages

Follow Thibaut advice, see: https://mamot.fr/@Thib/107717286778025122
and following posts
2022-01-31 16:40:44 +01:00
Daniel Siepmann a00f45ba95
Revert "Follow manual to build environment"
It does not apply overlays for dmenu and st, so stick to stackoverflow
solution for now.

This reverts commit 5308239b9a.
2022-01-31 13:22:01 +01:00
Daniel Siepmann 5308239b9a
Follow manual to build environment
Use config.nix and documented approach instead of stackoverflow approach
2022-01-31 13:10:11 +01:00
Daniel Siepmann caadcbba78
Provide a custom derivation as "configuration"
This allows to have a list the current installed set of derivations.
Instead of using nix-env like apt.

Use `nix-env -i -f configuration.nix` to install this derivation.
It will then install defined "packages".

This eases to maintain current system and port to NixOS or something
else in the future.
2022-01-31 12:48:17 +01:00
Daniel Siepmann 29f64f8c21
Do not make overlay unnecessary complex
It actually is not necessary to use overrideAttrs as dmenu and st both
expose "patches" attribute which can easily be overridden.

Maybe it was necessary back then, as dmenu already had a patch as
fallback: 4b610d814e/pkgs/applications/misc/dmenu/default.nix (L1)

See: https://mamot.fr/@Thib/107716798899455762
2022-01-31 12:27:07 +01:00
Daniel Siepmann 4f7b9e6483
Add overlay for st
Configure my own color scheme.
Configure preferred word delimiters.
2022-01-31 12:03:10 +01:00
Daniel Siepmann 29d43dceba
Add overlay for dmenu
Configure my own color scheme.
2022-01-31 12:02:07 +01:00