diff --git a/flake.nix b/flake.nix index 8c7c8f1c..9d50f665 100644 --- a/flake.nix +++ b/flake.nix @@ -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; - }; - } ]; }; diff --git a/hosts/phone/configuration.nix b/hosts/phone/configuration.nix index 26779eb6..014827ad 100644 --- a/hosts/phone/configuration.nix +++ b/hosts/phone/configuration.nix @@ -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; + }; }