Commit graph

293 commits

Author SHA1 Message Date
Simon Bruder 64a682a836
mpd: Disable replaygain
Otherwise heavy clipping occurs when playing opus files without
replaygain tags.
2021-08-21 18:57:08 +02:00
Simon Bruder 9832f10d03
youtube-dl: Add yt-dlp
youtube-dl currently is unbearably slow (double-digit KiB/s).
2021-08-21 18:55:16 +02:00
Simon Bruder aed5d19be3
waybar/mpd: Limit title and artist length 2021-08-19 22:22:08 +02:00
Simon Bruder 54242cc943
btsync: Make compatible with pipewire
pacmd only supports the “real” pulseaudio daemon.
2021-08-10 13:16:04 +02:00
Simon Bruder 2b9bb92757
git: Add grbias alias 2021-08-07 13:29:29 +02:00
Simon Bruder 839fb8e514
games: Add mgba 2021-08-07 00:30:49 +02:00
Simon Bruder 821a352c49
Annotate multiline strings with their language 2021-08-05 13:23:07 +02:00
Simon Bruder e5d82f7087
programs: Remove gscan2pdf
One of its dependencies is currently broken and I don’t use it any more.
2021-08-01 18:47:39 +02:00
Simon Bruder 7b473dad3a
waybar/calendar: Fix number of today’s events
This was broken for multiline descriptions.
2021-07-29 06:31:59 +02:00
Simon Bruder 8b9eb54806
games: Conditionally add emulators
This uses a crude arbitrary number to only install them onto machines
that can actually run them.
2021-07-26 20:44:46 +02:00
Simon Bruder a90fef89c0
zsh/dcauto: Use regualar instead of civil daylight 2021-07-25 20:19:59 +02:00
Simon Bruder 42a83bea7f
mpd/ncmpcpp: Add dynamic color palette support 2021-07-25 14:32:31 +02:00
Simon Bruder 4fc2015ee9
fzf: Get solarized colors from common.nix 2021-07-25 10:16:09 +02:00
Simon Bruder a67ec1b22f
zsh: Automatically set color scheme at init 2021-07-25 08:58:57 +02:00
Simon Bruder aef0baf527
programs: Add dynamic-colors 2021-07-25 08:47:59 +02:00
Simon Bruder 11f7ac50ca
Set geographical location system-wide 2021-07-25 08:36:19 +02:00
Simon Bruder 0c74cdbbdd
neovim: Fix installPhase nix snippet 2021-07-24 19:21:52 +02:00
Simon Bruder 8771faa93c
programs: Add paperwork 2021-07-24 13:03:33 +02:00
Simon Bruder 0b9c9ea047
programs: add dust 2021-07-18 22:54:46 +02:00
Simon Bruder 8dafa364e0
waybar: Fix display when there is no event 2021-07-18 08:38:05 +02:00
Simon Bruder d0900f1cf8
waybar: Add calendar 2021-07-17 16:13:45 +02:00
Simon Bruder faf9a044fd
neovim: Add nix phase snippets 2021-07-17 14:23:32 +02:00
Simon Bruder 00a919d6d7
sway: Reorganise and split into multiple files 2021-07-17 14:10:02 +02:00
Simon Bruder f3d958c1a9
zsh: Remove redundant environment variable declaration
It is already declared in the sway configuration.
2021-07-17 13:55:46 +02:00
Simon Bruder 34badc3638
anki: Reorganise directory layout 2021-07-17 13:46:19 +02:00
Simon Bruder 0d08f9c6db
zsh: Reorganise directory layout 2021-07-17 13:41:15 +02:00
Simon Bruder 4556ec6c73
scripts: Reorganise directory layout 2021-07-17 13:38:32 +02:00
Simon Bruder 80f23f019b
neovim: Reorganise directory layout
This also loads UltiSnips by setting a configuration option instead of
symlinking it to the default location.
2021-07-17 13:31:47 +02:00
Simon Bruder 35e6bf8185
neovim: Add binding for sorting in visual mode 2021-07-17 13:25:57 +02:00
Simon Bruder c09d54513b
neovim: Allow closing terminal with double escape
I always forget the default key binding.
2021-07-17 13:25:23 +02:00
Simon Bruder 1dcaeb0aed
neovim: Use nerdtree git plugin from nixpkgs 2021-07-17 12:58:25 +02:00
Simon Bruder 16d6aa2aa0
zsh: Add syntax highlighting 2021-07-17 10:19:42 +02:00
Simon Bruder f546f737fe
sway: Enable screencasts via xdg-desktop-portal-wlr
This also adds a blinking indicator to the status bar so it is obvious
when the screen is shared.
2021-07-10 16:27:26 +02:00
Simon Bruder 2d0a2b7316
mako: Highlight critical notifications 2021-07-10 16:20:03 +02:00
Simon Bruder fd37161a78
programs: Add evince
For some reaseon, the print quality with zathura is subpar (noticeably
blurry), but evince manages to produce a clear print.
2021-07-07 18:58:36 +02:00
Simon Bruder 9ce76f591f
mpv: Add binding for frame-exact sub delay 2021-07-04 12:53:50 +02:00
Simon Bruder a58aa3ece4
ncmpcpp: Use nvim as external editor 2021-07-02 18:02:41 +02:00
Simon Bruder d863586f23
mpv: Use ffmpeg-full
This allows mpv to support more exotic file formats and lavf filters.
Since I am already overring mpv, it should not add another local
rebuild.
2021-06-30 19:49:28 +02:00
Simon Bruder 43722b1177
programs: Add taskell 2021-06-25 22:15:01 +02:00
Simon Bruder 80e68848c5
Remove taskwarrior
I find myself not using it but instead writing everything in a plain
text file.
2021-06-25 19:23:23 +02:00
Simon Bruder fc6c997575
nix-direnv: Use new home-manager option 2021-06-23 17:22:04 +02:00
Simon Bruder 2aa489853f
programs: Add snownews 2021-06-06 00:12:55 +02:00
Simon Bruder 387947191d
programs: Re-enable ungoogled-chromium
This reverts commit 0ba5f8c6fa.
2021-06-03 16:41:22 +02:00
Simon Bruder b44acc2ffa
programs: Replace optipng with oxipng 2021-06-02 23:30:16 +02:00
Simon Bruder e6a0684bfe
neovim: Drop deprecated g:vimtex_syntax_autoload_packages 2021-06-02 14:01:58 +02:00
Simon Bruder ce57c9a62c
neovim: Highlight syntax in markdown code blocks 2021-06-01 17:54:38 +02:00
Simon Bruder c0efaa02ba
mullvad: Move script into system module
It doesn’t make sense to install the configuration files system-wide but
the script only for the user.
2021-06-01 10:29:58 +02:00
Simon Bruder b0d6861825
Use shellcheck
This also adds set -e and friends where applicable.
2021-05-31 23:59:13 +02:00
Simon Bruder 56b9c6c37f
Add module for on-demand usage of mullvad
Since wg-quick does not require the configuration file to include a
private key and local addresses, they can be added after the execution
of wg-quick.

