Commit graph

143 commits

Author SHA1 Message Date
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
Simon Bruder 57403a2d52
sway: Fix log pollution
Fixes #44.
2021-03-02 10:36:41 +01:00
Simon Bruder ceda178acf
sway: Manage mako with systemd 2021-03-02 09:49:15 +01:00
Simon Bruder e17aa4bc6b
sway: Manage swayidle with systemd 2021-03-02 09:31:53 +01:00
Simon Bruder d8f75f167a
sway: Manage waybar with systemd 2021-03-02 09:31:22 +01:00
Simon Bruder c7349c4939
zsh: Unset LESS_TERMCAP_* variables 2021-03-02 08:47:23 +01:00
Simon Bruder b3cc7cf907
sway: Redirect output to journal 2021-03-02 08:26:28 +01:00
Simon Bruder 081e731be2
neovim: Add unzip to user environment 2021-03-01 18:40:07 +01:00
Simon Bruder eccea38759
mpv: Use youtube-dl’s default format
mpv overrides my custom format with `bestvideo+bestaudio/best`
(youtube-dl upstream default). This applies a patch (from upstream) that
adds a magic value to remove the override. Since home-manager’s mpv
module only supports overriding the mpv package in 21.05, it is done in
the overlay.

Fixes #39.
2021-03-01 17:30:58 +01:00
Simon Bruder 5c27e0d423
ncmpcpp: Make block visualizer spectrum character 2021-03-01 09:37:34 +01:00
Simon Bruder 9c19647e76
zsh: Alias ip to ip --color=auto 2021-02-28 20:43:42 +01:00
Simon Bruder 90feb2e3be
zsh: Sort aliases 2021-02-28 20:43:42 +01:00
Simon Bruder b2449c3fe6
osu-lazer-container: Rename to osu-lazer-sandbox 2021-02-28 13:28:13 +01:00
Simon Bruder 3934c84644
zsh: Disable grml’s sad-smiley prompt 2021-02-28 11:27:08 +01:00
Simon Bruder 209ba3c5f6
programs: Remove starship (duplicate)
The home-manager starship module already adds it to the environment.
2021-02-28 11:27:06 +01:00
Simon Bruder c77328af22
Replace builtins with lib where possible 2021-02-27 19:57:00 +01:00
Simon Bruder f03c1daa31
mpd: Export socket path as environment variable
This eliminates the need to specify it manually every time.
2021-02-27 18:34:35 +01:00
Simon Bruder a745d7353e
sway: Add autostart to zshrc instead of zprofile
home-manager’s sessionVariables are not loaded yet when sway starts.
2021-02-27 18:34:35 +01:00
Simon Bruder b855ed533d
mpd/ncmpcpp: Use host from mpd module 2021-02-27 18:16:39 +01:00
Simon Bruder 1103dd5000
user/programs: Add wev 2021-02-27 16:55:42 +01:00
Simon Bruder 0ecdb8c4f7
user/programs: Correct sorting 2021-02-27 16:55:18 +01:00
Simon Bruder 790c4d03c0
mpd: Use package from unstable
The version from 20.09 logs every time a client connects (which pollutes
the journal) and I did not find an easy way to change this. The logging
was changed in a newer mpd version and the default log level now doesn’t
log connects.
2021-02-22 11:15:49 +01:00
Simon Bruder 94f3aae5b9
tmate: Init 2021-02-18 16:37:45 +01:00
Simon Bruder eb97e936ed
zsh: Use grml config system wide 2021-02-14 13:29:51 +01:00
Simon Bruder 1a7ef37376
home: Use nixosConfig instead of inheriting options 2021-02-12 21:12:03 +01:00
Simon Bruder 8c92c1b792
youtube-dl: Add 2021-02-08 20:40:54 +01:00
Simon Bruder d6d2857322
git: Add textconv hook for age diff 2021-02-08 19:19:18 +01:00
Simon Bruder 75a91e9116
vdirsyncer: Use new credentials 2021-02-06 18:07:53 +01:00
Simon Bruder 5ed071c0ed
Move admin tools to system tools
Fixes #37.

This also removes some tools from the user profile since I do not need
them anymore.
2021-02-05 17:34:34 +01:00
Simon Bruder d8514ab12c
Re-enable waifu2x-converter-cpp
Upstream released a new version which fixes building with gcc10 and
nixpkgs already updated to it.
2021-02-01 20:51:34 +01:00
Simon Bruder a02d3cb883
Use separate state version for every machine
This also uses the system state version as the home-manager state
version.

Fixes #35.
2021-01-31 12:21:05 +01:00
Simon Bruder 3304c8e62e
programs: Add poppler_utils 2021-01-30 23:27:53 +01:00
Simon Bruder d61fc70f23
mpd: Only enable when gui is enabled 2021-01-30 13:27:29 +01:00
Simon Bruder 204962d0f3
user: Fix gui programs being installed by mistake 2021-01-28 16:35:54 +01:00
Simon Bruder 5ecebf4435
nvim: Add nix snippet for sha256 hash 2021-01-22 20:18:39 +01:00