hopefully pinephonepro integration

This commit is contained in:
Clayton Hickey 2026-03-08 15:11:26 -04:00
parent ebac4259e5
commit fe02bcf9c3
Signed by: clay53
SSH key fingerprint: SHA256:fjW4+nfPltYzrJ4uZlYQvrYMshxHnah2S4qM8Hth9HQ
3 changed files with 37 additions and 10 deletions

View file

@ -1,10 +1,10 @@
{ config, lib, pkgs, ... }:
{ config, lib, pkgs, inputs, ... }:
{
imports = [
(import <mobile-nixos/lib/configuration.nix> { device = "pine64-pinephonepro"; })
(import "${inputs.mobile-nixos}/lib/configuration.nix" { device = "pine64-pinephonepro"; })
./hardware-configuration.nix
<mobile-nixos/examples/phosh/phosh.nix>
"${inputs.mobile-nixos}/examples/phosh/phosh.nix"
];
networking.hostName = "pinephonepro";
@ -14,17 +14,17 @@
#
# Use Network Manager
networking.wireless.enable = false;
networking.networkmanager.enable = true;
# Use PulseAudio
hardware.pulseaudio.enable = true;
# Enable Bluetooth
hardware.bluetooth.enable = true;
# Bluetooth audio
hardware.pulseaudio.package = pkgs.pulseaudioFull;
services.pipewire = {
enable = true;
alsa.enable = true;
alsa.support32Bit = true;
pulse.enable = true;
};
# Enable power management options
powerManagement.enable = true;