about summary refs log tree commit diff
path: root/profiles
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
parentinstall documentations (man) (diff)
downloadworld-5c929290c03bcfbc243062157098458a77c2817e.tar.gz
add a few more packages for home/
Diffstat (limited to 'profiles')
-rw-r--r--profiles/desktop/default.nix3
-rw-r--r--profiles/trusted/default.nix5
2 files changed, 7 insertions, 1 deletions
diff --git a/profiles/desktop/default.nix b/profiles/desktop/default.nix
index 757c057..6b9f54b 100644
--- a/profiles/desktop/default.nix
+++ b/profiles/desktop/default.nix
@@ -14,6 +14,9 @@ in {
         pcmanfm.enable = true;
         terminal.program = "alacritty";
         xdg.enable = true;
+        eog.enable = true;
+        evince.enable = true;
+        transmission-remote.enable = true;
       };
       profiles = {
         gtk.enable = true;
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;
   };
 }