aboutsummaryrefslogtreecommitdiff
path: root/profiles/trusted/default.nix
diff options
context:
space:
mode:
Diffstat (limited to '')
-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;
};
}