mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-23 22:20:51 +00:00
nixos/geary: init
This commit is contained in:
parent
80223b04c8
commit
fb9645656b
|
@ -116,6 +116,7 @@
|
|||
./programs/fish.nix
|
||||
./programs/freetds.nix
|
||||
./programs/fuse.nix
|
||||
./programs/geary.nix
|
||||
./programs/gnome-disks.nix
|
||||
./programs/gnome-documents.nix
|
||||
./programs/gnome-terminal.nix
|
||||
|
|
20
nixos/modules/programs/geary.nix
Normal file
20
nixos/modules/programs/geary.nix
Normal file
|
@ -0,0 +1,20 @@
|
|||
{ config, pkgs, lib, ... }:
|
||||
|
||||
with lib;
|
||||
|
||||
let
|
||||
cfg = config.programs.geary;
|
||||
|
||||
in {
|
||||
options = {
|
||||
programs.geary.enable = mkEnableOption "Geary, a Mail client for GNOME 3";
|
||||
};
|
||||
|
||||
config = mkIf cfg.enable {
|
||||
environment.systemPackages = [ pkgs.gnome3.geary ];
|
||||
programs.dconf.enable = true;
|
||||
services.gnome3.gnome-keyring.enable = true;
|
||||
services.gnome3.gnome-online-accounts.enable = true;
|
||||
};
|
||||
}
|
||||
|
|
@ -328,7 +328,6 @@ in
|
|||
cheese
|
||||
eog
|
||||
epiphany
|
||||
geary
|
||||
gedit
|
||||
gnome-calculator
|
||||
gnome-calendar
|
||||
|
@ -355,6 +354,7 @@ in
|
|||
# Enable default programs
|
||||
programs.evince.enable = mkDefault true;
|
||||
programs.file-roller.enable = mkDefault true;
|
||||
programs.geary.enable = mkDefault true;
|
||||
programs.gnome-disks.enable = mkDefault true;
|
||||
programs.gnome-terminal.enable = mkDefault true;
|
||||
programs.seahorse.enable = mkDefault true;
|
||||
|
|
Loading…
Reference in a new issue