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,
nixpkgs,
mobile-nixos,
...
}@attrs:
let
@ -113,16 +112,6 @@
modules = [
./hosts/phone/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,
pkgs,
lib,
...
}:
{ self, ... }:
let
inherit (lib) mkIf mkForce;
inherit (builtins) attrValues;
in
{
imports = attrValues self.nixosModules;
imports = attrValues self.nixosModules ++ attrValues self.inputs.mobile-nixos.nixosModules;
nixpkgs = {
overlays = with self.overlays; [ phinger-cursors ];
@ -47,4 +41,9 @@ in
phone.enable = true;
};
mobile.beautification = {
silentBoot = true;
splash = true;
};
}