meta: move mobile-nixos imports out of flake

This is part of making the flake easier to understand by separating
concerns a bit more.
This commit is contained in:
Donovan Glover 2024-10-11 13:15:10 -04:00
parent 11c555d2c5
commit 4f9289a35c
No known key found for this signature in database
GPG Key ID: EA7408A77AE1BE65
2 changed files with 7 additions and 19 deletions

View File

@ -30,7 +30,6 @@
{ {
self, self,
nixpkgs, nixpkgs,
mobile-nixos,
... ...
}@attrs: }@attrs:
let let
@ -113,16 +112,6 @@
modules = [ modules = [
./hosts/phone/configuration.nix ./hosts/phone/configuration.nix
./hosts/phone/hardware-configuration.nix ./hosts/phone/hardware-configuration.nix
mobile-nixos.nixosModules.pine64-pinephone
mobile-nixos.nixosModules.module-list
{
mobile.beautification = {
silentBoot = true;
splash = true;
};
}
]; ];
}; };

View File

@ -1,16 +1,10 @@
{ { self, ... }:
self,
pkgs,
lib,
...
}:
let let
inherit (lib) mkIf mkForce;
inherit (builtins) attrValues; inherit (builtins) attrValues;
in in
{ {
imports = attrValues self.nixosModules; imports = attrValues self.nixosModules ++ attrValues self.inputs.mobile-nixos.nixosModules;
nixpkgs = { nixpkgs = {
overlays = with self.overlays; [ phinger-cursors ]; overlays = with self.overlays; [ phinger-cursors ];
@ -47,4 +41,9 @@ in
phone.enable = true; phone.enable = true;
}; };
mobile.beautification = {
silentBoot = true;
splash = true;
};
} }