summaryrefslogtreecommitdiff
path: root/modules/nixos/personal/gui.nix
diff options
context:
space:
mode:
Diffstat (limited to 'modules/nixos/personal/gui.nix')
-rw-r--r--modules/nixos/personal/gui.nix12
1 files changed, 7 insertions, 5 deletions
diff --git a/modules/nixos/personal/gui.nix b/modules/nixos/personal/gui.nix
index f7cdc57..2c01ee0 100644
--- a/modules/nixos/personal/gui.nix
+++ b/modules/nixos/personal/gui.nix
@@ -49,12 +49,14 @@ in {
};
}
(lib.mkIf cfg.i3.enable {
- services.xserver = {
- desktopManager.xfce = {
- noDesktop = true;
- enableXfwm = false;
+ services = {
+ xserver = {
+ desktopManager.xfce = {
+ noDesktop = true;
+ enableXfwm = false;
+ };
+ windowManager.i3.enable = true;
};
- windowManager.i3.enable = true;
displayManager.defaultSession = "xfce+i3";
};
})