about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorAlan Pearce2024-05-14 17:46:05 +0200
committerAlan Pearce2024-05-14 17:46:05 +0200
commit8e22448e4dd53b284ba48bdf4ebf810bec489b41 (patch)
tree0252077d683f60c8326e5feedf5f3688f51bcbec
parent634534d3d22d8f458a70a1891d061c3cdefd4dd1 (diff)
downloadsearchix-8e22448e4dd53b284ba48bdf4ebf810bec489b41.tar.lz
searchix-8e22448e4dd53b284ba48bdf4ebf810bec489b41.tar.zst
searchix-8e22448e4dd53b284ba48bdf4ebf810bec489b41.zip
fix(flake): remove overlay export
-rw-r--r--flake.nix1
-rw-r--r--nix/modules/default.nix2
2 files changed, 1 insertions, 2 deletions
diff --git a/flake.nix b/flake.nix
index 82d2bd0..7229523 100644
--- a/flake.nix
+++ b/flake.nix
@@ -26,7 +26,6 @@
       nixosModules = {
         default = import ./nix/modules self;
       };
-      overlays.default = import ./nix/overlays;
     } // (flake-utils.lib.eachDefaultSystem
       (system:
         let
diff --git a/nix/modules/default.nix b/nix/modules/default.nix
index f6f8fbf..6f8722b 100644
--- a/nix/modules/default.nix
+++ b/nix/modules/default.nix
@@ -110,7 +110,7 @@ in
                 };
 
                 environment = mkOption {
-                  type = with types; either "production" "development";
+                  type = types.str;
                   description = "Environment name for logging";
                   default = "production";
                 };