Commit graph

302 commits

Author SHA1 Message Date
Daniel Siepmann b249b49e2d
Migrate some existing dconf module 2022-05-22 18:43:21 +02:00
Daniel Siepmann 3283c5e1dc
Use home-manager pointerCursor module
This removes need to setup everything myself. Didn't know about it
earlier.
Does exactly what this commit removes.
2022-05-22 18:31:08 +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 369c3a28ce
Switch chromium back to nix package
Snap packages can't use the user installed cursor theme
https://bugs.launchpad.net/ubuntu/+source/snapd/+bug/1585332

Also the nix package is working once more for me, no need to use the
snap version.
2022-05-22 17:58:55 +02:00
Daniel Siepmann e782687068
Streamline cursor theme
Some apps use different sources.
I setup xresources and ensure there is only one icon theme (includes
cursor).

This uses the single source of truth, thanks to nix / home-manager.

Except snap packages, those still don't work.
2022-05-22 17:51:01 +02:00
Daniel Siepmann 70d5002cbf
Use German locales for some types
I'm still German and living in Germany.
It is strange to have Sunday as first day of week.
I configure some languages to be German, others to be English.

I also fix the wrong utf8 syntax, Ubuntu uses `utf8` instead.
2022-05-22 16:53:31 +02:00
Daniel Siepmann 7ca113b60e
Install zathura as Document Viewer (PDFs)
It uses vim keybindings and can be configured via module.
Set it as default application for PDFs.
2022-05-22 16:40:42 +02:00
Daniel Siepmann 1b5f675a07
Add keepassxc config file
Also sort and group blocks.
2022-05-22 15:40:27 +02:00
Daniel Siepmann e312a830e7
Configure QT
Configure to re use GTK styles to have a streamlined look and feel.
2022-05-22 15:38:57 +02:00
Daniel Siepmann 1436c97f2f
Streamline setup and move programs to own nix file 2022-05-20 16:44:33 +02:00
Daniel Siepmann 5cc06b6967
Add keychain application
In order to not worry about ssh-agent integration, it will take care and
ask for passphrases on first zsh start.
2022-05-20 16:20:44 +02:00
Daniel Siepmann e76c198f36
Move systemd to its own file 2022-05-20 16:10:39 +02:00
Daniel Siepmann 286911e4b8
Add inline comments 2022-05-20 16:10:37 +02:00
Daniel Siepmann 6c7275bd84
Remove todo
I could move them to xinitrc, but that doesn't seem better.
Looks like the current solution is ok.
2022-05-20 15:55:02 +02:00
Daniel Siepmann 0d11e405ce
Remove resolved todo 2022-05-20 15:52:25 +02:00
Daniel Siepmann 2c0dc5b92f
Disable gtk animations
Not sure if there are any, I don't use many UIs
2022-05-20 15:51:46 +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 a880aeb7e4
Document why assigning cmus doesn't work in i3 right now 2022-05-20 14:25:52 +02:00
Daniel Siepmann 83b8b50df7
Enforce expected terminal, e.g. by i3-dmenu-desktop 2022-05-20 14:25:21 +02:00
Daniel Siepmann 7316408494
Fix firefox assignment in i3
Also re add documentation for debugging.
2022-05-20 14:01:53 +02:00
Daniel Siepmann 9b55ddb965
Do not handle mime apps right now
The whole folder is currently manually linked to nix home manager
application folder.
Also I don't really need it.
2022-05-20 14:01:06 +02:00
Daniel Siepmann 74ace250ee
Move stuff from i3 to xsession
As this is not related to i3 as window manager.
Also add xrandr --auto to have proper output by default.
2022-05-20 13:55:27 +02:00
Daniel Siepmann f324d067ac
Enable further handling via home-manager
Extend support of ubuntu as host system.
Expose installed fonts.
2022-05-20 13:47:03 +02:00
Daniel Siepmann 9085969661
Extend xdg management via home-manager
Enable management of xdg and mime.
Configure mime default app associations via home-manager.
2022-05-20 13:46:33 +02:00
Daniel Siepmann 293b5684f5
Remove no longer available and used registry 2022-05-20 13:27:19 +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 fb009d303d
Split home.nix into multiple files
Use dedicated files for files, packages and xdg.
This shortens the huge home.nix file.
2022-05-20 12:45:42 +02:00
Daniel Siepmann 5f66cd8f14
Restructure home.nix file
Group stuff into namespaces.
E.g. group all home.* options below home = { };
2022-05-20 11:57:00 +02:00
Daniel Siepmann ec90898c38
Add tree sitter to neovim
This installs used languages.
Also update colorscheme to support new hi groups introduced by ts.
2022-05-20 11:05:26 +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 7257a671e4
Revert "Remove network manager applet"
This reverts commit b67bb428bf.

