remove lingering references to sxmo

This commit is contained in:
Colin 2024-05-27 00:38:30 +00:00
parent 10a985e7f9
commit 7e490f5c07
13 changed files with 7 additions and 30 deletions

View File

@ -16,7 +16,6 @@ building [hosts/](./hosts/) will require [sops][sops].
you might specifically be interested in these files (elaborated further in #key-points-of-interest):
- ~~[`sxmo-utils`](./pkgs/additional/sxmo-utils/default.nix)~~
- ~~[example SXMO deployment](./hosts/modules/gui/sxmo/default.nix)~~
- these files will remain until my config settles down, but i no longer use or maintain SXMO.
- [my implementation of impermanence](./modules/persist/default.nix)
- my way of deploying dotfiles/configuring programs per-user:

View File

@ -1,7 +1,4 @@
# Pinephone
# other setups to reference:
# - <https://hamblingreen.gitlab.io/2022/03/02/my-pinephone-setup.html>
# - sxmo Arch user. lots of app recommendations
#
# wikis, resources, ...:
# - Linux Phone Apps: <https://linuxphoneapps.org/>
@ -34,7 +31,6 @@
sops.secrets.colin-passwd.neededForUsers = true;
# sane.gui.sxmo.enable = true;
sane.programs.sway.enableFor.user.colin = true;
sane.programs.swaylock.enableFor.user.colin = false; #< not usable on touch
sane.programs.schlock.enableFor.user.colin = true;

View File

@ -15,7 +15,7 @@ usage() {
echo " --percent-suffix <string>: use the provided string when displaying percents"
}
# these icons come from sxmo; they only render in nerdfonts
# these icons may only render in nerdfonts
icon_bat_chg=("󰢟" "󱊤" "󱊥" "󰂅")
icon_bat_dis=("󰂎" "󱊡" "󱊢" "󱊣")
suffix_icon="" # thin space

View File

@ -1,7 +1,6 @@
{ pkgs, ... }:
{
sane.programs.conky = {
# TODO: non-sandboxed `conky` still ships via `sxmo-utils`, but unused
sandbox.method = "bwrap";
sandbox.net = "clearnet"; #< for the scripts it calls (weather)
sandbox.extraPaths = [

View File

@ -16,13 +16,11 @@ let
# - 󰍦 (message bubble)
# - 󰏲 (phone)
# -  (weather/sun-behind-clouds)
# used particularly by sxmo utilities, but also a few of my own (e.g. conky)
# i use these icons mostly in conky, swaync.
#
# nerdfonts is very heavy. each font is 20-900 MiB (2 MiB per "variation")
# lots of redundant data inside there, but no deduplication except whatever nix or the fs does implicitly.
wantedNerdfonts = [
# used explicitly by SXMO
# "DejaVuSansMono" # 25 MiB
# good terminal/coding font. grab via nerdfonts for more emoji/unicode support
"Hack" # 26 MiB
"Noto" # 861 MiB

View File

@ -4,7 +4,7 @@
# - properties: <https://mpv.io/manual/master/#property-list>
# let volume/power keys be interpreted by the system.
# this is important for sxmo.
# this is important for moby/bonsai.
# mpv defaults is POWER = close, VOLUME_{UP,DOWN} = adjust application-level volume
POWER ignore
VOLUME_UP ignore

View File

@ -5,7 +5,6 @@ https://nixos.org/manual/nix/stable/language/builtins.html
https://github.com/nixos/nixpkgs/pulls?q=
https://nur.nix-community.org/
https://repology.org/projects/?maintainer=colin@uninsane.org&inrepo=nix_unstable&outdated=1
https://lists.sr.ht/~mil/sxmo-devel
https://w.uninsane.org/viewer#search?books.name=wikipedia_en_all_maxi_2022-05&pattern=
https://jackett.uninsane.org/UI/Dashboard#search=
https://lemmy.uninsane.org

View File

@ -247,13 +247,7 @@ in
# extraHomePaths = [ ".config/sane-vpn" ];
};
"sane-scripts.which".sandbox = {
method = "bwrap";
extraHomePaths = [
# for SXMO
".config/sxmo/hooks"
];
};
"sane-scripts.which".sandbox.method = "bwrap";
"sane-scripts.wipe".sandbox = {
method = "bwrap";

View File

@ -1,6 +1,5 @@
# simple RSS and Atom parser
# - <https://codemadness.org/sfeed-simple-feed-parser.html>
# - used by sxmo
# - man 5 sfeedrc
#
# call `sfeed_update` to query each feed and populate entries in ~/.sfeed/feeds

View File

@ -91,18 +91,14 @@ in
sandbox.whitelistWayland = true;
sandbox.extraRuntimePaths = [
"sway"
# "sxmo_status" #< only necessary if relying on sxmo's statusbar periodicals service
];
sandbox.extraPaths = [
# for wifi status on sxmo/phone
"/dev/rfkill"
# for wifi status on phone
# "/dev/rfkill"
# for the battery indicator
"/sys/class/power_supply"
"/sys/devices"
];
sandbox.extraHomePaths = [
".config/sxmo/hooks"
];
fs.".config/waybar/config".symlink.target =
(pkgs.formats.json {}).generate "waybar-config.json" [

View File

@ -61,8 +61,6 @@ window#waybar {
#cpu,
#custom-media,
#custom-swaync,
#custom-sxmo,
#custom-sxmo-sane,
#disk,
#idle_inhibitor,
#memory,

View File

@ -17,7 +17,7 @@
"dialout" # required for modem access (moby)
"export" # to read filesystem exports (servo)
"feedbackd" # moby, so `fbcli` can control vibrator and LEDs
"input" # for /dev/input/<xyz>: sxmo
"input" # for /dev/input/<xyz>... TODO:is this still necessary?
"media" # servo
"networkmanager"
"nixbuild"

View File

@ -1,5 +1,4 @@
# eg25-manager: <https://gitlab.com/mobian1/eg25-manager>
# - used by sxmo, in <configs/default_hooks/sxmo_hook_restart_modem_daemons.sh>
# - requires modemmanager (ModemManager.service)
{ config, lib, pkgs, ... }:
let