hosts: import local modules by default

This commit is contained in:
Anthony Rodriguez 2024-12-18 09:24:23 +01:00
parent ffb60ac869
commit 8338818b7d
Signed by: nezia
GPG key ID: EE3BE97C040A86CE

View file

@ -3,13 +3,12 @@
mkSystem = args:
inputs.nixpkgs.lib.nixosSystem {
specialArgs = {inherit inputs lib';};
modules = args.modules or [];
modules = [../modules] ++ args.modules;
};
in {
vamos = mkSystem {
modules = [
./vamos
../modules
inputs.nixos-hardware.nixosModules.framework-13-7040-amd
];
};
@ -17,7 +16,6 @@ in {
solaire = mkSystem {
modules = [
./solaire
../modules
];
};