2024-03-31 01:40:08 -07:00
|
|
|
{ config, lib, pkgs, ... }:
|
|
|
|
let
|
|
|
|
|
|
|
|
in
|
|
|
|
{
|
|
|
|
imports = [ ../default.nix ];
|
|
|
|
|
2024-04-01 14:47:00 -07:00
|
|
|
mobile = {
|
2024-03-31 01:40:08 -07:00
|
|
|
beautification = {
|
|
|
|
silentBoot = lib.mkDefault true;
|
|
|
|
splash = lib.mkDefault true;
|
|
|
|
};
|
|
|
|
boot.stage-1 = {
|
|
|
|
kernel.useStrictKernelConfig = true;
|
|
|
|
networking.enable = true;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2024-04-01 14:47:00 -07:00
|
|
|
#services.openssh.enable = true;
|
2024-03-31 01:40:08 -07:00
|
|
|
services.xserver.desktopManager.phosh = {
|
|
|
|
enable = true;
|
2024-04-01 14:47:00 -07:00
|
|
|
user = "stitchynyan";
|
2024-03-31 01:40:08 -07:00
|
|
|
group = "users";
|
|
|
|
};
|
|
|
|
|
|
|
|
#services.xserver.desktopManager.plasma5 = {
|
|
|
|
# enable = true;
|
|
|
|
# mobile.enable = true;
|
|
|
|
#};
|
|
|
|
|
|
|
|
programs.firefox.enable = true;
|
|
|
|
programs.calls.enable = true;
|
|
|
|
|
|
|
|
hardware = {
|
|
|
|
bluetooth.enable = true;
|
|
|
|
sensor.iio.enable = true;
|
|
|
|
};
|
|
|
|
|
|
|
|
networking.networkmanager.unmanaged = [ "rndis0" "usb0" ];
|
|
|
|
|
|
|
|
nixpkgs.config.allowUnfreePredicate = pkg: builtins.elem (lib.getName pkg) [
|
|
|
|
"oneplus-sdm845-firmware"
|
|
|
|
"oneplus-sdm845-firmware-xz"
|
|
|
|
];
|
|
|
|
system.stateVersion = "23.11";
|
|
|
|
}
|