stockholm/makefu/2configs/base-gui.nix

43 lines
820 B
Nix
Raw Normal View History

{ config, lib, pkgs, ... }:
2015-08-07 10:10:02 +00:00
##
# of course this name is a lie - it prepares a GUI environment close to my
# current configuration.
#
# autologin with mainUser into awesome
##
#
with lib;
2015-08-07 10:10:02 +00:00
let
mainUser = config.krebs.build.user.name;
in
{
imports = [ ];
2015-08-05 13:11:52 +00:00
services.xserver = {
enable = true;
layout = "us";
2015-08-07 10:53:38 +00:00
xkbVariant = "altgr-intl";
xkbOptions = "ctrl:nocaps";
2015-08-05 13:11:52 +00:00
windowManager = {
awesome.enable = true;
awesome.luaModules = [ pkgs.luaPackages.vicious ];
default = "awesome";
};
2015-08-07 10:10:02 +00:00
displayManager.auto.enable = true;
displayManager.auto.user = mainUser;
2015-08-05 13:11:52 +00:00
desktopManager.xterm.enable = false;
};
2015-08-07 10:10:02 +00:00
environment.systemPackages = [
2015-08-07 10:53:38 +00:00
pkgs.xlockmore
2015-08-07 10:10:02 +00:00
pkgs.rxvt_unicode-with-plugins
];
hardware.pulseaudio = {
enable = true;
systemWide = true;
};
}