diff options
author | Tuomas Tynkkynen <tuomas@tuxera.com> | 2016-05-03 23:12:48 +0300 |
---|---|---|
committer | Tuomas Tynkkynen <tuomas@tuxera.com> | 2016-05-03 23:12:48 +0300 |
commit | aadaa913792b0fdeb68b02425e4f03d2f8286a1f (patch) | |
tree | ea582b078a00e6ba27e2c887a9df5a792c37fb0e /nixos/modules/services/networking | |
parent | 2362891dc815160e343e52458f25db22508ac487 (diff) | |
parent | e7d3166656af0d98da9f59c78e2213cec842d743 (diff) | |
download | nixlib-aadaa913792b0fdeb68b02425e4f03d2f8286a1f.tar nixlib-aadaa913792b0fdeb68b02425e4f03d2f8286a1f.tar.gz nixlib-aadaa913792b0fdeb68b02425e4f03d2f8286a1f.tar.bz2 nixlib-aadaa913792b0fdeb68b02425e4f03d2f8286a1f.tar.lz nixlib-aadaa913792b0fdeb68b02425e4f03d2f8286a1f.tar.xz nixlib-aadaa913792b0fdeb68b02425e4f03d2f8286a1f.tar.zst nixlib-aadaa913792b0fdeb68b02425e4f03d2f8286a1f.zip |
Merge remote-tracking branch 'upstream/master' into staging
Conflicts: pkgs/applications/networking/browsers/vivaldi/default.nix pkgs/misc/emulators/wine/base.nix
Diffstat (limited to 'nixos/modules/services/networking')
-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}"; - }; - - }; - }; - -} - |