flake: remove extra let-in for phoneModules

Should make this part easier to read.
This commit is contained in:
Donovan Glover 2024-10-09 20:13:44 -04:00
parent 30a1993130
commit 2bd906c67b
No known key found for this signature in database
GPG Key ID: EA7408A77AE1BE65

View File

@ -88,14 +88,7 @@
}) (listFilesRecursive ./tests) }) (listFilesRecursive ./tests)
); );
nixosConfigurations = nixosConfigurations = {
let
phoneModules = [
./hosts/phone/configuration.nix
./hosts/phone/hardware-configuration.nix
];
in
{
nixos = nixosSystem { nixos = nixosSystem {
system = "x86_64-linux"; system = "x86_64-linux";
@ -116,7 +109,10 @@
nix-config = self; nix-config = self;
}; };
modules = phoneModules ++ [ modules = [
./hosts/phone/configuration.nix
./hosts/phone/hardware-configuration.nix
(import "${mobile-nixos}/lib/configuration.nix" { (import "${mobile-nixos}/lib/configuration.nix" {
device = "pine64-pinephone"; device = "pine64-pinephone";
}) })
@ -137,7 +133,10 @@
nix-config = self; nix-config = self;
}; };
modules = phoneModules; modules = [
./hosts/phone/configuration.nix
./hosts/phone/hardware-configuration.nix
];
}; };
}; };