nix/home.nix

16 lines
444 B
Nix
Raw Normal View History

2023-09-11 10:29:12 -05:00
inputs @ { nixpkgs, home-manager, ... }:
2023-09-05 21:46:55 -05:00
let
system = "x86_64-linux";
2023-09-11 10:29:12 -05:00
overlay = final: prev: {
helix = prev.helix // inputs.helix.packages.${system}.helix;
rtx = prev.rtx // inputs.rtx.packages.${system}.rtx;
};
pkgs = import nixpkgs { inherit system; overlays = [ overlay ]; };
in {
2023-09-05 21:46:55 -05:00
# TODO: per arch?
2023-09-11 10:29:12 -05:00
daniel = home-manager.lib.homeManagerConfiguration {
2023-09-05 21:46:55 -05:00
inherit pkgs;
2023-09-11 10:29:12 -05:00
modules = [ import ./daniel.nix pkgs ];
2023-09-05 21:46:55 -05:00
};
}