format all code with alejandra

This commit is contained in:
Antoine Martin 2022-04-10 11:54:58 +02:00
parent fa0cda2673
commit 4f0d45e4d5
89 changed files with 1605 additions and 1298 deletions

View file

@ -1,25 +1,28 @@
{ config, lib, ... }:
let
inherit (lib)
{
config,
lib,
...
}: let
inherit
(lib)
mkEnableOption
mkIf
;
;
cfg = config.my.home.lorri;
in
{
in {
options.my.home.lorri = {
enable = (mkEnableOption "lorri daemon setup") // { default = true; };
enable = (mkEnableOption "lorri daemon setup") // {default = true;};
};
config = mkIf cfg.enable {
services.lorri.enable = true;
programs.direnv = {
enable = true;
# FIXME: proper file, not lorri.nix
nix-direnv = {
enable = true;
# FIXME: proper file, not lorri.nix
nix-direnv = {
enable = true;
};
};
};
};
}