20 lines
507 B
Nix
20 lines
507 B
Nix
{ pkgs
|
|
, config
|
|
, lib
|
|
, ...
|
|
}:
|
|
let
|
|
inherit (lib) mkEnableOption mkIf;
|
|
cfg = config.my-namespace.home.gnome-customizations;
|
|
in
|
|
{
|
|
options.my-namespace.home.gnome-customizations = {
|
|
enable = mkEnableOption "Enable GNOME customizations";
|
|
};
|
|
config = mkIf cfg.enable {
|
|
# GNOME settings
|
|
dconf.settings."org/gnome/desktop/wm/preferences".button-layout = "appmenu:,minimize,maximize,close";
|
|
dconf.settings."org/gnome/mutter".experimental-features = [ "scale-monitor-framebuffer" ];
|
|
};
|
|
}
|