the networkmanager dmenu doesn't work (e.g. establishing vpn connection)
if applet is not launched.
2022-05-19 11:17:01 +02:00
Daniel Siepmann b67bb428bf
Remove network manager applet
I don't need / use this.
Instead I already use dmenu networkmanager.
2022-05-19 10:55:25 +02:00
Daniel Siepmann ce237df68f
Disable CTRL+j binding for zsh history 2022-05-19 08:08:49 +02:00
Daniel Siepmann 9ff384f839
Remove PHP 7.0 and 7.1
As I've removed them from ubuntu.
No more projects using those versions.
2022-05-19 07:43:32 +02:00
Daniel Siepmann eb3282b453
Add replacement for i3 battery
The module doesn't work or exist anymore.
I use a lightwight battery icon instead which I add as a service to
start during login.

And I don't need the wifi thingy.
2022-05-19 07:18:51 +02:00
Daniel Siepmann 48a0c8fa5a
Integrate i3blocks via nix
This was missing after migrating to i3 via nix.
i3blocks was installed via apt before.

home-manager doesn't provide options, I keep my old file. It is updated
for the used version.
2022-05-19 07:02:56 +02:00
Daniel Siepmann 4edeb38471
cRemove i3blocks trigger from keybinding
I don't have those blocks for some time already. No need to trigger
them.
2022-05-19 07:02:24 +02:00
Daniel Siepmann dc304dbcee
Keep zsh CTRL+r binding
I'm way to used to that.
I guess I'll use it for switching to search mode, and then use j+k for
moving.
2022-05-19 07:00:58 +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 7eb240b267
Install i3blocks via nix
This was installed via apt but can also be installed via nix.
2022-05-18 20:04:11 +02:00
Daniel Siepmann 02e7f24b52
Add todo for rest neovim plugin 2022-05-18 19:54:03 +02:00
Daniel Siepmann c9a295309a
Extend i3 installation node 2022-05-18 19:52:26 +02:00
Daniel Siepmann 676e0e311a
Allow forward history search in zsh
That allows me to search backward and go forward once I got to far.
I also switch to CTRL+j and CTRL+k to use vim like bindings to search
back and forth.
2022-05-18 19:49:39 +02:00
Daniel Siepmann 1500eb1871
Add BufOnly vim plugin
This allows me to easily close (and wipe) all buffers except the current
one.
I no longer need to close and re open vim to quickly have a clean state.
2022-05-18 19:47:03 +02:00
Daniel Siepmann 47eac8a8ad
Allow neovim test plugin to detect codeception test
It missed the dist file during detection.
I already opened an PR upstream: https://github.com/vim-test/vim-test/pull/654
2022-05-18 19:39:35 +02:00
Daniel Siepmann 2636cd4f80
Add twig syntax support to neovim 2022-05-17 21:40:52 +02:00
Daniel Siepmann e960cc3c20
Add lua language server to neovim
As I write lua from time to time to extend Neovim.
This is picked from https://github.com/neovim/nvim-lspconfig/blob/master/doc/server_configurations.md#sumneko_lua
Just cmd is changed to install the server via nix and call the
installed version.
2022-05-17 20:49:00 +02:00
Daniel Siepmann 899ae7baba
Update todos for phpactor 2022-05-17 19:29:18 +02:00
Daniel Siepmann 25e5dff4e9
Adjust Neovim keymappings for PHP / LSP
Telescope no longer provides LSP code actions.
I add a mapping to trigger code actions.

I also ensure that I don't have to wait for phpactor menu.
And I didn't use hover anyway.
2022-05-17 13:07:40 +02:00
Daniel Siepmann 847550b3c9
Hide disturbing HTML on redmine
In order to easy copy & paste issue title + number to time tracking.
2022-05-17 11:32:39 +02:00