about summary refs log tree commit diff stats
path: root/home-manager/config
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--home-manager/config/nheko/default.nix11
1 files changed, 7 insertions, 4 deletions
diff --git a/home-manager/config/nheko/default.nix b/home-manager/config/nheko/default.nix
index 7e39352b..fd147c0b 100644
--- a/home-manager/config/nheko/default.nix
+++ b/home-manager/config/nheko/default.nix
@@ -1,10 +1,13 @@
 {
   config,
-  osConfig,
+  nixosConfig,
+  lib,
   ...
 }: {
-  xdg.configFile."nheko/nheko.conf".source = config.lib.file.mkOutOfStoreSymlink osConfig.age.secrets.nheko.path;
-  programs.nheko = {
-    enable = true;
+  config = lib.mkIf nixosConfig.soispha.secrets.enable {
+    xdg.configFile."nheko/nheko.conf".source = config.lib.file.mkOutOfStoreSymlink nixosConfig.age.secrets.nheko.path;
+    programs.nheko = {
+      enable = true;
+    };
   };
 }