Commit graph

27 commits

Author SHA1 Message Date
Simon Bruder 013511c1c9
sops: Switch to new PGP key 2024-01-22 17:32:02 +01:00
Simon Bruder 10b8d432d5
Relicense
This applies the REUSE specification to the repository, so the licensing
information can be tracked for every file individually.
2024-01-13 14:39:22 +01:00
Simon Bruder 8d764fc7e4
mayushii: Allow SMB1
This is required for a Windows XP VM.
2024-01-06 00:08:00 +01:00
Simon Bruder 816004e80b
restic: Use QoS instead of uploadLimit
This implements a crude mechanism for signalling my router to add the
packets to its own qdisc.

The way in which this is implemented with nftables is hacky because of
NixOS’ limitations on build-time checking (which obviously can’t know
about the existence of cgroups on the target).
2023-10-07 22:49:47 +02:00
Simon Bruder 7b836dd65b
Drastically lower restic upload limit
Welcome in the year 2023, where it apparently is acceptable to offer
internet connectivity with not even 5 Mbit/s upload speed.
2023-10-04 23:42:00 +02:00
Simon Bruder 2f39d10a8a
vueko: Migrate to new server 2023-05-03 12:31:11 +02:00
Simon Bruder a8ace37aa2
mayushii: Switch to MediaTek wireless adapter
Whenever possible, I’ll try to avoid Realtek in the future.
2023-04-08 18:09:08 +02:00
Simon Bruder d42f74a209
mayushii: Remove kernel pinning
The problems are fixed in a newer kernel version.

This theoretically is needed after
f760e2cee4, in which linuxPackages_6_0 is
no longer available.
2023-02-20 22:34:16 +01:00
Simon Bruder 58ab5ad884
mayushii: Work around broken DP Alt Mode hotplug
This only downgrades the kernel, so that is not a long term option, but
at least makes it possible to not reboot twice a day or so.
2023-01-10 17:49:16 +01:00
Simon Bruder c419778e67
mayushii: Set charge start threshold to 75
The previous one of 40 did no longer meet my use case.
2022-12-23 18:42:06 +01:00
Simon Bruder ac70f97776
mayushii: Adjust charge thresholds
Because I most of the time use it with a charger connected, this avoids
it charging after begin unplugged for a short amount of time and just
barely falling below the threshold.
2022-09-11 00:50:56 +02:00
Simon Bruder e31c264c92
restic: Do not limit upload by default
This allows servers that have a fast internet connection to complete
their backup in seconds instead of minutes.
2022-08-25 23:22:17 +02:00
Simon Bruder 25785ebd58
{mayushii,sayuri}: Fix samba startup 2022-06-10 00:03:03 +02: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 a9f0b42f2f
mayushii/tlp: Adapt to TLP 1.4
It renamed the option to denylist and automatically excludes audio
devices by default.
2021-12-06 16:03:45 +01:00
Simon Bruder 2c160661ec
Apply fixes for breaking module changes in 21.11 2021-12-01 19:15:31 +01:00
Simon Bruder 60b0dc9c74
mayushii: Add samba vm share 2021-11-02 11:13:59 +01:00
Simon Bruder d22183a8c2
mayushii: Allow manually controlling the fan speed 2021-11-01 16:27:13 +01:00
Simon Bruder d6fd45cd57
mayushii: Exclude Audio Interface from usb autosuspend
Even though I didn’t notice a problem when trying to record from it on
battery, it doesn’t hurt to be on the safe side.
2021-10-13 17:29:12 +02:00
Simon Bruder 259969f2b6
mayushii/tlp: Set conservative charge thresholds
My usage pattern (mostly docked) otherwise leads to the battery
accumulating one or more charge cycles every day which quickly
deteriorates it.
2021-10-11 17:50:10 +02:00
Simon Bruder a9a3c74f4a
mayushii: Disable powertop
According to the TLP FAQ[1], TLP does everything powertop does, but
better.

[1] https://linrunner.de/tlp/faq/powertop.html
2021-10-07 21:14:42 +02:00
Simon Bruder 171695dde4
mayushii/readme: Clarify SSD model 2021-10-06 22:43:08 +02:00
Simon Bruder 9c98cf0be7
mayushii: Add radeontop 2021-10-06 16:32:09 +02:00
Simon Bruder 7886cb249a
mayushii: Set trackpoint sensitivity with sway 2021-10-06 16:32:09 +02:00
Simon Bruder b5782f633c
mayushii: Add power saving configuration
When booted with my mouse connected to my kvm switch connected to my
dock connected to mayushii, powertop’s default configuration enables
power saving features that disable the mouse until it registers a click.

My current workaround is to unplug and plug the dock, so the hot-plug
input devices connected to it are reset.
2021-10-05 22:53:49 +02:00
Simon Bruder 15d6c54900
mayushii: Lower TrackPoint sensitivity 2021-10-05 22:43:01 +02:00
Simon Bruder 8bf63db6e5
mayushii: Init 2021-10-05 21:26:39 +02:00