From c794d80c82d3b8da66cfee681ab303bd94aa3b14 Mon Sep 17 00:00:00 2001 From: sils Date: Tue, 27 Dec 2022 13:31:20 +0100 Subject: move desktop options in desktop --- desktop/gnome.nix | 9 +++++++++ desktop/plasma.nix | 9 +++++++++ desktop/xfce.nix | 11 +++++++++++ 3 files changed, 29 insertions(+) create mode 100644 desktop/gnome.nix create mode 100644 desktop/plasma.nix create mode 100644 desktop/xfce.nix (limited to 'desktop') diff --git a/desktop/gnome.nix b/desktop/gnome.nix new file mode 100644 index 0000000..505be78 --- /dev/null +++ b/desktop/gnome.nix @@ -0,0 +1,9 @@ +{ config, pkgs, ... }: + +{ + services.xserver.enable = true; + + services.xserver.displayManager.gdm.enable = true; + services.xserver.desktopManager.gnome.enable = true; + +} diff --git a/desktop/plasma.nix b/desktop/plasma.nix new file mode 100644 index 0000000..412e3d3 --- /dev/null +++ b/desktop/plasma.nix @@ -0,0 +1,9 @@ +{ config, pkgs, ... }: + +{ + services.xserver = { + enable = true; + displayManager.sddm.enable = true; + desktopManager.plasma5.enable = true; + }; +} diff --git a/desktop/xfce.nix b/desktop/xfce.nix new file mode 100644 index 0000000..db2b65c --- /dev/null +++ b/desktop/xfce.nix @@ -0,0 +1,11 @@ +{ config, pkgs, ... }: + +{ + services = { + blueman.enable = true; + xserver = { + enable = true; + desktopManager.xfce.enable = true; + }; + }; +} -- cgit 1.4.1