home: setup lorri service

This commit is contained in:
Antoine Martin 2021-09-10 23:49:21 +02:00
parent 3196015861
commit eb3c698f69
2 changed files with 18 additions and 0 deletions

View file

@ -10,6 +10,7 @@
./flameshot.nix
./git.nix
./laptop.nix
./lorri.nix
./rofi.nix
./secrets
./ssh.nix

17
home/lorri.nix Normal file
View file

@ -0,0 +1,17 @@
{ 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;
};
};
}