Enable SXMO for mobile

This commit is contained in:
Kiana Sheibani 2023-01-07 22:19:04 -05:00
parent 46c858faa0
commit 0a35161f4b
2 changed files with 6 additions and 2 deletions

View file

@ -74,14 +74,14 @@ outputs = { self,
inherit system; inherit system;
modules = [ modules = [
./config ./config
./mobile/config.nix
{ _module.args = moduleArgs; { _module.args = moduleArgs;
platform = "mobile"; } platform = "mobile"; }
./platform.nix ./platform.nix
./hardware-configuration/mobile.nix ./hardware-configuration/mobile.nix
home-manager.nixosModules.home-manager home-manager.nixosModules.home-manager
(import ${mobile-nixos}/lib/configuration.nix { device = "pine64-pinephonepro"; }) (import (mobile-nixos + /lib/configuration.nix) { device = "pine64-pinephonepro"; })
${mobile-nixos}/examples/phosh/phosh.nix
{ {
home-manager.users.${username} = import ./mobile/home-manager.nix; home-manager.users.${username} = import ./mobile/home-manager.nix;

4
mobile/config.nix Normal file
View file

@ -0,0 +1,4 @@
{ config, pkgs, lib, ... }:
{
imports = [ pkgs.nur.repos.noneucat.modules.pinephone.sxmo ];
}