nix: exorcise all with <expr>; uses
This commit is contained in:
parent
ef59fd800e
commit
912073bee6
67 changed files with 576 additions and 259 deletions
|
|
@ -1,16 +1,20 @@
|
|||
{ config, lib, pkgs, ... }:
|
||||
|
||||
with lib;
|
||||
|
||||
let
|
||||
inherit (lib)
|
||||
mkEnableOption
|
||||
mkIf
|
||||
mkOption
|
||||
;
|
||||
|
||||
cfg = config.my.services.fava;
|
||||
my = config.my;
|
||||
domain = config.networking.domain;
|
||||
secrets = config.my.secrets;
|
||||
in
|
||||
{
|
||||
options.my.services.fava = {
|
||||
enable = lib.mkEnableOption "Fava";
|
||||
options.my.services.fava = let inherit (lib) types; in {
|
||||
enable = mkEnableOption "Fava";
|
||||
|
||||
home = mkOption {
|
||||
type = types.str;
|
||||
|
|
@ -43,7 +47,6 @@ in
|
|||
User = "fava";
|
||||
Group = "fava";
|
||||
};
|
||||
path = with pkgs; [];
|
||||
};
|
||||
|
||||
users.users.fava = {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue