Tuning/refactoring/etc
This commit is contained in:
parent
cdfcbf76e3
commit
73482423ee
28 changed files with 189 additions and 211 deletions
17
home/gui/gnome-calendar.nix
Normal file
17
home/gui/gnome-calendar.nix
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
{ lib, config, pkgs, inputs, outputs, home-manager, osConfig ? null, ... }:
|
||||
with lib;
|
||||
let
|
||||
osConfigValue = if osConfig != null then osConfig else {};
|
||||
cfg = if osConfigValue ? roles && builtins.hasAttr "gnome-calendar" osConfigValue.roles then osConfigValue.roles."gnome-calendar" else { enable = false; };
|
||||
in {
|
||||
# options.roles.gnome-calendar = { enable = lib.mkEnableOption "gnome calendar"; };
|
||||
config = mkIf cfg.enable {
|
||||
home.packages = with pkgs; [
|
||||
gnome-calendar
|
||||
gnome-control-center
|
||||
evolution
|
||||
evolution-data-server
|
||||
gnome-keyring
|
||||
];
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue