NixOS/system/modules/gnome.nix

21 lines
400 B
Nix
Raw Normal View History

2024-06-12 09:54:11 +07:00
{ config, lib, ... }:
let
cfg = config.profile.gnome;
in
{
config = lib.mkIf cfg.enable {
services.xserver = {
enable = true;
displayManager = {
gdm = {
enable = true;
wayland = true;
};
defaultSession = "gnome";
};
desktopManager.gnome.enable = true;
};
services.gnome.gnome-browser-connector.enable = true;
};
}