mirror of
https://github.com/jbowdre/dotfiles.git
synced 2024-11-22 17:32:19 +00:00
30 lines
783 B
Nix
30 lines
783 B
Nix
|
{
|
||
|
description = "A flake to overlay private configurations on my public flake";
|
||
|
|
||
|
inputs = {
|
||
|
dotfiles.url = "github:jbowdre/dotfiles";
|
||
|
};
|
||
|
|
||
|
outputs = { self, dotfiles, nixpkgs } @inputs:
|
||
|
let
|
||
|
inherit (dotfiles) homeConfigurations homeManagerModules lib overlays packages;
|
||
|
inherit (self) outputs;
|
||
|
in
|
||
|
{
|
||
|
homeManagerModules = import "${dotfiles}/modules/home-manager";
|
||
|
|
||
|
overlays = import "${dotfiles}/overlays" { inherit inputs outputs; };
|
||
|
|
||
|
homeConfigurations = {
|
||
|
"work-user@work-system" = lib.homeManagerConfiguration {
|
||
|
modules = [
|
||
|
"${dotfiles}/home/global"
|
||
|
./work_overrides
|
||
|
];
|
||
|
pkgs = nixpkgs.legacyPackages.x86_64-linux;
|
||
|
extraSpecialArgs = { inherit inputs outputs; };
|
||
|
};
|
||
|
};
|
||
|
};
|
||
|
}
|