Commit graph

177 commits

Author SHA1 Message Date
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
Simon Bruder 29af8010a2
user: Remove docker-ls configuration
I don’t have my own docker registry anymore, so this configuration
doesn’t work.
2021-03-13 11:00:41 +01:00
Simon Bruder 3b2f41f18a
mpv: clear-speed: Use firefox’s scaletempo config 2021-03-12 15:10:13 +01:00
Simon Bruder 168e492c12
Use firefox-esr
Since Firefox 86, firefox freezes after some time when playing a video.
This only happens on wayland, but using xwayland causes weird stutters.
Downgrading is only meant to be a temporary solution.
2021-03-11 19:09:00 +01:00
Simon Bruder b55144906f
Set user environment variables with home-manager 2021-03-11 19:08:08 +01:00
Simon Bruder 429144166d
mpv: Add sponsorblock 2021-03-09 15:48:13 +01:00
Simon Bruder a3c954fa01
mpv: Generate visualiser profiles with function 2021-03-09 11:35:13 +01:00
Simon Bruder 922a359497
mpv: Remove musicvideo-c64 profile
It only has a single purpose and I haven’t used in the last year or so.
2021-03-09 11:23:14 +01:00
Simon Bruder d239f2ad5e
mako: Implement notification inhibition
Fixes #43.
2021-03-07 20:25:15 +01:00
Simon Bruder 442297ec85
sway: Use kanshi for output management
Fixes #46.
2021-03-07 17:38:35 +01:00
Simon Bruder 4d474043a0
sway/swaynag: Deduplicate config 2021-03-04 09:39:14 +01:00
Simon Bruder 380c5b0ec5
mpv: Optimise clear-speed profile
It now *almost* sounds as good as firefox, though it sometimes still is
harder to understand.
2021-03-03 22:55:50 +01:00
Simon Bruder 4923f70389
sway/waybar: Use html entity for thinsp
This also moves it to waybar’s let binding, since it is only needed
there.
2021-03-03 21:49:35 +01:00
Simon Bruder c0a130fa59
xdg: Set firefox as default browser
Strangely, it has been working until recently without explicit
configuration (probably starting chromium changed it by setting
something stateful).
2021-03-03 21:44:40 +01:00
Simon Bruder a962fea3a8
sway/waybar: Use correct muted icon 2021-03-03 21:40:24 +01:00
Simon Bruder 05d2529db7
sway/waybar: Add abstraction for unit management
This also passes the unit state as a stream instead of requiring waybar
to poll for the state.
2021-03-02 12:36:50 +01:00
Simon Bruder 2bbe4e715b
sway: Decouple xdg.configFiles
This also adds an empty let binding to the waybar config to avoid an
upcoming commit to introduce a huge diff (twice, since this commit also
would have reformatted the entire waybar configuration).
2021-03-02 12:26:06 +01:00