mirror of
https://github.com/donovanglover/nix-config.git
synced 2025-06-04 08:56:01 +02:00
flake: remove extra let-in for phoneModules
Should make this part easier to read.
This commit is contained in:
parent
30a1993130
commit
2bd906c67b
19
flake.nix
19
flake.nix
@ -88,14 +88,7 @@
|
||||
}) (listFilesRecursive ./tests)
|
||||
);
|
||||
|
||||
nixosConfigurations =
|
||||
let
|
||||
phoneModules = [
|
||||
./hosts/phone/configuration.nix
|
||||
./hosts/phone/hardware-configuration.nix
|
||||
];
|
||||
in
|
||||
{
|
||||
nixosConfigurations = {
|
||||
nixos = nixosSystem {
|
||||
system = "x86_64-linux";
|
||||
|
||||
@ -116,7 +109,10 @@
|
||||
nix-config = self;
|
||||
};
|
||||
|
||||
modules = phoneModules ++ [
|
||||
modules = [
|
||||
./hosts/phone/configuration.nix
|
||||
./hosts/phone/hardware-configuration.nix
|
||||
|
||||
(import "${mobile-nixos}/lib/configuration.nix" {
|
||||
device = "pine64-pinephone";
|
||||
})
|
||||
@ -137,7 +133,10 @@
|
||||
nix-config = self;
|
||||
};
|
||||
|
||||
modules = phoneModules;
|
||||
modules = [
|
||||
./hosts/phone/configuration.nix
|
||||
./hosts/phone/hardware-configuration.nix
|
||||
];
|
||||
};
|
||||
};
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user