Add gnome module
This commit is contained in:
parent
ba81862388
commit
4a5cbee5c3
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