Commit graph

976 commits

Author SHA1 Message Date
Simon Bruder cbf2536e32
vueko: Enable nginx hardening 2021-03-05 16:00:10 +01:00
Simon Bruder 270f20d05b
Add nginx hardening option 2021-03-05 15:58:53 +01:00
Simon Bruder bdda31a807
vueko/mail: Add alias 2021-03-04 20:08:37 +01:00
Simon Bruder 4d474043a0
sway/swaynag: Deduplicate config 2021-03-04 09:39:14 +01:00
Simon Bruder da6788d036
Update sources 2021-03-04 08:00:11 +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 c0f7daa411
Update sources 2021-03-01 23:05:15 +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 fd11348b56
Explain machines/*/secrets in readme 2021-03-01 13:54:41 +01:00
Simon Bruder c30776cea6
Explain machines/*/services in readme 2021-03-01 13:54:18 +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 86348d4c60
vueko: Add element-web 2021-02-28 16:16:06 +01:00
Simon Bruder 8392b9937a
Update sources 2021-02-28 14:58:48 +01:00
Simon Bruder b2449c3fe6
osu-lazer-container: Rename to osu-lazer-sandbox 2021-02-28 13:28:13 +01:00
Simon Bruder 83f1c69713
restic/system: Constantly use system for naming
In the future I may create add other backup jobs, so it should be clear,
that this only backs up the system.
2021-02-28 12:22:43 +01:00
Simon Bruder d7272e9db3
restic: Simplify timerConfig
The upstream restic module validates the types anyway, so I can drop the
ugly expression to copy the option.
2021-02-28 12:22:42 +01:00
Simon Bruder 6a8904011a
restic: Fix typo in excludes filename 2021-02-28 12:22:42 +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 b3d28b4752
vueko/mail: Add alias 2021-02-27 17:24:26 +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 e73aedb584
Update sources 2021-02-27 12:38:58 +01:00
Simon Bruder 9570d63d15
Update sources 2021-02-25 12:09:53 +01:00
Simon Bruder 13a80e122b
Update sources 2021-02-23 23:14:36 +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 2a4e358502
node_exporter: Disable rapl collector
It does not work since the service does not have permission and
therefore writes errors into the journal every scrape.
2021-02-21 00:06:16 +01:00
Simon Bruder 13876617f5
node_exporter: Fix name of systemd collector 2021-02-21 00:04:26 +01:00
Simon Bruder 785bb2214b
wireguard/home: Add dns server 2021-02-20 19:57:10 +01:00
Simon Bruder be7e67cf1f
wireguard/home: Make vueko central server
This also restructures the wireguard/home configuration, since now
better peer management is possible.
2021-02-20 19:57:04 +01:00
Simon Bruder c921c2802a
tools: Add compsize 2021-02-20 12:47:27 +01:00
Simon Bruder 5dfe492baf
pkgs: Add aria2_exporter 2021-02-20 12:37:10 +01:00