Commit graph

440 commits

Author SHA1 Message Date
Simon Bruder e89cc99a11
swaync: Overhaul style
This replaces the default style sheet that gets overridden with a custom
one from scratch.

One thing that is still not ideal is that notifications with action
buttons have a scoll area for the action buttons, which shouldn’t be the
case.
2022-12-21 19:14:06 +01:00
Simon Bruder 40de497a6a
waybar: Implement stopgap measure for waybar mpd 2022-12-21 19:14:06 +01:00
Simon Bruder 632b712ee7
waybar: Make font display consistent
After the update to the new Iosevka version, the font was smaller
horizontally on non-HiDPI screens. Increasing the font size by .5px
ensures a display that reproduces the behaviour of the old Iosevka
version on all screens I tested.
2022-12-21 19:14:06 +01:00
Simon Bruder f609567117
qutebrowser: Bump fake firefox version 2022-12-21 11:21:23 +01:00
Simon Bruder 3abcb17c95
qutebrowser: Use qt6 version 2022-12-21 11:21:13 +01:00
Simon Bruder 9b0884d2f9
qutebrowser: Remove unused userstyle 2022-12-21 11:20:45 +01:00
Simon Bruder 3f639f7e8e
qutebrowser: Only enable when gui is enabled 2022-12-21 11:20:04 +01:00
Simon Bruder 5d98924ea1
neovim: Adapt to 22.11 2022-12-10 17:16:34 +01:00
Simon Bruder b6a903551e
fonts: Use custom Iosevka variant
I don’t like the new defaults.
2022-12-10 16:09:10 +01:00
Simon Bruder ad89732961
sway: Make everything work again
This sadly has to downgrade some programs, if I find more time, I will
look more into this and try to make it work with the latest versions.
2022-12-10 16:08:03 +01:00
Simon Bruder 47c5bd5338
mail/aerc: Use home-manager module (mostly)
This does not use the home-manager provided account module, because it
does not support notmuch, LOGIN authentication and special characters in
user names.
2022-12-10 16:03:16 +01:00
Simon Bruder 8c317b76bf
Drop temporary unstable packages 2022-12-10 14:49:16 +01:00
Simon Bruder f32e2a5842
zsh/starship: Remove custom patch
Upstream added a patch that should avoid situations in which my patch
was needed.
2022-12-10 14:48:04 +01:00
Simon Bruder c61023b863
Add tools for using digitizer 2022-12-02 18:54:51 +01:00
Simon Bruder 64c3ccad2a
neovim: Add ctags to environment
It is required for the tagbar.
2022-11-22 22:32:21 +01:00
Simon Bruder c906e208e2
neovim: Add conceal for stmaryrd symbols 2022-11-02 00:26:16 +01:00
Simon Bruder df1aa459be
vdirsyncer: Use displayname
I finally discovered that after running `vdirsyncer metasync`, the
displayname cane be used.
2022-10-24 10:37:05 +02:00
Simon Bruder aaaf7d3ccc
Move Blu-ray drive from sayuri to fuuko
This removes makemkv-specific configuration from sayuri and adds it to
fuuko. It also changes the makemkv sandbox to now hardcode fuuko’s
configuration.
2022-10-15 23:27:12 +02:00
Simon Bruder 3eaeb5daeb
renge/grocy: Drop 2022-10-07 22:52:04 +02:00
Simon Bruder aa279c8bea
Update address 2022-10-03 20:20:28 +02:00
Simon Bruder ecdbe9b936
mullvad: Update relays
This also changes the framework to handle different relay names.
2022-09-30 12:22:07 +02:00
Simon Bruder 2da1ace487
qutebrowser: Use mirror for easylist 2022-09-27 11:36:54 +02:00
Simon Bruder 3889b355d9
vdirsyncer: Remove son calendar 2022-09-23 00:14:32 +02:00
Simon Bruder c816263ad2
sway: Add fcitx 2022-09-23 00:12:12 +02:00
Simon Bruder fa0afa040f
Clean up tools/programs
I haven’t really used some of them, so they don’t need to take space up
in the environment.
2022-09-11 01:21:59 +02:00
Simon Bruder ea43e14792
Add often used tools to environment
I often find myself running them inside a nix shell. Having them
available in the environment makes using them easier and also is
possible when no internet connection is available, which is especially
useful for tools like wl-mirror.
2022-09-11 01:02:30 +02:00
Simon Bruder fa773ca8cf
sway: Add hack for mayushii’s external monitor 2022-08-25 14:49:31 +02:00
Simon Bruder 0bbe240018
tmux: Configure system-wide
This is useful on systems that are only accessed as root (e.g.,
servers).
2022-08-25 14:49:22 +02:00
Simon Bruder 8ab2f7b62c
neovim: Add tailwindcss language server 2022-08-20 20:04:46 +02:00
Simon Bruder fb5861b079
mpd: Store playlists in Music directory 2022-08-17 22:48:21 +02:00
Simon Bruder 016fe02465
zsh: Make history more usable 2022-08-16 10:44:12 +02:00
Simon Bruder 584956bcf6
zsh/direnv: Whitelist ~/mounts/.envrc explicitly
Otherwise I have to run `direnv allow` every time after the home-manager
profile changed because the link target changed.
2022-08-16 00:51:10 +02:00
Simon Bruder f87cfd5d5a
games: Add ryujinx 2022-08-16 00:27:01 +02:00
Simon Bruder 5b1ba16dff
programs: Add darktable 2022-08-13 17:20:54 +02:00
Simon Bruder 685d3fa9f2
zsh/starship: Disable git on network mount 2022-08-09 15:13:12 +02:00
Simon Bruder 7248c854bb
games: Do not override yuzu
Now that it is available in the binary cache, I should leverage this.
2022-08-08 12:33:59 +02:00
Simon Bruder 9248f7e70a
vdirsyncer: Add son calendar 2022-08-08 11:47:05 +02:00
Simon Bruder d66cf000b0
mail: Add tu-dreden account
Special thanks to whoever thought that a backslash in a user name is a
good idea.
2022-07-29 08:39:59 +02:00
Simon Bruder 5bb1d42abe
mail/aerc: Actually use userName as user name 2022-07-29 08:28:43 +02:00
Simon Bruder cf8ad77f6c
qutebrowser: Grant permissions to sipgate webphone 2022-07-25 20:46:45 +02:00
Simon Bruder 6f43153f59
watson: Init 2022-07-20 12:07:41 +02:00
Simon Bruder e67d68a05d
anki: Use anki-bin
This also removes ankisyncd, which in its current version in nixpkgs
does not support the latest anki version.
2022-07-13 20:47:15 +02:00
Simon Bruder ebd3629827
khal: Set default calendar
Otherwise grocy, a read-only calendar, is the default.
2022-07-10 12:08:26 +02:00
Simon Bruder 453128db03
waybar: Fix khal cli parsing
Its output format changed between 0.10.4 and 0.10.5.
2022-07-08 11:51:05 +02:00
Simon Bruder 4af15f2139
khal: Use version from unstable
The version from stable throws errors and sometimes even crashes due to
an incompatibility with pytz.
2022-07-08 11:51:05 +02:00
Simon Bruder caf9f5f764
vdirsyncer: Add grocy 2022-07-08 11:51:05 +02:00
Simon Bruder 1baec2968b
vdirsyncer: Create abstraction 2022-07-08 11:51:05 +02:00
Simon Bruder bdd4956599
Switch from alacritty to foot
Some programs have difficulties with foot as TERM (e. g. aerc’s
terminal). Therefore, it is manually set to xterm-256color and true
colour support is forced in tmux.
2022-07-08 11:51:04 +02:00
Simon Bruder 43bbd404c6
qutebrowse: Remove exceptions for Microsof Teams
I don’t have to use it anymore, yay!
2022-07-08 11:51:03 +02:00
Simon Bruder 2787c28a3d
mail: Add notmuch
Aerc’s notmuch support is not yet very mature, so it needs a hacky
workaround to work somewhat well.
2022-07-08 11:51:03 +02:00
Simon Bruder 6d061fa210
Use home-manager account data structures 2022-07-08 11:51:03 +02:00
Simon Bruder 0d125352a3
git: Setup git send-email 2022-07-08 11:51:03 +02:00
Simon Bruder c1794d2f78
aerc: Init 2022-07-08 11:50:56 +02:00
Simon Bruder 43de9d1528
neovim: Fix lsp highlight colours 2022-06-12 22:45:15 +02:00
Simon Bruder fe2a821cfd
neovim: Add tree sitter 2022-06-12 22:44:55 +02:00
Simon Bruder 9bc8933f55
neovim: Add illuminate 2022-06-12 22:42:25 +02:00
Simon Bruder 5555f83fa6
neovim: Restore gitsigns mappings
The defaults were not active anymore after the upgrade to 22.05.
2022-06-12 21:12:50 +02:00
Simon Bruder 2ce6f535d0
neovim: Exclude temp files from persistent undo
Otherwise it is possible to restore cleartext passwords from pass or
sops from the undo files.
2022-06-12 21:08:04 +02:00
Simon Bruder ca8f640fbe
mpv: Use archived version of FSRCNNX
The author often replaces the GitHub release artifacts which causes hash
mismatches.
2022-06-10 00:03:03 +02:00
Simon Bruder c297f378f5
sway: Simplify DPMS toggling
Fixes #59.
2022-06-01 15:17:14 +02:00
Simon Bruder 8cc24be53b
neovim: Temporarily disable pylsp-mypy
Its build is currently broken, see
https://github.com/NixOS/nixpkgs/issues/171524.
2022-06-01 15:17:00 +02:00
Simon Bruder 12be176ecc
neovim: Fix compatibility with newer plugin versions 2022-05-31 21:51:51 +02:00
Simon Bruder f4d2bdfb4a
sway: Force ozone mode 2022-05-31 15:04:53 +02:00
Simon Bruder 23fed18286
programs: Remove broken ones
I don’t really use gatling or snownews, so I don’t plan on fixing them.
2022-05-31 15:04:53 +02:00
Simon Bruder 37f0d3e1fc
Remove settings no longer necessary
Swaync is in stable, mumble 1.4 is in stable and has pulseaudio enabled
by default, the tray target is defined in home-manager upstream and
nix-direnv comes with flake support by default.
2022-05-31 15:04:52 +02:00
Simon Bruder 8882aa0d8d
corectrl: Init and enable on sayuri 2022-05-21 17:42:32 +02:00
Simon Bruder 05da953e22
games/steam-sandbox: Fix hidraw input enumeration
This was broken when no files matched the glob /dev/hidraw* (it was
passed literall to bubblewrap, which failed due to it not existing).
2022-05-16 11:36:09 +02:00
Simon Bruder 1fdea403f0
games/steam-sandbox: Include hidraw devices
This is required for Nintendo Switch controllers (hid_nintendo does not
work with third-party ones).
2022-05-14 10:41:36 +02:00
Simon Bruder b85ecf5bb1
programs: Add gnucash 2022-05-11 08:44:22 +02:00
Simon Bruder 7de19098e5
programs: Install mkvtoolnix-gui if gui is enabled 2022-05-05 17:42:41 +02:00
Simon Bruder 4c01701af3
makemkv: Remove hardcodes/hard dependencies
Even without a drive it is useful for working with disc images.
2022-05-05 16:29:18 +02:00
Simon Bruder b1353a34da
sway: Replace mako with swaync
It provides a notification centre and a do not disturb mode.
2022-05-01 21:16:21 +02:00
Simon Bruder 532ebfb7b9
games/steam-sandbox: Add mangohud 2022-05-01 10:30:31 +02:00
Simon Bruder 36b564d978
games/steam-sandbox: Make controllers work
The full sysfs is required for steam to discover controllers. Despite
some individual games detecting them, for full controller support
(especially in wine/proton), steam has to detect them.
2022-05-01 10:14:04 +02:00
Simon Bruder e82bf23c08
sway/waybar: Make calendar work with special chars
The implementation is not very pretty, but this is a limitation of the
chosen design (parsing the output of a cli tool).
2022-04-13 11:54:11 +02:00
Simon Bruder af4da03c50
zsh: Remove nixpkgs-review wrapper
The token is invalid and I don’t use the github integration anyway.
2022-04-12 18:02:31 +02:00
Simon Bruder 8d55e5093a
neovim: Show live preview of substitution 2022-04-12 17:58:52 +02:00
Simon Bruder 909d7864e7
renge/onlypain.icu: Init
This is just a joke, please don’t take it seriously.
2022-04-07 16:13:40 +02:00
Simon Bruder 72fd16e5f7
makemkv: Allow setting PWD in other variable
When using it with waypipe, the PWD set by env is ignored.
2022-04-02 08:51:51 +02:00
Simon Bruder 26bed20816
sway: Add waypipe 2022-04-02 08:51:37 +02:00
Simon Bruder 5cb356c368
makemkv: Init 2022-04-01 18:20:46 +02:00
Simon Bruder a88e4e053c
Make commercial bluray disc playback work
This requires the key database at ~/.config/aacs/KEYDB.cfg (note the
case, I missed this at first). A guide for how to prepare it can be
found on the Arch Wiki: https://wiki.archlinux.org/title/Blu-ray
2022-04-01 18:03:29 +02:00
Simon Bruder c70da831eb
tools: Install sqlite globally
It often is needed on servers where there is no user.
2022-03-26 12:42:45 +01:00
Simon Bruder 2df718cea9
Clean up remnants from qbittorrent migration 2022-03-20 19:04:19 +01:00
Simon Bruder cd5a5b8356
games/steam-sandbox: Bind factorio directory
It doesn’t use XDG directories, so all settings are reset and only some
aspects that are synced via Steam Cloud were kept.
2022-03-19 19:29:53 +01:00
Simon Bruder ea88259856
okarin/qbittorrent: Init 2022-03-19 10:35:09 +01:00
Simon Bruder 8f7403e66f
mpv: Overhaul selection of shader-based scalers
This removes ravu-zoom and ravu-lite in favour of standard ravu. It also
adds more nnedi3 shaders with neurons between 2^4 and 2^8, each with a
window size of 8x4. This should give a wide range of options that work
on all machines and still give acceptable results (at least balanced to
the performance).

