home: setup lorri service
This commit is contained in:
parent
3196015861
commit
eb3c698f69
2 changed files with 18 additions and 0 deletions
|
|
@ -10,6 +10,7 @@
|
||||||
./flameshot.nix
|
./flameshot.nix
|
||||||
./git.nix
|
./git.nix
|
||||||
./laptop.nix
|
./laptop.nix
|
||||||
|
./lorri.nix
|
||||||
./rofi.nix
|
./rofi.nix
|
||||||
./secrets
|
./secrets
|
||||||
./ssh.nix
|
./ssh.nix
|
||||||
|
|
|
||||||
17
home/lorri.nix
Normal file
17
home/lorri.nix
Normal 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;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
}
|
||||||
Loading…
Add table
Add a link
Reference in a new issue