nixos/home/modules/sources.nix

22 lines
404 B
Nix
Raw Normal View History

2024-08-07 04:40:10 -07: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 04:41:17 -07:00
snowhawk.tmux.sessionizer.paths = [
"~/src"
];
2024-08-07 04:40:10 -07:00
};
}