Regenerated
This commit is contained in:
+14
-6
@@ -9,7 +9,6 @@
|
||||
inputs.nixpkgs.follows = "nixpkgs";
|
||||
};
|
||||
|
||||
flake-parts.url = "github:hercules-ci/flake-parts";
|
||||
import-tree.url = "github:vic/import-tree";
|
||||
|
||||
stylix = {
|
||||
@@ -25,23 +24,32 @@
|
||||
hyprland.url = "github:hyprwm/Hyprland";
|
||||
};
|
||||
|
||||
outputs = { self, nixpkgs, home-manager, flake-parts, import-tree, stylix, hyprland, zen-browser, ... }:
|
||||
outputs = { self, nixpkgs, home-manager, import-tree, stylix, hyprland, zen-browser, ... }:
|
||||
let
|
||||
system = "x86_64-linux";
|
||||
pkgs = import nixpkgs { inherit system; };
|
||||
flakeRoot = self;
|
||||
hmModules = home-manager.lib.hmModules;
|
||||
in rec {
|
||||
# Direct NixOS configuration for traveldroid
|
||||
nixosConfigurations = {
|
||||
traveldroid = flake-parts.lib.mkFlakeModule {
|
||||
inherit pkgs;
|
||||
modules = [ ./hosts/traveldroid.nix ];
|
||||
traveldroid = {
|
||||
# Core packages and modules
|
||||
pkgs = pkgs;
|
||||
modules = [
|
||||
./hosts/traveldroid.nix
|
||||
];
|
||||
|
||||
# Pass flakeRoot to modules for reference
|
||||
extraArgs = { inherit flakeRoot; };
|
||||
};
|
||||
};
|
||||
|
||||
# Home Manager configuration for traveldroid
|
||||
homeManagerConfigurations = {
|
||||
traveldroid = hmModules.makeModuleSet { inherit pkgs flakeRoot; };
|
||||
traveldroid = hmModules.makeModuleSet {
|
||||
inherit pkgs flakeRoot;
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user