delete commented-out Potter relics

This commit is contained in:
Daniel Barlow 2024-02-19 20:04:57 +00:00
parent 4e78ad4d91
commit 3174caa0ed
1 changed files with 26 additions and 3 deletions

View File

@ -40,8 +40,6 @@ in {
config = {
mobile = {
adbd.enable = true;
# boot.stage-1.gui.enable = false;
# beautification.splash = false;
# quirks.fb-refresher.enable = lib.mkForce false;
# quirks.qualcomm.msm8953-modem.enable = true;
boot.stage-1.firmware = [
@ -84,9 +82,34 @@ in {
inherit (secrets) wireless;
};
# systemd.services.copy-rfs = {
# wantedBy = [ "multi-user.target" ];
# serviceConfig =
# let script = pkgs.writeScript "copy-rfs" ''
# #!${pkgs.bash}/bin/bash
# source ${config.system.build.setEnvironment}
# if [ ! -e /tmp/tqftpserv/shob.bin ] ; then
# PERSIST_PATH=$(mktemp -d -t "rfsXXXXXX")
# PERSIST_DEV="/dev/disk/by-partlabel/persist"
# mkdir -p /tmp/tqftpserv
# mount $PERSIST_DEV -o ro,noatime $PERSIST_PATH
# cp -v -R "$PERSIST_PATH"/rfs/msm/mpss/. /tmp/tqftpserv
# umount $PERSIST_DEV
# rmdir $PERSIST_PATH
# fi
# '';
# in {
# StandardInput = "journal";
# StandardError = "journal";
# StandardOutput = "journal";
# SyslogIdentifier = "copy-rfs";
# ExecStart = script;
# Restart = "always";
# };
# };
services.openssh.enable = true;
# environment.systemPackages = [ qrtr tqftpserv ];
services.udev.extraRules = ''
SUBSYSTEM!="rpmsg", GOTO="qcom_rpmsg_end"
# symlink rpmsg endpoints under useful names