mirror of
https://github.com/donovanglover/nix-config.git
synced 2024-11-22 00:03:55 +01:00
flake: use listFilesRecursive for nixosSystem modules
This commit is contained in:
parent
35e390902a
commit
4d751d3d12
12
flake.nix
12
flake.nix
@ -76,21 +76,13 @@
|
||||
nixos = nixosSystem {
|
||||
system = "x86_64-linux";
|
||||
specialArgs.nix-config = self;
|
||||
|
||||
modules = [
|
||||
./hosts/laptop/configuration.nix
|
||||
./hosts/laptop/hardware-configuration.nix
|
||||
];
|
||||
modules = listFilesRecursive ./hosts/laptop;
|
||||
};
|
||||
|
||||
mobile-nixos = nixosSystem {
|
||||
system = "aarch64-linux";
|
||||
specialArgs.nix-config = self;
|
||||
|
||||
modules = [
|
||||
./hosts/phone/configuration.nix
|
||||
./hosts/phone/hardware-configuration.nix
|
||||
];
|
||||
modules = listFilesRecursive ./hosts/phone;
|
||||
};
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user