forked from colin/nix-files
remove lingering references to sxmo
This commit is contained in:
parent
10a985e7f9
commit
7e490f5c07
|
@ -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:
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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 = [
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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";
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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" [
|
||||
|
|
|
@ -61,8 +61,6 @@ window#waybar {
|
|||
#cpu,
|
||||
#custom-media,
|
||||
#custom-swaync,
|
||||
#custom-sxmo,
|
||||
#custom-sxmo-sane,
|
||||
#disk,
|
||||
#idle_inhibitor,
|
||||
#memory,
|
||||
|
|
|
@ -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"
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue
Block a user