summary refs log tree commit diff
path: root/nixos/modules
diff options
context:
space:
mode:
authorPavol Rusnak <pavol@rusnak.io>2020-06-21 23:55:14 +0200
committerPavol Rusnak <pavol@rusnak.io>2020-06-22 13:43:29 +0200
commit2e0542ebacb2b8cb938d848ab743ca9df702f56e (patch)
treee66a0e039f6117ff11030f5b6db6c1ed415ff57d /nixos/modules
parent44d75efd7fdd135e4d03b03398599e103c19dbac (diff)
downloadnixpkgs-2e0542ebacb2b8cb938d848ab743ca9df702f56e.tar
nixpkgs-2e0542ebacb2b8cb938d848ab743ca9df702f56e.tar.gz
nixpkgs-2e0542ebacb2b8cb938d848ab743ca9df702f56e.tar.bz2
nixpkgs-2e0542ebacb2b8cb938d848ab743ca9df702f56e.tar.lz
nixpkgs-2e0542ebacb2b8cb938d848ab743ca9df702f56e.tar.xz
nixpkgs-2e0542ebacb2b8cb938d848ab743ca9df702f56e.tar.zst
nixpkgs-2e0542ebacb2b8cb938d848ab743ca9df702f56e.zip
seeks: remove, upstream unmaintained
Diffstat (limited to 'nixos/modules')
-rw-r--r--nixos/modules/misc/ids.nix4
-rw-r--r--nixos/modules/module-list.nix1
-rw-r--r--nixos/modules/rename.nix2
-rw-r--r--nixos/modules/services/networking/seeks.nix75
4 files changed, 4 insertions, 78 deletions
diff --git a/nixos/modules/misc/ids.nix b/nixos/modules/misc/ids.nix
index 3409e7ba22e..4615d9b04ab 100644
--- a/nixos/modules/misc/ids.nix
+++ b/nixos/modules/misc/ids.nix
@@ -184,7 +184,7 @@ in
       consul = 145;
       mailpile = 146;
       redmine = 147;
-      seeks = 148;
+      #seeks = 148; # removed 2020-06-21
       prosody = 149;
       i2pd = 150;
       systemd-network = 152;
@@ -496,7 +496,7 @@ in
       #consul = 145; # unused
       mailpile = 146;
       redmine = 147;
-      seeks = 148;
+      #seeks = 148; # removed 2020-06-21
       prosody = 149;
       i2pd = 150;
       systemd-network = 152;
diff --git a/nixos/modules/module-list.nix b/nixos/modules/module-list.nix
index 0dba92f60c7..d25c3e1f1d7 100644
--- a/nixos/modules/module-list.nix
+++ b/nixos/modules/module-list.nix
@@ -713,7 +713,6 @@
   ./services/networking/rxe.nix
   ./services/networking/sabnzbd.nix
   ./services/networking/searx.nix
-  ./services/networking/seeks.nix
   ./services/networking/skydns.nix
   ./services/networking/shadowsocks.nix
   ./services/networking/shairport-sync.nix
diff --git a/nixos/modules/rename.nix b/nixos/modules/rename.nix
index 1dc7f853317..9d945cb7dbd 100644
--- a/nixos/modules/rename.nix
+++ b/nixos/modules/rename.nix
@@ -61,6 +61,8 @@ with lib;
       to handle FIDO security tokens, so this isn't necessary anymore.
     '')
 
+    (mkRemovedOptionModule [ "services" "seeks" ] "")
+
     # Do NOT add any option renames here, see top of the file
   ];
 }
diff --git a/nixos/modules/services/networking/seeks.nix b/nixos/modules/services/networking/seeks.nix
deleted file mode 100644
index 40729225b6d..00000000000
--- a/nixos/modules/services/networking/seeks.nix
+++ /dev/null
@@ -1,75 +0,0 @@
-{ config, lib, pkgs, ... }:
-
-with lib;
-
-let
-
-  cfg = config.services.seeks;
-
-  confDir = cfg.confDir;
-
-  seeks = pkgs.seeks.override { seeks_confDir = confDir; };
-
-in
-
-{
-
-  ###### interface
-
-  options = {
-
-    services.seeks = {
-
-      enable = mkOption {
-        default = false;
-        type = types.bool;
-        description = "
-          Whether to enable the Seeks server.
-        ";
-      };
-
-      confDir = mkOption {
-        default = "";
-        type = types.str;
-        description = "
-          The Seeks server configuration. If it is not specified,
-          a default configuration is used.
-        ";
-      };
-
-    };
-
-  };
-
-
-  ###### implementation
-
-  config = mkIf config.services.seeks.enable {
-
-    users.users.seeks =
-      { uid = config.ids.uids.seeks;
-        description = "Seeks user";
-        createHome = true;
-        home = "/var/lib/seeks";
-      };
-
-    users.groups.seeks =
-      { gid = config.ids.gids.seeks;
-      };
-
-    systemd.services.seeks =
-      {
-        description = "Seeks server, the p2p search engine.";
-        after = [ "network.target" ];
-        wantedBy = [ "multi-user.target" ];
-        serviceConfig = {
-          User = "seeks";
-          ExecStart = "${seeks}/bin/seeks";
-        };
-      };
-
-    environment.systemPackages = [ seeks ];
-
-  };
-
-}