remoe commented-out dead code

This commit is contained in:
Daniel Barlow 2024-07-19 23:47:24 +01:00
parent 09a57c4269
commit 4d968948cd
1 changed files with 0 additions and 27 deletions

View File

@ -42,8 +42,6 @@ in {
config = {
mobile = {
adbd.enable = true;
# quirks.fb-refresher.enable = lib.mkForce false;
# quirks.qualcomm.msm8953-modem.enable = true;
boot.stage-1.firmware = [
modemFirmware
pkgs.wireless-regdb
@ -169,31 +167,6 @@ SUBSYSTEM=="wwan", ENV{DEVNAME}=="/dev/wwan0qmi0", ENV{DEVTYPE}=="wwan_port", \
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;