diff options
author | Tobias Geerinckx-Rice <me@tobias.gr> | 2016-05-01 14:38:08 +0200 |
---|---|---|
committer | Tobias Geerinckx-Rice <me@tobias.gr> | 2016-05-01 14:38:08 +0200 |
commit | 5508687ec21ad43baac96443728ccce527954ee7 (patch) | |
tree | d76b8a2a3c626b88bd6e510605b167ad5e6a8966 /nixos | |
parent | dbe1bb06d9fef156d447437c5de9af07c62371ca (diff) | |
download | nixlib-5508687ec21ad43baac96443728ccce527954ee7.tar nixlib-5508687ec21ad43baac96443728ccce527954ee7.tar.gz nixlib-5508687ec21ad43baac96443728ccce527954ee7.tar.bz2 nixlib-5508687ec21ad43baac96443728ccce527954ee7.tar.lz nixlib-5508687ec21ad43baac96443728ccce527954ee7.tar.xz nixlib-5508687ec21ad43baac96443728ccce527954ee7.tar.zst nixlib-5508687ec21ad43baac96443728ccce527954ee7.zip |
Remove now useless proprietary Copy.com client and service
<https://techlib.barracuda.com/Copy/FAQ> SaaS.
Diffstat (limited to 'nixos')
-rw-r--r-- | nixos/modules/services/networking/copy-com.nix | 54 |
1 files changed, 0 insertions, 54 deletions
diff --git a/nixos/modules/services/networking/copy-com.nix b/nixos/modules/services/networking/copy-com.nix deleted file mode 100644 index ee0d043d471b..000000000000 --- a/nixos/modules/services/networking/copy-com.nix +++ /dev/null @@ -1,54 +0,0 @@ -{ config, lib, pkgs, ... }: - -with lib; - -let - - cfg = config.services.copy-com; - -in - -{ - options = { - - services.copy-com = { - - enable = mkOption { - default = false; - description = " - Enable the Copy.com client. - NOTE: before enabling the client for the first time, it must be - configured by first running CopyConsole (command line) or CopyAgent - (graphical) as the appropriate user. - "; - }; - - user = mkOption { - description = "The user for which the Copy.com client should be run."; - }; - - debug = mkOption { - default = false; - description = "Output more (debugging) messages to the console."; - }; - }; - }; - - config = mkIf cfg.enable { - environment.systemPackages = [ pkgs.postfix ]; - - systemd.services."copy-com-${cfg.user}" = { - description = "Copy.com client"; - wants = [ "network-online.target" ]; - after = [ "network-online.target" "local-fs.target" ]; - wantedBy = [ "multi-user.target" ]; - serviceConfig = { - ExecStart = "${pkgs.copy-com}/bin/CopyConsole ${if cfg.debug then "-consoleOutput -debugToConsole=dirwatch,path-watch,csm_path,csm -debug -console" else ""}"; - User = "${cfg.user}"; - }; - - }; - }; - -} - |