What do you think of having multiple X-Servers with different window
managers?

Or what about choosing the window manager when logging in?

Does someone like to work with me on this?

I'd like to introduce something similar i've done with services. Just a
simple file
{ pkgs, ... } : {
  // kind of window manager description
}

So that adding another wm is as easy as copy a file and choose another
executable with options.

The configuration.nix conf could look like this

xservers = 
  let languages =  ["de" "..." ];
      windowManagers = with pkgs.windowManagers; [twm wmii compiz kde gnome 
custom];
  in {
    xserver = { # xserver is service name
      screen = 8; # Meta-Shift 8 key combo
      authentication = pkgs.gnomeLoginManager windowManagers languages 
    };
    xserver2 = { # xserver2 is service name (start xserver2/ stop xserver2)
      screen = 7;
      authentication = pkgs.kdeLoginManager windowManagers languages
    };
    myLoginImmediately = {
      screen = 5;
      authentication = loginAsUser "en" "marc" pkgs.windowManager.wmii;
    };
  }

Marc W.
_______________________________________________
nix-dev mailing list
nix-dev@cs.uu.nl
https://mail.cs.uu.nl/mailman/listinfo/nix-dev

Reply via email to