Working on reshuffling
This commit is contained in:
+25
-17
@@ -30,22 +30,30 @@
|
||||
};
|
||||
|
||||
outputs = inputs@{ flake-parts, nixpkgs, ... }:
|
||||
flake-parts.lib.mkFlake { inherit inputs; } {
|
||||
systems = [ "x86_64-linux" ];
|
||||
flake-parts.lib.mkFlake { inherit inputs; } {
|
||||
|
||||
flake = {
|
||||
nixosConfigurations.traveldroid =
|
||||
nixpkgs.lib.nixosSystem {
|
||||
system = "x86_64-linux";
|
||||
specialArgs = { inherit inputs; };
|
||||
systems = [ "x86_64-linux" ];
|
||||
|
||||
modules = [
|
||||
./generated/hosts/traveldroid/traveldroid.nix
|
||||
./generated/hosts/traveldroid/boot.nix
|
||||
./generated/hosts/traveldroid/hardware-configuration.nix
|
||||
inputs.stylix.nixosModules.default
|
||||
];
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
flake = {
|
||||
nixosConfigurations.traveldroid = nixpkgs.lib.nixosSystem {
|
||||
system = "x86_64-linux";
|
||||
|
||||
specialArgs = { inherit inputs; };
|
||||
|
||||
modules = [
|
||||
# Host-specific configuration
|
||||
./generated/hosts/traveldroid/traveldroid.nix
|
||||
|
||||
# Optional boot/hardware
|
||||
./generated/hosts/traveldroid/boot.nix
|
||||
./generated/hosts/traveldroid/hardware-configuration.nix
|
||||
|
||||
# External modules
|
||||
inputs.stylix.nixosModules.default
|
||||
inputs.home-manager.nixosModules.home-manager
|
||||
]
|
||||
++ builtins.attrValues (inputs.import-tree ./generated/modules);
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user