The reason for this switch is ravu’s subpar performance, since it often
produces more artifacts than it avoids.

It also avoids some code duplication at the cost of making it more
complex.
2022-03-14 22:57:35 +01:00
Simon Bruder c4381cd564
games: Use dolphin from unstable 2022-02-23 20:46:33 +01:00
Simon Bruder 745b7af584
logitech: Init user module 2022-02-09 20:21:27 +01:00
Simon Bruder 8d5480416c
sway: Scale wallpaper with waifu2x-converter-cpp
This has been disabled since 2e33f18a3a,
but since I now have a 4k screen it is useful again.
2022-02-07 20:09:25 +01:00
Simon Bruder 964b34f321
sway/waybar: Disable hwmon override for mayushii
After a kernel upgrade, the old path no longer works and waybar
autodetects the correct one.
2022-01-20 18:21:36 +01:00
Simon Bruder ebd1353bd6
qutebrowser/qbmarks: Do not sign when rebasing 2022-01-15 20:46:12 +01:00
Simon Bruder db7efe7d77
sway/kanshi: Add configuration for sayuri 2022-01-15 15:09:38 +01:00
Simon Bruder a7724d2713
mpv: Add 4k visualiser resolution 2022-01-14 21:54:06 +01:00
Simon Bruder 80ee98058e
mayushii: Configure new monitor setup
This configures the home profile for kanshi for an Acer B277K monitor.
Since it is both larger than my previous monitor and has a higher
resolution, a few things change with this.