Fixes #32.
2021-05-31 23:02:11 +02:00
Simon Bruder a196059da6
ncmpcpp: Adapt visualizer settings to 0.9 2021-05-29 18:04:29 +02:00
Simon Bruder 4013206449
neovim: LC: Load per-project configuration 2021-05-29 14:46:32 +02:00
Simon Bruder 0fdfec4385
mpv: Add motion vector interpolation script 2021-05-28 16:10:11 +02:00
Simon Bruder ef9731a080
mpv: Fix debanding being active by default 2021-05-28 15:06:17 +02:00
Simon Bruder 91b3e97e48
mpv: Update gallery-view plugin 2021-05-28 14:05:14 +02:00
Simon Bruder 54288988de
zsh: Explicitly disable prompt in user config
Otherwise starship does not work in 21.05.
2021-05-28 14:05:13 +02:00
Simon Bruder 091f6b0e14
Update to 21.05
This still uses the relase-21.05 branch which should later be changed to
nixos-21.05.
2021-05-28 14:04:53 +02:00
Simon Bruder ad0748ba1b
Use gammastep instead of redshift 2021-05-27 18:07:01 +02:00
Simon Bruder 10a63f585d
mako: Remove notification inhibitor
Upstream wants to implement modes, which collide with the patch that I
used.
2021-05-27 18:07:00 +02:00
Simon Bruder 004a879f46
programs/mumble: Fix PTT patch hash
It has been wrong since 9c51d36c4d
switched to fetchpatch (which strips the headers from the patch and
therefore produces a different file).
2021-05-19 16:19:58 +02:00
Simon Bruder b0754833b4
neovim: Use rust-analyzer instead of rls 2021-05-19 15:18:48 +02:00
Simon Bruder 9afeb8527a
programs: Add gallery-dl 2021-05-16 17:59:21 +02:00
Simon Bruder 0ba5f8c6fa
programs: Disable ungoogled-chromium
The build on hydra is failing[1] and compiling chromium is no fun.

[1]: https://hydra.nixos.org/build/142976662
2021-05-15 14:19:05 +02:00
Simon Bruder e629ad86fb
programs: Add textidote 2021-05-13 13:51:06 +02:00
Simon Bruder ebeba7c6fd
programs: Add deemix 2021-05-13 13:50:56 +02:00
Simon Bruder 7a5d16106a
mkvpropedit-add-fonts: Fix with spaces in filenames 2021-05-07 21:34:35 +02:00
Simon Bruder 9bbc4a2f7a
sway: Use xwayland from unstable
20.09’s xwayland crashes (presumably because of sway 1.6).
2021-05-04 21:53:15 +02:00
Simon Bruder 0bb095a2bf
zsh: No longer unset LESS_TERMCAP
Since I now manually select the environment variables imported into
systemd/dbus, other variables with escape characters are no longer a
problem.
2021-05-03 10:16:59 +02:00
Simon Bruder 09618443eb
sway: Manually implement systemd/dbus integration
The way provided by home-manager does not work reliably.

