From 65925e218392994b1b06079006b14cce05685453 Mon Sep 17 00:00:00 2001 From: root Date: Thu, 23 Jul 2020 22:39:31 -0700 Subject: [PATCH] switch atom to simple gui with stumpwm --- fudo/profiles/common-ui.nix | 18 ++++++++++-------- hosts/atom.nix | 2 +- 2 files changed, 11 insertions(+), 9 deletions(-) diff --git a/fudo/profiles/common-ui.nix b/fudo/profiles/common-ui.nix index 8beae7f..48cdbd6 100644 --- a/fudo/profiles/common-ui.nix +++ b/fudo/profiles/common-ui.nix @@ -86,15 +86,17 @@ in mkIf ((profile == "desktop") || (profile == "laptop")) { displayManager.gdm.enable = true; - displayManager.defaultSession = "gnome"; + # displayManager.defaultSession = "gnome"; - windowManager.session = pkgs.lib.singleton { - name = "stumpwm"; - start = '' - ${pkgs.lispPackages.stumpwm}/bin/stumpwm & - waidPID=$! - ''; - }; + windowManager.stumpwm.enable = true; + + # windowManager.session = pkgs.lib.singleton { + # name = "stumpwm"; + # start = '' + # ${pkgs.lispPackages.stumpwm}/bin/stumpwm & + # waidPID=$! + # ''; + # }; } else { layout = "us"; xkbVariant = "dvp"; diff --git a/hosts/atom.nix b/hosts/atom.nix index 2a8aef4..efd4498 100644 --- a/hosts/atom.nix +++ b/hosts/atom.nix @@ -34,7 +34,7 @@ in { }; fudo.laptop.use-network-manager = false; - fudo.common.enable-gui = false; + fudo.common.enable-gui = true; hardware.opengl.driSupport32Bit = true; hardware.opengl.extraPackages32 = with pkgs.pkgsi686Linux; [ libva ];