For one, my preferred setup is now to just have one monitor instead of
having my laptop screen as a secondary display device. Therefore, logind
should not suspend if the lid is closed. Since it fails to accurately
detect when a dock is connected, it is configured to never suspend on
lid switch when external power is connected.

Another thing is that the high resolution makes it necessary to use a
scaling factor, which is quite easy to configure with sway and kanshi.
It does, however, not work for Xwayland clients (they render at a lower
resolution and are scaled up with nearest-neighbor interpolation).
That requires me to no longer force the qt backend to xcb for
qutebrowser, because that significantly lowers the browsing experience.

The setup for sayuri is still to be done.
2022-01-10 21:10:55 +01:00
Simon Bruder 23b63fcf4b
mpv/sponsorblock: Disable local database
It has been broken for a long time and is not likely to work again
soon[1].

[1]: https://github.com/po5/mpv_sponsorblock/issues/31
2022-01-07 10:35:32 +01:00
Simon Bruder 540f89bff1
games/steam: Include ~/.config in sandbox
Some games place their state there.
2022-01-03 11:13:21 +01:00
Simon Bruder aba6be5002
games: Use mainline branch of yuzu 2022-01-01 16:39:09 +01:00
Simon Bruder 65a37c5703
programs: Add remmina 2021-12-28 10:31:50 +01:00
Simon Bruder a47e41b9a2
sway: Allow launching helvum from waybar module 2021-12-21 21:50:45 +01:00