Files
nixos-config/modules/user/gnome/default.nix
2025-04-18 09:58:07 -05:00

23 lines
434 B
Nix

{ inputs, pkgs, config, lib, ... }:
let
cfg = config.userSettings.gnome;
in
{
options = {
userSettings.gnome = {
enable = lib.mkEnableOption "Enable gnome config";
};
};
config = lib.mkIf cfg.enable {
stylix.targets.gnome.enable = true;
stylix.targets.gtk.enable = true;
dconf.settings = {
"org/gnome/settings-daemon/plugins/power" = {
ambient-enabled = false;
};
};
};
}