From eb3c698f693e886c38e2213f430d82770d48c1de Mon Sep 17 00:00:00 2001 From: Antoine Martin Date: Fri, 10 Sep 2021 23:49:21 +0200 Subject: [PATCH] home: setup lorri service --- home/default.nix | 1 + home/lorri.nix | 17 +++++++++++++++++ 2 files changed, 18 insertions(+) create mode 100644 home/lorri.nix diff --git a/home/default.nix b/home/default.nix index 75a2ac4..44341dd 100644 --- a/home/default.nix +++ b/home/default.nix @@ -10,6 +10,7 @@ ./flameshot.nix ./git.nix ./laptop.nix + ./lorri.nix ./rofi.nix ./secrets ./ssh.nix diff --git a/home/lorri.nix b/home/lorri.nix new file mode 100644 index 0000000..2567331 --- /dev/null +++ b/home/lorri.nix @@ -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; + }; + }; +}