diff --git a/configuration.nix b/configuration.nix index 7949bc2..0a31e51 100644 --- a/configuration.nix +++ b/configuration.nix @@ -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;