j brauerei: add jeschli-xmonad and option to choose gnome3, xfce. +emacs as service

This commit is contained in:
jeschli 2019-01-29 19:28:21 +01:00
parent 924c8fb748
commit 423e2fd2d9

View File

@ -1,12 +1,12 @@
{ config, pkgs, lib, ... }: { config, pkgs, lib, ... }:
let
xmonad-jeschli = pkgs.callPackage <stockholm/jeschli/5pkgs/simple/xmonad-jeschli> { inherit config; };
in
{ {
imports = [ imports = [
<stockholm/jeschli> <stockholm/jeschli>
./hardware-configuration.nix ./hardware-configuration.nix
<stockholm/jeschli/2configs/urxvt.nix> <stockholm/jeschli/2configs/urxvt.nix>
<stockholm/jeschli/2configs/emacs.nix>
<stockholm/jeschli/2configs/xdg.nix>
<stockholm/jeschli/2configs/xserver>
<stockholm/jeschli/2configs/steam.nix> <stockholm/jeschli/2configs/steam.nix>
<stockholm/jeschli/2configs/virtualbox.nix> <stockholm/jeschli/2configs/virtualbox.nix>
]; ];
@ -126,25 +126,29 @@
# Enable the OpenSSH daemon. # Enable the OpenSSH daemon.
services.openssh.enable = true; services.openssh.enable = true;
services.emacs.enable = true;
virtualisation.docker.enable = true; virtualisation.docker.enable = true;
services.xserver = { services.xserver = {
desktopManager.session = lib.mkForce [];
displayManager.lightdm.enable = lib.mkForce false;
displayManager.job.execCmd = lib.mkForce "derp";
enable = true; enable = true;
display = lib.mkForce 11;
tty = lib.mkForce 11;
dpi = 144; desktopManager = {
xfce.enable = true;
synaptics = { gnome3.enable = true;
enable = true;
twoFingerScroll = true;
accelFactor = "0.035";
}; };
windowManager = {
session = [{
name = "xmonad";
start = ''
${xmonad-jeschli}/bin/xmonad &
waitPID=$!
'';
}
];
};
}; };
users.extraUsers.jeschli = { # TODO: define as krebs.users users.extraUsers.jeschli = { # TODO: define as krebs.users