Add gnome module
This commit is contained in:
parent
40aa302336
commit
db0b42249e
1 changed files with 21 additions and 0 deletions
21
nixos/modules/des/gnome/default.nix
Normal file
21
nixos/modules/des/gnome/default.nix
Normal file
|
@ -0,0 +1,21 @@
|
||||||
|
{ config, lib, pkgs, ... }:
|
||||||
|
|
||||||
|
{
|
||||||
|
services.xserver = {
|
||||||
|
enable = true;
|
||||||
|
|
||||||
|
# Enable the GNOME Desktop Environment.
|
||||||
|
displayManager.gdm.enable = true;
|
||||||
|
desktopManager.gnome.enable = true;
|
||||||
|
|
||||||
|
};
|
||||||
|
|
||||||
|
environment.gnome.excludePackages = (with pkgs; [
|
||||||
|
gnome-photos
|
||||||
|
gnome-tour
|
||||||
|
xterm
|
||||||
|
]) ++ (with pkgs.gnome; [
|
||||||
|
gedit
|
||||||
|
gnome-terminal
|
||||||
|
]);
|
||||||
|
}
|
Loading…
Reference in a new issue