mirror of
https://github.com/donovanglover/nix-config.git
synced 2024-11-22 08:14:00 +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 {
|
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
|
|
||||||
];
|
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user