22 lines
449 B
Nix
22 lines
449 B
Nix
{ config, lib, ... }:
|
|
let
|
|
cfg = config.my.home.lorri;
|
|
in
|
|
{
|
|
options.my.home.lorri = with lib; {
|
|
enable = (mkEnableOption "lorri daemon setup") // { default = true; };
|
|
};
|
|
|
|
config = lib.mkIf cfg.enable {
|
|
services.lorri.enable = true;
|
|
programs.direnv = {
|
|
enable = true;
|
|
enableFishIntegration = true;
|
|
# FIXME: proper file, not lorri.nix
|
|
nix-direnv = {
|
|
enable = true;
|
|
};
|
|
};
|
|
};
|
|
}
|