Working on reshuffling
This commit is contained in:
+12
-33
@@ -29,45 +29,24 @@
|
||||
};
|
||||
};
|
||||
|
||||
outputs = inputs@{
|
||||
flake-parts,
|
||||
self,
|
||||
nixpkgs,
|
||||
home-manager,
|
||||
emacs-overlay,
|
||||
zen-browser,
|
||||
hyprland,
|
||||
stylix,
|
||||
import-tree,
|
||||
...
|
||||
}:
|
||||
outputs = inputs@{ flake-parts, nixpkgs, home-manager, stylix, ... }:
|
||||
flake-parts.lib.mkFlake { inherit inputs; } {
|
||||
|
||||
# Declare supported systems for flake-parts
|
||||
systems = [ "x86_64-linux" ];
|
||||
|
||||
# Import dendritic/flake modules here
|
||||
imports = [
|
||||
(import-tree ./generated/modules) # Only mySystem.* stuff
|
||||
];
|
||||
|
||||
# Define NixOS configurations for hosts
|
||||
flake = {
|
||||
nixosConfigurations.traveldroid =
|
||||
nixpkgs.lib.nixosSystem {
|
||||
system = "x86_64-linux";
|
||||
nixosConfigurations.traveldroid = nixpkgs.lib.nixosSystem {
|
||||
system = "x86_64-linux";
|
||||
specialArgs = { inherit inputs; };
|
||||
|
||||
modules = [
|
||||
# Host-specific configuration (NixOS context)
|
||||
./generated/hosts/traveldroid/traveldroid.nix
|
||||
modules = [
|
||||
# Host module imports all reusable modules internally
|
||||
./generated/hosts/traveldroid/traveldroid.nix
|
||||
|
||||
# Boot configuration (NixOS context)
|
||||
./generated/hosts/traveldroid/boot.nix
|
||||
|
||||
# Stylix NixOS module
|
||||
stylix.nixosModules.default
|
||||
];
|
||||
};
|
||||
# Optional host-specific things
|
||||
./generated/hosts/traveldroid/boot.nix
|
||||
./generated/hosts/traveldroid/hardware-configuration.nix
|
||||
];
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user