2024-08-07 11:40:10 +00:00
|
|
|
{ lib, inputs, config, ... }:
|
|
|
|
|
|
|
|
let
|
|
|
|
cfg = config.snowhawk.sources;
|
|
|
|
in
|
|
|
|
{
|
|
|
|
options.snowhawk.sources = {
|
|
|
|
enable = lib.mkEnableOption "nix sources home-manager module";
|
|
|
|
};
|
|
|
|
|
|
|
|
config = lib.mkIf cfg.enable {
|
|
|
|
home.file = {
|
|
|
|
"src/nixpkgs".source = inputs.nixpkgs;
|
|
|
|
"src/home-manager".source = inputs.home-manager;
|
|
|
|
};
|
2024-08-07 11:41:17 +00:00
|
|
|
|
|
|
|
snowhawk.tmux.sessionizer.paths = [
|
|
|
|
"~/src"
|
|
|
|
];
|
2024-08-07 11:40:10 +00:00
|
|
|
};
|
|
|
|
}
|