19 lines
342 B
Nix
19 lines
342 B
Nix
{
|
|
lib,
|
|
config,
|
|
pkgs,
|
|
...
|
|
}: let
|
|
cfg = config.marleyos.programs.nh;
|
|
home = config.home.homeDirectory;
|
|
in {
|
|
options.marleyos.programs.nh.enable = lib.mkEnableOption "nh";
|
|
|
|
config = lib.mkIf cfg.enable {
|
|
home.packages = with pkgs; [
|
|
nh
|
|
];
|
|
|
|
home.sessionVariables.FLAKE = lib.mkDefault "${home}/marleyos";
|
|
};
|
|
}
|