Commit graph

33 commits

Author SHA1 Message Date
Daniel Siepmann 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
Daniel Siepmann 14cc26c829
Migrate borg backup to proper shell script installed via nix 2022-05-24 18:24:40 +02:00
Daniel Siepmann 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
Daniel Siepmann 2807896666
Do not use opensnitch right now
It pops up way to often.
Also looks like it doesn't integrate well if installed via nix.
Probably needs to be installed by actual OS for proper access.
2022-05-23 18:58:50 +02:00
Daniel Siepmann 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
Daniel Siepmann 3110d19453
Replace zsh history search with mcfly
Let's see whether I keep this setup.
2022-05-23 18:45:50 +02:00
Daniel Siepmann 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
Daniel Siepmann 1d13841592
Add to do to migrate thunderbird configuration 2022-05-23 11:49:00 +02:00
Daniel Siepmann ec0b271e2f
Add to do: Check out other desktop themes? 2022-05-23 07:22:07 +02:00
Daniel Siepmann e43afe000a
Add opensnitch as to do 2022-05-22 20:46:39 +02:00
Daniel Siepmann 2392caf79b
Add playerctl as to do 2022-05-22 20:39:32 +02:00
Daniel Siepmann ae799df415
Add todo: maybe use pidgin as central chat? 2022-05-22 20:07:41 +02:00
Daniel Siepmann 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
Daniel Siepmann 0d11e405ce
Remove resolved todo 2022-05-20 15:52:25 +02:00
Daniel Siepmann 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
Daniel Siepmann 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
Daniel Siepmann b74121ec9a
Update todos in readme
system tools are not possible and I stick to ubuntu as a host os.
In general I shouldn't care to much about the host OS.
I use nix for most things and will improve the situation.

Most customers also have ubuntu or debian systems as servers.
It is a good thing to have the same folder and software setup.
2022-05-20 09:32:30 +02:00
Daniel Siepmann 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
Daniel Siepmann c9a295309a
Extend i3 installation node 2022-05-18 19:52:26 +02:00
Daniel Siepmann a3b096083a
Add tools to readme 2022-05-15 21:58:03 +02:00
Daniel Siepmann 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
Daniel Siepmann b12b071b42
Add further possible todos 2022-03-30 08:01:08 +02: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 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 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 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 000b52cced
Migrate update to own package 2022-02-14 08:05:09 +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 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 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 de06dbcd13
Add first basic flake to be used as flake.nix in projects
The flake is very basic and encapsulates frontend compilation via node
for customer projects.
The flake is intended to be used by other flake.nix within the projects,
which will use the defined packages to build apps outputs.
They should use the packages like `writeShellApplication` itself,
call it with necessary argument set in order to receive a
out of the box working solution.

A template is also provided which can be used like:

    nix flake init -t <path to this flake>

`defaultTemplate` is defined in output and will be used.
2022-02-10 20:18:32 +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 27a088f89e
Migrate readme from rst to md
I prefer restructured text, but Gitea has no out of the box support.
So switch to markdown as there is more or less no difference anyway,
for such a simple file.

One big downside: There is no definition list.
2022-02-09 19:12:00 +01:00
Renamed from readme.rst (Browse further)