flake: add flake support for mobile-nixos

This commit is contained in:
Donovan Glover 2024-10-11 11:59:38 -04:00
parent 1aa3163acb
commit f12d57c8f8
No known key found for this signature in database
GPG Key ID: EA7408A77AE1BE65
2 changed files with 11 additions and 8 deletions

View File

@ -157,13 +157,17 @@
}
},
"mobile-nixos": {
"flake": false,
"inputs": {
"nixpkgs": [
"nixpkgs"
]
},
"locked": {
"lastModified": 1725381272,
"narHash": "sha256-WXh7GJZLmKqiNiR47NAbH+K9VyLDQPraplGwgPR+7sA=",
"lastModified": 1728620064,
"narHash": "sha256-cfQOiJ0k+WEFh1P98h9iAjiyEJI2OSq3SXiZNaE4bBA=",
"owner": "donovanglover",
"repo": "mobile-nixos",
"rev": "ce6dbf9bfbace2450ad338c019f7263d497755bf",
"rev": "ded241ad82077c5e7a30f262dd5d4b0dd45e89ea",
"type": "github"
},
"original": {

View File

@ -22,7 +22,7 @@
mobile-nixos = {
url = "github:donovanglover/mobile-nixos";
flake = false;
inputs.nixpkgs.follows = "nixpkgs";
};
};
@ -114,9 +114,8 @@
./hosts/phone/configuration.nix
./hosts/phone/hardware-configuration.nix
(import "${mobile-nixos}/lib/configuration.nix" {
device = "pine64-pinephone";
})
mobile-nixos.nixosModules.pine64-pinephone
mobile-nixos.nixosModules.module-list
{
mobile.beautification = {