31 lines
850 B
Nix
31 lines
850 B
Nix
inputs:
|
|
let
|
|
overlay = system: final: prev: {
|
|
helix = prev.helix // inputs.helix.packages.${system}.helix;
|
|
rtx = prev.rtx // inputs.rtx.packages.${system}.rtx;
|
|
};
|
|
# TODO: be functional - have a mkHome function?
|
|
in {
|
|
daniel = let
|
|
system = "x86_64-linux";
|
|
pkgs = import inputs.nixpkgs { inherit system; overlays = [ (overlay system) ]; };
|
|
in inputs.home-manager.lib.homeManagerConfiguration {
|
|
inherit pkgs;
|
|
modules = [
|
|
(import ./home/user.nix pkgs)
|
|
(import ./home/linux.nix pkgs)
|
|
];
|
|
};
|
|
|
|
daniel-work = let
|
|
system = "aarch64-darwin";
|
|
pkgs = import inputs.nixpkgs { inherit system; overlays = [ (overlay system) ]; };
|
|
in inputs.home-manager.lib.homeManagerConfiguration {
|
|
inherit pkgs;
|
|
modules = [
|
|
(import ./home/user.nix pkgs)
|
|
(import ./home/work.nix pkgs)
|
|
];
|
|
};
|
|
}
|