Commit graph

1043 commits

Author SHA1 Message Date
Pig Monkey
8ca5bdef5e switch default to tuned
Framework says no TLP on AMD.

https://knowledgebase.frame.work/en_us/optimizing-ubuntu-battery-life-Sye_48Lg3

TuneD is now the Fedora default, so I guess it is the new hotness
anyway. (It doesn't seem as nice as TLP, but nobody asked me.)
2025-01-14 08:28:56 -08:00
Pig Monkey
1d4dc29b73 set battery idle on framework machines
Apparently changes made via ectool only survive power off if the laptop
remains plugged in, so in practice we have to set this on every boot.

https://wiki.archlinux.org/title/Framework_Laptop_13#Battery_control

Setting the lower and upper charge percentage to the same value causes
the controller to idle the battery at that percentage. This seems like
it would be better for the long term health of the battery than giving
the battery a range to constantly dis/charge between. It also feels more
like what I'm used to from all my years of Thinkpads and TLP.

I have also set the max charge on my battery to 90% in the BIOS, as per:
https://guides.frame.work/Guide/Enabling+Battery+Saver+Functionality+in+BIOS/392
2025-01-14 08:23:17 -08:00
Pig Monkey
35b94beb41 auto-switch tuned profiles on battery
I'm not sure if a looping script like this is the best way to accomplish
this. I don't understand why TuneD doesn't provide this functionality
itself, like TLP does.
2025-01-14 08:19:55 -08:00
Pig Monkey
65d52759b3 install wget 2025-01-13 21:37:59 -08:00
Pig Monkey
37822a2562 support wireless regulatory domain
https://wiki.archlinux.org/title/Network_configuration/Wireless#Respecting_the_regulatory_domain
2025-01-13 18:45:43 -08:00
Pig Monkey
8f688609e1 remove trusted network 2025-01-13 18:39:15 -08:00
Pig Monkey
e0514e7498 disable user ssh key install by default
I use my PGP key on a Yubikey for SSH.
2025-01-13 18:38:46 -08:00
Pig Monkey
df36f166f9 disable dotfiles actions by default
I bring these over as part of my data recovery procedures now.
2025-01-13 18:38:05 -08:00
Pig Monkey
cabd9616f3 drop surfraw 2025-01-13 18:37:14 -08:00
Pig Monkey
6f91ff344c imlib2-heic aur package no longer exists 2025-01-13 18:36:33 -08:00
Pig Monkey
7d06c5b849 make video_drivers var optional 2025-01-13 18:35:33 -08:00
Pig Monkey
d5f369f0f8 remove ansible_processor condition
Intel vs AMD is determined within the role
2025-01-13 18:34:27 -08:00
Pig Monkey
2580286757 install iso ships vim now, not vi 2025-01-13 18:33:48 -08:00
Pig Monkey
5e7631f0a5 expect most systems to use NVME disks these days 2025-01-13 18:33:10 -08:00
Pig Monkey
0126cb6ff2 add option for tuned-ppd 2025-01-11 18:37:04 -08:00
Pig Monkey
aa9255b16e add ansible_facts dump
Useful for seeing what Ansible knows about the system.

    $ ansible-playbook -i localhost facts.yml
    $ less /tmp/ansible_facts.json
2025-01-09 18:08:40 -08:00
Pig Monkey
79e261bd84 drop undertime
I still use this daily, but this is the sort of thing I now prefer to
install via uv rather than as a system package.
2025-01-05 16:34:19 -08:00
Pig Monkey
cf10656a5a drop pipx
uv replaces this completely.
2025-01-05 16:33:58 -08:00
Pig Monkey
9896a6b302 p7zip is now 7zip 2025-01-01 22:52:01 -08:00
Pig Monkey
966b159668 user kewlfft.aur collection
Closes #120 #74
2024-12-01 20:21:53 -08:00
Pig Monkey
b4a56bf343 leave 256MB free for e2scrub
https://man.archlinux.org/man/e2scrub.8
2024-12-01 19:22:43 -08:00
Pig Monkey
9956bf6b5f apparently grub can open luks2 volumes now
But only if it uses PBKDF2.
2024-12-01 19:16:35 -08:00
Pig Monkey
a506a36567 update timew holiday refresh script location 2024-12-01 19:11:52 -08:00
Pig Monkey
f6e178de4d drop radio role by default
I do not use or maintain any of this.
2024-12-01 19:10:01 -08:00
Pig Monkey
b1843b5956 drop old thinkpad battery packages
Modern kernels support Thinkpad battery controls. Additional packages
are no longer required.

https://linrunner.de/tlp/faq/battery.html#which-external-kernel-module-do-i-need-for-my-thinkpad
2024-12-01 18:38:03 -08:00
Pig Monkey
2b3da28aa7 replace youtube-dl with yt-dlp 2024-12-01 18:23:14 -08:00
Pig Monkey
34ae47664a replace abcde with whipper 2024-12-01 18:16:34 -08:00
Pig Monkey
919d40239e drop geteltorito
The AUR package currently has broken checksums. I can't remember the
last time I used this. And it is just a perl script, so there's no value
in having it as a package. Just curl the script if you need it, and add
it to $PATH if you're feeling ambitious.
2024-12-01 18:11:14 -08:00
Pig Monkey
3fade1a9f7 remove autocutsel
This package was dropped down to the AUR, and I don't find it useful
enough to justify a non-official package.
2024-12-01 18:02:58 -08:00
Pig Monkey
66647279ba perform shell tasks after user init
Since the shell tasks now include installing an AUR package, the user
must first exist.
2024-12-01 17:49:13 -08:00
Pig Monkey
cb8db79203 add additional audio packages 2024-12-01 17:45:40 -08:00
Pig Monkey
51db611e40 add new trusted network 2024-11-25 17:16:46 -08:00
Pig Monkey
81e5ce6c82 Merge branch 'brett-reflector_template_fix' 2024-10-25 12:20:49 -07:00
Brett Eisenberg
e32236d76c fix missing brace 2024-10-19 14:09:21 -07:00
Pig Monkey
778400c2db Merge branch 'brett-mirrormagic' 2024-09-18 15:52:41 -07:00
Brett Eisenberg
16813d8e24 allow mirror update to optionally limit sources by country 2024-09-17 13:06:02 -07:00
Pig Monkey
de59ed760b add wait variable for goimapnotify
Previously `wait` could be defined in the user's config file, but in the
new release it appears to only be supported as a flag, so we have to
override the systemd service.
2024-09-16 15:56:35 -07:00
Pig Monkey
6e81116824 Merge branch 'brett-mail-oauth2' 2024-08-22 15:49:14 -07:00
Brett Eisenberg
01f7075c32 add oauth2 support for msmtp and mbsync 2024-08-21 12:14:01 -07:00
Pig Monkey
169af63185 add uv 2024-08-20 16:39:10 -07:00
Pig Monkey
83d9fc07ca replace lowbatt.sh with poweralertd
Existing users can remove the old cruft:

    $ sudo systemctl disable lowbatt.timer
    $ sudo rm /usr/local/bin/lowbatt /etc/systemd/system/lowbatt.*
    $ sudo systemctl daemon-reload
2024-07-18 20:09:50 -07:00
Pig Monkey
2d0a272494 disable bluetooth on boot via bluez
Apparently Blueman dropped power management in v2.4. https://github.com/blueman-project/blueman/blob/main/CHANGELOG.md#changes-2

Closes #121
2024-06-26 17:48:52 -07:00
Pig Monkey
94aeb4a6be move sudo tasks into base role
Closes #117
2024-06-24 16:06:35 -07:00
Pig Monkey
5c7b7504ea reformat yaml 2024-06-24 16:04:27 -07:00
Pig Monkey
61f4278f6f drop hashdeep
Closes #119
2024-06-24 15:51:26 -07:00
Pig Monkey
392e3d7d3e drop cpulimit
Closes #116.
2024-06-24 15:50:42 -07:00
Pig Monkey
32bb85f747 add yubikey-manager-qt 2024-06-19 18:03:46 -07:00
Pig Monkey
541a79b00e install libgourou 2024-05-05 09:12:03 -07:00
Pig Monkey
96c090affe change NetworkManager connectivity check to a boolean 2024-04-25 20:24:59 -07:00
Pig Monkey
48a32e5e7e replace Macchiato with NetworkManager MAC randomization
Macchiato is no longer in the AUR, but NetworkManager's built in
behaviour is good enough.

https://wiki.archlinux.org/title/NetworkManager#Configuring_MAC_address_randomization
2024-04-25 20:19:50 -07:00