diff options
Diffstat (limited to 'home/pim')
| -rw-r--r-- | home/pim/dav.nix | 12 | ||||
| -rw-r--r-- | home/pim/syncthing.nix | 9 |
2 files changed, 14 insertions, 7 deletions
diff --git a/home/pim/dav.nix b/home/pim/dav.nix index c19b2ed..a0759e2 100644 --- a/home/pim/dav.nix +++ b/home/pim/dav.nix @@ -1,8 +1,12 @@ -{ config, lib, pkgs, ... }: +{ + config, + lib, + pkgs, + ... +}: with lib; let cfg = config.local.dav; -in -{ +in { options.local.dav = with types; { enable = mkEnableOption "Web/Card/CalDAV"; }; @@ -42,7 +46,7 @@ in }; Install = { - WantedBy = [ "sockets.target" ]; + WantedBy = ["sockets.target"]; }; }; }; diff --git a/home/pim/syncthing.nix b/home/pim/syncthing.nix index e234c42..9ed1708 100644 --- a/home/pim/syncthing.nix +++ b/home/pim/syncthing.nix @@ -1,8 +1,11 @@ -{ config, lib, ... }: +{ + config, + lib, + ... +}: with lib; let cfg = config.local.syncthing; -in -{ +in { options.local.syncthing = { enable = mkEnableOption "syncthing"; }; |
