2023-09-05 21:46:55 -05:00
|
|
|
inputs:
|
|
|
|
let
|
2023-09-14 13:12:58 -05:00
|
|
|
overlay = system: final: prev: {
|
2023-09-11 10:29:12 -05:00
|
|
|
helix = prev.helix // inputs.helix.packages.${system}.helix;
|
|
|
|
rtx = prev.rtx // inputs.rtx.packages.${system}.rtx;
|
|
|
|
};
|
2023-09-14 13:12:58 -05:00
|
|
|
# TODO: be functional - have a mkHome function?
|
2023-09-11 10:29:12 -05:00
|
|
|
in {
|
2023-09-14 10:04:07 -05:00
|
|
|
daniel = let
|
|
|
|
system = "x86_64-linux";
|
2023-09-14 13:12:58 -05:00
|
|
|
pkgs = import inputs.nixpkgs { inherit system; overlays = [ (overlay system) ]; };
|
2023-09-14 10:04:07 -05:00
|
|
|
in inputs.home-manager.lib.homeManagerConfiguration {
|
2023-09-05 21:46:55 -05:00
|
|
|
inherit pkgs;
|
|
|
|
modules = [
|
2023-09-14 10:16:52 -05:00
|
|
|
(import ./home/user.nix pkgs)
|
|
|
|
(import ./home/linux.nix pkgs)
|
2023-09-14 10:04:07 -05:00
|
|
|
];
|
|
|
|
};
|
|
|
|
|
|
|
|
daniel-work = let
|
|
|
|
system = "aarch64-darwin";
|
2023-09-14 13:12:58 -05:00
|
|
|
pkgs = import inputs.nixpkgs { inherit system; overlays = [ (overlay system) ]; };
|
2023-09-14 10:04:07 -05:00
|
|
|
in inputs.home-manager.lib.homeManagerConfiguration {
|
|
|
|
inherit pkgs;
|
|
|
|
modules = [
|
2023-09-14 10:16:52 -05:00
|
|
|
(import ./home/user.nix pkgs)
|
|
|
|
(import ./home/work.nix pkgs)
|
2023-09-05 21:46:55 -05:00
|
|
|
];
|
|
|
|
};
|
|
|
|
}
|