This also references (hopefully) all executables called by systemd
services by their full path.
2021-05-03 10:16:58 +02:00
Simon Bruder 400b55a293
Convert to flake
Fixes #3.
2021-05-01 17:36:58 +02:00
Simon Bruder d704dab620
zsh: Do not match #
Nix flakes use # extensively, so quoting '#' every time is not feasible.

This needs to be added to the end of initExtra so other commands do not
reset it.
2021-05-01 16:53:47 +02:00
Simon Bruder 236ac3488a
sway: Make shells reload environment every time
Otherwise changing environment variables requires me to log out.
2021-05-01 16:34:27 +02:00
Simon Bruder 267eecf000
sway: Make swaynag buttons easier to read 2021-04-30 19:22:08 +02:00
Simon Bruder 0ddb38e8f9
sway: Use package from unstable
Sway 1.6 is in nixos-unstable, so I don’t have to apply the patch
manually.

This also addds the WAYLAND_DISPLAY variable to dbus, which is required
to show the GCR prompter GTK3 window. This only happened after the
upgrade, so I assume sway changed some things that necessitate this.
2021-04-30 19:05:36 +02:00
Simon Bruder 5de2acd1f0
neovim: Add indentation settings for bib files 2021-04-22 16:05:25 +02:00
Simon Bruder bcee4c3243
mpv: Use better subtitle settings 2021-04-19 21:48:26 +02:00
Simon Bruder 4b81f9163a
mpv/visualiser: Fix resolution for visualiser-60 2021-04-18 22:29:36 +02:00
Simon Bruder 3e9593eb78
Revert "games: Disable osu-lazer-sandbox"
This reverts commit 6cff58fcb0.
2021-04-18 18:02:09 +02:00
Simon Bruder ce62b43bc8
mpv: Also enable for full non-gui systems 2021-04-18 17:52:32 +02:00
Simon Bruder 9d27b71588
pkgs/cyanrip: Init
This also replaces abcde in user environment with cyanrip.
2021-04-18 10:40:33 +02:00
Simon Bruder bd9f25c995
programs: Add opusTools 2021-04-17 23:17:17 +02:00
Simon Bruder b51bff724f
zsh: Make cp use reflinks if possible 2021-04-17 19:36:37 +02:00
Simon Bruder 942a5ffb04
zsh: Increase history size to 100000 2021-04-14 21:55:49 +02:00
Simon Bruder 6cff58fcb0
games: Disable osu-lazer-sandbox
Currently the build fails with (multiple instances of) error NU3037:
Package '…' from source '/build/source/nixos': The author primary
signature validity period has expired.
2021-04-13 09:58:07 +02:00
Simon Bruder feb82fca2e
nix: Make netrc readable by wheel group
This also splits the nix configuration from the default module into its
own file.
2021-04-09 11:34:49 +02:00
Simon Bruder 4ece15d0f6
programs: Add mkpasswd 2021-04-08 13:36:44 +02:00
Simon Bruder aaaeb56f18
git: Add sops diff textconv 2021-04-06 11:36:08 +02:00
Simon Bruder 6f20d6300d
programs: Use unstable streamlink
Stramlink from 20.09 does not work (at least for low-latency twitch).
2021-04-05 11:50:31 +02:00
Simon Bruder 97974a9616
programs: Add streamlink 2021-04-04 16:00:14 +02:00
Simon Bruder 3b96a823ee
programs: Use (lib)qalculate(-gtk) from unstable
In 20.09’s version currency conversion is broken.
2021-04-04 15:46:35 +02:00
Simon Bruder 891697f80c
programs: Add dog 2021-04-03 13:02:21 +02:00
Simon Bruder 6459a2a7ef
fzf: Add better default commands and options 2021-04-01 14:43:16 +02:00
Simon Bruder bc2851de6b
programs: Replace pdfsam with pdfarranger 2021-03-31 10:02:10 +02:00
Simon Bruder 9be9148da8
zsh/pass-wrappers: Remove unnecessary functions
I no longer host a docker registry or minio server.
2021-03-30 23:53:20 +02:00
Simon Bruder 1521f10806
waybar: Do not print status on mpc invocation 2021-03-29 16:20:24 +02:00
Simon Bruder aa6458f4bf
ytcc: Init 2021-03-25 13:57:26 +01:00
Simon Bruder fa1c274248
mpv: Update FSRCNNX x2
This also changes the model to 8-0-4-1 (new upstream default). Since
upstream replaced the old model on GitHub releases instead of adding a
new release, previous generations that don’t have the old model cached
won’t build anymore.
2021-03-22 08:31:51 +01:00
Simon Bruder 320f438d02
git: Add gsc alias 2021-03-20 21:24:02 +01:00
Simon Bruder 187cc904bc
mpv: Move pitchcontrol script to overlay 2021-03-20 21:07:37 +01:00
Simon Bruder 041262fc7a
git: Add aliases 2021-03-19 19:46:57 +01:00
Simon Bruder f7a27d623b
Revert "mpv: clear-speed: Use firefox’s scaletempo config"
This reverts commit 3b2f41f18a.
2021-03-16 17:46:22 +01:00