-
Roosemberth Palacios authored
This is a reference commit and shall not be merger in master. This code is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. This commit brings experimental support for using ly as a display manager. Unfortunatelly, further support is needed from upstream before a proper merge request can be issued against nixpkgs. Notably https://github.com/cylgom/ly/pull/137 must be merged. Some other minor issues must be addresed in the submodules too. From `nixos-config/machines/`, you can build and run a VM with xmonad by issuing the following command (will delete any qcow2 images you may have under the same directory): ``` NIXOS_CONFIG="$(readlink -f test-ly.nix)" nixos-rebuild build-vm && (rm -fr *.qcow2 || true) && ./result/bin/run-*-vm -chardev stdio,mux=on,id=char0,signal=off -mon chardev=char0,mode=readline -serial chardev:char0 -snapshot ``` user and password as described in test-ly.nix. Window manager is xmonad and the default keybinding for spawning a shell is Alt+Shift+Return. Signed-off-by: Roosembert Palacios <roosembert.palacios@epfl.ch>