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; + }; + }; +}