mirror of
https://github.com/donovanglover/nix-config.git
synced 2024-11-22 00:03:55 +01:00
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:
parent
11c555d2c5
commit
4f9289a35c
11
flake.nix
11
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;
|
||||
};
|
||||
}
|
||||
];
|
||||
};
|
||||
|
||||
|
@ -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;
|
||||
};
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user