hopefully pinephonepro integration
This commit is contained in:
parent
ebac4259e5
commit
fe02bcf9c3
3 changed files with 37 additions and 10 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue