about summary refs log tree commit diff
diff options
context:
space:
mode:
authorLuke Granger-Brown <git@lukegb.com>2021-04-02T12·20+0000
committerlukegb <lukegb@tvl.fyi>2021-04-02T18·00+0000
commit0456de373369ffa2b93884d48410d0b62fbc66ef (patch)
treec8bb55f60b7d7afc97c37c8455d6f40623e44865
parent649145f4e1b540cc7331e1d7f0908562032106ad (diff)
chore(ops/nixos): finish removal of depot.nix r/2409
All user configs and modules have been migrated to using the depot
module parameter. All hail the hypnotoad.

Change-Id: Ic05c61fccba3ac505a339283b6ef3105a2d0711c
Reviewed-on: https://cl.tvl.fyi/c/depot/+/2765
Tested-by: BuildkiteCI
Reviewed-by: tazjin <mail@tazj.in>
-rw-r--r--ops/nixos/default.nix2
-rw-r--r--ops/nixos/depot.nix16
2 files changed, 0 insertions, 18 deletions
diff --git a/ops/nixos/default.nix b/ops/nixos/default.nix
index 1d1e8da192..e6cb1a760a 100644
--- a/ops/nixos/default.nix
+++ b/ops/nixos/default.nix
@@ -30,10 +30,8 @@ rec {
     configuration = { ... }: {
       imports = [
         baseModule
-        "${depot.depotPath}/ops/nixos/depot.nix"  # TODO(lukegb): remove this once config.depot is no longer referenced.
         configuration
       ];
-      config.depot = depot;
     };
   });
 
diff --git a/ops/nixos/depot.nix b/ops/nixos/depot.nix
deleted file mode 100644
index 2c1b71a2da..0000000000
--- a/ops/nixos/depot.nix
+++ /dev/null
@@ -1,16 +0,0 @@
-# This module makes it possible to get at the depot from "proper"
-# NixOS modules.
-#
-# It needs to be included and configured in each system like this:
-#
-# {
-#   imports = [ "${depot.depotPath}/ops/nixos/depot.nix" ];
-#   inherit depot;
-# }
-{ lib, ... }:
-
-{
-  options.depot = with lib; mkOption {
-    description = "tazjin's imported monorepo";
-  };
-}