nixos/services.spice-webdavd: remove with lib;
This commit is contained in:
parent
e4c0bdd97f
commit
4a435c16d2
@ -1,19 +1,17 @@
|
||||
{ config, pkgs, lib, ... }:
|
||||
|
||||
with lib;
|
||||
let
|
||||
cfg = config.services.spice-webdavd;
|
||||
in
|
||||
{
|
||||
options = {
|
||||
services.spice-webdavd = {
|
||||
enable = mkEnableOption "the spice guest webdav proxy daemon";
|
||||
enable = lib.mkEnableOption "the spice guest webdav proxy daemon";
|
||||
|
||||
package = mkPackageOption pkgs "phodav" { };
|
||||
package = lib.mkPackageOption pkgs "phodav" { };
|
||||
};
|
||||
};
|
||||
|
||||
config = mkIf cfg.enable {
|
||||
config = lib.mkIf cfg.enable {
|
||||
# ensure the webdav fs this exposes can actually be mounted
|
||||
services.davfs2.enable = true;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user