diff --git a/Cargo.lock b/Cargo.lock
index e7a5a97..c957069 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -4640,7 +4640,6 @@ dependencies = [
"hostname",
"keyring",
"lazy-regex",
- "lazy_static",
"log",
"magic-crypt",
"notify",
diff --git a/Cargo.toml b/Cargo.toml
index 65cf2d8..e5f2685 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -48,7 +48,6 @@ keyring = { version = "^3", features = [
"vendored",
] }
lazy-regex = "^3"
-lazy_static = "^1"
log = "^0.4"
magic-crypt = "4"
notify = "8"
diff --git a/src/main.rs b/src/main.rs
index 1bff2ba..949e420 100644
--- a/src/main.rs
+++ b/src/main.rs
@@ -15,8 +15,6 @@ extern crate bitflags;
#[macro_use]
extern crate lazy_regex;
#[macro_use]
-extern crate lazy_static;
-#[macro_use]
extern crate log;
#[macro_use]
extern crate magic_crypt;
diff --git a/src/system/environment.rs b/src/system/environment.rs
index 6d865ea..09b297b 100644
--- a/src/system/environment.rs
+++ b/src/system/environment.rs
@@ -4,20 +4,21 @@
// Ext
use std::path::{Path, PathBuf};
+use std::sync::LazyLock;
+
+#[cfg(not(test))]
+static CONF_DIR: LazyLock