about summary refs log tree commit diff
path: root/profiles/trusted
diff options
context:
space:
mode:
authorFranck Cuny <franck@fcuny.net>2022-04-09 11:31:39 -0700
committerFranck Cuny <franck@fcuny.net>2022-04-09 11:31:39 -0700
commit5c929290c03bcfbc243062157098458a77c2817e (patch)
tree796518fc50b7db940e47127ea67453fcc1a69779 /profiles/trusted
parentinstall documentations (man) (diff)
downloadworld-5c929290c03bcfbc243062157098458a77c2817e.tar.gz
add a few more packages for home/
Diffstat (limited to 'profiles/trusted')
-rw-r--r--profiles/trusted/default.nix5
1 files changed, 4 insertions, 1 deletions
diff --git a/profiles/trusted/default.nix b/profiles/trusted/default.nix
index 9567ddb..a67f1cf 100644
--- a/profiles/trusted/default.nix
+++ b/profiles/trusted/default.nix
@@ -1,5 +1,7 @@
 { config, lib, ... }:
-let cfg = config.my.profiles.trusted;
+let
+  cfg = config.my.profiles.trusted;
+  isEnabled = config.my.home.wm.windowManager == "sway";
 in {
   options.my.profiles.trusted = with lib; {
     enable = mkEnableOption "trusted profile";
@@ -12,5 +14,6 @@ in {
     };
     my.home.mail.enable = true;
     my.home.pass.enable = true;
+    my.home.seahorse.enable = isEnabled;
   };
 }