about summary refs log tree commit diff
path: root/nixos/modules/programs
diff options
context:
space:
mode:
authorworldofpeace <worldofpeace@protonmail.ch>2019-09-01 18:33:00 -0400
committerGitHub <noreply@github.com>2019-09-01 18:33:00 -0400
commit9b13731b72d643a4d8297488823c0ed115bf3c4f (patch)
tree34230f4ac054172d7c6a96f415bea30f6ab737d2 /nixos/modules/programs
parent9db42e19ffad22c7a6f6fd11c38741cebc0a54a6 (diff)
parent266db0820ef4feda38192cd3b323d71133f0252c (diff)
downloadnixlib-9b13731b72d643a4d8297488823c0ed115bf3c4f.tar
nixlib-9b13731b72d643a4d8297488823c0ed115bf3c4f.tar.gz
nixlib-9b13731b72d643a4d8297488823c0ed115bf3c4f.tar.bz2
nixlib-9b13731b72d643a4d8297488823c0ed115bf3c4f.tar.lz
nixlib-9b13731b72d643a4d8297488823c0ed115bf3c4f.tar.xz
nixlib-9b13731b72d643a4d8297488823c0ed115bf3c4f.tar.zst
nixlib-9b13731b72d643a4d8297488823c0ed115bf3c4f.zip
Merge pull request #67522 from worldofpeace/gnome3/harmonize-defaults
Harmonize Gnome3 Defaults
Diffstat (limited to 'nixos/modules/programs')
-rw-r--r--nixos/modules/programs/seahorse.nix44
1 files changed, 44 insertions, 0 deletions
diff --git a/nixos/modules/programs/seahorse.nix b/nixos/modules/programs/seahorse.nix
new file mode 100644
index 000000000000..c08b0a85374c
--- /dev/null
+++ b/nixos/modules/programs/seahorse.nix
@@ -0,0 +1,44 @@
+# Seahorse.
+
+{ config, pkgs, lib, ... }:
+
+with lib;
+
+{
+
+ # Added 2019-08-27
+  imports = [
+    (mkRenamedOptionModule
+      [ "services" "gnome3" "seahorse" "enable" ]
+      [ "programs" "seahorse" "enable" ])
+  ];
+
+
+  ###### interface
+
+  options = {
+
+    programs.seahorse = {
+
+      enable = mkEnableOption "Seahorse, a GNOME application for managing encryption keys and passwords in the GNOME Keyring";
+
+    };
+
+  };
+
+
+  ###### implementation
+
+  config = mkIf config.programs.seahorse.enable {
+
+    environment.systemPackages = [
+      pkgs.gnome3.seahorse
+    ];
+
+    services.dbus.packages = [
+      pkgs.gnome3.seahorse
+    ];
+
+  };
+
+}