flake: use listFilesRecursive for nixosSystem modules

This commit is contained in:
Donovan Glover 2024-10-11 15:02:01 -04:00
parent 35e390902a
commit 4d751d3d12
No known key found for this signature in database
GPG Key ID: EA7408A77AE1BE65

View File

@ -76,21 +76,13 @@
nixos = nixosSystem { nixos = nixosSystem {
system = "x86_64-linux"; system = "x86_64-linux";
specialArgs.nix-config = self; specialArgs.nix-config = self;
modules = listFilesRecursive ./hosts/laptop;
modules = [
./hosts/laptop/configuration.nix
./hosts/laptop/hardware-configuration.nix
];
}; };
mobile-nixos = nixosSystem { mobile-nixos = nixosSystem {
system = "aarch64-linux"; system = "aarch64-linux";
specialArgs.nix-config = self; specialArgs.nix-config = self;
modules = listFilesRecursive ./hosts/phone;
modules = [
./hosts/phone/configuration.nix
./hosts/phone/hardware-configuration.nix
];
}; };
}; };